![]() |
Help with very small hack?
I am pretty sure this would be a small if/then/else statement, but since I totally suck at php, I am hoping another member at this forum will be willing to help me out here.
What I would like to have is something that will display the member count for Admins & Mods only and will just take the whole line "Currently Registered: ..." out for members. If anyone could help, I would appreciate it very much, I don't think it would be too much to do, but then again as I said, I really and totally suck at PHP. Thanks in advance, SaintDog |
Ok. In index.php Find.
PHP Code:
PHP Code:
|
Thanks for the response, sorry to say though, that does not work. I am running 2.2.4, when I am logged in, it works fine, I can see it, but when I log out to check it, it states there is a problem with the database (does not show any errors).
Any help is appreciated, Thanks. SaintDog |
ok, try
PHP Code:
|
That does not work either.
SaintDog |
open index.php
look for PHP Code:
PHP Code:
Code:
Members: $numbermembers, |
Thanks PPN, worked like a charm. :)
Thank you for your help Neo, I appreciate you trying to help me out :) SaintDog |
No problem, it really only lets moderators view it, but i'm presuming that your admins have super mod access :)
|
You realize people will be able to see the number of people from the memberlist, right? :)
|
lol good point :) but it will require a tiny bit more effort to get to it hehe
|
All times are GMT. The time now is 02:44 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:
|