Ok, this is my first Mod, maybe it will being updatet
The Mod include a new Box if you're a Guest. If you're registred, the box is invisible! So you can inform new Vistors about the advantages of register!
Ok, at first make a backup of all changing files!
Step 1
find in
includes\page_header.php
//-----------------------------------------------------
//--- User Box ----------------------------------------
//-----------------------------------------------------
add before
//-----------------------------------------------------
//--- Guest infobox -----------------------------------
//-----------------------------------------------------
if (isset($main_template) && $main_template) {
$get_info_guest = (($user_info['user_level'] == GUEST) ? $site_template->parse_template("info_guest") : "");
$site_template->register_vars(array(
"info_guest" => $get_info_guest
));
unset($info_guest);
}
Step 2
now create a new template called
info_guest.htmlput in the text your want to show
example:
<table width="100%" border="0" cellspacing="0" cellpadding="1">
<tr>
<td valign="top" class="head1">
<table width="100%" border="0" cellpadding="4" cellspacing="0">
<tr>
<td valign="top" class="head1">Guestinfo</td>
</tr>
<tr>
<td class="row2">blablabla...</td>
</tr>
</table>
</td>
</tr>
</table>
<P>
Step 3
Add in the template (ex. home.html)
{info_guest}
there you want add the box
See Demo
http://www.datenplatz.ch/leeger/gallery/