Author Topic: Having {user_box} in selective categories  (Read 5065 times)

0 Members and 1 Guest are viewing this topic.

Offline tattooyu

  • Pre-Newbie
  • Posts: 4
    • View Profile
    • http://www.jeddrah.com
Having {user_box} in selective categories
« on: April 03, 2003, 01:36:55 AM »
Hi there.  Thanks in advance for any help.

On my site, I have a gallery where I will want certain users to upload their own photos.  I have made viewing public but upload permissions private and have given each user the proper permissions.

Here is what I would like to do:

I only want the Login fields to appear in those categories where users can upload their own photos but not all the other categories (which are viewable by the public but only editable by the admin--me).

In other words, I want the {user_box} only in categories whose Upload permission is Private.

Possible?

My site:  http://www.jeddrah.com/scripts/photos.  I want the login fields to appear only under Art/Photos from Fans > Lynn.

Offline Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
Having {user_box} in selective categories
« Reply #1 on: April 03, 2003, 02:10:27 AM »
There is already a mod that lets you use different templates for different categories.  Once you implement that, you can add the {user_box} to the category.html template that will be used for your private upload category and leave it out of the template for the other categories.

http://4homepages.de/forum/index.php?topic=1847
« Last Edit: July 20, 2008, 01:10:03 AM by Nicky »

Offline tattooyu

  • Pre-Newbie
  • Posts: 4
    • View Profile
    • http://www.jeddrah.com
Having {user_box} in selective categories
« Reply #2 on: April 03, 2003, 03:12:57 AM »
Quote from: Chris
There is already a mod that lets you use different templates for different categories.  Once you implement that, you can add the {user_box} to the category.html template that will be used for your private upload category and leave it out of the template for the other categories.

http://4homepages.de/forum/viewtopic.php?t=1847



Many thanks!