Add rules beneath the chatbox Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

    Add rules beneath the chatbox

    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13246
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    Tutorial Add rules beneath the chatbox

    Post by Ange Tuteur November 8th 2014, 1:18 am

    Add rules beneath the chatbox




    This tutorial will allow you to add a set of links, or just a link to your chatbox rules, underneath the chatbox on your Forumotion forum. This is applicable to any forum version.

    Appearance under the Chatbox on the Homepage:
    Add rules beneath the chatbox Homepa10


    Adding the link below the chatbox

    Go to Administration Panel > Display > Templates > General edit the index_body template. Edit

    Add rules beneath the chatbox Templa10

    There are two variables for the chatbox, search for the one that you're using :

    If the chatbox is on top of your forum :
    Code:
    {CHATBOX_TOP}

    If the chatbox is at the bottom of your forum :
    Code:
    {CHATBOX_BOTTOM}

    When you have found the variable, place the following code after it :
    Code:
    <!-- BEGIN switch_user_logged_in -->
    <div align="center" class="chatRules"><a href="/URL_HERE" target="_blank">Chatbox Rules</a></div>
    <!-- END switch_user_logged_in -->

    You can copy and paste the link, or be creative and add something different. Just make sure that the content is between the following comments, so that it only displays to logged in members.
    Code:
    <!-- BEGIN switch_user_logged_in -->
    content here
    <!-- END switch_user_logged_in -->

    Modifications :

    Replace /URL_HERE by the URL of your chatbox rules. You may also use the classname .chatRules to edit the style of the chatbox rules link.

    Example :
    ( Administration Panel > Display > Colors > CSS stylesheet )
    Code:
    .chatRules a {
      font-size:12px;
      font-weight:bold;
      color:#F66;
    }

    When finished remember to save and publish the template. Add

    That's all folks !  Very good