Results 1 to 10 of 10

Remove "Posting Rules"

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?...

  1. #1
    Senior Member
    Real Name
    len backus
    Join Date
    May 2007
    Posts
    127
    Liked
    0 times

    Remove "Posting Rules"

    How can I remove this from the templates?
    LenBackus


  2. #2
    Member
    Real Name
    mal
    Join Date
    Mar 2006
    Posts
    81
    Liked
    0 times
    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:
    Code:
     
    <if condition="$show['threadslist']">$forumrules</if>
    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 template

  3. #3
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,981
    Liked
    8 times
    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 ""

  4. #4
    Senior Member
    Real Name
    len backus
    Join Date
    May 2007
    Posts
    127
    Liked
    0 times
    Brian: So much to learn, so little time! How do I

    make a plugin and over-ride $forumrules with ""
    LenBackus


  5. #5
    Member
    Real Name
    mal
    Join Date
    Mar 2006
    Posts
    81
    Liked
    0 times
    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 ?

  6. #6
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,981
    Liked
    8 times
    Quote Originally Posted by len backus View Post
    Brian: So much to learn, so little time! How do I
    see my sig:

    Available for paid mods/addons. PM me your RFP.


  7. #7
    Senior Member
    Real Name
    dave
    Join Date
    Jun 2006
    Posts
    348
    Liked
    0 times
    Blog Entries
    1
    Quote Originally Posted by len backus View Post
    Brian: So much to learn, so little time! How do I
    I doubt the forumrules template changes much, even if it does is it really that hard to go revert and erase again?

  8. #8
    Senior Member A.Chakery's Avatar
    Real Name
    Ali Chakery
    Join Date
    Jan 2008
    Posts
    718
    Liked
    52 times
    Here is the way to hidden the forum rules

    Edit Forumrules Template ,

    Find :

    Code:
    <tbody id="collapseobj_forumrules" style="$vbcollapse[collapseobj_forumrules]">
    and change with this one :

    Code:
    <tbody id="collapseobj_forumrules" style="display: none;">
    enjoy

  9. #9
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,782
    Liked
    648 times
    Blog Entries
    2
    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!


  10. #10
    Senior Member A.Chakery's Avatar
    Real Name
    Ali Chakery
    Join Date
    Jan 2008
    Posts
    718
    Liked
    52 times
    thanks for your tip Brian , But the other way is to delete the whole contents of forumrules ?

Similar Threads

  1. [HOW-TO] Remove "Powered by vBulletin" from Your Page Titles
    By Keith Cohen in forum Template Modifications
    Replies: 82
    Last Post: 11-19-2010, 09:33 AM
  2. Remove: Posting Rules
    By abroad in forum General Discussion
    Replies: 3
    Last Post: 04-01-2008, 03:56 PM
  3. Remove addins to the "Posting Rules"
    By benFF in forum vBSEO Features Archive
    Replies: 13
    Last Post: 11-29-2007, 02:21 PM
  4. Replies: 5
    Last Post: 09-09-2006, 05:11 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •