Welcome Guest[3.145.37.219], connected from
[Tip&trick]Hide the members in the online list from guests
|
Post: #1
|
|||
|
|||
[Tip&trick]Hide the members in the online list from guests
I had make such a mod for another forum software and recently adjusted it for a friend of mine who converted from that forum to mybb.
First of all you must have the PHP in Templates and Template Conditionals plug in installed: (Nice plug in btw, very usefeul too) http://community.mybboard.net/thread-31860.html After you install that plug in, go to the Acp of your forum-Templates & Style-Templates-Default Templates-Index Page Templates-index_whosonline. Replace the whole code in there with the following: Code:[Highlight] <if $GLOBALS['mybb']->user['usergroup'] == 1 then> You can see the result in the screenshot attached below. Instead of the line list, it will show the guests the following message: Code:[Highlight] Users on line disabled It is very handy for the privacy. The message is hard coded, but you can add the language strings in the language files if you want. If this is in the wrong place, then I apologize in advance to the mods/admins and feel free to delete it. |
|||
0 member(s) viewed this thread in the last 365 days :
|
« Next Oldest | Next Newest »
|
WWWHostingServer.com
|
||||||
|
||||||
|
Possibly Related Threads... | |||||
Thread: | Author | Replies: | Views: | Last Post | |
[Tip&Trick]Hide Board Statisctic from guests! | babjusi | 14 | 5,183 |
05-23-2011 09:00 PM Last Post: Gpizzle |
|
[Tip&Trick]Spice up your Admin on postbits and the online list | babjusi | 5 | 2,734 |
05-23-2011 08:59 PM Last Post: Gpizzle |
|
[Tip&Trick] Show the Topic Lists on no permissions forums. | babjusi | 4 | 2,353 |
01-11-2010 11:11 AM Last Post: babjusi |
|
[Tip&Trick] Receive a pop up notification when receiving new pm''s | babjusi | 3 | 2,059 |
12-16-2009 10:30 AM Last Post: skiilz |
|
[Tip&Trick] Default Groups Avatar | babjusi | 2 | 1,877 |
12-12-2009 10:12 AM Last Post: skiilz |
|
|
|
|
Powered By MyBB, © 2002-2024 MyBB Group. Golden Crown - Designed and Published by ghazal & exdiogene of MyBBCodes. Hosting provided by WWWHostingServer.com |