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)

dsboyce8624 06-10-2005 03:48 PM

Okay, I've had this working for a good time now, but I've run across a bug.

Cap'n Steve from here signed up at my site yesterday, while he was online the vbpager script gave me page errors and I couldn't send him a page, I could still send to anybody else.

I don't know if it's the apostrophy, or the space in his username, but it must be one of them.

Any ideas?

uae 06-12-2005 07:58 AM

Quote:

Originally Posted by dsboyce8624
Okay, I've had this working for a good time now, but I've run across a bug.

Cap'n Steve from here signed up at my site yesterday, while he was online the vbpager script gave me page errors and I couldn't send him a page, I could still send to anybody else.

I don't know if it's the apostrophy, or the space in his username, but it must be one of them.

Any ideas?

My bad, you are correct, I have never thought of usernames with apostrophy.
Thank you sir ...

Ok, this fix require new changes, I won't update the installation file which I got in the first post, cos I am working on vB Pager 3.0.0
For those who are getting problem sending to members with apostrophy in their usernames, can download this file and fix the problem.

lonelime 06-13-2005 06:03 AM

Quote:

Originally Posted by Hyrel
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 ] 





i got same problem with him... any idea?

please help...

thanks

uae 06-13-2005 07:57 AM

Quote:

Originally Posted by lonelime
i got same problem with him... any idea?

please help...

thanks

There is nothing wrong with this code, and the error you're getting has nothing to do with it, this code should go into global.php, and the error you're getting is either you did not add the modification required in funictions.php or you got the code wrong.

please do recheck the file change edits.

Cynnder 06-13-2005 08:17 PM

OK so the install went really smooth and I had minimal issues, thatw erent my own doing anyway.... ( like dumb me not running the installer... doh!!!)

But now i have the icons where they should be, the box pops up when I click on it, I type and click send and no one ever gets there message. We have been chatting on messangers so we can know when ppl are sending and even I as admin cant send to them and have them get them. I also have nothing in my logs on the bord or in the acp. I have Usergroup IDs set so that all my members can use the pager and no one gets them.

I checked and rechecked the install and everything looks like it should. I read through the whole 16 pages of this thread and dont really see anyone with my issue.

Am I missing a schedules task or SQL query????

Jo

lonelime 06-15-2005 05:10 AM

hey....finally i got it working...

but i got some IE issue.......everytime i click on the user icon to send the vbpager....i got error, and i have to close the IE :-(

i guess i have to uninstall it....no chance to use it...

thanks

Hyrel 06-15-2005 08:12 PM

He is a she =?

I finally got that problem fixed..or made it worse lol

this is the error I'm getting now:

PHP Code:

Fatal errorCannot redeclare can_pager() (previously declared in /home/.dandelion/hyrel/mykleekai.com/forums/includes/functions.php:3929in /home/.dandelion/hyrel/mykleekai.com/forums/includes/functions_online.php on line 1560 

However! It doesn't interfer with the site working, just my memberlist doesn't work and I can live without it a few days.

Also does the edit go:

HERE
/*================================================= =====================*\
|| ################################################## ##################
|| # Downloaded: 01:47, Sun May 8th 2005
|| # CVS: $RCSfile: functions.php,v $ - $Revision: 1.984.2.16 $
|| ################################################## ##################
\*================================================ ======================*/
OR HERE
?>

I tried it both ways and it didn't seem to make a difference so maybe it doesn't matter.

I'll keep trying but any suggestions are most welcome!

lonelime 06-15-2005 09:34 PM

either way is fine....make sure you edit the right file....

this one you edit in folder includes/functions.php
not in functions_online.php

i guess you edit the wrong one....

Hyrel 06-16-2005 02:06 AM

It says to edit both files

in includes/functinons_online.php

################################################## #################
in includes/functinons.php

Maybe I switched the codes...I'll go check that.

The IM is actually working but there's about a 5 min delay, is that normal?

Hyrel 06-16-2005 02:22 AM

I checked both files and all edits are where they are supposed to be as far as I can tell. My member's profile pages are still broken. The little icons and all are there now and the girl I sent 2 IM's too did get them but like 5 mins later.

I'm not giving up yet! Keep the suggestions coming :)


All times are GMT. The time now is 07:33 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.01291 seconds
  • Memory Usage 1,763KB
  • 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
  • (3)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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