Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: , by (Guest)
Developer Last Online: Jan 1970 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 01-21-2001 Last Update: Never Installs: 0
 
No support by the author.

If anyone knows a php script that can diaplay the number of registered members, the newest registered member and his/her profile linked to that , will be on my main page not the forum pages. Like the main page on http://www.FlashKit.com

If any one can help me, it would be a blessing!

PS: I tried to make my own from the top 10 post script idea but it bombed out

Mike

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 01-26-2001, 11:17 PM
Guest
 
Posts: n/a
Default

Wayne--
: is the directory delimiter in php.ini for *nix. ; is used for Win32.

Don't require your config.php accross the web- just put the full path to it (/full/path/to/config.php)
Reply With Quote
  #13  
Old 01-27-2001, 12:02 PM
Guest
 
Posts: n/a
Default

Every thing is good on my end. I am working on some other information I want extracted from data. I want to know also how to get the latest username created, I think it's done but getting the latest time/date but I seem not able to get the latest one it's always the first one ever made.

I'll figuar it out one day, but If anyone got that down packed let me know

mike
Reply With Quote
  #14  
Old 01-27-2001, 05:42 PM
Guest
 
Posts: n/a
Default

Hmph... It still seems to not work.. I changed everything, but still get an error.

http://www.soapedup.f2s.com/testing.php
Reply With Quote
  #15  
Old 01-29-2001, 12:38 PM
Guest
 
Posts: n/a
Default

Ed,

With that in mind would this code:
Code:
  	$pmcounta = $DB_site->query_first("SELECT COUNT(msgid) AS msgid FROM privatercvd WHERE toid=$bbuserid");
  	$pmcount = $pmcounta[msgid];
  	$newpmcounta = $DB_site->query_first("SELECT COUNT(msgid) AS msgid FROM privatercvd WHERE toid=$bbuserid AND UNIX_TIMESTAMP(datetime)>$bblastvisit");
be better off like this:
Code:
  	$pmcounta = $DB_site->query_first("SELECT COUNT(*) AS msgid FROM privatercvd WHERE toid=$bbuserid");
  	$pmcount = $pmcounta[msgid];
  	$newpmcounta = $DB_site->query_first("SELECT COUNT(*) AS msgid FROM privatercvd WHERE toid=$bbuserid AND UNIX_TIMESTAMP(datetime)>$bblastvisit");
Reply With Quote
  #16  
Old 01-29-2001, 05:10 PM
Guest
 
Posts: n/a
Default

James--
Yes. vB2 has all those kinds of optimizations and more.
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 06:57 PM.


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.07216 seconds
  • Memory Usage 2,237KB
  • Queries Executed 20 (?)
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
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (6)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
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete