PDA

View Full Version : One more tiny add on... "Welcome last member"


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 ;)

amykhar
05-24-2003, 05:47 PM
ok. I only commented ones that looked like hacks in case you had a question. ;) I hope to clear out 20-50 junk threads a day in there which should have the forum under control in a month.

Amy

Xenon
05-24-2003, 06:04 PM
hmm i'm thinking of creating a new archive Pre vb.org where all threads which don't have an real first poster should be move into by a query?

should i do so?

amykhar
05-24-2003, 07:31 PM
I wouldn't do it for all forums. There are some legit hacks in released hacks like that, aren't there?

But for GHD, requests, etc, it's a great idea.

Amy