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.
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.
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. :/