![]() |
|
|
Thread Tools |
|
#1
|
|||
|
|||
|
Hello everyone,
I'm running my business site with custom PHP pages + vBulletin 3.8.7, I want to display the vBulletin total registered members on my custom PHP homepage, is there a way to implement this? This is my first thread on vb.org... hope I can get solutions from some great guys! :-) Thanks a lot! Roy No members have liked this post.
|
|
#2
|
|||
|
|||
|
Anyone can help on this?
No members have liked this post.
|
|
#3
|
||||
|
||||
|
You could connect to the vb database and execute this query:
The result will be one record where the 'data' column is a serialized array with 4 values: numbermembers, activermembers, newusername, and newuserid.
__________________
Please don't PM me - post your questions in the appropriate forum.
Please don't PM me to ask me to read your thread. No members have liked this post.
|
||||
|
#4
|
|||
|
|||
|
Thanks for reply, could you give a full code solution?
No members have liked this post.
|
|
#5
|
||||
|
||||
|
Do your custom pages use vbulletin code at all?
__________________
Please don't PM me - post your questions in the appropriate forum.
Please don't PM me to ask me to read your thread. No members have liked this post.
|
|
#6
|
|||
|
|||
|
Nope. Actually it's a blank PHP page... that's why I find it hard to work out...
Could you help on this? MANY MANY thanks... No members have liked this post.
|
|
#7
|
||||
|
||||
|
Well, one thing you could do is to do something like in this article: http://www.vbulletin.org/forum/showthread.php?t=228112 . Then if you were to change the $specialtemplates line like this:
you should be able to use $vbulletin->userstats in the custom code. But that's a lot of overhead if all you want is those two numbers. You say the page is blank - what is the page for? What else will be on the page when you're done?
__________________
Please don't PM me - post your questions in the appropriate forum.
Please don't PM me to ask me to read your thread. No members have liked this post.
|
||||
|
#8
|
|||
|
|||
|
"Blank" actually means it has nothing to do with VB initially... It looks like I have to do a lot of custom coding to get the "active members"...
Anyway, thanks a lot for your kind responses :-) No members have liked this post.
|
|
#9
|
||||
|
||||
|
I don't think it's that much, I was just trying to understand what the situation is. Give me a few minutes...
OK, hopefully this helps:
__________________
Please don't PM me - post your questions in the appropriate forum.
Please don't PM me to ask me to read your thread. No members have liked this post.
Last edited by kh99 : 10 Jun 2012 at 10:50. |
||||
![]() |
«
Previous Thread
|
Next Thread
»
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Total members registered TODAY 1.0 (Forumhome) | psico | vBulletin 2.x Full Releases | 47 | 02 Feb 2004 01:29 |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
| Thread Tools | |
|
|
| New To Site? | Need Help? |
All times are GMT. The time now is 18:59.



