Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

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
  #82  
Old 01-15-2005, 08:18 PM
StuKeR StuKeR is offline
 
Join Date: Nov 2004
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

and with 3.0.5 also works...

there's any help for my question plz???

:'(
Reply With Quote
  #83  
Old 01-16-2005, 06:17 PM
Trisha Trisha is offline
 
Join Date: Jan 2005
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I need help...

I added the coding to global.php and to the navbar template. Now when I try to access my Admin CP, I get this error message:

Parse error: parse error, unexpected '(' in /home/reality/public_html/admincp/global.php on line 30

I can't find the problem. Any help you can give me would be appreciated.
Reply With Quote
  #84  
Old 01-16-2005, 08:07 PM
StuKeR StuKeR is offline
 
Join Date: Nov 2004
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Trisha
I need help...

I added the coding to global.php and to the navbar template. Now when I try to access my Admin CP, I get this error message:

Parse error: parse error, unexpected '(' in /home/reality/public_html/admincp/global.php on line 30

I can't find the problem. Any help you can give me would be appreciated.
post the line 30 of global.php to see if there's any mistake
Reply With Quote
  #85  
Old 01-16-2005, 08:09 PM
Trisha Trisha is offline
 
Join Date: Jan 2005
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm pretty new to all of this stuff... I think this is line 30 (the one in bold):

// identify where we are
define('VB_AREA', 'Forum');

// ################################################## ###########################
// Start initialisation
require_once('./includes/init.php');

// ################################################## ###########################
// Start functions
if (DB_QUERIES)
{
// start functions parse timer
echo "Parsing functions.php\n";
$pageendtime = microtime();
$starttime = explode(' ', $pagestarttime);
$endtime = explode(' ', $pageendtime);
$beforetime = $endtime[0] - $starttime[0] + $endtime[1] - $starttime[1];
'./includes/init.php' (include_path='.:/usr/lib/php:/usr/local/lib/php')echo "Time before: $beforetime\n";
if (function_exists('memory_get_usage'))
{
echo "Memory Before: " . number_format((memory_get_usage() / 1024)) . 'KB' . " \n";
}
}
require_once('./includes/functions.php');

if (DB_QUERIES)
{
// end functions parse timer
$pageendtime = microtime();
$starttime = explode(' ', $pagestarttime);
$endtime = explode(' ', $pageendtime);
$aftertime = $endtime[0] - $starttime[0] + $endtime[1] - $starttime[1];
echo "Time after: $aftertime\n";
echo "Time taken: " . ($aftertime - $beforetime) . "\n";
if (function_exists('memory_get_usage'))
{
echo "Memory After: " . number_format((memory_get_usage() / 1024)) . 'KB' . " \n";
}
Reply With Quote
  #86  
Old 01-16-2005, 08:18 PM
StuKeR StuKeR is offline
 
Join Date: Nov 2004
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

perhaps could be the functions.php on the include... I don't see anything wrong... but I'm a lammah on that
Reply With Quote
  #87  
Old 01-16-2005, 10:31 PM
stumparoooo stumparoooo is offline
 
Join Date: Dec 2004
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Trisha
I'm pretty new to all of this stuff... I think this is line 30 (the one in bold):

// identify where we are
define('VB_AREA', 'Forum');

// ################################################## ###########################
// Start initialisation
require_once('./includes/init.php');

// ################################################## ###########################
// Start functions
if (DB_QUERIES)
{
// start functions parse timer
echo "Parsing functions.php\n";
$pageendtime = microtime();
$starttime = explode(' ', $pagestarttime);
$endtime = explode(' ', $pageendtime);
$beforetime = $endtime[0] - $starttime[0] + $endtime[1] - $starttime[1];
'./includes/init.php' (include_path='.:/usr/lib/php:/usr/local/lib/php')echo "Time before: $beforetime\n";
if (function_exists('memory_get_usage'))
{
echo "Memory Before: " . number_format((memory_get_usage() / 1024)) . 'KB' . " \n";
}
}
require_once('./includes/functions.php');

if (DB_QUERIES)
{
// end functions parse timer
$pageendtime = microtime();
$starttime = explode(' ', $pagestarttime);
$endtime = explode(' ', $pageendtime);
$aftertime = $endtime[0] - $starttime[0] + $endtime[1] - $starttime[1];
echo "Time after: $aftertime\n";
echo "Time taken: " . ($aftertime - $beforetime) . "\n";
if (function_exists('memory_get_usage'))
{
echo "Memory After: " . number_format((memory_get_usage() / 1024)) . 'KB' . " \n";
}
Quote:
Parse error: parse error, unexpected '(' in /home/reality/public_html/admincp/global.php on line 30
Does the error message simply mean to take a parenthesis out of the line??

I'm new to this also.
Reply With Quote
  #88  
Old 01-18-2005, 11:33 AM
oz_moses oz_moses is offline
 
Join Date: Oct 2004
Location: Sydney
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for this fantastic hack - I've installed it with CMPS and had no issues at all
Reply With Quote
  #89  
Old 01-18-2005, 12:17 PM
Sen Sen is offline
 
Join Date: Jul 2004
Location: Angleterre
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by StuKeR
Sen try to edit template of navbar and save. Simple to recharge the new template...
Did that, then I edited the global file again. Not it works.

Thank you
Reply With Quote
  #90  
Old 01-18-2005, 12:35 PM
StuKeR StuKeR is offline
 
Join Date: Nov 2004
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How I can made it run I've I got navbar desactivated???
Reply With Quote
  #91  
Old 01-26-2005, 02:15 PM
Polo's Avatar
Polo Polo is offline
 
Join Date: Jun 2004
Posts: 893
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this hack adds alot of queries in a website, 6 minimum has anyone tried to optimize it?
Reply With Quote
Reply

Thread Tools

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 05:56 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08179 seconds
  • Memory Usage 2,307KB
  • Queries Executed 25 (?)
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
  • (4)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
  • (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_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