Advanced search  

News:

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

Pages: 1 [2]   Go Down

Author Topic: Theme switch (mobile mode) plugin for cpg1.5.x  (Read 23869 times)

0 Members and 1 Guest are viewing this topic.

Antegy

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Theme switch (mobile mode) plugin for cpg1.5.x
« Reply #20 on: January 29, 2014, 05:25:59 pm »

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
Logged

Antegy

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Theme switch (mobile mode) plugin for cpg1.5.x
« Reply #21 on: January 29, 2014, 05:59:37 pm »

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 :)
Logged

Krys

  • Translator
  • Coppermine newbie
  • **
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 14
    • Christina Center
Re: Theme switch (mobile mode) plugin for cpg1.5.x
« Reply #22 on: September 23, 2014, 09:42:49 pm »

Hello,

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

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15429
Re: Theme switch (mobile mode) plugin for cpg1.5.x
« Reply #23 on: October 09, 2014, 01:14:23 pm »

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

skmdd

  • Tester
  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Female
  • Posts: 23
    • Celebrities Wallpapers & Photo Gallery
Re: Theme switch (mobile mode) plugin for cpg1.5.x
« Reply #24 on: February 09, 2015, 04:32:47 am »

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.
Logged

Krys

  • Translator
  • Coppermine newbie
  • **
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 14
    • Christina Center
Re: Theme switch (mobile mode) plugin for cpg1.5.x
« Reply #25 on: February 09, 2015, 04:15:37 pm »

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.
Logged

Krys

  • Translator
  • Coppermine newbie
  • **
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 14
    • Christina Center
Re: Theme switch (mobile mode) plugin for cpg1.5.x
« Reply #26 on: February 23, 2015, 09:44:40 pm »

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.
Logged

allvip

  • Global Moderator
  • Coppermine addict
  • *****
  • Country: 00
  • Offline Offline
  • Posts: 1290
Re: Theme switch (mobile mode) plugin for cpg1.5.x
« Reply #27 on: May 21, 2015, 10:57:17 pm »

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.
Logged

Cynos

  • Coppermine novice
  • *
  • Country: fr
  • Offline Offline
  • Posts: 45
Re: Theme switch (mobile mode) plugin for cpg1.5.x
« Reply #28 on: November 30, 2015, 03:28:58 am »

great plug in ... works like a charm ... thank you.
Logged
Pages: 1 [2]   Go Up
 

Page created in 0.017 seconds with 21 queries.