Back to vBulletin 3.5 Template Modifications

Welcome Panel w/ChatBox Lite v1.0
Mod Version: 1.00, by Otikeu

This modification is in the archives.
vB Version: 3.5.3 Rating: (0 vote - 0 average) Installs: 12
Released: 25 Mar 2006 Last Update: Never Downloads: 0
Not Supported Template Edits  

About "Welcome Panel w/ChatBox Lite" Mod
This is a VERY simple mod. This mod is used to display general forum statistics under the $navbar (navbar template) on the forum's index.php (FORUMHOME). Such information is the Chatbox Lite iframe input, forum posts/threads/member/active members/new member, quick style chooser, users online, today's birthdays, and today's events. While offering the information, it also allows the user to take advantage of one of vB3's great features, collapsing (this feature will be worked on for future releases)! I made this for my forum, and have decided to distribute it.

Installation Guide
The installation is VERY easy, you just copy and paste the bulk code below the $navbar variable on the FORUMHOME template!

Place the following code under the $navbar on FORUMHOME template:
Code:
<if condition="$show['guest']">
<else />
<!-- Welcome Panel -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
	<tr>
		<td class="tcat" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('welcome_panel')"><img id="collapseimg_welcome_panel" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_welcome_panel].gif" alt="" border="0" /></a>
<phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></td>
	</tr>
</thead>
<tbody id="collapseobj_welcome_panel" style="$vbcollapse[collapseobj_welcome_panel]">
<tr>
    <td class="thead" width="75%">Shoutbox</td>
    <td class="thead" width="25%">Quick Statistics</td>
  </tr>
  <tr>
    <td rowspan="4" class="alt1">
	  <div class="smallfont" align="center">
	  <iframe src="chatbox_lite.php?nofocus=1" width="100%" frameborder="0" name="chatbox">
	  </iframe></div>
	  </td>
    <td class="alt1" valign="top"><div class="smallfont">
    <b>$vbphrase[threads]:</b> $totalthreads<br />
    <b>$vbphrase[posts]:</b> $totalposts<br />
    <b>$vbphrase[members]:</b> $numbermembers<br />
    <br />
    <if condition="$show['activemembers']">,
					<span title="<phrase 1="$vboptions[activememberdays]">$vbphrase[within_the_last_x_days]</phrase>">$vbphrase[active_members]: $activemembers</span><br />
				</if>
    <b>New Member:</b> $newusername
    </div>
    </td>
  </tr>
  <tr>
    <td class="thead" height="5">Skin Chooser</td>
  </tr>
  <tr>
    <td class="alt1" height="30"><select name="styleid" onchange="switch_id(this, 'style')">
				<optgroup label="$vbphrase[quick_style_chooser]">
					$quickchooserbits
				</optgroup>
			</select></td>
  </tr>
</tbody>
<if condition="$show['loggedinusers']">
<!-- logged-in users -->
<tbody>
	<tr>
		<td class="thead" colspan="2">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('welcome_activeusers')"><img id="collapseimg_welcome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_welcome_activeusers].gif" alt="" border="0" /></a>
			<a href="online.php$session[sessionurl_q]" rel="nofollow">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>)
		</td>
	</tr>
</tbody>
<tbody id="collapseobj_welcome_activeusers" style="$vbcollapse[collapseobj_welcome_activeusers]">
	<tr>
		<td class="alt1" width="100%" colspan="2">
			<div class="smallfont">
				<div style="white-space: nowrap"><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase></div>
				<div>$activeusers</div>
			</div>
		</td>
	</tr>
</tbody>
<if condition="$show['birthdays']">
<!-- today's birthdays -->
<tbody>
	<tr>
		<td class="thead" colspan="2">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('welcome_birthdays')"><img id="collapseimg_welcome_birthdays" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_welcome_birthdays].gif" alt="" border="0" /></a>
			$vbphrase[todays_birthdays]
		</td>
	</tr>
</tbody>
<tbody id="collapseobj_welcome_birthdays" style="$vbcollapse[collapseobj_welcome_birthdays]">
	<tr>
		<td class="alt1" width="100%" colspan="2"><div class="smallfont">$birthdays</div></td>
	</tr>
</tbody>
<!-- end today's birthdays -->
</if>
<if condition="$show['upcomingevents']">
<tbody>
	<tr>
		<td class="thead" colspan="2">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('welcome_events')"><img id="collapseimg_welcome_events" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_welcome_events].gif" alt="" border="0" /></a>
			<if condition="$show['todaysevents']">$vbphrase[todays_events]<else /><phrase 1="$vboptions[showevents]">$vbphrase[upcoming_events_for_the_next_x_days]</phrase></if>
		</td>
	</tr>
</tbody>
<tbody id="collapseobj_welcome_events" style="$vbcollapse[collapseobj_welcome_events]">
	<tr>
		<td class="alt1" width="100%" colspan="2"><div class="smallfont">$upcomingevents</div></td>
	</tr>
</tbody>
</if>
<!-- end logged-in users -->
</if>
</table>
<!-- / Welcome Panel -->
</if>
<br>
And your done!

Future Release Plans
- Add An Optional Quick Links Sector*
- Work more with the collapsing function**
- Add suggestions by current users

*This is an optional upcoming feature to help reduce clutter of the vBulletin "navbar" template, by allowing links to other mods, etc, be placed there instead. This is good for FORUMHOME, as in, the links will of course not display outside of FORUMHOME.
** At the moment, the main collapser only hides all but the User Online, Birthday, and Events sectors, which will still be visible and collapsable. Future ideas suggest to have the main collapser hide the whole Welcome Panel.


THIS IS USED AND WAS TESTED ON vBULLETIN 3.5.3, BUT SHOULD WORK ON ALL VERSIONS IN THE 3.5 SERIES (MIGHT ALSO WORK ON THE 3.0 SERIES). PLEASE USE THIS THREAD FOR SUPPORT, AS THIS MOD IS SUPPORTED BY THE AUTHOR

Download

No files for download.

Screenshots

       

Similar Mods

Chat Modifications Chatbox Rules in cyb chatbox title vBulletin 3.7 Template Modifications
Chatbox Lite vBulletin 3.5 Add-ons

vblts.ru supports vBulletin®, 2022-2024