Page 1 of 8
Suggestion: Mobile template for mchat.php?
Posted: 08 May 2012, 14:03
by kateland
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!
Re: Suggestion: Mobile template for mchat.php?
Posted: 08 May 2012, 14:22
by Stoker
I have a mchat template for the mobile theme by arty if you are interested?
Re: Suggestion: Mobile template for mchat.php?
Posted: 08 May 2012, 14:30
by RMcGirr83
Topic moved.
Re: Suggestion: Mobile template for mchat.php?
Posted: 09 May 2012, 18:26
by kateland
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.
Re: Suggestion: Mobile template for mchat.php?
Posted: 09 May 2012, 18:41
by steve
Re: Suggestion: Mobile template for mchat.php?
Posted: 09 May 2012, 18:52
by Stoker
Re: Suggestion: Mobile template for mchat.php?
Posted: 09 May 2012, 18:58
by RMcGirr83
Re: Suggestion: Mobile template for mchat.php?
Posted: 05 Sep 2012, 10:54
by Mickroz
Stoker, your a life saver! was looking for this
Re: Suggestion: Mobile template for mchat.php?
Posted: 11 Dec 2012, 14:02
by kateland
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
Re: Suggestion: Mobile template for mchat.php?
Posted: 11 Dec 2012, 14:09
by RMcGirr83
You are probably missing the edits to the mobile theme overall_header.html file from the mod install instructions.
Re: Suggestion: Mobile template for mchat.php?
Posted: 11 Dec 2012, 14:14
by kateland
Oh man. Thanks. That worked.
Re: Suggestion: Mobile template for mchat.php?
Posted: 05 Jan 2013, 18:21
by Togbish
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?
Re: Suggestion: Mobile template for mchat.php?
Posted: 05 Jan 2013, 19:43
by RMcGirr83
You are probably missing the mchat.css from the overall_header.html edit of that style.
Re: Suggestion: Mobile template for mchat.php?
Posted: 05 Jan 2013, 20:12
by Togbish
Re: Suggestion: Mobile template for mchat.php?
Posted: 05 Jan 2013, 20:59
by RMcGirr83
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.