Display the viewers username
-
- New member
- Posts: 5
- Joined: 19 Aug 2012, 01:31
- [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
Display the viewers username
Is there any way to do this on phpbb 3? I saw a link on google for a old mod here for the same thing. URL was broken and I couldn't find the topic. Any help?
- 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: Display the viewers username
Display the viewers username where?
-
- New member
- Posts: 5
- Joined: 19 Aug 2012, 01:31
- [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: Display the viewers username
I was thinking in a BBCode but it doesn't have to be that. I'm trying to display the viewers username in Handyman's AJAX Chat. We have custom chat commands that can parse php so it could easily be any type of php code.
-
- New member
- Posts: 5
- Joined: 19 Aug 2012, 01:31
- [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: Display the viewers username
That does not work in a chat, it only displays the shouter's username to everyone.
-
- New member
- Posts: 5
- Joined: 19 Aug 2012, 01:31
- [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: Display the viewers username
I'm not trying to display their name in the online list, I have chat commands and I was going to make a command like !viewer. So it would be used like: Hello, !viewer.
!viewer would be replace with the username of the viewer.
!viewer would be replace with the username of the viewer.
Who is online
Users browsing this forum: No registered users and 14 guests