Advanced search  

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

Pages: [1]   Go Down

Author Topic: Uploading Images from Another Directory  (Read 2596 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.033 seconds with 19 queries.