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: Uploading Images from Another Directory  (Read 2446 times)

0 Members and 1 Guest are viewing this topic.

FrogJuice

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
    • http://www.shapesoft.com
Uploading Images from Another Directory
« on: December 15, 2003, 11:30:41 pm »

Because my board is so custom I just want users to be able to browse through images.  So I took the nav bar completely off.  So that make it impossible to admin.  So I made another copy of the board thinking I could change some paths and it would allow me to edit the original board. I am having trouble doing this.  One album is in a directory called "pics" and the other board is in a directory called "picsadmin".

My main album is at this location http://frog.he.net/~jami/pics

Thanks,

Jamie
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Uploading Images from Another Directory
« Reply #1 on: December 16, 2003, 12:32:48 am »

Well, you did it the wrong way round: you're supposed to have only one gallery: just remove the navigation items from the menu for "regular" users, but let the admin have the navigation controls. Take a look into /themes/yourtheme/theme.php and observe that there are 3 menus:
  • Code: [Select]
    // HTML template for main menu(visible to everybody)
  • Code: [Select]
    // HTML template for gallery admin menu(visible for you only)
  • Code: [Select]
    // HTML template for user admin menu(visible for users who are logged in)[/list:u]Just remove the controls in the first section to the second section and you should be done.
    The way you did it simply won't work. If you want to get rid of the bumper sticker on your car it's no use to buy an additional car: you'll only have one with a bumper sticker and one without, but the bumper sticker won't go away from the first car.

    GauGau
Logged
Pages: [1]   Go Up
 

Page created in 0.013 seconds with 14 queries.