The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Module CMPS: PhotoPost vBGallery Details »» | |||||||||||||||||||||||||
/* -----------------12/31/2005 6:41pm -----------------
Add Gallery Images to your CMPS v1.8 This hack is an add-on to a gallery made by PhotoPost.com called vBGallery. - This is not a gallery, but a way to display the images from the gallery to your forums. Do you have vBGallery installed ? Tested on: - vBulletin 3.5.2 - PhotoPost vBGallery v1.0.2 (vB 3.5) - vBadvanced CMPS v2.0.0 (vB 3.5) Zachariah - http://www.gzhq.net Product XML 1 file edit Upload file Create Module Change settings 1 query added to CMPS DEMO --------------------------------------------------*/ Change Log =========== 1.8 - Added functions_gallery_store.php - Added column span support 1.7 - Install w/ product in 1 file. - AdminCP options to change the hack settings - Added: Parts of the gallery's Nav bar w/ dropdowns (My Stuff*, What's New, What's Popular,Search) to the hack with on/off option. * My Stuff will not be seen if you are a guest. 1.6 - Added: If the gallery is off or disabled the hack not show up. - Added: templates to support the hack vs. gallery templates (allows you to customize the templates for the look and feel you want vs. mess up the way your gallery templates look.) Show Your Support
|
Comments |
#82
|
||||
|
||||
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...
|
#83
|
|||
|
|||
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?
|
#84
|
|||
|
|||
Great mod, but I get the same error as phifou and Serenity. Anyone have a solution?
Much appreciated. Quote:
|
#85
|
|||
|
|||
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; } } } |
#86
|
|||
|
|||
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... |
#87
|
||||
|
||||
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) { 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; } } Code:
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; } } } |
#88
|
||||
|
||||
Quote:
|
#89
|
||||
|
||||
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? |
#90
|
|||
|
|||
TRUEINNOVATION 's hack runs beautifully. Thanks a lot.
|
#91
|
||||
|
||||
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:
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|