![]() |
This hack is very good, but does anyone know how to show just the total number of registered members? I would really like this.
Thanks. |
misterfade, if you know how to connect to your MySql database this query gets the registered number of users on your site:
PHP Code:
|
Quote:
It worked on my site as well...I added the require_once bit at the very top of my HTML page (even before the <html> tag) then, wherever I wanted to display the online info I just added the print command. Basically the code on your page 'should' look like: <?php require_once('/path/to/script'); ?> <html> <head> </head> <body> .... (somewhere on your page you may now add:) <?php print $show ?> Of course you have to name your page something like index.php (the extension is what matters here) Hope that made it clear to everyone. Oh and yes, I am using online.php :) |
BTW is there any way of adding links to user profiles?
|
Members names are linked on my vb and its slightly hacked. Are you asking ahead of time or do you not see your members linked?
|
Quote:
|
is there a way to add the direct link to where the user is? because it just says on all the pages i added, that the member is viewing the startpage. no matter where they are.
|
I had to make a number of modifications to get this hack to work on my site (it's not very friendly with other scripts, changing dir, without changing back, not closing the mysql connection, etc... not good coding practices for something that's meant to work with meant other code).
However, after fixing it up, it works fine, and I've installed it :) |
I've installed the script and it works perfectly. Great job.
|
I'm able to get the online_external version working somewhat, but when it try to show usernames online, it always says (none). When i switch it to not show the user name, it shows the correct number of members online. What's wrong?
Jim |
All times are GMT. The time now is 09:06 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|