|
[Tip&trick]Hide the members in the online list from guests
|
|
06-05-2009, 09:03 PM
(This post was last modified: 06-05-2009 11:28 PM by babjusi.)
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: <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: Users on line disabledIt 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. Contact me in private only if you need paid help with mybb-related issues. Otherwise, please don''t, unless I invite you to. Thanks
![]() |
|||
|
06-05-2009, 09:16 PM
Post: #2
|
|||
|
|||
|
RE: [Tip&trick]Hide the members in the online list from guests
Nice tut babjusi. Any chance of making it in a plug in please?
|
|||
|
06-05-2009, 09:22 PM
Post: #3
|
|||
|
|||
RE: [Tip&trick]Hide the members in the online list from guests
(06-05-2009 09:16 PM)that_guy Wrote: Nice tut babjusi. Any chance of making it in a plug in please? Atm I don''t have so much time. But if anyone else wants to make a plug in out it, then they will be very much welcome to do so. Later on when I will have some free time, I plan to start a new forum with mybb and deepen myself into it. It is a very nice forum, I like it quite a lot. Contact me in private only if you need paid help with mybb-related issues. Otherwise, please don''t, unless I invite you to. Thanks
![]() |
|||
|
06-06-2009, 07:27 AM
Post: #4
|
|||
|
|||
|
RE: [Tip&trick]Hide the members in the online list from guests
Good job
|
|||
|
06-06-2009, 06:26 PM
Post: #5
|
|||
|
|||
|
RE: [Tip&trick]Hide the members in the online list from guests
Thanks
Contact me in private only if you need paid help with mybb-related issues. Otherwise, please don''t, unless I invite you to. Thanks
![]() |
|||
|
06-06-2009, 06:39 PM
Post: #6
|
|||
|
|||
|
RE: [Tip&trick]Hide the members in the online list from guests
Nice one.
|
|||
|
06-06-2009, 11:09 PM
Post: #7
|
|||
|
|||
RE: [Tip&trick]Hide the members in the online list from guests
(06-06-2009 09:07 PM)labrocca Wrote: You're kidding me? If you do that genius, then the online part will be totally hidden from view. Whereas like this, it adds a finer touch in my humble opinion. It leaves it in view for guests but instead of the active users at the online list, it shows the message that for privacy reasons they can''t see it
Contact me in private only if you need paid help with mybb-related issues. Otherwise, please don''t, unless I invite you to. Thanks
![]() |
|||
|
06-13-2009, 05:51 AM
Post: #8
|
|||
|
|||
|
RE: [Tip&trick]Hide the members in the online list from guests
thanks babjusi,
also we can add a register link to there.. |
|||
|
06-14-2009, 05:31 PM
Post: #9
|
|||
|
|||
|
RE: [Tip&trick]Hide the members in the online list from guests
you rock babjusi!
nice tut |
|||
|
06-14-2009, 06:40 PM
Post: #10
|
|||
|
|||
RE: [Tip&trick]Hide the members in the online list from guests
(06-13-2009 05:51 AM)Bilgecix Wrote: thanks babjusi, Yes, you can. (06-14-2009 05:31 PM)kaixer Wrote: you rock babjusi! Thanks. Contact me in private only if you need paid help with mybb-related issues. Otherwise, please don''t, unless I invite you to. Thanks
![]() |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread:
Search
Member List
Calendar
Help


![[Image: sig.gif]](http://www.forumsecurity.eu/images/sig.gif)



