Mobile user different template

Any mod or idea. ı want set for mobile user and desktop user diffrent template. can we do?

Quote · 10 Jul 2014

Yes.

http://boonexpert.com
Quote · 12 Jul 2014

how can we do?

Quote · 13 Aug 2014

 

how can we do?

 He is suggesting you use the search box top right, or actually search the market. Cool

Get to know this site.

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 13 Aug 2014

Any more clues? I want to do this too.

How about if you don't want to be 100% helpful, you just let us know the 'secret handshake' search words, because I'm not getting any results here on the forum or the market.

Rod | www.mystampworld.net | hosted with BoonexHosting.com
Quote · 14 Aug 2014

 RE:

Any more clues? I want to do this too.
How about if you don't want to be 100% helpful, you just let us know the 'secret handshake' search words, because I'm not getting any results here on the forum or the market.

 Sorry, not being vague on purpose. Thought you might find it by using the search as we all recommend all newbies use first; you'll be amazed what you find even stuff you might not have thought about.

For the search, I used "change color on app," which returned good results.

http://www.boonex.com/googlesearch/search?q=change+color+on+app&gse_filter=googlesearch

The first one, but you have to read most of it to find it.

http://www.boonex.com/forums/topic/Mobile-Apps-Testing-Branding.htm#150077

The more and more I look at this stuff.. the more and more confused I become. AlexT, please tell me you can provide some type of documentation on this re-branding. I only want to do these 3 things: 

- Rename the default app from OO to what I want to call it

- Change some colors

- Package it all back up and submit

Then read the rest of the post, hope this helps you.

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 14 Aug 2014

It's not clear what sanallion want to do: change template on mobile app or on mobile web template. This is why there are so different replies, because no one has clue what has to be achieved.

If on mobile app: you need to order rebranding or to rebrand\redesign app yourself. You'll need to learn xCode and Eclipse software, then how to generate and install stuff from Apple Developer portal and how to sign Android app to compile for production.

 

If on mobile web template: there are many mobile-detection scripts all over the internet. The first solution is to install a separate dolphin site for mobile on subdomain (like m.yoursite.com) or subdirectory (like yoursite.com/mob/) and redirect traffic from mobile devices there by using single database for both. The second solution is to switch template if user are using mobile browser.

 

Another solution is to post job request on Market Jobs here and wait until somebody will get back to you. 

 

There's no such "button" or "checkbox" exists by default that allows you to do such thing.

http://boonexpert.com
Quote · 14 Aug 2014

He said he wants to use a different template when someone visits the site with a mobile device. Than has nothing to do with the mobile app.

The short answer is Yes, it can be done

If you view this url in your desktop browser you'll get one template, if you view it with a smart phone browser, you'll get something entirely different.

http://houstonlively.com/?skin=somethingNew

The long answer, is yes it can be done, but some changes to source files need to be made.  I requested  that some js that calculates inline css be moved, so that the js can be replace with a template change.  http://www.boonex.com/forums/topic/Question-for-AlexT-2014-05-03.htm

Whenever that change is implemented, and 7.1.5 is released, I will release the above template.  The template is not complete... I'm not going to work on it anymore until 7.1.5 is available.

Mobile version will look more like this: http://houstonlively.com/?skin=mobile2  (mobile2 is no where near complete, so DO NOT expect it to work perfectly)

 

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 14 Aug 2014

His message reads: "set for mobile user and desktop user diffrent template"


In any way, what I was suggesting is to detect users with mobile browsers to /?skin=mobile and regular users to /?skin=uni or something in this way.

http://boonexpert.com
Quote · 14 Aug 2014

What about using this code from WAP site version (mobile) from eSASe But Replace this part  modules/?r=wap/service/ with your url?

 

1. Open your .htacces file (in a root dir)

find this string

RewriteRule ^([^/]+)$ profile.php?ID=$1 [QSA,L]

and after these string add:

RewriteEngine On
RewriteCond %{HTTP_ACCEPT} "text/vnd.wap.wml|application/vnd.wap.xhtml+xml" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "acs|alav|alca|amoi|audi|aste|avan|benq|bird|blac|blaz|brew|cell|cldc|cmd-" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "dang|doco|eric|hipt|inno|ipaq|java|jigs|kddi|keji|leno|lg-c|lg-d|lg-g|lge-" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "maui|maxo|midp|mits|mmef|mobi|mot-|moto|mwbp|nec-|newt|noki|opwv" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "palm|pana|pant|pdxg|phil|play|pluc|port|prox|qtek|qwap|sage|sams|sany" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "sch-|sec-|send|seri|sgh-|shar|sie-|siem|smal|smar|sony|sph-|symb|t-mo" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "teli|tim-|tosh|tsm-|upg1|upsi|vk-v|voda|w3cs|wap-|wapa|wapi" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "wapp|wapr|webc|winw|winw|xda|xda-" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "up.browser|up.link|windowssce|iemobile|mini|mmp" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "symbian|midp|wap|phone|pocket|mobile|pda|psp" [NC]
RewriteRule (.*) modules/?r=wap/service/ [L]

Quote · 14 Aug 2014

Or the other thing I did before, is in the cpanel I made a sub and made it (mobile.website.com) then put a redirect html page in that directory to load up the template for mobile users.

Quote · 14 Aug 2014

Thanks for the helpful discussion everyone.

The easiest solution for me is eSASe's .htaccess rewrite rule (thanks TruckingSpace).

This works:

RewriteCond %{HTTP_ACCEPT} "text/vnd.wap.wml|application/vnd.wap.xhtml+xml" [NC,OR]

RewriteCond %{HTTP_USER_AGENT} "acs|alav|alca|amoi|audi|aste|avan|benq|bird|blac|blaz|brew|cell|cldc|cmd-" [NC,OR]

RewriteCond %{HTTP_USER_AGENT} "dang|doco|eric|hipt|inno|ipaq|java|jigs|kddi|keji|leno|lg-c|lg-d|lg-g|lge-" [NC,OR]

RewriteCond %{HTTP_USER_AGENT} "maui|maxo|midp|mits|mmef|mobi|mot-|moto|mwbp|nec-|newt|noki|opwv" [NC,OR]

RewriteCond %{HTTP_USER_AGENT} "palm|pana|pant|pdxg|phil|play|pluc|port|prox|qtek|qwap|sage|sams|sany" [NC,OR]

RewriteCond %{HTTP_USER_AGENT} "sch-|sec-|send|seri|sgh-|shar|sie-|siem|smal|smar|sony|sph-|symb|t-mo" [NC,OR]

RewriteCond %{HTTP_USER_AGENT} "teli|tim-|tosh|tsm-|upg1|upsi|vk-v|voda|w3cs|wap-|wapa|wapi" [NC,OR]

RewriteCond %{HTTP_USER_AGENT} "wapp|wapr|webc|winw|winw|xda|xda-" [NC,OR]

RewriteCond %{HTTP_USER_AGENT} "up.browser|up.link|windowssce|iemobile|mini|mmp" [NC,OR]

RewriteCond %{HTTP_USER_AGENT} "symbian|midp|wap|phone|pocket|mobile|pda|psp" [NC] 

RewriteRule ^/?$ "http\:\/\/www\.mystampworld\.net\/index\.php\/?skin=smartgroup\/" [R=301,L]

In my case, it was necessary to include index.php in the url.

For some reason I was getting "The page contains too many server redirects"  without it.

Cheers,

Rod

Rod | www.mystampworld.net | hosted with BoonexHosting.com
Quote · 15 Aug 2014

any idea?

Quote · 27 Oct 2014

 look at the post above your last one.

any idea?

 

Quote · 28 Oct 2014

 

 look at the post above your last one.

any idea?

 it did nt run in my site

 

Quote · 2 Nov 2014
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.