Uploading Images from Another Directory Uploading Images from Another Directory
 

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

Uploading Images from Another Directory

Started by FrogJuice, December 15, 2003, 11:30:41 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

FrogJuice

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

Joachim Müller

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:
  • // HTML template for main menu(visible to everybody)
  • // HTML template for gallery admin menu(visible for you only)
  • // 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