I've edited my header to include number of users in chat.
The only place it shows up though is on the index page, viewforum, viewtopic etc. doesnt display my edit next to the Mini Chat icon like on index.
Is there something else I need to edit?
Thanks guys.
Place users in chat header
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
-
- New member
- Posts: 35
- Joined: 23 Feb 2011, 13:37 [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
- RMcGirr83
- Supporter
- 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: Place users in chat header
It is only done on the index page because that is where the code is that allows you to do that.
-
- New member
- Posts: 35
- Joined: 23 Feb 2011, 13:37 [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: Place users in chat header
How can I make it show on all pages?
- RMcGirr83
- Supporter
- 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: Place users in chat header
Edit includes/functions.php within the page_header function....where the other edits the mod has you make are.
-
- New member
- Posts: 35
- Joined: 23 Feb 2011, 13:37 [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: Place users in chat header
Thanks Rich.
I thought it might be there somewhere but I need some guidance.
Can you tell me what I should edit please.
I thought it might be there somewhere but I need some guidance.
Can you tell me what I should edit please.
-
- New member
- Posts: 35
- Joined: 23 Feb 2011, 13:37 [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
-
- New member
- Posts: 35
- Joined: 23 Feb 2011, 13:37 [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
-
- New member
- Posts: 35
- Joined: 23 Feb 2011, 13:37 [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: Place users in chat header
You da man Rich! That did it.
(I removed the functions edits like you said to do for the hook, don't know how I missed that)
(I removed the functions edits like you said to do for the hook, don't know how I missed that)
-
- New member
- Posts: 35
- Joined: 23 Feb 2011, 13:37 [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
-
- New member
- Posts: 35
- Joined: 23 Feb 2011, 13:37 [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
Return to “Modders MOD support”
Who is online
Users browsing this forum: No registered users and 60 guests