Advanced search  

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]

Pages: [1]   Go Down

Author Topic: paypal mode with chaoticsoul theme  (Read 2965 times)

0 Members and 1 Guest are viewing this topic.

Ble Velvet

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
paypal mode with chaoticsoul theme
« on: November 16, 2007, 09:33:31 pm »

Hi,
I really hope this is the right place to post.... pardon me, if it's not.

I sucessfully integrated the PaypalMod by madeinhawaii (took it from here: http://forum.coppermine-gallery.net/index.php?topic=22357.0
and it works great with all themes, except with chaoticsoul, which is the one I would like to use.

Here some examples with themes that work (sorry for the mess.... but it's still a test/mess around gallery):
http://www.miniera.ch/arteagricola/arte/displayimage.php?album=lastup&cat=0&pos=0&theme=classic
http://www.miniera.ch/arteagricola/arte/displayimage.php?album=lastup&cat=0&pos=0&theme=kubrick

Here the chaoticsoul theme, in which the "order this print" and "return to browse mode", are missing:
http://www.miniera.ch/arteagricola/arte/displayimage.php?album=lastup&cat=0&pos=0&theme=chaoticsoul

Is there a way I can make it work also with the chaoticsoul theme?


The same problem happens also with youtube... the movies are shown in all themes, but not in chaoticsoul.... but, as I understood, for this problem I have to open a new thread (?)

Thanks a lot for your time and help....
Blue Velvet
Logged

Nibbler

  • Guest
Re: paypal mode with chaoticsoul theme
« Reply #1 on: November 16, 2007, 10:55:51 pm »

It says in the instructions what to do:

Quote
NOTE: For some custom themes you may have to edit the theme.php file instead.

Apply the stated modifications to themes/chaoticsoul/theme.php
Logged

Ble Velvet

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: paypal mode with chaoticsoul theme
« Reply #2 on: November 16, 2007, 11:46:39 pm »

Quote
NOTE: For some custom themes you may have to edit the theme.php file instead.


I saw this... and I tried to do it.
Unfortunatelly, in the chaoticsoul theme I can't find this line: "if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}         //{THEMES}//" and I don't find the other lines either.

So, I really don't know where to post the commands.

Logged

Nibbler

  • Guest
Re: paypal mode with chaoticsoul theme
« Reply #3 on: November 16, 2007, 11:57:14 pm »

Only apply the changes that you can find. The others don't apply.
Logged

Ble Velvet

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: paypal mode with chaoticsoul theme
« Reply #4 on: November 17, 2007, 12:18:08 am »

As you told me to do: I ignored the first changes and I ignored the following firs command:

Quote
    if (!defined('IN_COPPERMINE')) { die('Not in Coppermine...');}         //{THEMES}//

Add the following:

    $pid2 = (int)$HTTP_GET_VARS['pid'];
    $album2 = $HTTP_GET_VARS['album'];
    $pos2 = (int)$HTTP_GET_VARS['pos'];

and the buttons appear: "order this print" and "return to Browse mode"

it looked like everything was ok..... but.... when I click on"order this print" and "return to Browse mode" I arrive to a page where it says that the page (the orderd page) I'm looking for does not exist.
Logged

Nibbler

  • Guest
Re: paypal mode with chaoticsoul theme
« Reply #5 on: November 17, 2007, 12:21:16 am »

Add the code in your quote block into the top of the theme.php
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 21 queries.