The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Welcome Panel Hack [3.5.X] Details »» | |||||||||||||||||||||||||
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
|
Comments |
#22
|
||||
|
||||
The guest avatar comes up, the no avatar comes up but the users avatars dont?
|
#23
|
||||
|
||||
Quote:
|
#24
|
||||
|
||||
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? |
#25
|
||||
|
||||
Quote:
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. |
#26
|
||||
|
||||
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']); |
#27
|
||||
|
||||
SmasherMaster,
Thx.It's work. |
#28
|
|||
|
|||
Code:
Warning: Division by zero in /index.php(62) : eval()'d code on line 24 Code:
// get special data templates from the datastore $specialtemplates = array( 'userstats', 'birthdaycache', 'maxloggedin', 'iconcache', 'eventcache', 'mailqueue' So i removed line 24 witch was the 'userstats' and still got the error. |
#29
|
|||
|
|||
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)
|
#30
|
||||
|
||||
wonderful! clicks install!
|
#31
|
|||
|
|||
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 ^^ |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|