Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Welcome Panel w/ChatBox Lite v1.0 Details »»
Welcome Panel w/ChatBox Lite v1.0
Version: 1.00, by Otikeu Otikeu is offline
Developer Last Online: Dec 2007 Show Printable Version Email this Page

Version: 3.5.3 Rating:
Released: 03-24-2006 Last Update: Never Installs: 12
Template Edits
 
No support by the author.

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

Show Your Support

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

Comments
  #12  
Old 04-08-2006, 05:35 AM
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
Posts: 1,552
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I posted the link in post #7; Otikeu posted the link in post #1.
Reply With Quote
  #13  
Old 04-10-2006, 04:40 AM
Otikeu Otikeu is offline
 
Join Date: Nov 2004
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, the Chatbox Lite hack is required. Thank you Freesteyelz for giving support, I would have but was out of town on the 7th and just came back. Thanks again.
Reply With Quote
  #14  
Old 04-10-2006, 05:46 AM
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
Posts: 1,552
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Glad to have helped.
Reply With Quote
  #15  
Old 05-05-2006, 12:42 PM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi peeps

Here's mine, thought i'd share it and let ya see what i done

I wouldnt mind knowing how to add a smilie button please?
Reply With Quote
  #16  
Old 05-27-2006, 10:37 PM
Otikeu Otikeu is offline
 
Join Date: Nov 2004
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bashy
Hi peeps

Here's mine, thought i'd share it and let ya see what i done

I wouldnt mind knowing how to add a smilie button please?
Sorry for the late feedback, but i must say, that is an inventicve way to use the welcome panel, good job.

About the smilie button, you'll need to ask the author of the chatbox lite mod. Sorry.
Reply With Quote
  #17  
Old 05-28-2006, 07:04 AM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No worries...and thanks for the compliment
Reply With Quote
  #18  
Old 06-19-2006, 01:18 AM
Shoxer's Avatar
Shoxer Shoxer is offline
 
Join Date: May 2006
Location: my home
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyway to subsitute the Chatbox Lite for vBShout? I would try, but I would probably just mess up the code.
Reply With Quote
  #19  
Old 06-22-2006, 02:38 AM
oberheimhaven's Avatar
oberheimhaven oberheimhaven is offline
 
Join Date: May 2006
Location: Daytona Beach FLA
Posts: 266
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Im new Im getting no input file specified any suggestions Im sorry Im brand new learning however this is a great hack would love to have!!

Question How can i get this removed its on my nav bar page showing up in my forum class="vbmenu"??? I looked in the templ and removed it still there any suggestions plz?

ISSUED Resolved got it!
Thanks
Wendy
Reply With Quote
  #20  
Old 02-25-2007, 05:51 PM
Caligatio Caligatio is offline
 
Join Date: Jan 2005
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will it work for vB 3.6?
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 08:08 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.04504 seconds
  • Memory Usage 2,308KB
  • Queries Executed 26 (?)
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_code
  • (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
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete