Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 08-13-2001, 06:06 PM
JohnBradshaw's Avatar
JohnBradshaw JohnBradshaw is offline
 
Join Date: Oct 2001
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

I was wondering if there is a piece of PHP code that I can use to display the number of users, and maybe the newest user, on a totaly seperate page to vbulletin?

Any ideas?
Reply With Quote
  #2  
Old 08-14-2001, 06:44 PM
mjames's Avatar
mjames mjames is offline
 
Join Date: Nov 2001
Location: Charlotte, NC
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Search the Released Hacks forum, I'm sure there is one released.
Reply With Quote
  #3  
Old 09-11-2001, 03:03 AM
drives_fast
Guest
 
Posts: n/a
Default

I have searched the entire hacks forum and cannot find this. I am wanting to put the "$loggedinusers" on my chat thread (integrated jIRC hack/mod) using the "forumdisplay" in the new style and templates so I modified the code in the "forumhome_loggedinusers" and called it with the "$loggedinusers" but nothing shows up....well.....the number of users doesn't show up.

Any help would be appreciated on this one.

Thanks in advance...drives
Reply With Quote
  #4  
Old 03-18-2002, 10:31 PM
Xube's Avatar
Xube Xube is offline
 
Join Date: Nov 2001
Location: private
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by mjames
Search the Released Hacks forum, I'm sure there is one released.
I'm looking for something exactly like this myself. Anyone here seen a hack that addresses this? (Or have any of you been successful at getting your boards to show loggedinusers on some page other than the main forums page?)

Thanks if anyone can help or knows the location of a successful hack on this.
Reply With Quote
  #5  
Old 03-17-2003, 09:11 AM
stark427's Avatar
stark427 stark427 is offline
 
Join Date: Aug 2002
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello there.

I also need to find a way to put at my non-vb page, the number of registered users.

For the time being I do *not* want the online users.....
I just need the number of the registered users diplayed at that page.

I have found this hack :

https://vborg.vbsupport.ru/showthrea...threadid=12010

but it adds too many things and I'm not sure I want that.

Could anyone give us any ideas?

thanx
Reply With Quote
  #6  
Old 03-18-2003, 06:56 PM
stark427's Avatar
stark427 stark427 is offline
 
Join Date: Aug 2002
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ermm ok
I have never bumped a thread before... but this hack is really needed.

I mean we have here people who have awesome skills on doing hacks much more complicated than this, right?

Pretty please...
Reply With Quote
  #7  
Old 03-20-2003, 12:07 AM
mr e's Avatar
mr e mr e is offline
 
Join Date: Dec 2001
Posts: 461
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if you just want the number of registered users i think you can just do

PHP Code:
$numregistered $DB_site->query_first("SELECT COUNT(*) FROM user WHERE userid=2"); 
Reply With Quote
  #8  
Old 03-20-2003, 09:34 AM
stark427's Avatar
stark427 stark427 is offline
 
Join Date: Aug 2002
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 02:07 AM mr e said this in Post #7
if you just want the number of registered users i think you can just do

PHP Code:
$numregistered $DB_site->query_first("SELECT COUNT(*) FROM user WHERE userid=2"); 
Thanx for the reply.
However I'm kinda confused about how to use this.

I mean ... the only thing I have to do is just put this code at that NON-VB page? aranoid:

Could you elaborate please ?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:14 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05157 seconds
  • Memory Usage 2,229KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (7)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete