Go Back   SZONE.US Forums > Computer & Web Realm > Web Tips > vBulletin > vBulletin 3.6x / 3.8x

vBulletin 3.6x / 3.8x Modules, Hacks, & Modifications

[vB 3.6.x] Module CMPS 3x: PhotoPost vBGallery

Views:3730
Reply
 
LinkBack Thread Tools Search this Thread Rate Thread
  #1 (permalink)  
Old 05.16.07, 05:15 PM
Zachariah Boren's Avatar
Zachariah Boren Zachariah Boren is offline
Administrator
 
Join Date: 02.07
Location: Canoga Park, CA
Posts: 1,190
Blog Entries: 6
Images: 2052
Send a message via ICQ to Zachariah Boren Send a message via AIM to Zachariah Boren Send a message via MSN to Zachariah Boren Send a message via Yahoo to Zachariah Boren Send a message via Skype™ to Zachariah Boren Send a message via twitter to Zachariah Boren
[vB 3.6.x] Module CMPS 3x: PhotoPost vBGallery

/* ----------------- 8/28/2007 6:41pm -----------------

Add Gallery Images to your vBAdvanced CMPS 3.x
Do you have PhotoPost vBGallery v2.0 + installed ?

Looking @ changes in the gallery. This hack will work with vbgallery 2.2, 2.3 out of the box.
- you can get a patch if you have 2.0, 2.1 - here.

Tested on:
- vBulletin 3.6.8 - 3.7
- PhotoPost vBGallery v2.3 - 2.4
- vBadvanced CMPS v3.0 RC1

1 query added to CMPS

Zachariah @ SZONE.US

EX: 3 CMPS blocks 3 different settings
Gallery Demo - SZONE.US

--------------------------------------------------*/


Change Log
===========
vBGallery 2.4, 2.4.1 - added to download
[vB 3.6.8] Module CMPS3 vBGallery 2.4.zip


2.6
- Added option for module title.
- Added option for module link.
- Added option to choose from thumbnail, normal, origianal


2.5
- Added Template: adv_portal_vbgallery_imagebit
- Edited Template: adv_portal_vbgallery_nav - added search dropdown
- Edited Template: adv_portal_vbgallery - changed to work with standard CMPS wrapper
- Multi-Modules can be used on the same page using the same php file with different settings
EX: 3 CMPS blocks 3 different settings Gallery Demo - SZONE.US


2.2
- reworked to work on CMPS 3.0

2.1
- Package added to: imagegallery.module
- Block settings per CMPS page
- Permissions fixed


2.0
- adv_gallery_images -> ppgal_images

1.9
- Added vb3.6

1.8
- Added functions_gallery_store.php
- Added column span support

1.7
- Install w/ product in 1 file.
- Killed the need for FORUMHOME template edit.
- 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.)


1.5
- <If> usergroup can not see thunbnails FORUMHOME edit will not show up.

1.4
- Removed Phrase to name gallery <table> now use $vba_options[gallery_title]
- Added 3 prases in "global" - filesize,category,dimensions

1.3
- Display images from specific categories.

1.2
- added Phrase support
Attached Images
File Type: jpg admin.jpg (61.4 KB, 111 views)
File Type: jpg all_options.jpg (47.1 KB, 95 views)
File Type: jpg no_data.jpg (24.5 KB, 89 views)
Attached Files
File Type: zip [vB 3.6.8] Module CMPS3 vBGallery.zip (8.5 KB, 148 views)
File Type: zip [vB 3.6.8] Module CMPS3 vBGallery 2.4.zip (8.4 KB, 134 views)
__________________
http://www.szone.us | http://www.gzhq.net
Twitter | Facebook | My:Hacks @ vBulletin.org
Member of Kiwanis Club of Chatsworth
Reply With Quote
  #2 (permalink)  
Old 08.13.07, 08:37 AM
Zachariah Boren's Avatar
Zachariah Boren Zachariah Boren is offline
Administrator
 
Join Date: 02.07
Location: Canoga Park, CA
Posts: 1,190
Blog Entries: 6
Images: 2052
Send a message via ICQ to Zachariah Boren Send a message via AIM to Zachariah Boren Send a message via MSN to Zachariah Boren Send a message via Yahoo to Zachariah Boren Send a message via Skype™ to Zachariah Boren Send a message via twitter to Zachariah Boren
*** How to Install:
======================

In your Admin Control Panel

1)
AdminCP => Plugins & Products => [Add/Import Product]
- Import Product:
- Browse "product-sz1_gallery_cmps.xml"
- [Import]

2)
Admincp => vBa CMPS => Download / Upload Module
Click [Browse]
Browse for the file "imagegallery.module"


3)
Settings can be set per page.
Admincp => vBa CMPS => edit/add Page
- Image Gallery
__________________
http://www.szone.us | http://www.gzhq.net
Twitter | Facebook | My:Hacks @ vBulletin.org
Member of Kiwanis Club of Chatsworth
Reply With Quote
  #3 (permalink)  
Old 08.15.07, 04:50 AM
Deli_Yusuf Deli_Yusuf is offline
Junior Member
 
Join Date: 08.07
Posts: 2
Warning: array_keys(): The first argument should be an array in \includes\functions_gallery.php on line 452

Error ?
Reply With Quote
  #4 (permalink)  
Old 08.20.07, 07:12 AM
Zachariah Boren's Avatar
Zachariah Boren Zachariah Boren is offline
Administrator
 
Join Date: 02.07
Location: Canoga Park, CA
Posts: 1,190
Blog Entries: 6
Images: 2052
Send a message via ICQ to Zachariah Boren Send a message via AIM to Zachariah Boren Send a message via MSN to Zachariah Boren Send a message via Yahoo to Zachariah Boren Send a message via Skype™ to Zachariah Boren Send a message via twitter to Zachariah Boren
Quote:
Originally Posted by Deli_Yusuf View Post
Warning: array_keys(): The first argument should be an array in \includes\functions_gallery.php on line 452

Error ?
New Version , 1st post updated.

Tested on:
- vBulletin 3.6.8
- PhotoPost vBGallery v2.3
- vBadvanced CMPS v3.0
__________________
http://www.szone.us | http://www.gzhq.net
Twitter | Facebook | My:Hacks @ vBulletin.org
Member of Kiwanis Club of Chatsworth
Reply With Quote
  #5 (permalink)  
Old 08.22.07, 12:16 AM
sazrul sazrul is offline
Junior Member
 
Join Date: 08.07
Posts: 1
[vB 3.6.x] Module CMPS 3x: PhotoPost vBGallery

- vBulletin 3.6.8
- PhotoPost vBGallery v2.1
- vBadvanced CMPS v3.0

The above are mine. Seems like it not work for PhotoPost vBGallery v2.1. There was nothing on the main page & on the forums.

Please help me. Thanks.
Reply With Quote
  #6 (permalink)  
Old 08.22.07, 09:23 AM
Deli_Yusuf Deli_Yusuf is offline
Junior Member
 
Join Date: 08.07
Posts: 2
Error version ?

- vBulletin 3.6.7
- PhotoPost vBGallery v2.3
- vBadvanced CMPS v3.0
Reply With Quote
  #7 (permalink)  
Old 08.27.07, 01:32 PM
mikel
Guest
 
Posts: n/a
Hmmm, I updated to this new block, copied the module in CMPS using a new module name and got 2 modules on the page now.

BUT, it's still pulling in the image bits, image count, col span, etc. from the 2nd image block.

Also weird :

1st image block is 2 images, col span 2 (horizontal)
2nd image block is 4 images, col span 1 (vertical)

1st image block show the same 4 images (vertical) with the image bits as the 2nd image block, PLUS the 2 horizontal images (no image bit fields as selected).

Seems like it's still mixing up some of the settings between the 2 blocks ??

Or am I missing a setting somewhere ?

Thanks Zach
Reply With Quote
  #8 (permalink)  
Old 08.28.07, 12:28 PM
Zachariah Boren's Avatar
Zachariah Boren Zachariah Boren is offline
Administrator
 
