Author |
Topic |
|
cgcarter1
Starting Member
14 Posts |
Posted - 01 April 2008 : 12:30:05
|
I live by my Mogul.. So I decided to make a mobile version of snitz..
Basically what this does is if someone with a smartphone/blackberry/portable device hits your forum it will redirect it to the appropriate page...
Snippet follows: Dim user_agent, mobile_browser, Regex, match, mobile_agents, mobile_ua, i, size user_agent = Request.ServerVariables("HTTP_USER_AGENT") mobile_browser = 0 Set Regex = New RegExp With Regex .Pattern = "(up.browser|up.link|mmp|symbian|smartphone|midp|wap|phone|windows ce|pda|mobile|mini|palm)" .IgnoreCase = True .Global = True End With
Make a change in the inc_header file and it successfully redirects mobiles to the page. Currently, in my sandbox I have it coded to show the last 25 topics added (this can easily be changed to show the whole forum).
The directory structure is forumroot\mobile (so we can reuse code from the original snitz I.E. config.asp)
I have successfully tested this with a Mogul and Blackberry. It's a very rough draft and still working out the kinks but if there is interest I'll clean up the code and package it up.< |
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 01 April 2008 : 12:50:01
|
sounds good, there has been some interest in the past, and someone did actually make some lite versions of the pages, but I'm not sure if it ever got finished.
Yo may want to take a look at the .net beta as this was something that I have in mind for a future .net version
Snitz .Net Beta< |
|
|
cgcarter1
Starting Member
14 Posts |
Posted - 01 April 2008 : 13:07:13
|
Is .net where snitz has gone to? I mean is the asp version still being developed?< |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 01 April 2008 : 14:21:58
|
no, .net is just a .net version of Snitz, although there is little development of the ASP version other than bug fixes and minor updates since it already does what it is supposed to do and does it pretty well< |
|
|
cgcarter1
Starting Member
14 Posts |
Posted - 01 April 2008 : 14:40:17
|
I absolutely agree.. It's definitely performs as an ASP forum.< |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
|
JJenson
Advanced Member
USA
2121 Posts |
Posted - 01 April 2008 : 16:10:32
|
I would really like this as I have my blackberry I would like to keep tabs on my forum with. I can do it now just has alot of extras I don't really want to see. < |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 01 April 2008 : 16:13:33
|
can you consume RSS on your blackberry ?< |
|
|
AnonJr
Moderator
United States
5768 Posts |
Posted - 01 April 2008 : 16:23:20
|
quote: Originally posted by HuwR
can you consume RSS on your blackberry ?
But where's the fun in that?
Seriously though, if you know of a good mobile RSS Aggregator that runs on Windows Mobile 6, I'd love to know for my own use.< |
|
|
JJenson
Advanced Member
USA
2121 Posts |
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 02 April 2008 : 03:30:55
|
I found quite a few, but I think most of them rely on you to synchronise with your desktop< |
|
|
Fazzer
Starting Member
United Kingdom
37 Posts |
Posted - 24 September 2008 : 04:14:53
|
Hi
I am making our intranet Blackberry compatible (big sigh) and I am slightly confused by this post which is extremely relevant.
I use a version of the mobile sniff code in other templates of our cms to call subs in layout templates but I must be missing the point with your suggestion. No problem with the code but where are you pointing to? Is there a mobile version of Snitz to send users to?
Thanks
Fazzer< |
|
|
|
Topic |
|