Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
Welcome Panel Hack [3.5.X] Details »»
Welcome Panel Hack [3.5.X]
Version: 1.3, by SmasherMaster SmasherMaster is offline
Developer Last Online: Sep 2011 Show Printable Version Email this Page

Version: 3.5.3 Rating:
Released: 01-21-2006 Last Update: 01-24-2006 Installs: 87
Uses Plugins Template Edits
Additional Files  
No support by the author.

Version 1.3

Hack Author:
[size=2][b][color=yellow]Name: SmasherMaster
E-Mail: Xenaero@gmail.com

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.3 - Added 2 new texts, one under Forum Stats and one under Your Info:
Your Posts, which displays your total # of posts and the %
of the total forum's posts it is.
Active Members, this basically is the same stat as the one
in the bottom of the What's Going On? Panel.

V1.2 - Updated it for vB 3.5.x! Enjoy! Note also that since I do not have
the vBA portal anymore, I cannot be certain how to update that
coding as well, sorry! =(
I also fixed a few minor security bugs and avatar paths,
And made it work with the plugin system! Have fun!

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:
WelcomePanelHack_V1.3[3.5.x].zip
|-instructions.txt -- Instructions on how to install this hack.
|-WelcomePanel-Plugin.xml -- The plugin XML
|-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.5.3

Plugins to upload:
WelcomePanel-Plugin.xml

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.

Show Your Support

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

Comments
  #22  
Old 02-17-2006, 07:58 PM
khaleel's Avatar
khaleel khaleel is offline
 
Join Date: Oct 2004
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The guest avatar comes up, the no avatar comes up but the users avatars dont?
Reply With Quote
  #23  
Old 02-18-2006, 08:09 PM
SmasherMaster's Avatar
SmasherMaster SmasherMaster is offline
 
Join Date: Feb 2004
Location: Florida
Posts: 176
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by khaleel
The guest avatar comes up, the no avatar comes up but the users avatars dont?
What does it say in the field where the user avatar is?
Reply With Quote
  #24  
Old 02-27-2006, 10:24 PM
Mamochka's Avatar
Mamochka Mamochka is offline
 
Join Date: Aug 2003
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

SmasherMaster,
i have a little problem.

on forum home i see :
User: Mamochka
Your Posts: 250 Posts
New Posts: 49


if i read some thread :
userinfo:
Mamochka
Administrator

Posts: 185 <- ?

Why?
Reply With Quote
  #25  
Old 02-27-2006, 11:26 PM
Megareus Rex's Avatar
Megareus Rex Megareus Rex is offline
 
Join Date: Feb 2004
Location: Pennsylvania, USA
Posts: 243
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mamochka
SmasherMaster,
i have a little problem.

on forum home i see :
User: Mamochka
Your Posts: 250 Posts
New Posts: 49


if i read some thread :
userinfo:
Mamochka
Administrator

Posts: 185 <- ?

Why?
Methinks Smash didn't update the hack with that fix yet.

Right now, it queries the post table, and generates the postcount based on the # of posts that are tagged with the user's ID. The postcount used in the postbit queries the actual postcount column in the user table. I thought he'd updated the hack here though, guess not. Anyways, I informed him of the problem for you.
Reply With Quote
  #26  
Old 02-27-2006, 11:50 PM
SmasherMaster's Avatar
SmasherMaster SmasherMaster is offline
 
Join Date: Feb 2004
Location: Florida
Posts: 176
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Replace the relevant coding lines in the plugin XML:

Code:
$vbulletin->userinfo['yourposts'] = $db->query_first("select posts as your_posts from ".TABLE_PREFIX."user where userid = {$vbulletin->userinfo['userid']}");
$vbulletin->userinfo['yourposts'] = vb_number_format($vbulletin->userinfo['yourposts']['your_posts']);
Reply With Quote
  #27  
Old 03-05-2006, 10:41 AM
Mamochka's Avatar
Mamochka Mamochka is offline
 
Join Date: Aug 2003
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

SmasherMaster,

Thx.It's work.
Reply With Quote
  #28  
Old 03-15-2006, 04:55 PM
Bukusami Bukusami is offline
 
Join Date: Mar 2006
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
Warning: Division by zero in /index.php(62) : eval()'d code on line 24
Get this too, disabling plugin gets rid of it but i done everything in the instructions by the letter, i looked ta index.php and found this

Code:
// get special data templates from the datastore
$specialtemplates = array(
	'userstats',
	'birthdaycache',
	'maxloggedin',
	'iconcache',
	'eventcache',
	'mailqueue'
Thats line 23/24+
So i removed line 24 witch was the 'userstats' and still got the error.
Reply With Quote
  #29  
Old 03-15-2006, 05:53 PM
Bukusami Bukusami is offline
 
Join Date: Mar 2006
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Silly question, is says works with 3.5.x but has it been tested and works on 3.5.4 as i had to do a little extra editing to remove the bottom stats than the instructions told me (Didnt cause the error i reverted it after to check)
Reply With Quote
  #30  
Old 03-15-2006, 06:16 PM
QueenBee's Avatar
QueenBee QueenBee is offline
 
Join Date: Jan 2006
Location: On Cloud 9
Posts: 197
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wonderful! clicks install!
Reply With Quote
  #31  
Old 03-21-2006, 10:15 AM
Bukusami Bukusami is offline
 
Join Date: Mar 2006
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Noone has a way to fix this error i am getting on 3.5.4?

I really like this addon but cant get rid of the error above ^^
Reply With Quote
Reply

Thread Tools

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 02:50 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05888 seconds
  • Memory Usage 2,304KB
  • 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
  • (3)bbcode_code
  • (2)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
  • (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