![]() |
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? |
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.
|
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.
|
One small problem. In the PhotoPlog Forum Home Thumbs plugin, there is no
Code:
AND moderate = 0 |
What do you see in the PhotoPlog Forum Home Thumbs plugin?
|
There is no "AND moderate", but rather a "WHERE moderate".
PHP Code:
|
Edit it like so to include categories 1, 2, and 3:
Code:
WHERE moderate = 0 AND catid IN (1,2,3) Code:
WHERE moderate = 0 AND catid NOT IN (1,2,3) |
Hrm, Doesn't seem to be working for me. Perhaps I just have my category IDs incorrect. I'll keep working at. Thanks again.
|
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. ;)
|
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:
$photoplog_file_infos = $db->query_read("SELECT * |
All times are GMT. The time now is 05:40 PM. |
Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.