SloppyGoat
11-10-2006, 10:00 PM
A good friend of mine solved this problem. As long as you're not using the WYSIWYG editor. This will disable autoparsing in the forum of your choice. Just change the forum id to whichever you like. BRILLIANT!!!! :cool:
editpost.php
line 224...
replace: $edit['parseurl'] = true;
with: $edit['parseurl'] = ($foruminfo['forumid'] != 19)
line 245...
replace: $edit['parseurl'] =& $vbulletin->GPC['parseurl'];
with: $edit['parseurl'] = ($vbulletin->GPC['parseurl'] AND $foruminfo['forumid'] != 19);
line 268...
replace: $dataman->set_info('parseurl', ($foruminfo['allowbbcode'] AND $edit['parseurl']));
with: $dataman->set_info('parseurl', ($foruminfo['allowbbcode'] AND $edit['parseurl'] AND $foruminfo['forumid'] != 19));
newreply.php
line 340...
replace: $newpost['parseurl'] = ($foruminfo['allowbbcode'] AND $vbulletin->GPC['parseurl']);
with: $newpost['parseurl'] = ($foruminfo['allowbbcode'] AND $vbulletin->GPC['parseurl'] AND $foruminfo['forumid'] != 19);
newthread.php
line 154...
replace: $newpost['parseurl'] = ($foruminfo['allowbbcode'] AND $vbulletin->GPC['parseurl']);
with: $newpost['parseurl'] = ($foruminfo['allowbbcode'] AND $vbulletin->GPC['parseurl'] AND $foruminfo['forumid'] != 19);
I'm not the coder, so I can't support this. He did give me permission to share it, though.
editpost.php
line 224...
replace: $edit['parseurl'] = true;
with: $edit['parseurl'] = ($foruminfo['forumid'] != 19)
line 245...
replace: $edit['parseurl'] =& $vbulletin->GPC['parseurl'];
with: $edit['parseurl'] = ($vbulletin->GPC['parseurl'] AND $foruminfo['forumid'] != 19);
line 268...
replace: $dataman->set_info('parseurl', ($foruminfo['allowbbcode'] AND $edit['parseurl']));
with: $dataman->set_info('parseurl', ($foruminfo['allowbbcode'] AND $edit['parseurl'] AND $foruminfo['forumid'] != 19));
newreply.php
line 340...
replace: $newpost['parseurl'] = ($foruminfo['allowbbcode'] AND $vbulletin->GPC['parseurl']);
with: $newpost['parseurl'] = ($foruminfo['allowbbcode'] AND $vbulletin->GPC['parseurl'] AND $foruminfo['forumid'] != 19);
newthread.php
line 154...
replace: $newpost['parseurl'] = ($foruminfo['allowbbcode'] AND $vbulletin->GPC['parseurl']);
with: $newpost['parseurl'] = ($foruminfo['allowbbcode'] AND $vbulletin->GPC['parseurl'] AND $foruminfo['forumid'] != 19);
I'm not the coder, so I can't support this. He did give me permission to share it, though.