PDA

View Full Version : [FIXED (in 2.3.0 final) ] sending PM to buddies who are invisible


scotsmist
Wed 12th Feb '03, 8:23pm
as an admin, I can see everyone online, even those who are invisible.

in my user_cp, my buddy_list shows my invisible buddies as online (when they are actually online of course), but when I click on send PM to buddies, the invisible buddies don't now show up as online.

No biggie, not looking for a fix, just a heads up - is it just me, or is it like that for you too.

nuno
Wed 12th Feb '03, 8:31pm
Tested and working fine here.

scotsmist
Wed 12th Feb '03, 9:10pm
thanks

Kier
Thu 13th Feb '03, 9:21am
nuno - Do you mean that you have tested it and you can confirm the bug, or that you have tested it and can't reproduce the error?

nuno
Thu 13th Feb '03, 12:04pm
Tested on vB 2.2.9 and i can't reproduce the error.

Kier
Thu 13th Feb '03, 12:55pm
Thanks

scotsmist
Thu 13th Feb '03, 1:22pm
I just checked this on 2 other sites, I am an admin on, and there both the same.

buddy is online, but when I select PM buddies (and the block with all my buddies appears, with tickboxes to select whom I wish to PM), the ones that are invisible, are saying offline.

I'm using vb2.2.9, no hacks on these sites.

Its no biggie, like I said, just wondering of it was just me.

Thanks.

scotsmist
Thu 13th Feb '03, 1:30pm
its the private2.php file

here's a screenshot, FlyingScotsman, is online, but invisible, yet is showing as offline

nuno
Thu 13th Feb '03, 2:11pm
its the private2.php file

here's a screenshot, FlyingScotsman, is online, but invisible, yet is showing as offline
hmmm
try this
edit private2.php and replace

if ($user[sessionuserid]!=0 && $user[lastactivity]>$datecut && !$user[invisible]) {

with

if ($user[sessionuserid]!=0 && $user[lastactivity]>$datecut && !$user[invisible] or $bbuserinfo['usergroupid'] == 6) {

Tell me if that fixes it.

WetWired
Thu 13th Feb '03, 3:02pm
Aren't you missing some parenthesis on that last line?

nuno
Thu 13th Feb '03, 3:21pm
Aren't you missing some parenthesis on that last line?
No.

Just for the record, i first tested this with two Administrators, both invisible, and i can't reproduce this error.
But if you test it with a non admin, then this is in fact a tiny bug.

PS: Be aware that this is not a official fix, use it at your own risk. Wait for a Dev to fix it.

scotsmist
Thu 13th Feb '03, 3:25pm
hmmm
try this
edit private2.php and replace

if ($user[sessionuserid]!=0 && $user[lastactivity]>$datecut && !$user[invisible]) {

with

if ($user[sessionuserid]!=0 && $user[lastactivity]>$datecut && !$user[invisible] or $bbuserinfo['usergroupid'] == 6) {

Tell me if that fixes it.

Now all my buddies show as online, when I click, Send PM to buddies, even those who aren't :)

scotsmist
Thu 13th Feb '03, 3:30pm
No.

Just for the record, i first tested this with two Administrators, both invisible, and i can't reproduce this error.
But if you test it with a non admin, then this is in fact a tiny bug.

PS: Be aware that this is not a official fix, use it at your own risk. Wait for a Dev to fix it.

Its not a problem thanks, as I know from other places, which of my buddies are online anyway (as I'm admin), I just happened to notice this, the other night, when I tried to send several of them the same message at the same time.
Thanks for your time :)

nuno
Thu 13th Feb '03, 3:45pm
Its not a problem thanks, as I know from other places, which of my buddies are online anyway (as I'm admin), I just happened to notice this, the other night, when I tried to send several of them the same message at the same time.
Thanks for your time :)
Try this

if ($user[lastactivity] > $datecut and (!$user[invisible] or $bbuserinfo[usergroupid] == 6) and $user[lastvisit] != $user[lastactivity]) {


This is my last try. :p
Then again, be aware that this is not a official fix, use it at your own risk. Wait for a Dev to fix it.

scotsmist
Thu 13th Feb '03, 4:07pm
yeah that worked :)

thanks for taking the time

Kier
Fri 14th Feb '03, 6:43am
This is a bug affecting a whole lot of the vB2 private messaging system.

I've now fixed it, and the fix will be included in the code in the members' area soon. I'll add to my announcement when it's available.