SMF4iPhone Theme

Started by Fabius85, April 15, 2010, 11:01:00 AM

Previous topic - Next topic

butchs

Sounds like your site may have been compromised. 
I have been truly inspired by the SUGGESTIONS as I sit on my throne and contemplate the wisdom imposed upon me.

Fabius85

works on new version of SMF4iPhone theme are done. works on the mod are about 50%. i think i'll release theme in few days. stay tuned ;)

Fabius85

New version of the theme is available now!

Download SMF4iPhone Theme

CHANGELOG
v1.1   (26/11/2010)

* SMF 2.0 RC4 compatibility.
* Added attachments box (assuming there is at least one attachment) to the end of posts box.
* Added topic title on top of topic's page.
* Added "Go Down" and "Go Up" links in topics.
* Added "unread topics" function. They can viewed for single boards by tapping the icons on the left side of boards and sub-boards titles, or for the entire forum with the left button above online users box.
* Added "mark read" fuction for single boards and entire forum.
* Added new languages: French, German and German-UTF8 (Thanks to Chili), Spanish_ES and Spanish_ES-UTF8 (Thanks to videoed), Swedish and Swedish-UTF8 (Thanks to Richard Roe).
* Fixed UTF-8 chars not converted to their respective HTML entity in some language files.
* Fixed typo errors in Italian translation.
* Fixed typo errors in style.css (instead of "position", there were two "postion").
* Fixed long topic title bug. Now if the topic title is longer than 16 chars it will be cut and followed by three dots (...) so board pages will not get misaligned. 16 is the max amount of chars that can be viewed in 1 line, if all chars are UPPERCASE and followed by the longest "new" button (the french one).
* Fixed avatar showing even if disabled by admin.
* Fixed bottom pages list not showing if not logged in.
* Fixed Classic/Back button. Now it should always work properly.
* Fixed misalignment of "Board | Latest Posts" switcher when translation string of "Latest Posts" was too long.
* Fixed bugs in reCAPTCHA system.
* Fixed non localized strings for reCAPTCHA.
* Fixed "Show Child Boards" button bug.
* Removed all no longer used images.
* Updated search field background image, ON/OFF toggle images and theme preview image, to fit new iPhone 4 / iOS 4 appearance.
* "Search" button and "New" button are now managed by language files.
* Now when browsing the forum as guest, boards and topics will not all show as "new", but already read.

See also SMF4iPhone Mod

swatstj

awesome im getting ready to in stall it

tartenpoint