Join Date: 02.07
Location: Canoga Park, CA
Posts: 1,190
Blog Entries: 6
Images: 2052
Send a message via ICQ to Zachariah Boren Send a message via AIM to Zachariah Boren Send a message via MSN to Zachariah Boren Send a message via Yahoo to Zachariah Boren Send a message via Skype™ to Zachariah Boren Send a message via twitter to Zachariah Boren
Change Log
===========
2.6
- Added option for module title.
- Added option for module link.
- Added option to choose from thumbnail, normal, original
__________________
http://www.szone.us | http://www.gzhq.net
Twitter | Facebook | My:Hacks @ vBulletin.org
Member of Kiwanis Club of Chatsworth
Reply With Quote
  #9 (permalink)  
Old 08.28.07, 01:50 PM
mikel
Guest
 
Posts: n/a
Zach,

You're almost there

I've got 3 modules now on my test site, all with diff image counts/col span/image bit settings and seems to be displaying ok.

Your new field Image Size is not being saved properly. Always comes back to Thumbnail. Doesn't look like the JS code to untick the Use Default option is being called/set when you change that field. If you manually untick the Use Default option, then the Image Size field is saved properly.

A related quirk - when I set Image Size to Original and save the settings, the resulting block disappears. Might be because I don't have any of the original pictures in my gallery ? Something for you to check out.

The Image Size field actually works out rather nicely if you want to display a single random large/normal sized picture on the home page. Nice touch ! Dunno if that was your intention or just a nice by-product of that setting !

Thanks for the module/title links too.

Regards,
Mike
Reply With Quote
  #10 (permalink)  
Old 08.28.07, 02:09 PM
Zachariah Boren's Avatar
Zachariah Boren Zachariah Boren is offline
Administrator
 
Join Date: 02.07
Location: Canoga Park, CA
Posts: 1,190
Blog Entries: 6
Images: 2052
Send a message via ICQ to Zachariah Boren Send a message via AIM to Zachariah Boren Send a message via MSN to Zachariah Boren Send a message via Yahoo to Zachariah Boren Send a message via Skype™ to Zachariah Boren Send a message via twitter to Zachariah Boren
I see the JS error on removing the checkmark when selecting a different option.
- I'll look into that.

Quote:
when I set Image Size to Original and save the settings, the resulting block disappears. Might be because I don't have any of the original pictures in my gallery ?
Correct.
There are 3 size options in the gallery Thumbs, Normal, and Original images.
Quote:
The Image Size field actually works out rather nicely if you want to display a single random large/normal sized picture on the home page. Nice touch ! Dunno if that was your intention or just a nice by-product of that setting !
That was the plan.

EX:
http://www.szone.us/
http://www.szone.us/index.php?id=gallery
__________________
http://www.szone.us | http://www.gzhq.net
Twitter | Facebook | My:Hacks @ vBulletin.org
Member of Kiwanis Club of Chatsworth
Reply With Quote
Reply

Bookmarks

Tags
36x, cmps, module, photopost, vbgallery

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[vB 3.6.x] Photopost vBGallery External feeds Zachariah Boren vBulletin 3.6x / 3.8x 15 11.06.08 05:01 PM
[vB 3.6.x] vBGallery statistics in vBadvanced stats block Zachariah Boren vBulletin 3.6x / 3.8x 0 12.29.07 11:43 AM
[vB 3.6.x] Module CMPS 3x: Top Posters 1.3 Zachariah Boren vBulletin 3.6x / 3.8x 0 09.26.07 07:40 AM
[vB 3.6.x] Module CMPS 3x: PhotoPost vBGallery Comments Zachariah Boren vBulletin 3.6x / 3.8x 0 09.23.07 06:18 PM
NASA TV to Broadcast Move of Space Station Module N.A.S.A. N.A.S.A. 0 08.24.07 05:05 PM

SZONE.US
» Stats
Members: 859
Threads: 23,958
Posts: 26,860
Top Poster: WhiteHouse (6,224)

Images: 22,051
Comment: 102
Categories: 274
Total Views: 962,316
Disk Space: 8.67 GB
Top Uploader: Steve Boren (19,087)
Welcome to our newest member, MichealTracy
» Proud Member Of

chatsworth kiwanis

NRA
Powered by vBadvanced CMPS v3.1.0

All times are GMT -8. The time now is 10:13 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
Copyright ©2006 - 2009 SZONE.US All rights reserved