Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Search and staff on forum home (box) Details »»
Search and staff on forum home (box)
Version: 1.00, by BarryoBrien BarryoBrien is offline
Developer Last Online: Feb 2012 Show Printable Version Email this Page

Category: Statistics Modifications - Version: 3.6.8 Rating:
Released: 09-09-2007 Last Update: Never Installs: 5
 
No support by the author.

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

Quote:
<!-- 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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 09-10-2007, 05:53 PM
FreshFroot's Avatar
FreshFroot FreshFroot is offline
 
Join Date: Jul 2005
Posts: 770
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Needs some more work slowly, but the idea for the addon is great
Reply With Quote
  #3  
Old 09-10-2007, 09:26 PM
staff80 staff80 is offline
 
Join Date: Oct 2006
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

working for me very fast, thanks for this addon.
Reply With Quote
  #4  
Old 09-10-2007, 09:46 PM
Nick1337 Nick1337 is offline
 
Join Date: Mar 2007
Location: Projects
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice mod thanks
Reply With Quote
  #5  
Old 09-11-2007, 06:47 AM
BarryoBrien BarryoBrien is offline
 
Join Date: Jan 2007
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am still working out the kinks but it will become alot better in time.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:36 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04217 seconds
  • Memory Usage 2,248KB
  • Queries Executed 18 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (4)postbit
  • (5)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete