Not Solved Can this be done? Last 24 hours on index?
#1
Not Solved
So, of you go to /online.php?action=today you will see who was active in the last 24 hours on the forum.
Is there any way to make a new template with this and than on index page where is "who is online" statistics, to add also "Online in the last 24 hours" box with all the names?
Something like {$online24}
iAndrew & NickGHQ - Respect!!
Reply
#2
Not Solved
https://community.mybb.com/mods.php?action=view&pid=937
Do NOT PM me for support unless I ask you on your support thread.
Reply
#3
Not Solved
I am really trying to avoid plugins, Is there any way to do this without plugin? Thos templates in Templates section but when I put {$onlinetoday} just for testing nothing happends
iAndrew & NickGHQ - Respect!!
Reply
#4
Not Solved
in general, variables are coded to work on specific pages only.
{$onlinetoday} works on its specific page (online.php?action=today)

Quote:really trying to avoid plugins
Good Smile But it is difficult to run a forum without using plugins.
plugins are used to extend functionality without editing the core files.

of course, plugins should be used sparingly [use only if necessary]
Reply
#5
Not Solved
Mey, I tried even to copy template content and make new custom template than I was tried to add it, but still doesn't work.
For now, I have only 2 plugins on my forum.

Quote:{$onlinetoday} works on its specific page (online.php?action=today)

Is there a way to bypass that?
iAndrew & NickGHQ - Respect!!
Reply
#6
Not Solved
This user has been denied support. This user has been denied support.
It is possible to add another allowed page for the {$onlinetoday} variable to be used. The piece of code that allows this can be found in your root directory and is called "online.php"

[Image: opera_LbZiwsnbEy.png]
[Image: BhenchodForumsBannerSmall.gif]
Reply
#7
Not Solved
(2020-04-17, 12:50 PM)R34P3R Wrote: It is possible to add another allowed page for the {$onlinetoday} variable to be used. The piece of code that allows this can be found in your root directory and is called "online.php"

[Image: opera_LbZiwsnbEy.png]
How can I do that?
iAndrew & NickGHQ - Respect!!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)