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)
-   -   Who's online on non-vB page (with usernames) (https://vborg.vbsupport.ru/showthread.php?t=12010)

Joshs 06-21-2001 02:50 AM

When I include this in a .shtml file I get this when viewing it...

$datecut AND invisible='0' ORDER BY username ASC") or die("oops2"); while($regmember = mysql_fetch_array($regmembers)): ++$regmembercomma; if ($regmember[invisible] == 0) { $regmemberson .= $regmember[username]; } else { ++$regmembercomma; } if ($regmembercomma < mysql_num_rows($regmembers)): $regmemberson .= ", "; endif; endwhile; $guests = mysql_query("SELECT COUNT(userid) AS guestsonline FROM session WHERE userid=0 AND session.lastactivity>$datecut") or die("oops3"); while($guest = mysql_fetch_array($guests)): $guestson = number_format($guest[guestsonline]); endwhile; echo("Member(s) on: $regmemberson. Guest(s) on: $guestson."); ?>

jarvis 06-21-2001 03:18 AM

Joshs,

Are you using WinNT/2k and IIS?

Joshs 06-21-2001 03:21 AM

Yes!

jarvis 06-21-2001 03:27 AM

Well, you and I are out of luck. Apparently IIS does not know how to handle multiple layers of translation.

Trying to include a .PHP document in IIS confuses it and IIS does not apply the filter. :(

Sorry to be the bearer if bad news.

Joshs 06-21-2001 03:30 AM

Oh s***! I was planning on integrating some of this stuff with my site!!!! So there is no way to get this working?!

jarvis 06-21-2001 03:33 AM

I've heard mixed reports with .asp pages, but I really don't have time to learn ASP.

I'm browsing through MS again to see if there are any white papers on this. :(

Grover 06-24-2001 01:14 PM

Great 'hack', this Tubedogg. Just what I was looking for.

Is it possible that you could include some of the suggestions of us - the VERY satisfied users of your work- in a future release of this hack?

I would LOVE to see some extenions on this, for example the suggestion of Mitrofan to include just the number of registered members, regardless of their online status.
Instead of including the suggestions of Mitrofan or doing the adaptions ourselves, it would be nice to include it in a future release?

Thank you very much, again. (none of my bussiness really, but do you actually get PAID for all the great support you do on Vb? Ofcourse, it must be....nevertheless I'm willing to start a Poll to get you a raise ;)

Grover.

(PS: I guess this hack works on 2.0.0 and 2.0.1 as well? 'cause it says ' v2 beta 3 in the subjectline)

VirtueTech 07-22-2001 04:58 AM

nevermind

nice hack :)

Cygnus 08-01-2001 04:28 PM

Quote:

Originally posted by tubedogg
LAST UPDATED: 3.24.01 10:40 PM Eastern

Hack version: 0.0.2

Will there be an upgrade to this soon? With vB 2.0.3 out, the sessions.php file has changed. Further, I have always seen two or three entries for some people. I have read the thread and understand the problem, but I am sure that there must be a fix. As I only picked up a PHP book yesterday, I am not quite qualified to do it and hope that some coder here (maybe even tubedogg himself) to fix up what could be the most useful hack for a board.

Thanks in advance!
Cygnus

Cygnus 08-14-2001 02:10 AM

bump.

Tubedogg? You out there? Anyone else?

Cygnus


All times are GMT. The time now is 01:42 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.01092 seconds
  • Memory Usage 1,735KB
  • 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
  • (1)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