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.
Question. I am using vbAdvanced CMPS system. How do I add your hack to that as well?
Find in template navbar
PHP Code:
<if condition="THIS_SCRIPT == 'index'">
Replace with
PHP Code:
<if condition="THIS_SCRIPT == 'index' OR 'adv_index'">
EDIT: it works, look in the php code above for the answer...but if you got CMPS out of your fourms DIR, that's a slight problem as the avatar images don't show up. I'll find out that error and fix it right away.
seems to work. But you are right. My CMPS is outside of my forums directory and my avatar does not show up. Is there a variable or something i can use to automatically determin the path of the avatars directory?
hello, i was wondering if my forum would benefit from this being that i have a purchased style, and was wondering how i go about placing this under my nav bar, so that my image at the top stays intact...and so my nav bar stays the same?
bitg: I just noticed that the welcome panel not only appears on the CMPS, but on every other page as well...This is puzzling indeed, and on top of that, the forum stats and the new posts varibles are also missing. I'll have to keep working on this.
turbidblue: Your navbar should remain intact, because all you have to do is edit the navbar template. The Banner will remain intact as well, as this does not edit the Header template. But since that is a type of style I have never dealt with before, I'm not certain, but all should remain.
I figured out the problem with the hack being on CMPS...The phrases that are in the file edit are not in the cmps file. I must figure out a way to include the phrases, and then, it will no doubt work. Hang in there bitg.