vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   One more tiny add on... "Welcome last member" (https://vborg.vbsupport.ru/showthread.php?t=377)

05-07-2000 04:53 PM

One more item knocked off from my list of hacks I need to complete before I can actually use vB.

Here it is ....

http://www.gandmasti.net/forum/last.php

text at

http://www.gandmasti.net/forum/last.txt

John, if you read this could you verify that the syntax of the sql statement is correct.

I am using the userid field to pick the last user, since the joindate does not have minute / second detail in it.

05-07-2000 05:14 PM

it already does that on the main page...

05-07-2000 05:36 PM

Thank you shri, that is just what we needed to fix another member problem of ours:)

05-07-2000 05:38 PM

Our member count is 2 less than our last member's userid, so our welome to our newest member username was always two behind, aggravating! Now it works perfectly!

Thank you, thank you, thank you! :D

05-08-2000 12:59 AM

What about a tiny script that shows the total number of posts, and vB members? ;)

05-09-2000 07:49 PM

From my test board.

mysql> select count(*) from post;
+----------+
| count(*) |
+----------+
| 3379 |
+----------+
1 row in set (0.00 sec)

mysql> select count(*) from user;
+----------+
| count(*) |
+----------+
| 1544 |
+----------+
1 row in set (0.00 sec)

05-09-2000 07:51 PM

Martin,

I know it does that in the main page. But thats quite frequently not the index page of a site.

05-10-2000 12:40 AM

output the stats as an image ?

output the stats as an SSI include ?

output the stats for the last x days ?

how do you want it done ?

amykhar 05-24-2003 03:15 PM

hack and site gone.

Amy

Xenon 05-24-2003 05:12 PM

amy, you don't need to comment every old thread you move into deleted ;)

justnewer ones where it could be unclear why they were deleted need comments ;)


All times are GMT. The time now is 04:09 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.01043 seconds
  • Memory Usage 1,726KB
  • 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)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