|
Stop autoparsing in a particular forum
A friend of mine helped me figure this out some time ago, when I was still using 3.6.5. Well, it still seems to work perfectly in 3.8.0. I'm no coder, but I managed to figure out where to put these lines in the new php files. This will stop autoparsing of links in every way...even the quick reply.
This is a manual hack, since it requires changing the php files, and also requires you to change the forum ID to whichever you choose. Fortunately, it's also very easy. In editpost.php, find: PHP Code:
$edit['parseurl'] = true;
PHP Code:
$edit['parseurl'] = ($foruminfo['forumid'] != 10);
PHP Code:
$newpost['parseurl'] = ($foruminfo['allowbbcode'] AND $vbulletin->GPC['parseurl']);
PHP Code:
$newpost['parseurl'] = ($foruminfo['allowbbcode'] AND $vbulletin->GPC['parseurl'] AND $foruminfo['forumid'] != 10);
PHP Code:
$newpost['parseurl'] = ($foruminfo['allowbbcode'] AND $vbulletin->GPC['parseurl']);
PHP Code:
$newpost['parseurl'] = ($foruminfo['allowbbcode'] AND $vbulletin->GPC['parseurl'] AND $foruminfo['forumid'] != 10);
10 would be the forum ID which you do not want to autoparse URL's. All other forums will act completely normal. I can't support this, so if you have any questions or problems, you're on your own. Sorry, I'm no PHP coder. I just thought someone else might find this useful. Feel free to improve this hack. I'm sure, with some effort, a GUI could be made to assign whatever forum(s) you want? ![]() Download
|
|||||||||