Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter
Support for Vanilla Forums Cloud product

In this Discussion

Follow Us


Embed 'Force URL' - but use mobile site still?

edited August 2011 in Questions
Is there any way to force embed url for desktop only, but have mobile users use the mobile version outside of the embed?

Right now the forced url works fine http://thestiz.com/forums/
Mobile user see the mobile version but it is still embedded on the page.
I love the look of the mobile version by itself, but i don't want to sacrifice desktop users seeing mysite.com/vanilla . . . i still want that to redirect.

Any ideas?

Answers

  • I've read a lot of different discussions regarding the mobile version. I still haven't found a real solution to the above situation.

    Situation: Embedded site (Force embed 'checked' for obvious reasons)

    Problem: When mobile viewers access the site, the mobile version is still embedded.

    Solution: ???
    I'd like to have ONLY the mobile version not embedded.
    Help?
  • whu606whu606 I'm not a SuperHero; I just like wearing tights... Moderator
    edited September 2011
    JiveDig

    I'm just trying the embed feature.

    I set my embed page as index2.html and redirected www.mysite.com to that page.

    I've told my mobile users to set their link to www.mysite.com/index.php, which then serves them the mobile version.

    It obviously won't work if a new mobile user goes to your site, but you could have a 'Mobile site' link on your home page.
  • how to make embeded like that?? can u give me the code script??
  • I don't see how it is vanilla's responsibility, if you are using not using vanilla handle the request.

    It is the responsibility of the script that embeds vanilla. Vanilla has to have some awareness of the agent.

    grep is your friend.

  • hint look at IsMobile() under library/core/functions.general.php

    grep is your friend.

Sign In or Register to comment.