vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Welcome Panel Hack V1.1 [vB3.0.x] (https://vborg.vbsupport.ru/showthread.php?t=66969)

StuKeR 01-15-2005 08:18 PM

and with 3.0.5 also works...

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

:'(

Trisha 01-16-2005 06:17 PM

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.

StuKeR 01-16-2005 08:07 PM

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

Trisha 01-16-2005 08:09 PM

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";
}

StuKeR 01-16-2005 08:18 PM

perhaps could be the functions.php on the include... I don't see anything wrong... but I'm a lammah on that

stumparoooo 01-16-2005 10:31 PM

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.

oz_moses 01-18-2005 11:33 AM

thanks for this fantastic hack - I've installed it with CMPS and had no issues at all

Sen 01-18-2005 12:17 PM

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 :)

StuKeR 01-18-2005 12:35 PM

How I can made it run I've I got navbar desactivated???

Polo 01-26-2005 02:15 PM

this hack adds alot of queries in a website, 6 minimum :( has anyone tried to optimize it?


All times are GMT. The time now is 09:14 PM.

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.01144 seconds
  • Memory Usage 1,745KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete