PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old December 9th, 2004, 07:34 PM   #1 (permalink)
Member
 
Join Date: Apr 2002
Posts: 64
Display category only if Visible

Category should only be displayed if they are visible to the user or the user is an admin.
Ghostsuit is offline  
Old December 9th, 2004, 07:37 PM   #2 (permalink)
Brian
Guest
 
Posts: n/a
Re: Display category only if Visible

What exactly do you mean by 'visible'? Active, if the user has permission to view the category, or something else?
 
Old December 9th, 2004, 07:56 PM   #3 (permalink)
Member
 
Join Date: Apr 2002
Posts: 64
Re: Display category only if Visible

User Created Categorys: Allow Other Users to View Category - Yes

If it's set to 'No' then they shouldn't be displayed other than to the admin and the user that owns the gallery. Sorry I should have explained it better.
Ghostsuit is offline  
Old December 9th, 2004, 08:06 PM   #4 (permalink)
Brian
Guest
 
Posts: n/a
Re: Display category only if Visible

Ahhh, gotcha. At first I was thinking they should still be shown (just not the images), but now that I think about it more I agree that they shouldn't be shown on the category list. Here's a fix that should take care of this:

In both your gallery/index.php file and your /forum/includes/functions_gallery.php file look for:
Code:
Content visible to verified customers only.
Replace with (in both files):
Code:
Content visible to verified customers only.
Then look for this in your functions_gallery.php file:
Code:
Content visible to verified customers only.
And right above it add:
Code:
Content visible to verified customers only.
 
Old December 9th, 2004, 08:14 PM   #5 (permalink)
Member
 
Join Date: Apr 2002
Posts: 64
Re: Display category only if Visible

Sorted
Ghostsuit is offline  
Old December 9th, 2004, 08:17 PM   #6 (permalink)
Member
 
Join Date: Apr 2002
Posts: 64
Re: Display category only if Visible

Actually no it's not. They also need to be removed from the category jump as well.
Ghostsuit is offline  
Old December 9th, 2004, 08:23 PM   #7 (permalink)
Brian
Guest
 
Posts: n/a
Re: Display category only if Visible

Sorry, trying to do too many things at once here so of course I had to forget about something.

If you'll look in your functions_gallery.php for this:
Code:
Content visible to verified customers only.
And replace it with this:
Code:
Content visible to verified customers only.
That should take care of all select fields where the category could appear.
 
Old December 9th, 2004, 08:29 PM   #8 (permalink)
Member
 
Join Date: Apr 2002
Posts: 64
Re: Display category only if Visible

Cheers your a hero. I've been a pest all through beta did you think it would change when we got to RC

Oh and that sorted it nicely
Ghostsuit is offline  
Old December 9th, 2004, 08:31 PM   #9 (permalink)
Brian
Guest
 
Posts: n/a
Re: Display category only if Visible

Quote:
Originally Posted by Ghostsuit
Cheers your a hero. I've been a pest all through beta did you think it would change when we got to RC

Oh and that sorted it nicely
You call that being a pest? I was thinking more of it being a good beta tester.
 
Old December 9th, 2004, 08:32 PM   #10 (permalink)
Member
 
Join Date: Apr 2002
Posts: 64
Re: Display category only if Visible

Pest - Good beta tester...same thing really
Ghostsuit is offline  
Old December 11th, 2004, 04:17 PM   #11 (permalink)
Junior Member
Verified Customer
 
Join Date: Mar 2004
Posts: 22
Re: Display category only if Visible

Im a nube so bear with me. Are you planning on making this change to future versions?

The reason I ask is,

...the gallery has been the big seller on my boards to get people to become members. I love the fact that they can see a category/teaser but dont like the fact that when they click on it, it says no images. Any way to set that up so they can see that they are missing out on something by not registering?
allhandl is offline  
Old December 12th, 2004, 12:20 AM   #12 (permalink)
Brian
Guest
 
Posts: n/a
Re: Display category only if Visible

Yes, the change above is going to be added to RC2. I'm not sure I follow what you're asking though... What should they see instead of a 'No Images' message?
 
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to display category images? rcsmith Photopost Pro How Do I...? 5 February 23rd, 2005 12:10 PM
Classifieds Category Display direland Classifieds How do I...? 2 January 29th, 2005 11:44 AM
Display Category ConqSoft vBGallery Suggestions 2 December 13th, 2004 10:15 AM


All times are GMT -5. The time now is 05:11 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0