Hello!
Thank for this great mod!
I have a little problem : It worked good with my smf 2.0 RC3 , but now with RC 4, not anymore.  :-\
When I go on my website http://www.boudu.org [nofollow] with my iphone, I have the main page with my default theme, instead of iphone theme!!
When I go in a topic, it works like it's supposed to : with iphone theme.
My "home" button redirect me to my main page... with my default theme! (I'm using Simple Portal 2.3.3

Can you help me??
Thank you very much!!

Fabius85

#185
Quote from: tartenpoint on November 28, 2010, 07:17:04 PM
Hello!
Thank for this great mod!
I have a little problem : It worked good with my smf 2.0 RC3 , but now with RC 4, not anymore.  :-\
When I go on my website http://www.boudu.org with my iphone, I have the main page with my default theme, instead of iphone theme!!
When I go in a topic, it works like it's supposed to : with iphone theme.
My "home" button redirect me to my main page... with my default theme! (I'm using Simple Portal 2.3.3

Can you help me??
Thank you very much!!
your forum home (http://www.boudu.org/index.php?action=forum) seems to work fine.
obviously your home page, which is not a forum page, couldnt have the "iphone style" as the template is designed for SMF forum, not for simple portal

PS: it seems from your website that you main language is french.
i need to translate a couple (i mean really a couple! :D) of strings, for a new release of the mod with some other improvements made by butchs in the latest days. but i have no one who can translate them to french for me.
can you please pm me your email address so i can contact you? :)

tartenpoint

OK thank you for your answer.
But can I just change the URL of my "home" button??
I mean, if I change "home" to "www.boudu.org/index.php?action=forum" , it would be better!
Thanks again.

booch_21

I'm in the same boat.  I have uninstalled the old version and installed the newer mod and theme.  I can't get any combination of settings to come up on my Droid.

What information can I give to you for help?




tartenpoint

#188
Quote from: Fabius85 on November 28, 2010, 08:45:12 PM
PS: it seems from your website that you main language is french.
i need to translate a couple (i mean really a couple! :D) of strings, for a new release of the mod with some other improvements made by butchs in the latest days. but i have no one who can translate them to french for me.
can you please pm me your email address so i can contact you? :)

I found a mistake in the french code, in errors.french.php :

// START SMF4iPhone-Mod
$txt['iphcache'] = 'SMF4iPhone Mod nécessite que le cache de SMF est activé, allez à Administration > Server Paramètres > Paramètres de Cache, pour supprimer cette erreur';
$txt['iphDNS'] = 'SMF4iPhone Mod ne s'est pas relié au DetectFree';
// END SMF4iPhone-Mod


and it must be :
// START SMF4iPhone-Mod
$txt['iphcache'] = 'SMF4iPhone Mod nécessite que le cache de SMF soit activé, allez à Administration > Server Paramètres > Paramètres de Cache, pour supprimer cette erreur';
$txt['iphDNS'] = 'SMF4iPhone Mod ne s\'est pas relié au DetectFree';
// END SMF4iPhone-Mod



Thank you for your help!

Fabius85

ok so...
in index.template.php

search for:
if ((empty($_GET['action']) || $_GET['action']=='iphone') && empty($_GET['board']) && empty($_GET['topic'])){
if (!empty($modSettings['id_default_theme']))
$backlink = 'index.php?theme=' . $modSettings['id_default_theme'];
else
$backlink = 'index.php?theme='. $modSettings['theme_guests'];
$backname = $txt['iClassic'];
}


and replace with:
if ((empty($_GET['action']) || $_GET['action']=='iphone') && empty($_GET['board']) && empty($_GET['topic'])){
if (!empty($modSettings['id_default_theme']))
$backlink = 'index.php?action=forum;theme=' . $modSettings['id_default_theme'];
else
$backlink = 'index.php?action=forum;theme='. $modSettings['theme_guests'];
$backname = $txt['iClassic'];
}

this will ensure that switching to desktop browser theme will lead to the forum home instead of the portal home page-

in iphone.js

search for:
function go(location){

if (location=='home')
window.location.href='index.php';
else
window.location.href='index.php?action='+location;

}


and replace with:
function go(location){

if (location=='home')
window.location.href='index.php?action=forum';
else
window.location.href='index.php?action='+location;

}

this will make the Index menu button on the bottom left of the page to lead to forum home instead of portal home page.

ps: just sent you a pm with the 2 strings.
pps: thanks for reporting the error in Errors.french.php, i'll fix that :)

Fabius85

Quote from: booch_21 on November 29, 2010, 09:53:43 AM
I'm in the same boat.  I have uninstalled the old version and installed the newer mod and theme.  I can't get any combination of settings to come up on my Droid.

What information can I give to you for help?
this worked and still works for android. remember that if you use SMF caching system, you need to clear your cache after installing theme+mod!

booch_21

Quote from: Fabius85 on November 30, 2010, 09:21:40 AM
remember that if you use SMF caching system, you need to clear your cache after installing theme+mod!

Gee whiz, I know better than that!   >:(    That's all she needed and working fine.  Sorry to have bothered you with a minor detail.




Fabius85

Quote from: booch_21 on November 30, 2010, 09:47:48 AM
Quote from: Fabius85 on November 30, 2010, 09:21:40 AM
remember that if you use SMF caching system, you need to clear your cache after installing theme+mod!

Gee whiz, I know better than that!   >:(    That's all she needed and working fine.  Sorry to have bothered you with a minor detail.
dont worry, i'm here for trying to solve minor problems too! ;)

~DS~

For some reason it doesn't show the theme. Did a SMF caching system to no avail.
"There is no god, and that's the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

~DS~

#194
Quote from: Dismal Shadow on December 02, 2010, 12:13:09 AM
For some reason it doesn't show the theme. Did a SMF caching system to no avail.
Had to check "Allow members to select their own themes." -_-',


I recall somewhere, a edits to disable portal. I am on Dream Portal.
"There is no god, and that's the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

WDCGator

I once found a wonderful man by the name of Stikkki on this board. He stepped up to the plate and helped me build my forum perfectly. I can not longer find him he is MIA..  I really need someone I can pay to manage and keep tabs on my forum at hxxp:www.stuntplayers.com [nonactive] HELP needed asap... I am [email protected]

menoch

Is there anyway to increase the amount of characters that the theme displays for each topic?  It is very difficult to navigate the site with such a truncated list.

StarWallace

i seem to be having an issue where when sending a PM through my ipod touch, the PM is deleted from the senders outbox instantly after sending. The recipient still receives the message, but the sender's copy is deleted, this makes conversation view rather useless when certain messages are delete because they were send from a mobile while others are saved because they were sent from a comp.

Also, the PM index doesn't seem right because you can only view the most recent message and cant view older messages. Clicking the message bottom from the bottom menu simply takes you to the newest message.

are these errors or intentional?

[SMF 2.0 RC4]

srunyon1

ok I installed this on my RC3 version and I can not get it to do anything..
I've set the theme to the SMF4iPhone and connected to my site using an Ipad, and Ipod, and a Blackberry and I get no change in the theme.. I have theme one and to set to the Default phrases but changed the theme to the SMF4iPhone on each and Nada nothing and the same on the second and failsafe wap..
what am I doing wrong?

NanoSector

Installed on my RC4 forum and works fine.

Though it maybe could be handy to auto-switch back to the default theme when using a PC.
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Advertisement: