View Full Version: Extra pages needed? Use forum rules!

Big Boards > IF Administration & Moderation > Extra pages needed? Use forum rules!



Title: Extra pages needed? Use forum rules!


HelenaZF - November 13, 2006 09:50 PM (GMT)
Issue: I want to add some extra pages to my forum that can be linked on my board, but the "add an IF page" codes I've tried take too much wrapper space and cause my board to load slower. What can I do?

Method: Use the forum rules of hidden forums to make as many extra pages as you need.

You have an unlimited number of forum rules pages, as you are able to create as many forums as you like on IF boards. You can use these extra pages for many things:
  • special rules or instructions
  • staff lists
  • contact us page
  • refer a friend page
  • affiliates or favorite links page
  • photo gallery
  • any kind of reference info
  • application form
  • games
  • joke/recipe/quote/whatever - of-the-day code
So here is an easy way to add extra pages to your forum. Get your members to these pages by adding links on your index, in your forum description, in your navigation bars, or by using the redirect feature on your forums.

Make a hidden category
ACP > Forum Control > New Category
Choose "hidden from forum lists" as the Category State. If you do not want the new forum name to show up in the forum jump list, choose "disable". Choosing "disable" as the category state will also remove the navigation trail links at the top left of your page.

Make new forums or sub-forums
ACP > Forum Control > New Forum
Put the new forum under your new hidden category parent. Set READ permissions for all member groups that you want to have access to the info on your new page. Name your forum. If you want several new pages for a certain project, you could use the rules pages of subforums to help you keep things organized in the ACP.

Configure the forum rules
ACP > Forum Control > Manage Forums > Edit Forum Rules (user posted image)

In order to eliminate the display of the forum graphics below your "new page", you should choose "show link only" from the drop-down box, rather than "display full text" for the Display Method.

You can put HTML codes and tables in the forum rules text area, and use all HTML formatting commands to build your new page. Certain scripts can also be run in the forum rules. Customize it however you like. Then get the URL of that forum rules text by opening it and copying the URL address in your upper address bar. This is the URL you will put into any links you place elsewhere on your board.

Create a link
  • This HTML link can be placed in your board wrappers or in your forum descriptions, or in other forum rules texts.
    Get the URL of your open forum rules page. Insert it in the following code where it says TARGET URL.
    Use this code to place a link to your new page on your site:
QUOTE
<a href="TARGET URL">YOUR TEXT HERE</a>

To open your link in the same window, use this:
QUOTE
<a href="TARGET URL" target="_self"> YOUR TEXT HERE</a>

  • Use one of these codes to put a link in a navigation bar:
    Next to Portal link (submenu bar)
    After Help/Search/Calendar: (submenu bar)
    After My Controls (user links bar)
    After "print this topic" (postlinks bar)

  • Put a link in your Portal:
    ACP > System Settings > IP Dynamic Lite Set-up > Settings:
    Site Navigation Menu Links. Enable viewing and use this code:
  • QUOTE
    http://s#.invisionfree.com/YOUR BOARD NAME/index.php?act=SR&f=# [YOUR NEW PAGE TITLE]


  • Create a new forum/subforum that is visible and use the re-direct option to send users to your new page.
    ACP > Forum Control > New Forum > Forum Redirect Options


  • Hide the "go back to the forum" link
    Since none of these new "pages" have forums to go back to, you may wish to avoid user confusion by installing this code that removes the "go back to the forum" link at the bottom of the forum rules pages:
    http://support.invisionfree.com/index.php?showtopic=169523

    ACP > Skinning & Styles > Board Wrappers > Footers:
    QUOTE

    <script type="text/javascript">
    // Hide Go Back to forum on Forum Rules
    // created by Ryan Fan
    // http://www.ifsz.com , 2005
    if(location.href.match(/act=SR/i)){
    x = document.getElementsByTagName('a')
    for(y=0;y<x.length;y++){
    if(x[y].parentNode.className == "pformstrip" && x[y].innerHTML.match(/Go back to the forum/i)){
    x[y].style.display = "none"
    x[y].parentNode.innerHTML = ""
    }}}
    </script>




    Hosted for free by InvisionFree