banner problem banner problem
 

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

banner problem

Started by philadou, January 19, 2006, 01:49:10 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

philadou

Hello everybody.
I'm new here and I have an urgent question:

When you click on an image in the gallery, the image open in fullsize mode.
Responsable file is "displayimage.php".
Now, I want to place 1 banner directly over the image and 1 banner directly under
the image.
I use the service from phpadsnew (banner roatation script)
and i get an IFRAME code which I have to integrate in the displayimage.php.

I tried a lot, but it don't work :-(
I searched also the complete support forum for answers but it don't work.

PLEASE, can anybody help me???
I use the newest version of CPG

My IFRAME Code:

<iframe id='a5c732e3' name='a5c732e3' src='http://web3.london023.server4you.de/adframe.php?n=a5c732e3&amp;what=zone:6'; framespacing='0' frameborder='no' scrolling='no' width='468' height='60'><a href='http://web3.london023.server4you.de/adclick.php?n=a5c732e3'; target='_blank'><img src='http://web3.london023.server4you.de/adview.php?what=zone:6&amp;n=a5c732e3'; border='0' alt=''></a></iframe>

Paver

You posted in a board titled "General discussion (no support)".  What part of "no support" did you not understand?

Please be more careful next time.  Take the time to look around and understand things before asking for time from others.

Your answer is to modify your theme.  If you haven't created a custom theme yet, copy the theme you like to a new folder, rename it to a name you pick and start to customize it.  All the customizations you can make to a theme are in the sample theme's theme.php file.  Go to that file, find the code section you want and copy it to your theme's theme.php file.

For the full-size picture code, look for the following lines:
// Display the full size image
function theme_display_fullsize_pic()

Then copy from this first line down to (but not including) the next function call which is:
function theme_vanity()

After copying this block of code, look through it for the HTML you want to modify and add your banners as desired.  Whenever you want to figure out where some code is for a theme customization, look at "View Source" for the web page and look for unique tags to search in the sample theme's theme.php.  Then copy & customize.