PDA

View Full Version : Turning off [IMG] tag processing in the text description


hyper101
01-25-2007, 08:00 PM
Is there a way to do this ? Im getting tired of people linking 100 images in the Text Field.

Thanks

Stu

Greg
01-25-2007, 09:07 PM
Yes, but it's a hack right. I have started coding those as settings but its not ready yet.

Let me find it and I'll post back.

hyper101
01-25-2007, 09:30 PM
Cool thanks

Greg
01-25-2007, 09:54 PM
On line 235 of vbpicgallery.php

FIND:

$data['text'] = $parser->do_parse($data['text'] ,'0',$vbulletin->options['allowsmilies'],'1','1','1','0');


Change to:

$data['text'] = $parser->do_parse($data['text'] ,'0',$vbulletin->options['allowsmilies'],'1','0','1','0');


that should turn off image code for ya for now.

hyper101
01-26-2007, 12:34 AM
awesome, too easy

Thanks again

Greg
01-26-2007, 07:53 AM
Glad to help. Let us know if that works out for ya.