PhotoPlog

Go Back   PhotoPlog > PhotoPlog Lite > "How Do I..." Questions
Screens Demo Purchase Download Register

Reply
Attention: Last reply in this thread was more than 15 Years ago
 
Thread Tools
  #1  
Old 07-31-2007, 02:30 PM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
Green Plog
 
Join Date: Jul 2007
Posts: 14
Gallery: 2
Comments: 1
Arrow Categories in Thumbs and Age Permissions

I have categories in my gallery that are rated like the ESRB rating system. E for Everyone, T for Teen, M for Mature. Couple of questions.

Can I lock a section based on a user's age,/birthday?

But mainly, how would I go about keeping images from the Mature section from showing up in random thumbs. Note that I also use the vBadvanced, and have thumbs on that page.


EDIT: Come to think of it, how do I remove the file list below the categories?

Last edited by Digital Jedi; 07-31-2007 at 02:56 PM..
Reply With Quote
  #2  
Old 07-31-2007, 03:50 PM
Morgan's Avatar
Morgan Morgan is offline
Head Plog
Admin
 
Join Date: Dec 2005
Posts: 5,324
Gallery: 10
Comments: 25
Default

PhotoPlog Lite does not have the ability to prevent access to certain categories while allowing access to other categories. PhotoPlog Pro will let you assign category based permissions, so if your usergroups are determined by age, you could prevent access to certain categories based on usergroup. Otherwise you'd need to edit the code to prevent access to certain categories. For thumbnails, see this thread, and for the file list, see this thread.
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks.
While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams
Reply With Quote
  #3  
Old 07-31-2007, 04:02 PM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
Green Plog
 
Join Date: Jul 2007
Posts: 14
Gallery: 2
Comments: 1
Default

Alrighty, thanks. No biggie on the age thing. But if I can at least control what thumbs appear, that should be sufficient. I'll check those threads out. Thanks again.
Reply With Quote
  #4  
Old 07-31-2007, 04:30 PM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
Green Plog
 
Join Date: Jul 2007
Posts: 14
Gallery: 2
Comments: 1
Default

One small problem. In the PhotoPlog Forum Home Thumbs plugin, there is no
Code:
Content visible to registered users only.
I see a WHERE moderate = 0, but adding the AND catid IN code there doesn't seem to affect anything. Have I left something out?
Reply With Quote
  #5  
Old 07-31-2007, 04:37 PM
Morgan's Avatar
Morgan Morgan is offline
Head Plog
Admin
 
Join Date: Dec 2005
Posts: 5,324
Gallery: 10
Comments: 25
Default

What do you see in the PhotoPlog Forum Home Thumbs plugin?
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks.
While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams
Reply With Quote
  #6  
Old 07-31-2007, 05:03 PM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
Green Plog
 
Join Date: Jul 2007
Posts: 14
Gallery: 2
Comments: 1
Default

There is no "AND moderate", but rather a "WHERE moderate".

Code:
Content visible to registered users only.
I tried changing it to AND to no avail.
Reply With Quote
  #7  
Old 07-31-2007, 05:06 PM
Morgan's Avatar
Morgan Morgan is offline
Head Plog
Admin
 
Join Date: Dec 2005
Posts: 5,324
Gallery: 10
Comments: 25
Default

Edit it like so to include categories 1, 2, and 3:
Code:
Content visible to registered users only.
Edit it like so to exclude categories 1, 2, and 3:
Code:
Content visible to registered users only.
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks.
While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams
Reply With Quote
  #8  
Old 07-31-2007, 05:34 PM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
Green Plog
 
Join Date: Jul 2007
Posts: 14
Gallery: 2
Comments: 1
Default

Hrm, Doesn't seem to be working for me. Perhaps I just have my category IDs incorrect. I'll keep working at. Thanks again.
Reply With Quote
  #9  
Old 08-01-2007, 05:53 PM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
Green Plog
 
Join Date: Jul 2007
Posts: 14
Gallery: 2
Comments: 1
Default

Well, I worked on this quite a bit last night, and it still has no affect on the thumbs. Is it possible for another modification to be preventing it? Or is there an alternate option I can try? Thanks again, and sorry for being pesky.
Reply With Quote
  #10  
Old 08-01-2007, 06:22 PM
Morgan's Avatar
Morgan Morgan is offline
Head Plog
Admin
 
Join Date: Dec 2005
Posts: 5,324
Gallery: 10
Comments: 25
Default

The PhotoPlog Forum Home Thumbs plugin is for random thumbs appearing on the forum index page. For random thumbs in the gallery itself, you'd need to edit the PhotoPlog Lite settings.php file:
Code:
Content visible to registered users only.
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks.
While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams
Reply With Quote
Reply

« Previous Thread | Next Thread »
Thread Tools

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Categories & vba thumbs Qia "How Do I..." Questions 1 02-10-2008 05:15 PM
Administrator Permissions? animehawk "How Do I..." Questions 4 06-09-2007 08:52 PM


All times are GMT. The time now is 06:28 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.