Logged in or out?
#################################################################
## MOD Title: Logged-in/out?
## MOD Author: Oliver Sayers (http://www.graphicmods.co.uk)
## MOD Description:
##
## This Mod notifies the user when hes logged-in/out via the index page
##
## MOD Version: 1.00
##
## Installation Level: Easy
## Installation Time: 2 Minutes
## Files To Edit (3): includes/page_header.php
## language/lang_english/lang_main.php
## templates/subsilver/index_body.tpl
##
## Included Files: N/A
##############################################################
## For security purposes, please check: http://www.graphicmods.co.uk
## for the latest version of this MOD.
##############################################################
## MOD History:
##
## 2006-03-12 - Version 1.0
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##
## To view this properly please turn off Word Wrap (Notepad)
##############################################################
#
#-----[ OPEN ]------------------------------------------
#
includes/page_header.php
#
#-----[ FIND ]------------------------------------------
#
'L_LOGIN' => $lang['Login'],
#
#-----[ Before Add ]------------------------------------------
#
'L_LINKS_ADDS_ON' => sprintf($lang['Links_adds_on'],$board_config['sitename']),
#
#-----[ OPEN ]-----------------------------------------------
#
language/lang_english/lang_main.php
#
#-----[ FIND ]------------------------------------------
#
// Login
//
#
#-----[ AFTER, ADD ]------------------------------------------
#
$lang['Links_adds_on'] = 'Graphicmods.co.uk';
## Note: Change = 'Grapgicmods.co.uk'; to the text yo would like to appear
#
#-----[ OPEN ]-----------------------------------------------
#
templates/subsilver/index_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<form method="post" action="{S_LOGIN_ACTION}">
#
#-----[ after Add ]------------------------------------------
#
<table width="100px"px"px"px"%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<td class="catHead" height="28px"px"px"px"><span class="cattitle">{L_LINKS_ADDS_ON}</span></td>
</tr>
<tr>
<td class="row1" align="center"><span class="gen"><font color="red">WARNING:</font> You're not logged in</span></td>
</tr>
</table>
<br />
#
#-----[ FIND ]------------------------------------------
#
<!-- END switch_user_logged_in -->
#
#-----[ MOVE, AFTER ]------------------------------------------
#
</td>
<td align="center"><span class="gensmall">{S_TIMEZONE}</span></td>
</tr>
</table>
## You're finding ' <!-- END switch_user_logged_in -->' and moving down after the above then between
## ' <!-- END switch_user_logged_in -->' and the above you are adding the below
#
#-----[ AFTER, ADD ]------------------------------------------
#
<table width="100px"px"px"px"%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<td class="catHead" height="28px"px"px"px"><span class="cattitle">{L_LINKS_ADDS_ON}</span></td>
</tr>
<tr>
<td class="row1" align="left"><span class="gen">You're now logged in! Have fun around the forums.</span></td>
</tr>
</table>
<br />
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM


