Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Theme Site Themes => Topic started by: KahneFan on March 18, 2009, 03:23:26 PM

Title: mobile theme
Post by: KahneFan on March 18, 2009, 03:23:26 PM
Link to the theme (http://custom.simplemachines.org/themes/index.php?lemma=1466)
(http://custom.simplemachines.org/themes/index.php/action,download/lemma,1466/image,thumb)

This is an extremely lite theme of the (main) pages for those who visit your site a lot while mobile. Weather on a cell phone, pda, or...

MOBILE DEMO (http://ipostyoupost.com/index.php?theme=20) Note: After clicking the link, click "forum" to get past the portal page and see the normal forum pages.
Title: Re: mobile theme
Post by: Marcus Forsberg on March 18, 2009, 03:33:57 PM
Very nice :)
Title: Re: mobile theme
Post by: KahneFan on March 18, 2009, 03:52:06 PM
Pretty basic, but that's what it's for :D

Now I just need to figure out how to make it recognize when I dial in with Opera Mini.
Title: Re: mobile theme
Post by: Antechinus on March 18, 2009, 05:25:47 PM
You should be able to add another browser sniffer to the <head>, like the ones that are already there, but I don't think SMF has the appropriate setting to call by default. You'd need to make a custom $context to pick up Opera Mini.

This is one for IE7, as an example:

// for ie7!
if($context['browser']['is_ie7'])
echo '
<link rel="stylesheet" type="text/css" href="', $settings['theme_url'], '/ie7.css?fin11" />';


I suggest asking for help in the Coding Discussion board.
Title: Re: mobile theme
Post by: KahneFan on March 18, 2009, 05:28:48 PM
Will do, thanks. I've also wondered if a member could have 2 profiles, but have all credit given to 1(?).
Title: Re: mobile theme
Post by: Antechinus on March 18, 2009, 05:38:30 PM
I think that would be a fairly serious mod. I can see it involving some heavy duty alterations and frankly am not sure it would be worth it.
Title: Re: mobile theme
Post by: KahneFan on March 18, 2009, 06:30:34 PM
Well, there's already the feature to assign posts from 1 member to another. What would it take to state ALWAYS credit posts from member X to member Y?
Title: Re: mobile theme
Post by: BAlGaInTl on April 20, 2009, 11:09:52 AM
Any chance of a 1.1.x vesion?

I could really use a mobile theme, but I don't want to use SMF 2.0 until it is final.
Title: Re: mobile theme
Post by: KahneFan on April 20, 2009, 11:42:11 AM
I have not themed for 1.1.x and don't have plans to at this time. Sorry.