Theme switch (mobile mode) plugin for cpg1.5.x - Page 2 Theme switch (mobile mode) plugin for cpg1.5.x - Page 2
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Theme switch (mobile mode) plugin for cpg1.5.x

Started by Αndré, April 26, 2012, 02:21:18 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Antegy

Hi,

I just installed this plug-in (at www.antegy.com), but my mobile browser returns the error "The page isn't redirecting properly" ("Firefox has detected that the server is redirecting the request for this address in a way that will never complete.").  I've also tried with Chrome browser; which doesn't work either.

Any suggestions?

Thanks!,
- Mark

Antegy

Sorry! I just realized - I had the mobile theme it was to switch to in an incorrect directory.  It actually works fine now.  I apologize, I should have noticed that right away.

Thanks just the same :)

Krys

Hello,

Thanks a lot for this plugin! Here is a french translation file :)

Αndré

French language file added in SVN revision 8749. Thank you for your contribution.

skmdd

My website http://10celebs.com works fine with the plugin. Just that I noticed that there was redirect loop for the first few times I tried to connect site from my mobile.

Krys

Hello,

I have the same redirection loop issue.

Do you have the Cookie Consent plugin installed? It worked fine for me until I install and make the Cookie Consent active on the mobile theme as well, so I guess this is a conflict issue.

Krys

Hello,

I have looked a little bit more to this issue, and I think I can confirm there is a conflict with Cookie Consent.

The theme_switch_page_start() function in the codebase.php file calls user_save_profile() to save user data in cookie. However, this function will not set a cookie if Cookie Consent plugin is installed and if it is your first visit from a mobile device (i.e. you doesn't already have the Cookie Consent's cookie set in the browser).

Thus, it ends up in an infinite redirection loop, as it tries to run the same code and redirect again and again.

allvip

For mitko and netb I moved your posts to Theme 'mobile_light' for cpg1.5.x http://forum.coppermine-gallery.net/index.php/topic,74828.0.html because are questions about the theme not about the plugin.

Cynos

great plug in ... works like a charm ... thank you.