![]() |
yeah its all cached now lol i didnt have adv_gallery_imagebit on the Templates Used cause i just went by the installer didnt even look lol but once i added adv_portal_gallery_random,adv_gallery_imagebit to the Templates Used it worked like a charm...
|
I was wondering, is it possible to EXCLUDE one and only one category from being displayed? I have a category that I can only see so I can upload pictures to it for my news posts, but it is still being displayed in the latest images block. Any way to take care of that?
|
Great mod, but I get the same error as phifou and Serenity. Anyone have a solution?
Much appreciated. Quote:
|
Got it...
Change this (around line 83): foreach ($gallery_permissions["$usergroupid"] AS $option => $value) { if (($option == 'gallery_maxcats' AND !($gallery_permissions["$usergroupid"]['gallery_perms'] & $gallerypermissionsbit['cancreatecategories'])) OR ($option == 'gallery_maxdiskspace' AND !($gallery_permissions["$usergroupid"]['gallery_perms'] & $gallerypermissionsbit['canuploadimages']))) { continue; } if (((($value > $galleryperms["$option"] AND $galleryperms["$option"] != '0') OR !$value) AND $option != 'gallery_perms')) { $galleryperms["$option"] = $value; } } to this: if (!empty($gallery_permissions["$usergroupid"])) { foreach ($gallery_permissions["$usergroupid"] AS $option => $value) { if (($option == 'gallery_maxcats' AND !($gallery_permissions["$usergroupid"]['gallery_perms'] & $gallerypermissionsbit['cancreatecategories'])) OR ($option == 'gallery_maxdiskspace' AND !($gallery_permissions["$usergroupid"]['gallery_perms'] & $gallerypermissionsbit['canuploadimages']))) { continue; } if (((($value > $galleryperms["$option"] AND $galleryperms["$option"] != '0') OR !$value) AND $option != 'gallery_perms')) { $galleryperms["$option"] = $value; } } } |
Help! I want unregistered users to see these random images on the CMPS. Ive set unregistered=YES in the module, but this module still does not appear.
Is this because my gallery itself is blocked to unregistered users? If so, how can I mod this hack to show the random images on CMPS even tho' my gallery access is restricted? e.g. I want my home page to show what could be accessed, if they registered/subscribed... Advice appreciated... |
trueinnovation - Thank You.
- People that are having problems please Beta the Change. If it works I will update the Zip. modules/gallery_random.php Got it... Change this (around line 83): Code:
foreach ($gallery_permissions["$usergroupid"] AS $option => $value) Code:
if (!empty($gallery_permissions["$usergroupid"])) |
Quote:
|
Quote:
Why? Edit: Also, if I hash out catlimit, it won't show anything, and if I set more then one (catlimit = 2,3,4;), it will return a parse error. How can I make it pull images only from the categories I want it to? |
TRUEINNOVATION 's hack runs beautifully. Thanks a lot.
|
You spent a lot of time coding this hack, so I wanted to take the time to thank you for all your hard work. This block works great, and I finf it the single most important block on my site. It pulls visitors into the gallery and is very important.
I do have one quesiton though. I followed this as I understood it: PHP Code:
PHP Code:
|
All times are GMT. The time now is 06:45 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|