Suggestion: Mobile template for mchat.php?

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
kateland
New member
New member
Posts: 30
Joined: 26 Sep 2009, 13:37
Location: Philadelphia, PA
Contact:

Suggestion: Mobile template for mchat.php?

Postby kateland » 08 May 2012, 14:03

Hi again,

I don't see anywhere on the board that mobile templates were discussed for mchat. We have a few people who sit on chat all day (the mini chat, not the index) and I thought it would be useful if there were a mobile optimized layout for smartphones. Has this been discussed/discarded already? Curious!

User avatar
Stoker
Member
Member
Posts: 198
Joined: 14 May 2011, 20:54
Contact:

Re: Suggestion: Mobile template for mchat.php?

Postby Stoker » 08 May 2012, 14:22

I have a mchat template for the mobile theme by arty if you are interested?

User avatar
RMcGirr83
Past Contributor
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: Suggestion: Mobile template for mchat.php?

Postby RMcGirr83 » 08 May 2012, 14:30

Topic moved.

kateland
New member
New member
Posts: 30
Joined: 26 Sep 2009, 13:37
Location: Philadelphia, PA
Contact:

Re: Suggestion: Mobile template for mchat.php?

Postby kateland » 09 May 2012, 18:26

Stoker, I would definitely be interested. I saw some mobile themes existed on StarTrekGuide, too, but they looked a few phpBB versions old so I wasn't sure I should mess with it.


User avatar
Stoker
Member
Member
Posts: 198
Joined: 14 May 2011, 20:54
Contact:

Re: Suggestion: Mobile template for mchat.php?

Postby Stoker » 09 May 2012, 18:52


User avatar
RMcGirr83
Past Contributor
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: Suggestion: Mobile template for mchat.php?

Postby RMcGirr83 » 09 May 2012, 18:58


Mickroz
New member
New member
Posts: 15
Joined: 28 Mar 2007, 16:10
[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: Suggestion: Mobile template for mchat.php?

Postby Mickroz » 05 Sep 2012, 10:54

Stoker, your a life saver! was looking for this :D

kateland
New member
New member
Posts: 30
Joined: 26 Sep 2009, 13:37
Location: Philadelphia, PA
Contact:

Re: Suggestion: Mobile template for mchat.php?

Postby kateland » 11 Dec 2012, 14:02

OK I installed the iPhone style, added Stoker's mchat_body as above, and two things are happening. One, the javascript is not updating. I have to manually refresh to get the latest chats. Two, posting doesn't work but I think it's related to the first one.

I don't have the text area add on - is this the issue?

I'm guessing I missed a step? I'm using prosilver_se for my main forum so I'm always forgetting what other template files go in pro silver or the SE folder since last I read it was an inherited style

User avatar
RMcGirr83
Past Contributor
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: Suggestion: Mobile template for mchat.php?

Postby RMcGirr83 » 11 Dec 2012, 14:09

You are probably missing the edits to the mobile theme overall_header.html file from the mod install instructions.

kateland
New member
New member
Posts: 30
Joined: 26 Sep 2009, 13:37
Location: Philadelphia, PA
Contact:

Re: Suggestion: Mobile template for mchat.php?

Postby kateland » 11 Dec 2012, 14:14

Oh man. Thanks. That worked.

Togbish
New member
New member
Posts: 14
Joined: 05 Jan 2013, 18: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: Suggestion: Mobile template for mchat.php?

Postby Togbish » 05 Jan 2013, 18:21

This was the solution I chased down here. It works great for me, except that before now, if I pressed ENTER on my phone keyboard, it sent the message. Now, I have to click on SEND. Can this be fixed? If not, I am happy with it the way it is. Thanks.

PS. Can I make the text slightly bolder too, while we are at it? LOL

EDIT: I noticed the old messages were not leaving the screen, so after a while, it gets filled up and now I can't send any messages; ENTER or SEND. Am I doing something wrong? Must I have to purge the Chat window every so often?

User avatar
RMcGirr83
Past Contributor
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: Suggestion: Mobile template for mchat.php?

Postby RMcGirr83 » 05 Jan 2013, 19:43

You are probably missing the mchat.css from the overall_header.html edit of that style.

Togbish
New member
New member
Posts: 14
Joined: 05 Jan 2013, 18: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: Suggestion: Mobile template for mchat.php?

Postby Togbish » 05 Jan 2013, 20:12


User avatar
RMcGirr83
Past Contributor
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: Suggestion: Mobile template for mchat.php?

Postby RMcGirr83 » 05 Jan 2013, 20:59

Sorry I meant within the styles stylesheet.css file not overall_header.html and you probably don't need this as that style already loads jQuery.


[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: DotNetDotCom.org [Bot], Google [Bot] and 7 guests