Would you like to react to this message? Create an account in a few clicks or log in to continue.


    Guest only message update pun/bb2

    Darren
    Darren
    Ze Big boss

    Number of posts : 171
    Age : 14
    Reputation : 41
    Registration date : 2008-11-29
    20091219

    Guest only message update pun/bb2 Empty Guest only message update pun/bb2

    Post by Darren

    The guest only message can be achieved in both PunBB and PhpBB2 versions ONLY as they are the only versions which have template editing available.

    Only founders can edit templates

    Version: Phpbb2

    Navigate to:
    Admin panel >> Display ( Tab ) >> Templates > General > Index_Body

    Now locate the below code
    Code:
    <!-- BEGIN message_admin_index -->
    <table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
        <!-- BEGIN message_admin_titre -->
        <tr>
            <td class="catHead" height="28"><span class="cattitle">{message_admin_index.message_admin_titre.MES_TITRE}</span></td>
        </tr>
        <!-- END message_admin_titre -->
        <!-- BEGIN message_admin_txt -->
        <tr>
            <td class="row1" rowspan="3" align="center" valign="middle">
            <div class="gensmall">{message_admin_index.message_admin_txt.MES_TXT}</div>
            </td>
        </tr>
        <!-- END message_admin_txt -->

    It should be the first thing in the box

    In between
    Code:
    </tr>
        <!-- END message_admin_txt -->

    Insert the message you would like so it looks like:
    Code:

    </tr>
    THIS IS MY GUEST MESSAGE REPLACE THIS WITH YOUR MESSAGE
    <!-- END message_admin_txt -->

    Dont forget to save and publish your changes.

    Version: PunBB

    Only founders can edit templates

    Navigate to:
    Admin Panel >> Display ( Tab ) >> Templates > General > Index_Body

    Now locate:

    Code:

    <!-- BEGIN switch_user_logged_out -->
    <div id="pun-visit">
        <p>{L_NOT_CONNECTED} {L_LOGIN_REGISTER}</p>
    </div>
    <!-- END switch_user_logged_out -->

    In between

    Code:

    </div>
    <!-- END switch_user_logged_out -->

    Insert your message so it looks like

    Code:
    </div>
    THIS IS MY GUEST ONLY MESSAGE, REPLACE IT WITH YOURS
    <!-- END switch_user_logged_out -->

    Don't forget to save and publish your changes.


    Originally created by Kilsek
    Updated by darren1 19/12/2009
    Share this post on: reddit

    Darren

    Post Sat Dec 19, 2009 12:16 pm by Darren

    Moved to public tuts
    Darren

    Post Sat Dec 19, 2009 12:19 pm by Darren

    The code:

    The guest only message can be achieved in both PunBB and PhpBB2 versions ONLY as they are the only versions which have template editing available.

    Only founders can edit templates

    Version: Phpbb2

    Navigate to:
    Admin panel >> Display ( Tab ) >> Templates > General > Index_Body

    Now locate the below code
    Code:
    <!-- BEGIN message_admin_index -->
    <table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
        <!-- BEGIN message_admin_titre -->
        <tr>
            <td class="catHead" height="28"><span class="cattitle">{message_admin_index.message_admin_titre.MES_TITRE}</span></td>
        </tr>
        <!-- END message_admin_titre -->
        <!-- BEGIN message_admin_txt -->
        <tr>
            <td class="row1" rowspan="3" align="center" valign="middle">
            <div class="gensmall">{message_admin_index.message_admin_txt.MES_TXT}</div>
            </td>
        </tr>
        <!-- END message_admin_txt -->

    It should be the first thing in the box

    In between
    Code:
    </tr>
        <!-- END message_admin_txt -->

    Insert the message you would like so it looks like:
    Code:

    </tr>
    THIS IS MY GUEST MESSAGE REPLACE THIS WITH YOUR MESSAGE
    <!-- END message_admin_txt -->

    Dont forget to save and publish your changes.

    Version: PunBB

    Only founders can edit templates

    Navigate to:
    Admin Panel >> Display ( Tab ) >> Templates > General > Index_Body

    Now locate:

    Code:

    <!-- BEGIN switch_user_logged_out -->
    <div id="pun-visit">
        <p>{L_NOT_CONNECTED} {L_LOGIN_REGISTER}</p>
    </div>
    <!-- END switch_user_logged_out -->

    In between

    Code:

    </div>
    <!-- END switch_user_logged_out -->

    Insert your message so it looks like

    Code:
    </div>
    THIS IS MY GUEST ONLY MESSAGE, REPLACE IT WITH YOURS
    <!-- END switch_user_logged_out -->

    Don't forget to save and publish your changes.


    Originally created by Kilsek
    Updated by darren1 19/12/2009

    Post  by Sponsored content


      Current date/time is Fri Mar 29, 2024 3:39 pm