Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Welcome Panel Hack V1.1 [vB3.0.x] Details »»
Welcome Panel Hack V1.1 [vB3.0.x]
Version: 1.10, by SmasherMaster SmasherMaster is offline
Developer Last Online: Sep 2011 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 07-07-2004 Last Update: 07-08-2004 Installs: 191
 
No support by the author.

Version 1.1

Hack Author:
Name: SmasherMaster
E-Mail: webmaster@megareviews.com
Forums: http://www.megareviews.com/forums


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.

Comments
  #142  
Old 06-23-2005, 04:11 PM
midnightz midnightz is offline
 
Join Date: Jan 2003
Location: Inside the Velvet Tunnel
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SmasherMaster
Check the phrases $totalthreads and such and see if there are any commas present at the end of the phrases.
Double and triple checked, even with and without the commas, no luck.
Reply With Quote
  #143  
Old 06-24-2005, 11:40 PM
SmasherMaster's Avatar
SmasherMaster SmasherMaster is offline
 
Join Date: Feb 2004
Location: Florida
Posts: 176
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Then I have absolutely NO idea on what'a causing it. You sure you made the change I stated above?
Reply With Quote
  #144  
Old 06-24-2005, 11:52 PM
midnightz midnightz is offline
 
Join Date: Jan 2003
Location: Inside the Velvet Tunnel
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, forgot to update, I have a very very tricked out board and hunted down what is was

Thanks
Reply With Quote
  #145  
Old 06-25-2005, 12:14 PM
SmasherMaster's Avatar
SmasherMaster SmasherMaster is offline
 
Join Date: Feb 2004
Location: Florida
Posts: 176
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah lmao, great to see that it worked.
Reply With Quote
  #146  
Old 06-26-2005, 02:07 PM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by fatefellshort
I am having some problems. I followed the instructions and when I hit Save for the Navbar edit, it says:
Quote:
The following error occurred when attempting to evaluate this template:

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/mikeydef/public_html/forums/includes/adminfunctions_template.php(3055) : eval()'d code on line 118

This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
Quote:
Originally Posted by bspiller82
I had same error and clicked continue anyway and it seems to work just fine.
I did the same thing and got the same error and clicked continue as suggested and got the following error displayed at the top of the index page:

Quote:
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/site/public_html/forum/index.php(486) : eval()'d code on line 109
Quote:
Originally Posted by SmasherMaster
I HAVE RISEN FROM THE DEAD! Jeez, alot of new replies, for sure. A recent complaint brought to my attention over MSN, showed me that in this part:

Code:
Open Template 'NAVBAR'
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 Find:
 +++++++++++++++++++++++++++++++++++++++++++++
 <!-- breadcrumb, login, pm info -->
 +++++++++++++++++++++++++++++++++++++++++++++
 Add BELOW:
 +++++++++++++++++++++++++++++++++++++++++++++
 <!-- Welcome Panel Hack V1.1 [] Created By SmasherMaster -->
 <if condition="THIS_SCRIPT == 'index'">
KILL that <if> line, unless you have VBadvanced.
The only way I can get this hack to work is to remove the line:
Code:
<if condition="THIS_SCRIPT == 'index'">
as you suggested but then the welcome panel appears at the top of each page, not just the forum home.

Also the statistics seem to be incorrect, as well (ie: they do not match the numbers at the bottom of the page or in the vbstatistics hack area)
Reply With Quote
  #147  
Old 07-08-2005, 11:58 PM
JTMON's Avatar
JTMON JTMON is offline
 
Join Date: Oct 2001
Posts: 279
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well I have tried this out as well. I did have it so the cpms page DIDn't have an avatar but the stats were there, then in trying the fixse in this thread, I somehow got them to dissapear only on the cpms page. Now I have it so almost everything works except the logged in user's avatar on cpms for just the reason Smasher said, the avatarurl variable isn't being populated...

I had the welcome block on when I installed and it still didn't show, tried turning it off, no luck, back on, no luck....UGGGHHH I want this badly

one other thing, even when I turn on the welcome block where there is an avatar...THAT avatar that also uses avataurl works, but the value isn't getting to the welcome block.
Reply With Quote
  #148  
Old 07-09-2005, 04:18 PM
JTMON's Avatar
JTMON JTMON is offline
 
Join Date: Oct 2001
Posts: 279
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Brainwrek
For whatever reason, the $avatarurl tag is not populating the avatar URL. I'm investigating.......

It seems to me this hack is full of holes. :ermm:

Yes so now how is it possible that the $avatarurl gets populated for the vbadvanced welcome panel on the same page but not that one. Doesn't global.php do that?

Also, did anyone figure out why stats disappeared on the vbadvanced page only? When I first installed it they worked then while I was tweaking the template they vanished, I tried reverting and readding the template code but they still stay gone.
Reply With Quote
  #149  
Old 07-11-2005, 12:30 PM
Corvette Corvette is offline
 
Join Date: Mar 2004
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod, but when I applied the removal part, the posts and thread info stayed but the amount of users online dissapeared!

I want that to be on the panel instead of the posts info. How would you do that? We are a small board so barely anyone comes except for admins so that could work, the theme I use is not fixed width (it's custom!).
Reply With Quote
  #150  
Old 07-13-2005, 03:02 AM
crash resistant crash resistant is offline
 
Join Date: Oct 2004
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wooow

I can't get avatars to work at all. I've read through this whole bloody thread. I can't believe that in all the VB world, there isn't a stable independent welcome panel. wooowww

I'll reply much more POed soon, when I do some more sad attempts at getting this to work.
Reply With Quote
  #151  
Old 07-13-2005, 12:25 PM
crash resistant crash resistant is offline
 
Join Date: Oct 2004
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey fellas.

yes. after much anger, I got mine to work.

I used another hack. Because I'm smart and desperate.

use this to get avatars working:
https://vborg.vbsupport.ru/showthrea...ghlight=avatar
(show avatar anywhere hack)

be sure to get rid of any of these cheesy welcome panel $welcome_avatar variables that might be lying around in your template or global.php.

and the rest of the fixes can be resolved with full url paths, and listing the variables in the cmps settings.

any questions just pm or email me. ill be glad to help.

edit: ps: This entire post only applies to users of the CMPS.
Reply With Quote
Reply


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 01:36 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.05525 seconds
  • Memory Usage 2,322KB
  • Queries Executed 27 (?)
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
  • (2)bbcode_code
  • (7)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
  • (1)pagenav_pagelinkrel
  • (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_postinfo_query
  • fetch_postinfo
  • 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