How to Iphoneize my forums?

Started by Shades., August 05, 2009, 09:03:46 PM

Previous topic - Next topic

Shades.

I need to add the code below in the header section of my forum in order to use the services at http://www.intersquash.com/. Can this be done and it what template and where do I make these changes. If smf 2.0RC1.2 already works for iphone, please let me know so I don't waste my time doing this..lol! Thanks! ;)
<script type="text/javascript">
<!--
// Intersquash.com - iPhoneize your website.
// Just insert this between the <head> tags of your website.
var agent = navigator.userAgent.toLowerCase();
var iphone = ((agent.indexOf('iphone'))!=-1);
if (iphone) {
window.location = "http://intersquash.com/feed/";
}
//-->
</script>
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Adish - (F.L.A.M.E.R)

This should help: http://www.simplemachines.org/community/index.php?topic=298258.0

Not sure about the code though. Just thought of giving you a addon. :)

Arantor

It should work just fine without any changes just by using Safari, and the forum will display normally. There is also a wap2 and wap mode available for mobile users.

If you really do need to use this, please provide your index.template.php file so we can modify it for you.

Shades.

Thanks to both of you for assisting!

I am now a lil' confused on which one to use...which one would be a better way to go? SMF4iphone or intersquash?

I will be using it for a sports, news and movie reviews website http://www.omegadex.com. I don't have that many users at the moment, as the site is new, but thought this would be a good feature for iphone users who like to read the articles on their iphones, and that it would attract visitors. What do you think? Is it worth the trouble?
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

N3RVE

Any further concerns regarding this topic?

Quote from: BoZilla on August 05, 2009, 11:54:33 PM
I am now a lil' confused on which one to use...which one would be a better way to go? SMF4iphone or intersquash?

It's really your choice, use whichever suits you ;)

-[n3rve]
Ralph "[n3rve]" Otowo
Former Marketing Co-ordinator, Simple Machines.
ralph [at] simplemachines [dot] org                       
Quote"Somewhere, something incredible is waiting to be known." - Carl Sagan

Advertisement: