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: adding banner adverts to Coppermin  (Read 5490 times)

0 Members and 1 Guest are viewing this topic.

lsgworldl

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 33
adding banner adverts to Coppermin
« on: November 11, 2003, 04:28:04 am »

Hello

can any one tell me what files I need to edit to get banenr advert code on to coppermine, I dont know php very well, before I worked out how to add them to phpbb, but I have no idea where to add them on coppermine, can any one give me some help/advice, I tried looking on the forum for any posts but none came up

thank you

Mike

PS I am using Mac ox x as the theme

you can see the gallery here http://gallery.sg-world.net

my aim is jipyipy
Logged

moorey

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 404
adding banner adverts to Coppermin
« Reply #1 on: November 11, 2003, 04:31:23 am »

html code in /themes/mac_ox_x/template.html

php code in /themes/mac_ox_x/theme.php
Logged

lsgworldl

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 33
adding banner adverts to Coppermin
« Reply #2 on: November 11, 2003, 04:34:00 am »

do I just edit that in DW?

PS I know where the files are I just have no idea aobut php, I know html, a bit, but the php file does not have a previrew and shows me where to put the html code
Logged

moorey

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 404
adding banner adverts to Coppermin
« Reply #3 on: November 11, 2003, 04:37:39 am »

Or any text editor, really. I've heard of issues with WYSIWYG editors though.. probably unrelated.
Logged

lsgworldl

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 33
Re: adding banner adverts to Coppermin
« Reply #4 on: August 01, 2004, 09:37:52 am »

is there a mod to add banners to coopermine yet?  :P
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: adding banner adverts to Coppermin
« Reply #5 on: August 02, 2004, 08:20:07 am »

static banners can be added easily in template.html, no mod needed. Dynamic banner rotation scripts can be added as well, modifying theme.php. Search for "custom header" / "custom footer".

GauGau
Logged

lsgworldl

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 33
Re: adding banner adverts to Coppermin
« Reply #6 on: August 04, 2004, 10:17:58 pm »

is this version out of date? and can I update the one I have with a script of some kind?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: adding banner adverts to Coppermin
« Reply #7 on: August 05, 2004, 07:57:27 am »

what do you mean by "this version"? What are you talking about? CPG1.2.x is outdated, yes - you're encouraged to upgrade to cpg1.3.1

GauGau
Logged

lsgworldl

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 33
Re: adding banner adverts to Coppermin
« Reply #8 on: August 08, 2004, 11:02:25 am »

this is the gallery I have i think its 1.2  ::) but unsure  :-\\
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: adding banner adverts to Coppermin
« Reply #9 on: August 08, 2004, 11:12:23 am »

go to coppermine config, you'll see what version you use at the bottom of the page.

GauGau
Logged

lsgworldl

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 33
Re: adding banner adverts to Coppermin
« Reply #10 on: August 08, 2004, 08:07:49 pm »

// ------------------------------------------------------------------------- //
// Coppermine Photo Gallery 1.2.0                                            //
// ------------------------------------------------------------------------- //
// Copyright (C) 2002,2003 Gregory DEMAR <gdemar@wanadoo.fr>                 //
// http://www.chezgreg.net/coppermine/                                       //
// ------------------------------------------------------------------------- //
// Updated by the Coppermine Dev Team                                        //
// (http://coppermine.sf.net/team/)                                          //
// see /docs/credits.html for details                                        //
// ------------------------------------------------------------------------- //
// This program is free software; you can redistribute it and/or modify      //
// it under the terms of the GNU General Public License as published by      //
// the Free Software Foundation; either version 2 of the License, or         //
// (at your option) any later version.                                       //
// ------------------------------------------------------------------------- //

go to coppermine config, you'll see what version you use at the bottom of the page.

GauGau
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: adding banner adverts to Coppermin
« Reply #11 on: August 08, 2004, 08:21:43 pm »

Actually, gaugau was talking about the admin config page, but it is at the top, not the bottom.  All versions except the very original one have this.  See the screenshot below.

but as you see, you have version 1.2.0
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

lsgworldl

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 33
Re: adding banner adverts to Coppermin
« Reply #12 on: August 11, 2004, 09:54:59 pm »

does the new one have a front page like this website and is it easy to set up, can I have multiple gallries using the same db, ie front page with links to galleries for example I wanted three galleries, for example, cars, boats, airoplanes, but I wanted them as a gallery on there own and not in one big gallery, I want them to use one db, is that possible, I dont know how else to put it, I guess the best way is to say top level galleries, or do I need a db for each gallery?
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: adding banner adverts to Coppermin
« Reply #13 on: August 12, 2004, 12:02:10 am »

The answer to your questions is yes, and yes, you can.

But this is not the place to be asking these questions.  We have a 1 topic per thread policy, so please search for the specific answers to these questions, or if you can't find them, ask on new threads.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 18 queries.