Counting Users viewing from Index page
Forum rules
Please only request support for mods released by phpbbmodders.net found at either https://github.com/phpbbmodders/ or the MODDB at http://www.phpbb.com
Please only request support for mods released by phpbbmodders.net found at either https://github.com/phpbbmodders/ or the MODDB at http://www.phpbb.com
- RMcGirr83
- Past Contributor
- Posts: 6243
- Joined: 30 Nov 2006, 14:23
- Real name: Rich McGirr [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Counting Users viewing from Index page
Not possible as the session for mchat isn't set unless on the custom page.
-
- New member
- Posts: 3
- Joined: 12 Jul 2014, 15:32
- [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Counting Users viewing from Index page
anyway... after having a poke around the code... would this be achieved if i just change $on_page to 'mchat', in functions_mchat (mchat_users function)...
or even in mchat.php setting $on_page to always be 'mchat'?
would this work / have any undesirable effects?
or even in mchat.php setting $on_page to always be 'mchat'?
would this work / have any undesirable effects?
-
- New member
- Posts: 3
- Joined: 12 Jul 2014, 15:32
- [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Counting Users viewing from Index page
tried it. perhaps not, then.
it must be possible, Rich? i appreciate that it might not be a straightforward little tweak, however.
i'm thinking the other option is that i embed the custom page into some jquery widget on the desired forum... this hopefully getting all users browsing that forum counted in the chat figures, and the user able to expand / collapse the chat as desired.
it must be possible, Rich? i appreciate that it might not be a straightforward little tweak, however.
i'm thinking the other option is that i embed the custom page into some jquery widget on the desired forum... this hopefully getting all users browsing that forum counted in the chat figures, and the user able to expand / collapse the chat as desired.
Return to “Modders MOD support”
Who is online
Users browsing this forum: No registered users and 34 guests