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)

lonelime 06-02-2005 05:21 AM

sound so kool, then i just wait the new fresh v3.0 come out....because i am still working on my forum, no rush at this moment....

Hope you done this soon...hmm how long it takes you to finish v.3.0??

thanks

Hyrel 06-03-2005 05:21 AM

I just did a fresh install and when I try to open my forum I get an error saying that there is an error on line 297 which would be:

PHP Code:

if ( $vboptions[vbpager_canpager] ) { 

In my global.php

When I take out:

PHP Code:

// [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 ] 

the forum works again fine...but no pager ;) Any suggestions?


Edit: I tried the above suggestion and it made the pages load with the changes made but the pager still wouldn't work for me.

uae 06-03-2005 07:41 AM

PHP Code:

// [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 ] 

This code change is not correct and it doesn't match the code in the hack file!!
where did you get this from??

can you please downlaod the zip file again, open vbpager2_05_file_edit.txt and make sure you do the exact changes in this file.

agiacosa 06-04-2005 04:02 PM

Quote:

Originally Posted by uae
PHP Code:

// [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 ] 

This code change is not correct and it doesn't match the code in the hack file!!
where did you get this from??

can you please downlaod the zip file again, open vbpager2_05_file_edit.txt and make sure you do the exact changes in this file.

I installed and it works however, replies are not working. Where should I look?

contrai 06-04-2005 09:42 PM

This is a very nice hack! I did a fresh install and everything work perfectly. I play with it back and forth just like Instan Messenger :)

But 2 things I want to be fixed tho.......

1st. Can you make the pop-up window box movable? I can't move the window box unless I scroll up and down the forum.

2nd. when i scroll the forum up and down and the popup window is overlayed by the
Forum Jump or Sorted By , Sort Order....ect. It just get overlayed by all the dropdown menu.

Thanks.

dsboyce8624 06-05-2005 12:58 AM

Quote:

Originally Posted by lsmba
I've read the comments in this thread and is seems that there are still alot of bugs riddled within this hack...although a good hack at first glance. Can anyone share the good and bad points on this hack?

Thanks

I haven't had a single problem, an the members on my site use it all the time.

Hyrel 06-05-2005 09:12 AM

Ok, going to re-download it now. I got it from a link on Flash Chat's forums.

EDIT:

well I did a new install with the files I got from here. I did find 1 error I had made in a templete so fixed that.

I'm getting this error messages still though:

PHP Code:

Fatal errorCall to undefined function: can_pager() in /home/.dandelion/hyrel/mykleekai.com/forums/global.php on line 298 

this is code I'm putting there

PHP Code:

// [START HACK='vB Pager' AUTHOR='WwW.UAEWEB.COM' VERSION='2.0.5' CHANGEID= 2 ]
if ( $bbuserinfo['userid']!=and $bbuserinfo['pager']>and $action!='pager')
        
$pagermessage 1;

if ( 
$bbuserinfo['userid']==and $action!='pager' and $session[dbsessionhash]!='')
    if (
$DB_site->query_first("select p.tosessionid from " .  TABLE_PREFIX "pager as p left join " .  TABLE_PREFIX "session as s on (s.sessionhash = p.tosessionid) where p.active=1 and  p.tosessionid='" .  $session[dbsessionhash] . "'"))
        
$pagermessage 1;

$vboptions[sessionid] = $session[dbsessionhash];
$bbuserinfo[canpager] = can_pager();
// [END HACK='vB Pager' AUTHOR='WwW.UAEWEB.COM' VERSION='2.0.5' CHANGEID= 2 ] 


Hyrel 06-05-2005 09:57 AM

Also I noticed that none of the templete changes are showing up. The only thing missing right now is the code above because my users can't use the forums if I leave it in ;)

Is that a sign of something else being wrong?

Senza 06-06-2005 03:41 PM

I have users also having problems with IE. Although myself am using it with no problems many of my users are. Any resolve on this issue yet?

osariase 06-09-2005 03:23 PM

I have installed this hack and its working like a charm and I am running vb 3.7 for real this is nice and my users are all going nuts with it. Hopefully it remains like that


All times are GMT. The time now is 02:24 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.01265 seconds
  • Memory Usage 1,776KB
  • 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
  • (6)bbcode_php_printable
  • (2)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