|
Need some help with this plugin.
|
|
06-30-2009, 06:34 AM
Post: #11
|
|||
|
|||
|
RE: Need some help with this plugin.
Hmm, did you deactivate the who's online list for guests in the Admin CP -> Users & Groups?
You have to do that too, otherwise it'll not only show the message but also the who's online list
Forum Admin
|
|||
|
07-01-2009, 08:40 AM
Post: #12
|
|||
|
|||
RE: Need some help with this plugin.
(06-30-2009 06:34 AM)Lennart Wrote: Hmm, did you deactivate the who's online list for guests in the Admin CP -> Users & Groups? I am sorry for not being clear at the begin of my thread. I can not use the permission system for guests for that. It has been like this all the time, do not know why. That is why I wanted such a plug-in in the first place. So please can you make it that when a guests visits my forum to see immediately that message that he can not see the online list instead as it is now that it shows both? What change must I do? Thank you very much. You have created some great plug-ins I see. Are there any more new coming? |
|||
|
Today, 00:00 AM
|
||
|
||
|
Advertisement
|
|
07-02-2009, 02:40 AM
Post: #13
|
|||
|
|||
|
RE: Need some help with this plugin.
Hmm, why can't you use that one?
In my opinion it would be the best way... Otherwise you'd have to find PHP Code: You cannot view this code until you login or registerChange the following: PHP Code: You cannot view this code until you login or registerPHP Code: You cannot view this code until you login or registerYou'll have the same effect as you have with deactivating it in the groups - with one exception! The online.php (Complete online list) will still be accessible for guests. Find in line 24: PHP Code: You cannot view this code until you login or registerPHP Code: You cannot view this code until you login or registerNow your online list should be protected. I guess this can also be achieved without changing the core files but this is the easiest way if you can't / don't want to use the guest group permissions. To your final question: I'm still developing new plugins, in fact I just started. At the moment I'm quite busy with other stuff like school but I'll have more time soon (hollidays) and then there will be a wave of new plugins ![]() Kind regards Lennart Sauter Forum Admin
|
|||
|
07-02-2009, 05:18 AM
Post: #14
|
|||
|
|||
|
RE: Need some help with this plugin.
Thank you for your efforts. But I thought that maybe it was a simpler way to change only the plug-in file and not the other files because I am a noob at this.
I am looking forward to your new plug-ins. They seem very nice. |
|||
|
07-02-2009, 05:50 AM
Post: #15
|
|||
|
|||
|
RE: Need some help with this plugin.
Thank you.
Well, I don't know any other way, it would be very tricky. Why can't you use the rights system? Forum Admin
|
|||
|
07-03-2009, 05:32 AM
(This post was last modified: 07-03-2009 05:34 AM by that_guy.)
Post: #16
|
|||
|
|||
|
RE: Need some help with this plugin.
My last question. How can I replace the {\$whosonline} with {\$hideonline} at the template? As it is now it adds it after but I want to replace it. How can that be done? Not manually but by adding it at the find_replace_templatesets at the plug-in file.. This is my last question.
find_replace_templatesets("index_boardstats", '#'.preg_quote('{\$whosonline}').'#', '{\$whosonline}{\$hideonline}'); For some reason my permission system for guests does not work. |
|||
|
Today, 00:00 AM
|
||
|
||
|
Advertisement
|
|
07-03-2009, 06:18 AM
Post: #17
|
|||
|
|||
|
RE: Need some help with this plugin.
Change to:
find_replace_templatesets("index_boardstats", '#'.preg_quote('{\$whosonline}').'#', '{\$hideonline}'); But this will disable the who's online list for all your users! Be warned! Forum Admin
|
|||
|
07-05-2009, 05:42 AM
Post: #18
|
|||
|
|||
|
RE: Need some help with this plugin.
Thank you very much. What about the deactivate function, how can I do it because I forgot all about it in all the exitement.
You seem to know a lot about php Lennart. How long did it take for you to learn it? |
|||
|
07-06-2009, 01:07 AM
(This post was last modified: 07-06-2009 01:07 AM by Lennart.)
Post: #19
|
|||
|
|||
|
RE: Need some help with this plugin.
Deactivation is exactly the other way arround:
find_replace_templatesets("index_boardstats", '#'.preg_quote('{\$hideonline}').'#', '{\$whosonline}'); I'm coding Php since a year now but I think you can learn the basics of Php in a week easily. It's really simple and there are so many examples out there ![]() Kind regards Lennart Sauter Forum Admin
|
|||
|
« Next Oldest | Next Newest »
|

Startpage
Subscribe
Search
Member List
Help





