vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Glow Users in Whos Online (https://vborg.vbsupport.ru/showthread.php?t=46481)

Morgalis 12-13-2002 05:27 PM

*installs*

nice.. thank you

i have numerous user groups that i am going to adapt this for

350Chevy 12-14-2002 02:58 AM

Quote:

Originally posted by Morgalis
*installs*

nice.. thank you

i have numerous user groups that i am going to adapt this for

Quote:

Most users ever online was 2280 on 11-10-2002 at 01:32 AM.
Thanks, and holy crap that's a lot of users online at one time! That's twice as many members than I have! LOL!

flup 12-14-2002 10:13 AM

Members: 91,621, Threads: 17,150, Posts: 103,706

LOOK @ THIS!!!!!!!
OMG

Harley D 03-27-2003 11:16 AM

I get an error only after editing my forum/index.php.

It refers to line #348 which has this ?>

When I go to ### find: ### I don't get an exact match? this is what I have, and try to replace that causes the error on line# 348.
Quote:

$loggedins=$DB_site->query("SELECT DISTINCT session.userid,username,invisible,usergroupid
FROM session
LEFT JOIN user ON (user.userid=session.userid)
WHERE session.userid>0 AND session.lastactivity>$datecut
ORDER BY invisible ASC, username ASC");
if ($loggedin=$DB_site->fetch_array($loggedins)) {
$numberregistered++;
if ($loggedin['invisible']==0 or $bbuserinfo['usergroupid']==6) {
$numbervisible++;
$userid = $loggedin['userid'];
if ($loggedin['invisible'] == 1) { // Invisible User but show to Admin
$invisibleuser = '*';
} else {
$invisibleuser = '';
}
if ($loggedin['usergroupid'] == 6 and $highlightadmin) {
$username = "<b><i>$loggedin[username]</i></b>";
} else if (($mod["$userid"] or $loggedin['usergroupid'] == 5) and $highlightadmin) {
$username = "<b>$loggedin[username]</b>";
} else {
$username = $loggedin['username'];
}
eval("\$activeusers = \"".gettemplate('forumhome_loggedinuser')."\";" );
}

while ($loggedin=$DB_site->fetch_array($loggedins)) {
$numberregistered++;
$invisibleuser = '';
if ($loggedin['invisible']==1 and $bbuserinfo['usergroupid']!=6) {
continue;
}
$numbervisible++;
$userid=$loggedin['userid'];
if ($loggedin['invisible'] == 1) { // Invisible User but show to Admin
$invisibleuser = '*';
}
if ($loggedin['usergroupid'] == 6 and $highlightadmin) {
$username = "<b><i>$loggedin[username]</i></b>";
} else if (($mod["$userid"] or $loggedin['usergroupid'] == 5) and $highlightadmin) {
$username = "<b>$loggedin[username]</b>";
} else {
$username = $loggedin['username'];
}
eval("\$activeusers .= \", ".gettemplate('forumhome_loggedinuser')."\";") ;
}
}
$DB_site->free_result($loggedins);

$totalonline=$numberregistered+$numberguest;
$numberinvisible=$numberregistered-$numbervisible;
Now I realize I have pasted more of the area, than what ia actually REPLACED, but I thought it may help in finding why I get the error.

If more info is needed, PLEASE just let me know.

Thank You

Harley D 04-22-2003 06:07 PM

I fixed my problem, I had to use 2 different hacks, edited both and now have it working just fine.

?????p?x???? 08-13-2003 06:17 AM

Wow! This is EXACTLY what I was in search of! As an administrator, I want my username in posts to glow (which shouldn't be hard at all). Finding a Who's Online glowing hack would be the hard part, but you saved me here.

Thanks man!

enginethatcan't 08-26-2003 10:46 PM

I love it...one problem though, maybe you can help

When i click on the username of the prson online and highlighted, i get this message:

"
This user has not registered and therefore does not have a profile to view. "

any suggestions?

enginethatcan't 08-29-2003 09:03 PM

Another thing.....

I sign in and it works fine...but than I (and other members) don't show up after someone logs in.

it still says "XXX members online though"

ssabmud 09-07-2003 06:20 PM

Is that compatible with 2.3.2? I had it on 2.3.0 and upgraded with no luck.

ssabmud 09-08-2003 04:14 AM

Got it to work. Just had to tweak it a bit. Thanks!!!


All times are GMT. The time now is 03:55 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.00997 seconds
  • Memory Usage 1,742KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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