Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Module CMPS: PhotoPost vBGallery Details »
Module CMPS: PhotoPost vBGallery
Mod Version: 1.8, by Zachariah (Coder/Designer) Zachariah is offline
Developer Last Online: Sep 2019 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.5.4 Rating: (3 votes - 5.00 average) Installs: 129
Released: 22 Oct 2005 Last Update: 28 May 2006 Downloads: 234
Supported Uses Plugins Template Edits Code Changes Additional Files  

/* -----------------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.)

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	no_data.gif
Views:	1226
Size:	41.2 KB
ID:	40225   Click image for larger version

Name:	all_options.gif
Views:	1335
Size:	42.2 KB
ID:	40226   Click image for larger version

Name:	admincp.gif
Views:	1124
Size:	21.7 KB
ID:	40227  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Add-On Releases Module CMPS: Add vBGallery Image comments Zachariah vBulletin 3.6 Add-ons 13 21 Jul 2008 03:31
Add-On Releases Module CMPS: PhotoPost vBGallery Zachariah vBulletin 3.6 Add-ons 281 22 May 2008 23:53
Module CMPS: Add vBGallery Image comments Zachariah vBulletin 3.5 Add-ons 23 24 Nov 2007 06:28

  #91  
Old 04 Nov 2005, 14:51
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Originally Posted by gator777

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
I'll take a look, might of missed something.

my mistake ? :tired:

// Useage: $catlimit = '3,5,10,30,70';

needs single quotes if there is more than 1 Cat.

<else>

// Useage: $catlimit = 5;


On a brighter note.
- Adding exclude option.
- perhaps other things
:bunny::
__________________
http://www.szone.us |

Facebook | My:Hacks @ vBulletin.org

Last edited by Zachariah; 04 Nov 2005 at 15:30.
Reply With Quote
  #92  
Old 04 Nov 2005, 18:08
gator777's Avatar
gator777 gator777 is offline
 
Join Date: Feb 2005
Originally Posted by Zachariah
I'll take a look, might of missed something.

my mistake ? :tired:

// Useage: $catlimit = '3,5,10,30,70';

needs single quotes if there is more than 1 Cat.

<else>

// Useage: $catlimit = 5;


On a brighter note.
- Adding exclude option.
- perhaps other things
:bunny::
That fixed it.

Thanks again for a wonderful block/code.
I also downloaded your "Top Posters" block as well and it works great.
Reply With Quote
  #93  
Old 04 Nov 2005, 19:16
good2laugh good2laugh is offline
 
Join Date: Jul 2002
Originally Posted by Zachariah
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):


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

to this:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Glad I read the whole thread before crying out for help. This works for me, Thank you. Installed.
__________________
Smile!
Reply With Quote
  #94  
Old 04 Nov 2005, 19:55
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Originally Posted by good2laugh
Glad I read the whole thread before crying out for help. This works for me, Thank you. Installed.
OK, I'll add to the main file ASAP.
__________________
http://www.szone.us |

Facebook | My:Hacks @ vBulletin.org
Reply With Quote
  #95  
Old 04 Nov 2005, 21:19
dug320 dug320 is offline
 
Join Date: Sep 2005
This is a great hack.

It works!

The only problem to date is that I cannot edit the module on any page. It is either on or off throughout.
Reply With Quote
  #96  
Old 05 Nov 2005, 00:33
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Originally Posted by dug320
This is a great hack.

It works!

The only problem to date is that I cannot edit the module on any page. It is either on or off throughout.
Its not that Advanced yet - will be soon.

Settings are in: gallery_random.php @ the moment.
__________________
http://www.szone.us |

Facebook | My:Hacks @ vBulletin.org
Reply With Quote
  #97  
Old 06 Nov 2005, 03:56
jenciso jenciso is offline
 
Join Date: Oct 2004
Originally Posted by trueinnovation
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;
}
}
}
Thanks! That fixed my problem too!
Reply With Quote
  #98  
Old 06 Nov 2005, 08:35
dug320 dug320 is offline
 
Join Date: Sep 2005
Great Hack. Can't wait for more control
Reply With Quote
  #99  
Old 06 Nov 2005, 17:00
jenciso jenciso is offline
 
Join Date: Oct 2004
hmmm, I still have one problem.

For unregistered users, the Image Gallery shows up empty, but once I log in it works fine.

I checked my gallery and unregistered users can view thumbnails and previews just fine. I checked my module/gallery permissions and all of them are set correctly.

Any help on this would be appreciated.

Edit:
I did more digging and logged on as another user. Apparently, the thumbnails show up only when I have a user assigned to a user group:



For those who are not assigned to any groups or for unregistered users, no thumbnails show.

Last edited by jenciso; 06 Nov 2005 at 20:18.
Reply With Quote
  #100  
Old 06 Nov 2005, 19:53
Sychev_S Sychev_S is offline
 
Join Date: Oct 2005
how to change the size of a thumbnail displayed only in the module window?
Reply With Quote
  #101  
Old 06 Nov 2005, 20:33
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Originally Posted by Sychev_S
how to change the size of a thumbnail displayed only in the module window?
This uses the thumbs that the image gallery uses. To change the size of the images, would mean changing the Thumb sizes in the gallery settings.
__________________
http://www.szone.us |

Facebook | My:Hacks @ vBulletin.org
Reply With Quote
  #102  
Old 06 Nov 2005, 20:35
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Originally Posted by jenciso
hmmm, I still have one problem.

For unregistered users, the Image Gallery shows up empty, but once I log in it works fine.

I checked my gallery and unregistered users can view thumbnails and previews just fine. I checked my module/gallery permissions and all of them are set correctly.

Any help on this would be appreciated.

Edit:
I did more digging and logged on as another user. Apparently, the thumbnails show up only when I have a user assigned to a user group:



For those who are not assigned to any groups or for unregistered users, no thumbnails show.
I know this works w/ guests and usergroups. I do not know about access w/ sub-groups. I have not tested.
__________________
http://www.szone.us |

Facebook | My:Hacks @ vBulletin.org
Reply With Quote
  #103  
Old 06 Nov 2005, 22:27
jenciso jenciso is offline
 
Join Date: Oct 2004
Apparently the $getrand query in gallery_random.php is returning an empty result set because the category exclusion clause ($privatids) has all my categories listed. I set $privcatids to empty for now so that the thumbnails show for everyone.

edit: ignore my explanation. I misread the code

Last edited by jenciso; 07 Nov 2005 at 01:49.
Reply With Quote
  #104  
Old 06 Nov 2005, 22:47
Sanjiyan's Avatar
Sanjiyan Sanjiyan is offline
 
Join Date: Jan 2002
nothing is showing up for me? not a image not a block nothing, any ideas?

I have installed it as directed from the first post/text file, nothing shows, not even a empty block. using 3.5.0 and cmps 2.0.0
Reply With Quote
  #105  
Old 06 Nov 2005, 22:56
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Originally Posted by Sanjiyan
nothing is showing up for me? not a image not a block nothing, any ideas?

I have installed it as directed from the first post/text file, nothing shows, not even a empty block. using 3.5.0 and cmps 2.0.0
Know this is an add-on for:
~ vBadvanced Gallery

Do you have this installed ?
__________________
http://www.szone.us |

Facebook | My:Hacks @ vBulletin.org
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 19:09.

Layout Options | Width: Wide Color: