vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Welcome Panel Hack [3.5.X] (https://vborg.vbsupport.ru/showthread.php?t=105958)

SmasherMaster 01-21-2006 10:00 PM

Welcome Panel Hack [3.5.X]
 
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.

Megareus Rex 01-22-2006 12:38 AM

Arent you glad I bugged you to do this, Smash? :P

As you know, I've installed it too >.>

SmasherMaster 01-22-2006 12:44 AM

Quote:

Originally Posted by Megareus Rex
Arent you glad I bugged you to do this, Smash? :P

As you know, I've installed it too >.>

Yep, and now everyone can have this awesome update for the latest vB! \o/

One thing I forgot to mention, is if you werent logged in, there would be an extra 'sector' to the left of the guest please register avatar space, i've fixed that pesky problem. ;)

rb290 01-22-2006 12:47 AM

kool installing

SmasherMaster 01-22-2006 01:08 AM

A quick mod you can make to the coding. If you want the # of threads with new posts, instead of the # of newly CREATED threads, replace:

PHP Code:

$vbulletin->userinfo['newthreads'] = $db->query_first("select count(*) as newthreads from ".TABLE_PREFIX."thread where dateline >= {$vbulletin->userinfo['lastvisit']} and visible = 1 and sticky in(0,1)"); 

In the plugin, with:

PHP Code:

$vbulletin->userinfo['newthreads'] = $db->query_first("select count(*) as newthreads from ".TABLE_PREFIX."thread where dateline and lastpost >= {$vbulletin->userinfo['lastvisit']} and visible = 1 and sticky in(0,1)"); 

Happy trails~


Edit: Oh ffs can someone move this to the Extensions forum, I mistakenly posted it here. :/

BoYagoob 01-22-2006 05:25 AM

Thanks ..

Scooterpig 01-22-2006 05:51 AM

Quote:

Originally Posted by BoYagoob
Thanks ..

Finaly at last, thank you thank you Smasher..:)

Azhrialilu 01-22-2006 06:53 AM

very nice!

Snake 01-22-2006 08:47 AM

SWEET! I was looking for a new version of a welcome panel hack and I got this! Thanks. :D

Dollah 01-22-2006 09:24 AM

sumthing mew i'm on it lets go thanx


All times are GMT. The time now is 11:43 AM.

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.01116 seconds
  • Memory Usage 1,743KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete