BarryoBrien
09-09-2007, 10:00 PM
This mod is in a working stage its going onto a new style im creating.
What it is its a staff member's, login, search, statistics and birthday message.
Go to you forum home template --> search for
</head>
<body>
$header
$navbar
and add below that
<!-- custom stuff -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border"0" width="100%">
<tr>
<th scope="col"><div align="center"><b>Forum Members:</b> $numbermembers<br />
<b>Total Threads:</b> $totalthreads<br />
<b>Posts:</b> $totalposts<br />
<br />
<b>Forum Staff:</b><br />
<a href="member.php?u=1">Barry</a><br />
<a href="member.php?u=16">Camo</a><br />
<a href="member.php?u=2">Dave</a><br />
<a href="member.php?u=819">Rick</a><br />
<a href="member.php?u=9">Twinkle</a><br />
<a href="member.php?u=5">Wynette</a><br />
<a href="member.php?u=271">13th_Disciple</a><br />
<br />
<br />
There are currently <span class="staff"><b><phrase 1="$numberregistered" 2="$numberguest"><br />($vbphrase[x_members_and_y_guests]</phrase>)
</b></span>
</div></th>
<th scope="col"><div align="center"><span class="smallfont">
<if condition="$show['member']">
<center><strong><phrase 1="$bbuserinfo[username]">Welcome, $bbuserinfo[username]!</phrase></strong><br />
<br />
<a href="search.php?do=getnew"><b><i>New Posts!</i></b></a><br />
<br />
<if condition="$show['pmstats']">
<phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">
<a href="private.php">Private Messages</a>
<br />
$vbphrase[unread_x_nav_compiled], $vbphrase[total_x_nav_compiled] <br />
</phrase>
</if>
<br />
<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">
You last visited: <br />
$pmbox[lastvisitdate] at $pmbox[lastvisittime]
</phrase></center>
<br />
<else />
<!-- login form -->
<form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
<script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td class="smallfont"><label for="navbar_username">$vbphrase[username]</label></td>
<td><input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td>
</tr>
<tr>
<td class="smallfont"><label for="navbar_password">$vbphrase[password]</label></td>
<td><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" tabindex="102" /></td>
</tr>
<tr>
<td class="smallfont" colspan="2" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />$vbphrase[remember_me]</label></td>
</tr>
<tr>
<td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td>
</tr>
</table>
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="login" />
<input type="hidden" name="vb_login_md5password" />
<input type="hidden" name="vb_login_md5password_utf" />
</form>
<!-- / login form -->
</if>
</span>
<br /><strong>
<if condition="$show['searchbuttons']">
<form action="search.php?do=process" method="post">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="vbmenu_option" title="nohilite">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="quicksearch" value="1" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<div><input type="text" class="bginput" name="query" size="16" tabindex="1001" /><input type="submit" class="button" value="$vbphrase[go]" tabindex="1004" /></div>
</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
</tr>
</table>
</form>
</if>
<br /><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase>
</div></th>
</tr>
</thead>
</table>
<br />
<!-- birthday stuff -->
<if condition="$show['birthdays']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border"0" width="100%">
<tr>
<th colspan="2" scope="col"><div align="left"><strong>$vbphrase[todays_birthdays]</strong></div></th>
<th scope="col"><div align="center"><img src="$stylevar[imgdir_misc]/birthday.gif" alt="$vbphrase[view_birthdays]" border="0" /></div></th>
</tr>
<tr>
<th width="100%" scope="col"><div align="left">$birthdays</div></th>
</tr>
</table>
</if>
<!-- /end of bithday stuff -->
<!-- /end of custom stuff -->
<br />
You can change the staff id's to suit your site.
Remember this is in a working stage if you notice any errors or have suggestion post them here.
Also remember to mark as installed update will be sent out when new additions are added on.
Live demo http://www.websiteforumz.com/?styleid=20
What it is its a staff member's, login, search, statistics and birthday message.
Go to you forum home template --> search for
</head>
<body>
$header
$navbar
and add below that
<!-- custom stuff -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border"0" width="100%">
<tr>
<th scope="col"><div align="center"><b>Forum Members:</b> $numbermembers<br />
<b>Total Threads:</b> $totalthreads<br />
<b>Posts:</b> $totalposts<br />
<br />
<b>Forum Staff:</b><br />
<a href="member.php?u=1">Barry</a><br />
<a href="member.php?u=16">Camo</a><br />
<a href="member.php?u=2">Dave</a><br />
<a href="member.php?u=819">Rick</a><br />
<a href="member.php?u=9">Twinkle</a><br />
<a href="member.php?u=5">Wynette</a><br />
<a href="member.php?u=271">13th_Disciple</a><br />
<br />
<br />
There are currently <span class="staff"><b><phrase 1="$numberregistered" 2="$numberguest"><br />($vbphrase[x_members_and_y_guests]</phrase>)
</b></span>
</div></th>
<th scope="col"><div align="center"><span class="smallfont">
<if condition="$show['member']">
<center><strong><phrase 1="$bbuserinfo[username]">Welcome, $bbuserinfo[username]!</phrase></strong><br />
<br />
<a href="search.php?do=getnew"><b><i>New Posts!</i></b></a><br />
<br />
<if condition="$show['pmstats']">
<phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">
<a href="private.php">Private Messages</a>
<br />
$vbphrase[unread_x_nav_compiled], $vbphrase[total_x_nav_compiled] <br />
</phrase>
</if>
<br />
<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">
You last visited: <br />
$pmbox[lastvisitdate] at $pmbox[lastvisittime]
</phrase></center>
<br />
<else />
<!-- login form -->
<form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
<script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td class="smallfont"><label for="navbar_username">$vbphrase[username]</label></td>
<td><input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td>
</tr>
<tr>
<td class="smallfont"><label for="navbar_password">$vbphrase[password]</label></td>
<td><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" tabindex="102" /></td>
</tr>
<tr>
<td class="smallfont" colspan="2" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />$vbphrase[remember_me]</label></td>
</tr>
<tr>
<td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td>
</tr>
</table>
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="login" />
<input type="hidden" name="vb_login_md5password" />
<input type="hidden" name="vb_login_md5password_utf" />
</form>
<!-- / login form -->
</if>
</span>
<br /><strong>
<if condition="$show['searchbuttons']">
<form action="search.php?do=process" method="post">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="vbmenu_option" title="nohilite">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="quicksearch" value="1" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<div><input type="text" class="bginput" name="query" size="16" tabindex="1001" /><input type="submit" class="button" value="$vbphrase[go]" tabindex="1004" /></div>
</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
</tr>
</table>
</form>
</if>
<br /><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase>
</div></th>
</tr>
</thead>
</table>
<br />
<!-- birthday stuff -->
<if condition="$show['birthdays']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border"0" width="100%">
<tr>
<th colspan="2" scope="col"><div align="left"><strong>$vbphrase[todays_birthdays]</strong></div></th>
<th scope="col"><div align="center"><img src="$stylevar[imgdir_misc]/birthday.gif" alt="$vbphrase[view_birthdays]" border="0" /></div></th>
</tr>
<tr>
<th width="100%" scope="col"><div align="left">$birthdays</div></th>
</tr>
</table>
</if>
<!-- /end of bithday stuff -->
<!-- /end of custom stuff -->
<br />
You can change the staff id's to suit your site.
Remember this is in a working stage if you notice any errors or have suggestion post them here.
Also remember to mark as installed update will be sent out when new additions are added on.
Live demo http://www.websiteforumz.com/?styleid=20