Back to vBulletin 3.8 Template Modifications

No-Parse Url's in Specific Forum
Mod Version: 1.00, by smokin1337

vB Version: 3.8.x Rating: (0 vote - 0 average) Installs: 3
Released: 12 Dec 2009 Last Update: 12 Dec 2009 Downloads: 17
Not Supported Template Edits Code Changes Re-usable Code  

I have been trying to do this and figured out how. It involves some template edits, so you need to be comfortable doing so.

First open SHOWTHREAD template, find:
Code:
<input type="hidden" name="parseurl" value="1" />
Replace with:
Code:
 <if condition="$foruminfo[forumid]!=X"><input type="hidden" name="parseurl" value="1" /></if>
Replacing the X with the ID of the forum you don't want to parse url's.

Then open newthread template and find:
Code:
<if condition="$show['parseurl']"><div><label for="cb_parseurl"><input type="checkbox" name="parseurl" value="1" id="cb_parseurl" tabindex="1" $checked[parseurl] />$vbphrase[automatically_parse_links_in_text]</label></div></if>
Replace with:
Code:
<if condition="$foruminfo[forumid]!=X">
<if condition="$show['parseurl']"><div><label for="cb_parseurl"><input type="checkbox" name="parseurl" value="1" id="cb_parseurl" tabindex="1" $checked[parseurl] />$vbphrase[automatically_parse_links_in_text]</label></div></if></if>
Again replace the X.

Then open newreply template and find:
Code:
<if condition="$show['parseurl']"><div><label for="cb_parseurl"><input type="checkbox" name="parseurl" value="1" id="cb_parseurl" tabindex="1" $checked[parseurl] />$vbphrase[automatically_parse_links_in_text]</label></div></if>
Replace with:
Code:
<if condition="$foruminfo[forumid]!=X">
<if condition="$show['parseurl']"><div><label for="cb_parseurl"><input type="checkbox" name="parseurl" value="1" id="cb_parseurl" tabindex="1" $checked[parseurl] />$vbphrase[automatically_parse_links_in_text]</label></div></if></if>
Again replace the X.

To do more than one forum use this for the if statement instead:
Code:
<if condition="($foruminfo[forumid] != X) && ($foruminfo[forumid] != X)">
Rplacing the X's with your forum id's, add as many as you need to by adding this

&& ($foruminfo[forumid] != X)

and replacing the X's.

Sure there is an easier way to do this but i am still learning and it worked for what i needed.

Download

File Type: %1$s No-Parse Url's in Specific Froums.txt (1.7 KB, 19 downloads)

Similar Mods

New Posting Features Disable Parse URL in Specific Forum vBulletin 3.8 Add-ons
Auto Parse Onsite URL's vBulletin 3.5 Add-ons

vblts.ru supports vBulletin®, 2022-2024