vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=34)
-   -   vB Pager 2.0.4 (https://vborg.vbsupport.ru/showthread.php?t=72823)

ethank 01-26-2005 12:42 AM

I still have a problem with messages keeping popping up even after they're read. Every page load makes this happen. How do I fix this?

A note that this happens even after I delete the message from my box. THis only happens in Safari, not FireFox

ethank 01-26-2005 12:42 AM

Also, still, upon reply it causes a new window to pop up.

uae 01-26-2005 02:36 AM

Quote:

Originally Posted by OrangeFlea
How long before the final version is released and do you plan on adding anything else of significance? I'm very eager to put this up.

I am just making sure that there are no bugs with this hack, and I'll move it to the full release forum.

Basically, I have written this hack for my "Lazy" S-Moderators and Moderators only, so no other usergroup is using it.

However I am thinking to give the permission to my members to use, but I don't want to go beyond the logic of this hack and change it to a chatting tool!
There are many out there.

I would think that I will add :
1- Number of pager messages can be sent per day, hours... per usergroup.
2- Require X posts befor getting the permission to send pager messages... per usergroup.

uae 01-26-2005 02:44 AM

Quote:

Originally Posted by OrangeFlea
Also, I have the "Who's online" disabled on my forum. Is it possible for members to simply click on an icon in the postbit area to page another member? And does the pager icon appear only when the user has a message (page) or is it always visible?

If you have allowed that usergoup to use vB Pager, then yes, they can send messages to another member from postbit, Member info page and forumhome_loggedinuser anytime and the icon is always visible.

A member can NOT send a pager message to him/her self.

uae 01-26-2005 02:48 AM

Quote:

Originally Posted by docvader
Uae, getting a mysql error when trying to access the Who's Online section of my site:


My online.php relevant section looks like this:


Any ideas? It was working before the hack.

rich

You have missed something there, let's do it again.

In ONLINE.PHP FIND

Code:

SELECT user.username, session.useragent,
Replace it WITH

Code:


SELECT user.username, session.useragent, session.sessionhash,

AGAIN in ONLINE.PHP FIND

Code:

$guests["$count"]['username'] = $vbphrase['guest'];
Add Below

Code:


// [START HACK='vB Pager' AUTHOR='WwW.UAEWEB.COM' VERSION='2.0.4' CHANGEID= 3 ]
  $guests["$count"]['sessionid']= $users[sessionhash];
// [END HACK='vB Pager' AUTHOR='WwW.UAEWEB.COM' VERSION='2.0.4' CHANGEID= 3 ]


uae 01-26-2005 03:06 AM

Quote:

Originally Posted by ethank
I still have a problem with messages keeping popping up even after they're read. Every page load makes this happen. How do I fix this?

A note that this happens even after I delete the message from my box. THis only happens in Safari, not FireFox

mmmm, Guys, can anyone test this with Safari please? cos I don't have it installed.

docvader 01-26-2005 03:17 AM

Uae, I have online.php as you dictated. Again, here's my relevant sections of online.php:
Quote:

// [START HACK='vB Pager' AUTHOR='WwW.UAEWEB.COM' VERSION='2.0.4' CHANGEID= 3 ]
$allusers = $DB_site->query("

SELECT user.username, session.useragent, session.sessionhash, session.location, session.lastactivity, user.userid, user.options, session.host, session.badlocation, session.incalendar, user.aim, user.icq, user.msn, user.yahoo,
// [END HACK='vB Pager' AUTHOR='WwW.UAEWEB.COM' VERSION='2.0.4' CHANGEID= 3 ]
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid

and, the second change:
Quote:

$guests["$count"]['username'] = $vbphrase['guest'];
// [START HACK='vB Pager' AUTHOR='WwW.UAEWEB.COM' VERSION='2.0.4' CHANGEID= 3 ]

$guests["$count"]['sessionid']= $users[sessionhash];

// [END HACK='vB Pager' AUTHOR='WwW.UAEWEB.COM' VERSION='2.0.4' CHANGEID= 3 ]

$guests["$count"]['invisible'] = 0;

$guests["$count"]['displaygroupid'] = 1;

$guests["$count"]['musername'] = fetch_musername($guests["$count"]);

It's this file edit, that's causing the member profile from working properly. When I revert to my older online.php, member profile works, AND, the pager system seems to work too.

Also, I've noticed that the pager box stays open when you have asked for a reply. The message gets sent, and if the other person does NOT reply, they cannot get rid of the pager box. Therefore, maybe having the "add reply" box checked, unchecked as default, would solve this annoyance for some.

Hope you can figure this out. Otherwise, it seems to be working very well.
rich
http://x.russbo.com/vb/index.php

docvader 01-26-2005 03:29 AM

OK, I fixed it. Self inflicted error, nothing to do with Uae's work. My apologies if people think that your excellent work caused this.

My attempt at "organizing" in preparation for the inevitable 3.07 upgrade (tomorrow, lol) causes this error. Adding
Quote:

// [END HACK='vB Pager' AUTHOR='WwW.UAEWEB.COM' VERSION='2.0.4' CHANGEID= 3 ]
where I did, is triggering the mysql error.

I took it out.

Oops...

uae 01-26-2005 04:06 AM

Quote:

Originally Posted by docvader
OK, I fixed it. Self inflicted error, nothing to do with Uae's work. My apologies if people think that your excellent work caused this.

My attempt at "organizing" in preparation for the inevitable 3.07 upgrade (tomorrow, lol) causes this error. Adding where I did, is triggering the mysql error.

I took it out.

Oops...

Maaan, never use // [END HACK='vB Pager' AUTHOR='WwW.UAEWEB.COM' VERSION....

Insied Queries :)

docvader 01-26-2005 05:54 AM

Yes, yet another brilliant move on my part, LOL.

It's working fine, but I've got some people complaining about the message box not closing. I think it has to do with the "reply box" being checked, but I need more time to figure this out.

Great hack. Very useful for my community.


All times are GMT. The time now is 02:15 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.01268 seconds
  • Memory Usage 1,751KB
  • 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_code_printable
  • (8)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