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)
-   -   vB Pager 2.0.4 (https://vborg.vbsupport.ru/showthread.php?t=66744)

Lionel 05-29-2005 01:34 PM

the changes in global.php are causing a blank page. Tried twice.

Lionel 05-29-2005 01:40 PM

Samething for online.php. Looks like uou are missing brackets after if statements

Fusion.nl 05-29-2005 02:13 PM

Thnx for the upgrade UAE, cant wait to see it hit version 3. :)

uae 05-29-2005 02:19 PM

Quote:

Originally Posted by Lionel
the changes in global.php are causing a blank page. Tried twice.

I just installed it on two forums of mine, the same copy we got in the attached one to this thread, there seems no problem with it :surprised:

are you just upgrading from 2.0.4 to 2.0.5?? or installing a fresh one??

Lionel 05-29-2005 07:34 PM

fresh one. I fixed it by putting missing brackets

uae 05-30-2005 03:42 AM

Quote:

Originally Posted by Lionel
fresh one. I fixed it by putting missing brackets

Lionel, can you please post the lines which were missing the brackets?

Thank you

Lionel 05-30-2005 04:43 AM

that one was in global.php. There were some more in functions_online or online.php

PHP Code:

$uids explode(','str_replace(' '''$vboptions[vbpager_canhidename]));
if (
in_array($bbuserinfo[userid], $uids))
    
$canhide 1;
if (
$pagermessage)
{
$pagerinfo show_pager();
if (
$pagerinfo)
eval(
'$pagermessage = "' fetch_template('vbpager_popup') . '";');

if ( 
$vboptions[vbpager_canpager] )
eval(
'$newpagerpopup = "' fetch_template('vbpager_new') . '";'); 

my changes that made it work


Quote:

// [START HACK='vB Pager' AUTHOR='WwW.UAEWEB.COM' VERSION='2.0.5' CHANGEID= 3 ]
$uids = explode(',', str_replace(' ', '', $vboptions[vbpager_canhidename]));
if (in_array($bbuserinfo[userid], $uids))
$canhide = 1;
if ($pagermessage)
{
$pagerinfo = show_pager();
}
if ($pagerinfo) {
eval('$pagermessage = "' . fetch_template('vbpager_popup') . '";');
}
if ( $vboptions[vbpager_canpager] ) {
eval('$newpagerpopup = "' . fetch_template('vbpager_new') . '";');
}
// [END HACK='vB Pager' AUTHOR='WwW.UAEWEB.COM' VERSION='2.0.5' CHANGEID= 3 ]

uae 05-30-2005 06:10 AM

Quote:

Originally Posted by Lionel
that one was in global.php. There were some more in functions_online or online.php

PHP Code:

$uids explode(','str_replace(' '''$vboptions[vbpager_canhidename]));
if (
in_array($bbuserinfo[userid], $uids))
    
$canhide 1;
if (
$pagermessage)
{
$pagerinfo show_pager();
if (
$pagerinfo)
eval(
'$pagermessage = "' fetch_template('vbpager_popup') . '";');

if ( 
$vboptions[vbpager_canpager] )
eval(
'$newpagerpopup = "' fetch_template('vbpager_new') . '";'); 

my changes that made it work

hmmmm, that's weird, it shouldn't be like that, you are changing the whole condition and you might get some problem!

anyone else facing the same problem?

lonelime 06-01-2005 08:16 PM

hello...

can someone confirm this hack that, this is up to dated and 100% working, so I will install this one on my forum....

Should I install this one...or just wait for v.3.0??? any suggestion?

thanks for great hack.....

uae 06-02-2005 03:38 AM

Quote:

Originally Posted by lonelime
hello...

can someone confirm this hack that, this is up to dated and 100% working, so I will install this one on my forum....

Should I install this one...or just wait for v.3.0??? any suggestion?

thanks for great hack.....

hey, as for vB Pager v3.0.0 it won't be ready till I get back from my summer vacation, which is starting next week :)

I'll be having an upgrade file to v3.0.0, so you can try this one for now, and it's not that hard to uninstall if things went wrong.


All times are GMT. The time now is 02:25 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.01437 seconds
  • Memory Usage 1,753KB
  • 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
  • (2)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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