Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Welcome Panel Hack V1.1 [vB3.0.x] Details »»
Welcome Panel Hack V1.1 [vB3.0.x]
Version: 1.10, by SmasherMaster SmasherMaster is offline
Developer Last Online: Sep 2011 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 07-07-2004 Last Update: 07-08-2004 Installs: 191
 
No support by the author.

Version 1.1

Hack Author:
Name: SmasherMaster
E-Mail: webmaster@megareviews.com
Forums: http://www.megareviews.com/forums


Description:
This hack replaces the box on top of the postbit in the index page with a snazzy panel with stats, new posts and PMs. When you go to view a different page, the box on top of the navbar changes into the default navigation/breadcrumb box.

Changelog:
V1.1
|-Changed file edit to global.php for tidier code.
|
|-Added file and new template edits for VbAdvanced CMPS so the welcome panel will work on CMPS.

V1.0
|-Welcome Panel Hack RELEASED!

Installation Time:
5 min.

Zip Contents:
Welcome_Panel_Hack.zip
|-instructions.txt -- Instructions on how to install this hack.
|-noavatar.gif -- Image for members who don't have an avatar yet.
|-guestavatar.gif -- Image for guests.
|-Welcome_Panel_Guest.jpg -- What the panel will look like to a guest
|-Welcome_Panel_loggedin.jpg -- What the panel will look like to a member with an avatar
|-Welcome_Panel_loggedin_noav.jpg -- What the panel will look like to a member without an avatar


Testing:
Tested on vBulletin 3.0.3

Files to Modify:
forumroot/global.php

Templates to Modify:
forumhome (Optional)
navbar

Images to Upload:
noavatar.gif
guestavatar.gif


Notes:
If you use this hack, please click on the INSTALL button.
You will be notifited via email about any updates or changes.

My first hack made, and thanks to Zero Tolerance for the Welcome Panel hack inspiration.

Show Your Support

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

Comments
  #132  
Old 04-30-2005, 05:38 AM
Brainwrek Brainwrek is offline
 
Join Date: Apr 2005
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

None of the avatar fixes in this thread are working for me. I think it may have something to with the fact that I'm using 3.0.7 ????? Does anyone have it working with 3.0.7?
Reply With Quote
  #133  
Old 04-30-2005, 10:49 PM
carolmyt carolmyt is offline
 
Join Date: Jan 2005
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just installed to version 3.0.6, and its working fine except . . . Their are no numbers next to new threads and new posts. Any ideas why not?
Reply With Quote
  #134  
Old 05-21-2005, 09:13 AM
Ducky_05 Ducky_05 is offline
 
Join Date: May 2005
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What what the navbar code look like if I wanted the avatar in the middle table?
Reply With Quote
  #135  
Old 05-21-2005, 10:52 AM
Clayton Clayton is offline
 
Join Date: Nov 2004
Posts: 216
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

have you guys added the image of the default avatar to the correct folder??

Reply With Quote
  #136  
Old 06-01-2005, 02:59 PM
Praet0rian Praet0rian is offline
 
Join Date: Apr 2005
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got it to work, But the display is messed up. I get this:

http://img204.echo.cx/img204/7540/igetthis9vp.jpg
Reply With Quote
  #137  
Old 06-09-2005, 07:50 AM
jancarlo jancarlo is offline
 
Join Date: Feb 2003
Location: Italia
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
<!-- Welcome Panel Hack V1.1 [] Created By SmasherMaster -->
<if condition="THIS_SCRIPT == 'index'">
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center"> 
<tr>
<!-- Main Welcome Panel Block [] Begin -->
	<td class="alt2" valign="middle" align="center">
	<if condition="$bbuserinfo[userid]!=0">
	<!-- Avatar Cell [] Begin -->
	{$welcome_avatar}
	</td>
	<!-- Avatar Cell [] End -->

	<td class="alt2" nowrap="nowrap" style="padding:3px">
	<!-- Your Stats [] Begin -->
	<div class="smallfont"><strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
	<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
	<a href="search.php?{$session['sessionurl']}do=getnew"><br />$vbphrase[new_posts]</a>: {$welcome_new_posts['new_posts']} $vbphrase[new_threads]: {$welcome_new_topics['new_topics']}
	<if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl]">$vbphrase[private_messages_nav]</phrase></if><br />
	<!-- Your Stats [] End -->
	<else />
	<!-- Guest [] Begin -->

		<!-- Avatar --> 
		<td class="alt2" valign="middle" align="center"> 
		<a href="register.php?ID=&amp;"><img src="images/avatars/guestavatar.gif" border="0"></a> 
		</td> 
		<!-- / Avatar -->

		<td class="alt2" nowrap="nowrap" style="padding:0px"> 
		<!-- login form -->
		<form action="login.php" method="post" onsubmit="md5hash(vb_login_password,vb_login_md5password,vb_login_md5password_utf)">
		<script type="text/javascript" src="clientscript/vbulletin_md5.js"></script>
		<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
		<tr> 
			<td class="smallfont">$vbphrase[username]</td>
			<td><input type="text" class="button" name="vb_login_username" id="navbar_username" size="16" accesskey="u" tabindex="1" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td>
			<td class="smallfont" colspan="2" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="3" id="cb_cookieuser_navbar" accesskey="c" checked="checked" />$vbphrase[remember_me]</label></td>
		</tr> 
		<tr>
			<td class="smallfont">$vbphrase[password]</td>
			<td><input type="password" class="button" name="vb_login_password" size="16" accesskey="p" tabindex="2" /></td>
			<td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="4" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td>
		</tr> 
		<tr>  
		</table> 
		<input type="hidden" name="ID" value="" /> 
		<input type="hidden" name="s" value="" /> 
		<input type="hidden" name="do" value="login" /> 
		<input type="hidden" name="forceredirect" value="1" /> 
		<input type="hidden" name="vb_login_md5password" /> 
		</form>
		</td>
		<!-- / login form -->

	<!-- Guest [] End --></if>
	</td>
	<td class="alt2" nowrap="nowrap" style="padding:3px">
	<!-- Forum Stats [] Begin -->
	<div class='smallfont'><phrase 1="$vboptions[bbtitle]"><b>$vbphrase[x_statistics]</b></phrase></div>
	<div class='smallfont'>$vbphrase[threads]: $totalthreads, $vbphrase[posts]: $totalposts, $vbphrase[members]: $numbermembers</div>
	<div class='smallfont'><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div>
	<div class='smallfont'><a href="online.php?$session[sessionurl]">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>)</div>
	</td>
	<!-- Forum Stats [] End -->

