How can I remove this from the templates?
This is a discussion on Remove "Posting Rules" within the Template Modifications forums, part of the vBulletin SEO Discussion category; How can I remove this from the templates?...
There's a couple of ways to do this
The template is forumrules
You could remove all the contents of this template and then check yes to Save in Template History as "removed"
then click save and reload
You could also edit each of the templates that contain $forumrules
for instance in forumdisplay
Find:
Replace with:Code:<if condition="$show['threadslist']">$forumrules</if>
You'll find that $forumrules is in a lot of templates and that the quickest way to remove the "posting rules" is to remove the contents of the forumrules templateCode:<!-- <if condition="$show['threadslist']">$forumrules</if> -->
but then you're left with template edits on every upgrade.
the best way to do this is to make a plugin and over-ride $forumrules with ""
True, template edit. However if you simply remove the contents of forumrules then it's a simple one to edit after an upgrade.
Simply revert and remove or leave it as is because you're not using it anyway ?
Here is the way to hidden the forum rules
Edit Forumrules Template ,
Find :
and change with this one :Code:<tbody id="collapseobj_forumrules" style="$vbcollapse[collapseobj_forumrules]">
enjoyCode:<tbody id="collapseobj_forumrules" style="display: none;">![]()
thats not the best way as the code still parses and prints. The only advantage is that its not visible.
The point of over-riding the variable in the first place is so that NOTHING prints, in comments or hidden css or not.
Brian Cummiskey / Crawlability Inc.
vBSEO 3.6.0 GOLD Released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
thanks for your tip Brian , But the other way is to delete the whole contents of forumrules ?