Create a Link to Your Chatbox Rules

Post new topic   Reply to topic

View previous topic View next topic Go down

Re: Create a Link to Your Chatbox Rules

Post by ClaraZ25 on August 10th 2009, 9:51 am

Create a Link to Your Chatbox Rules






You Must Be Able to Edit Templates In Order to Do This. Currently only phpbb2 and punbb have this capability.

The Tutorial for phpbb2 can be found in this post the Tutorial for punbb can be found in post #2 The punbb tutorial is coming soon.

PHPBB2


Step 1: Find The Right Template
You need to go to:
Admin Panel >> Display >> Templates >> General >> index_body
Then just click the yellow gear button to modify.

Step 2: Located Where to Start
First located the following text in the template:
Code:
<!-- BEGIN switch_chatbox_activate -->
    <tr>
        <td class="row1">
            <span class="gensmall">{TOTAL_CHATTERS_ONLINE}&nbsp;:&nbsp; {CHATTERS_LIST} <br />[b]
We will begin typing right here.
TIP: To quickly find this section of the code use CTRL+F feature on your browser.

Step 3: What To Add To The Template
So after that text you are going to add the following text to the template:
Code:
<b><a href="http://www.kinzisland.com/rules-and-suggestions-f3/official-chatbox-rules-t457.htm" target="_new">Chatbox Rules</a></b>

Please Note: You will need to have already created a Topic or HTML Page with your rules before you can do this step. If you have not already created one do so now.

If you have created one take the url link to
that page/topic and paste it over the example.com url.

Pros Note: If you are familiar with template editing you can always customize the message and/or the link properties. Just make sure you type everything between the
and the

One Simple change you can make is for the Chatbox Rules to appear in a new window and not a new tab. To do this type _blank instead of _new in the target section.

So That is It for PHPBB2 As You Can See It Takes Only 3 Easy Steps.

Disclaimer: I am not responsible for any template editing disasters. Edit Templates at your own Risk.

PHPBB2

Doing it is PUNBB is very similar just a few minor changes.

Step 1: Find The Right Template
You need to go to:
Admin Panel >> Display >> Templates >> General >> index_body
Then just click the yellow gear button to modify.

Step 2: Located Where to Start
First located the following text in the template:
Code:
<!-- BEGIN switch_chatbox_activate -->
        <div id="onlinechat">
            <p class="page-bottom">
            {TOTAL_CHATTERS_ONLINE}&nbsp;:&nbsp;
            {CHATTERS_LIST}<br />

We will begin typing right here.
TIP: To quickly find this section of the code use CTRL+F feature on your browser.

[b]Step 3: What To Add To The Template

So after that text you are going to add the following text to the template:
Code:
<b><a href="http://www.kinzisland.com/rules-and-suggestions-f3/official-chatbox-rules-t457.htm" target="_new">Chatbox Rules</a></b>

Please Note: You will need to have already created a Topic or HTML Page with
your rules before you can do this step. If you have not already created
one do so now.

If you have created one take the url link to
that page/topic and paste it over the example.com url.

Pros Note: If you are familiar with
template editing you can always customize the message and/or the link
properties. Just make sure you type everything between the
and the

One
Simple change you can make is for the Chatbox Rules to appear in a new
window and not a new tab. To do this type _blank instead of _new in the
target section.

So That is It for PUNBB As Well. Like PHPBB2 only a few simple steps.

Disclaimer: I am not responsible for any template editing disasters. Edit Templates at your own Risk.



Written by [ClaraZ25]

ClaraZ25
Forumotion Member

Male
Posts: 61
Language: English, HTML, and Basic CSS
Location: Canada
Country:
Join date: 2008-12-12

Back to top Go down

View previous topic View next topic Back to top


Permissions of this forum:
You cannot reply to topics in this forum