mChat and guest

Support for mods released by phpbbmodders.net found at either https://github.com/phpbbmodders/ or the MODDB at http://www.phpbb.com
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
[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
Korkel
Senior member
Senior member
Posts: 349
Joined: 26 May 2014, 06:48
Location: ~/home/Mark/Desktop
[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

mChat and guest

Postby Korkel » 22 Jun 2014, 18:15

Hello,

How can I "hide the mChat for guest" but show a message, that they must register or login to use that chat.

Is this possibole?

ilovemchat123
New member
New member
Posts: 24
Joined: 12 May 2014, 05:01
[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: mChat and guest

Postby ilovemchat123 » 22 Jun 2014, 20:11

It's certainly possible, I'm just not sure which template file needs to be edited. I'm stuck on the most simple issue ever hoping rmcgirr responds as well. The good part about us asking for help is others can make use of his support.

User avatar
Sniper_E
MOD Team
MOD Team
Posts: 591
Joined: 13 Jun 2011, 16:53
Location: Shreveport, LA
Contact:

Re: mChat and guest

Postby Sniper_E » 23 Jun 2014, 00:51

No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!™

Korkel
Senior member
Senior member
Posts: 349
Joined: 26 May 2014, 06:48
Location: ~/home/Mark/Desktop
[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: mChat and guest

Postby Korkel » 23 Jun 2014, 07:05


martin123456
Old member
Old member
Posts: 677
Joined: 30 Mar 2011, 00:32
Contact:

Re: mChat and guest

Postby martin123456 » 23 Jun 2014, 11:20

Template mchat_ avatar files :wink:

demo http://www.blades-place.dyndns.info//index.php

Korkel
Senior member
Senior member
Posts: 349
Joined: 26 May 2014, 06:48
Location: ~/home/Mark/Desktop
[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: mChat and guest

Postby Korkel » 23 Jun 2014, 11:28


martin123456
Old member
Old member
Posts: 677
Joined: 30 Mar 2011, 00:32
Contact:

Re: mChat and guest

Postby martin123456 » 23 Jun 2014, 12:16

Attachments
chat.png

Korkel
Senior member
Senior member
Posts: 349
Joined: 26 May 2014, 06:48
Location: ~/home/Mark/Desktop
[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: mChat and guest

Postby Korkel » 23 Jun 2014, 16:33


martin123456
Old member
Old member
Posts: 677
Joined: 30 Mar 2011, 00:32
Contact:

Re: mChat and guest

Postby martin123456 » 23 Jun 2014, 16:49

Why ?

it pulls the link colour from the theme you can test it on both themes i use.

Korkel
Senior member
Senior member
Posts: 349
Joined: 26 May 2014, 06:48
Location: ~/home/Mark/Desktop
[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: mChat and guest

Postby Korkel » 23 Jun 2014, 17:02


martin123456
Old member
Old member
Posts: 677
Joined: 30 Mar 2011, 00:32
Contact:

Re: mChat and guest

Postby martin123456 » 23 Jun 2014, 20:42

On a side note and you need help rich will ask for chat active for guests so you might want to add a switch in the mchat mod tab in the acp to turn off the message.

User avatar
Sniper_E
MOD Team
MOD Team
Posts: 591
Joined: 13 Jun 2011, 16:53
Location: Shreveport, LA
Contact:

Re: mChat and guest

Postby Sniper_E » 23 Jun 2014, 22:34

No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!™

Korkel
Senior member
Senior member
Posts: 349
Joined: 26 May 2014, 06:48
Location: ~/home/Mark/Desktop
[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: mChat and guest

Postby Korkel » 24 Jun 2014, 05:21

Because I'm a noob?

Sorry. :(

martin123456
Old member
Old member
Posts: 677
Joined: 30 Mar 2011, 00:32
Contact:

Re: mChat and guest

Postby martin123456 » 24 Jun 2014, 07:21

Yeah you can do it from the header as well and the avatar html files also give link colours and hover so no need to adding colour's and fonts.


[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
[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 7 guests