paypal mode with chaoticsoul theme paypal mode with chaoticsoul theme
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

paypal mode with chaoticsoul theme

Started by Ble Velvet, November 16, 2007, 09:33:31 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Ble Velvet

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

Nibbler

It says in the instructions what to do:

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

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

Ble Velvet

QuoteNOTE: 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.


Nibbler

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

Ble Velvet

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

Quoteif (!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.

Nibbler

Add the code in your quote block into the top of the theme.php