<!-- Main Welcome Panel Block [] End -->

</tr>
</table>
<else />
<!-- / Welcome Panel Hack V1.1 [] Created By SmasherMaster -->
For who it uses more languages has put the vbprhase and something more

I ask like is made to remove the line to six of the guest avatar? Thanks

hello
jancarlo

ps: pardon... you must add this new phrase: "$vbphrase[new_threads]"
Reply With Quote
  #138  
Old 06-17-2005, 03:35 AM
midnightz midnightz is offline
 
Join Date: Jan 2003
Location: Inside the Velvet Tunnel
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Overlooked but important!

The bottom vb stats have a " , " included to break large numbers example

1,258 or 78,524 etc...

Please see attached images. Is there a fix for this with the welcome panel?

Thanks
Reply With Quote
  #139  
Old 06-19-2005, 11:22 PM
SmasherMaster's Avatar
SmasherMaster SmasherMaster is offline
 
Join Date: Feb 2004
Location: Florida
Posts: 176
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I HAVE RISEN FROM THE DEAD! Jeez, alot of new replies, for sure. A recent complaint brought to my attention over MSN, showed me that in this part:

Code:
Open Template 'NAVBAR'
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Find:
+++++++++++++++++++++++++++++++++++++++++++++
<!-- breadcrumb, login, pm info -->
+++++++++++++++++++++++++++++++++++++++++++++
Add BELOW:
+++++++++++++++++++++++++++++++++++++++++++++
<!-- Welcome Panel Hack V1.1 [] Created By SmasherMaster -->
<if condition="THIS_SCRIPT == 'index'">
KILL that <if> line, unless you have VBadvanced.

Midnightz: Yes, do this change.

Replace
Code:
<div>$vbphrase[threads]: $totalthreads, $vbphrase[posts]: $totalposts, $vbphrase[members]: $numbermembers</div>
With
Code:
<div>$vbphrase[threads]: $totalthreads $vbphrase[posts]: $totalposts $vbphrase[members]: $numbermembers</div>
As for everyone else, looks like you've found a ton of problems, if everyone could post after this one with what their problem is along with a more descriptive or even link to their forum i'd try to give it a spin.

EDIT: I'm not sure about this, with me not using vB anymore and having a very outdated version, maybe 3.0.7 somehow screws up the hack, i'm not sure.
Reply With Quote
  #140  
Old 06-20-2005, 04:51 PM
midnightz midnightz is offline
 
Join Date: Jan 2003
Location: Inside the Velvet Tunnel
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SmasherMaster
Midnightz: Yes, do this change.

Replace
Code:
<div>$vbphrase[threads]: $totalthreads, $vbphrase[posts]: $totalposts, $vbphrase[members]: $numbermembers</div>
With
Code:
<div>$vbphrase[threads]: $totalthreads $vbphrase[posts]: $totalposts $vbphrase[members]: $numbermembers</div>
Hi, Welcome back!

That did not work for me as the commas are still not present and showing.

another idea?

Thnaks
Reply With Quote
  #141  
Old 06-22-2005, 12:12 PM
SmasherMaster's Avatar
SmasherMaster SmasherMaster is offline
 
Join Date: Feb 2004
Location: Florida
Posts: 176
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Check the phrases $totalthreads and such and see if there are any commas present at the end of the phrases.
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 10:37 AM.


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.04807 seconds
  • Memory Usage 2,325KB
  • Queries Executed 25 (?)
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
  • (6)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
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete