Template: Mobile Template
Posted by Brian Moon
Re: Template: Mobile Template March 03, 2011 10:13AM |
Registered: 16 years ago Posts: 753 |
Re: Template: Mobile Template March 05, 2011 12:37PM |
Registered: 16 years ago Posts: 27 |
Re: Template: Mobile Template March 05, 2011 01:10PM |
Admin Registered: 19 years ago Posts: 569 |
Re: Template: Mobile Template March 05, 2011 01:18PM |
Registered: 16 years ago Posts: 753 |
The following error message apparently originates to /include/ajax/client.js.php. How could I solve this issue?
Uncaught ReferenceError: Phorum is not defined
Uncaught ReferenceError: Phorum is not defined
Language: PHP// Setup the Phorum.Ajax namespace if it has not yet been setup. if (Phorum === undefined) Phorum = {}; if (Phorum.Ajax === undefined) Phorum.Ajax = {};
Re: Template: Mobile Template March 15, 2011 08:32PM |
Registered: 13 years ago Posts: 1 |
Ive had a bit of a play with the mobile template to include a small logo and chage of colours.
found here Oviously only on a mobile device. I only have an Android device to test with atm and would appreciate other phone users giving some feedback as to how it looks.
Just one question where do I find the code to change the search and PM boxes at the bottom I dont seem to see it.
Thanks in advance
found here Oviously only on a mobile device. I only have an Android device to test with atm and would appreciate other phone users giving some feedback as to how it looks.
Just one question where do I find the code to change the search and PM boxes at the bottom I dont seem to see it.
Thanks in advance
Re: Template: Mobile Template June 29, 2011 05:04PM |
Registered: 13 years ago Posts: 2 |
I installed the module and had it reading messages when testing with Firefox and User Agent Switcher to mimic an iPhone. I was able to post a message, however I received an announcement that the forum was moderated and my message would have to be approved. Switching back to the Firefox user agent I could see the unapproved message. The forum itself is not moderated, I can post to it with the Firefox agent.
I'm not sure if this is a module problem or a template problem. The announcement came from the template.
I'm not sure if this is a module problem or a template problem. The announcement came from the template.
Re: Template: Mobile Template June 30, 2011 01:02PM |
Registered: 13 years ago Posts: 2 |
The moderation problem was a conflict with Spam Hurdles (version 2.0.2)
Inserting {HOOK "tpl_editor_before_textarea"}
in posting.php fixed it.
<small>{LANG->Message}:</small><br>
{HOOK "tpl_editor_before_textarea"}
<div id="post-body">
<textarea name="body" id="body">{POSTING->body}</textarea>
</div>
I found the conflict with the Event Logging Module and then Spam Hurdles (Settings) suggested the fix.
Thanks for a great module/template. I now have a few ecstatic users.
Inserting {HOOK "tpl_editor_before_textarea"}
in posting.php fixed it.
<small>{LANG->Message}:</small><br>
{HOOK "tpl_editor_before_textarea"}
<div id="post-body">
<textarea name="body" id="body">{POSTING->body}</textarea>
</div>
I found the conflict with the Event Logging Module and then Spam Hurdles (Settings) suggested the fix.
Thanks for a great module/template. I now have a few ecstatic users.
Re: Template: Mobile Template June 30, 2011 03:37PM |
Admin Registered: 22 years ago Posts: 9,240 |
June 30, 2011 05:45PM |
Admin Registered: 20 years ago Posts: 8,532 |
In the next release of Phorum, there will be a new hook in the Spam Hurdles module to accommodate for this: sh_pm_editor_before_textarea. When a template is written that omits sh_pm_editor_before_textarea for some reason, then the template can use sh_pm_editor_before_textarea instead. That will add all data that is required by Spam Hurdles, but it won't show any other clutter that the standard hook might add.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
Maurice Makaay
Phorum Development Team



Re: Template: Mobile Template June 29, 2012 04:35PM |
Registered: 16 years ago Posts: 753 |
Sorry, only registered users may post in this forum.