PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old February 5th, 2005, 02:22 AM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2005
Posts: 25
Category Access only after approved Upload

Hi,

i've installed everything now, it has been really easy and worked fine for me.
Now i want to realise the following:

I have got 1 Category and i wish that the Users could only get access to it after uploading 1 approved Pic.

Nasty: This has to work without additional Usergroups because this would cause a Chaos (i've got very much at this time, and dont want more).

So is there a Solution?
HerrSieben is offline   Reply With Quote
Old February 5th, 2005, 10:37 AM   #2 (permalink)
Brian
Guest
 
Posts: n/a
Re: Category Access only after approved Upload

In your browseimage.php file look for:
Code:
Content visible to verified customers only.
Right above that, add:
Code:
Content visible to verified customers only.
Haven't tested that, but it should work.
  Reply With Quote
Old February 6th, 2005, 02:18 AM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2005
Posts: 25
Re: Category Access only after approved Upload

Nice!

- but where do i select which Category it is needed?

Many Thanks, it would be great if you could help me again.
HerrSieben is offline   Reply With Quote
Old February 6th, 2005, 12:00 PM   #4 (permalink)
Brian
Guest
 
Posts: n/a
Re: Category Access only after approved Upload

Sorry, I didn't realize that you wanted to do that for only one category. Try this code instead:
Code:
Content visible to verified customers only.
And replace X there with the catid that you wish to apply this to.
  Reply With Quote
Old February 10th, 2005, 01:01 AM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2005
Posts: 25
Re: Category Access only after approved Upload

Works very good - Thanks for your help!

Just 1 Problem ist existing:
The random image on galleryhome and the last x pics on galleryhome.
Could it be done that there is one pic which will be shown instead if there are no Permissions?
HerrSieben is offline   Reply With Quote
Old February 11th, 2005, 01:46 AM   #6 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2005
Posts: 25
Re: Category Access only after approved Upload

Another Problem with this:

If you didnt upload a pic and click on the Last entry under Last Upload the User can see the picture and gets access.

Also, i want to wish you every good Thing to you 20th anniversaire. Thats a good episode of life
HerrSieben is offline   Reply With Quote
Old February 12th, 2005, 08:16 AM   #7 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2005
Posts: 25
Re: Category Access only after approved Upload

*Bumb*
HerrSieben is offline   Reply With Quote
Old February 14th, 2005, 12:14 PM   #8 (permalink)
Brian
Guest
 
Posts: n/a
Re: Category Access only after approved Upload

Try looking in your forum/includes/functions_gallery.php file for this:
Code:
Content visible to verified customers only.
And add this right below it:
Code:
Content visible to verified customers only.
That should take care of the image viewing permissions globally (showimage, ecards, print image, etc). The random/new images on your homepage would probably be a little more difficult though. You could just exclude those categories from that section though by looking in your index.php file for two instances of this code:
Code:
Content visible to verified customers only.
And replace each with this:
Code:
Content visible to verified customers only.
  Reply With Quote
Old February 15th, 2005, 12:14 PM   #9 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2005
Posts: 25
Re: Category Access only after approved Upload

Sorry but i dont have any
Code:
Content visible to verified customers only.
in my functions_gallery.php

I just have:

Code:
Content visible to verified customers only.
If i put your code below i get an errormessage...

Could you look over again, please?
HerrSieben is offline   Reply With Quote
Old February 15th, 2005, 12:28 PM   #10 (permalink)
Brian
Guest
 
Posts: n/a
Re: Category Access only after approved Upload

Are you running RC3? If not, you really should upgrade.
  Reply With Quote
Old February 15th, 2005, 03:49 PM   #11 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2005
Posts: 25
Re: Category Access only after approved Upload

Perhaps i am totally wrong but i use RC3.

I've downloaded it again and searched for the part, all i found again was this:

Code:
Content visible to verified customers only.
Its the same.
HerrSieben is offline   Reply With Quote
Old February 15th, 2005, 06:54 PM   #12 (permalink)
Brian
Guest
 
Posts: n/a
Re: Category Access only after approved Upload

Search the file for 'check_image_view'. Then you should see the check_image_id() function just below that.
  Reply With Quote
Reply


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
approved photos cheechfxsti Photopost Pro How Do I...? 7 October 25th, 2005 07:21 PM
Category Access pengrus General Discussion 2 September 15th, 2005 04:35 PM
Help with Permissions on who needs their uploads approved and who can approve. schford How Do I? - vBulletin 3.0.X 9 April 12th, 2005 12:19 PM
User no longer has access so can't unsubscribe from category sross Photopost Pro How Do I...? 2 March 1st, 2005 03:50 PM


All times are GMT -5. The time now is 04:49 PM.

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