Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Picture and Album Gallery Details »»
Picture and Album Gallery
Mod Version: 1.09, by HCGB (Coder) HCGB is offline
Developer Last Online: Oct 2012 I like it Show Printable Version Email this Page

vB Version: 4.1.0 Rating: (215 votes - 4.68 average) Installs: 1330
Released: 10 Mar 2010 Last Update: 12 Jan 2011 Downloads: 6931
Not Supported Uses Plugins Auto-Template Additional Files Re-usable Code Translations  

Picture and Album Gallery for vB4


This is a simple mod written out of frustration with the lack of such a basic feature in vb4 (and vb3, etc....)

Features:
Adds a Gallery drop-down menu to the nav bar OR to the navtab which allows browsing AND searching of all pictures and albums on your site.

The search function searches the album title, album description, picture caption AND username.

Note: If guest permission AdminCP->Usergroups->UserGroup Manager->Unregistered/Not Logged In->Can View Albums is "yes" then they will be able to browse album and picture thumbnails - they may NOT be able to view the full-size pictures. To hide the gallery menu from guest see Settings below.

The gallery and menu is phrased.

Tested with Vbulletin 4.0.2/3 (note: earlier versions have not been tested and are not supported) AND vBadvanced 4 beta1.

Settings:
None are needed - it does what it says on the tin .

AdminCP->Options->User Profile:Album Options "Pictures Per Page" and "Albums Per Page" control the number of thumbnails displayed per page in each gallery type.

If you get images overlapping the borders then you have inconsistent thumbnail sizes - you need to:
AdminCP->Maintenance->Update Counters->Rebuild Attachment Thumbnails

If you want to hide the Gallery menu from guests then edit the Gallery navbar (or navtab) popup menu plugin and change $allowguests = from true to false

Installation
  1. Unzip the download package and copy the contents of the UPLOAD folder into your forum folder.
  2. Go to the VB AdminCP->Plugins & Products click "Manage Products". The click "Add/ImportProduct" at the bottom of the page.
  3. Click "Browse" button and point to the product-gallery-(etc).XML file included in this ZIP package.
  4. Click "Import"
  5. Once the gallery import is complete, click "Add/Import Product" again and select EITHER product_gallery_navtab-xxx.xml OR product_gallery_navbar-xxx.xml depending on where you want the gallery menu to appear (navbar or navtab).
... all done

Updates

To update from an older version you MUST uninstall the product (admincp->manage products: delete Picture and Album Gallery). Then re-install as above.

v1.08
tested on vb4.0.3
v1.07
Fixed navtab menu - picture and album URLS swapped

Converted navtab/bar into products to make installation easier.
v1.06
Due to popular demand added navtab drop down menu (with help from
TimberFloorAu )
Cleaned up code and templates
v1.05
Phrased menu items - upgrade is not required unless you use other languages.

v1.04b
fixed database connection issue

deleted unused template from product xml
v1.03b
Changed permissions to allow guests to view thumbnail galleries

Added phrasing for main gallery code.
Removed navbar template - replaced by plug-in code
Changed album display template from albumbit to album_latestbit (it works better!)
Various template mods to clean up display
v1.02b
Wasn't remembering search query between pages.


This is my first "proper" product so comment/criticism/etc is welcome

John

Download Now

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

Screenshots

Click image for larger version

Name:	albs.jpg
Views:	17724
Size:	86.0 KB
ID:	113797

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
Album Picture Clicks to Next Picture in Album Abe1 vBulletin 3.7 Template Modifications 24 15 Mar 2011 03:45

  #46  
Old 10 Mar 2010, 21:56
starman™ starman™ is offline
 
Join Date: Apr 2008
Originally Posted by mustang02 View Post
Interesting, I did that twice and the third time it worked.

Looks good. Marking as installed.
The product has been updated 3 times now I think. If you missed the notification then it wasn't obvious without a bug fix list, which is there now.
Reply With Quote
  #47  
Old 10 Mar 2010, 22:09
oddmud's Avatar
oddmud oddmud is offline
 
Join Date: Oct 2009
It works just perfectly. No blank page for me.
__________________
Like Fly Fishing?
www.flyfishbc.com
Reply With Quote
  #48  
Old 10 Mar 2010, 22:16
woffie's Avatar
woffie woffie is offline
 
Join Date: Jan 2009
Real name: Jim
Works great!
Reply With Quote
  #49  
Old 10 Mar 2010, 22:33
kho91 kho91 is offline
 
Join Date: Dec 2007
its work for me but all url in the drop down menu are desactivate for the guest
Reply With Quote
  #50  
Old 10 Mar 2010, 22:36
Alien's Avatar
Alien Alien is offline
 
Join Date: Oct 2001
Real name: Jason
Originally Posted by HCGB View Post
Disable the Gallery popup menu navbar plug-in in the plug in manager (set Plug in is Active to No) and then add direct links to the gallery PHP scripts in your own navigation e.g. your_forum_home_page_url/albumall.php and your_forum_home_page_url/picall.php
Brilliant! Thanks SO much for this much needed modification, I plan to take it online tonight as a matter of fact.
__________________
-Jason

WTF.com | Eternia Networks
Reply With Quote
  #51  
Old 11 Mar 2010, 01:12
jhabers jhabers is offline
 
Join Date: Nov 2009
sweet!!!

can you put a break here like this

Pictures:5Last
Picture:01-10-2010

to

Pictures:5
Last Picture:01-10-2010


or possibly replace or add the owner of the album to the preview?



Great work!
Reply With Quote
  #52  
Old 11 Mar 2010, 01:19
jhabers jhabers is offline
 
Join Date: Nov 2009
Dropdown looks to be broke when not logged in, using IE8
Reply With Quote
  #53  
Old 11 Mar 2010, 01:35
VonDoom's Avatar
VonDoom VonDoom is offline
 
Join Date: Dec 2008
Installed, tested, rated and nominated. Great work. Thanks for this very useful product.
__________________
Reply With Quote
  #54  
Old 11 Mar 2010, 01:55
ssslippy's Avatar
ssslippy ssslippy is offline
 
Join Date: Jan 2006
attached is a PLUGIN to cache the template.
Attached Files
File Type: xml gallery_cache.xml (271 Bytes, 25 views)
__________________
Immortal Guild - My Guilds Website
Reply With Quote
  #55  
Old 11 Mar 2010, 02:48
claystation claystation is offline
 
Join Date: Jan 2007
This is really awesome, there are albums that I didn't even know existed on my board and they are great! I do have a problem though, my thumbnails are bigger then the white background box behind them and the text that goes with the pictures gets cut off?
Reply With Quote
  #56  
Old 11 Mar 2010, 03:16
pjcnlv pjcnlv is offline
 
Join Date: Jul 2007
Just need that nice pulldown menu in the navbar tabs.
Reply With Quote
  #57  
Old 11 Mar 2010, 04:00
Alien's Avatar
Alien Alien is offline
 
Join Date: Oct 2001
Real name: Jason
Originally Posted by claystation View Post
I do have a problem though, my thumbnails are bigger then the white background box behind them and the text that goes with the pictures gets cut off?
This modification just pulls CSS the way vBulletin does the album templates by default (which is pretty nasty right now IMHO). It's not the fault of this mod.

If you want to make some adjustments, these two values will probably help point you in the right direction. Use values you want, then just stick them in your additional.css template so they override built-in values:

.albumlist_entry
#thumbnails li .picture

As an example only, mine are currently set to:


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

__________________
-Jason

WTF.com | Eternia Networks
Reply With Quote
  #58  
Old 11 Mar 2010, 05:17
kevinfx kevinfx is offline
 
Join Date: Jan 2006
Originally Posted by abroad View Post
Cant see the Albums when I am not registered. Get this message:
No User specified. If you followed a valid link, please notify the administrator
Me too, unable to view any links from Gallery dropdown as guess
Reply With Quote
  #59  
Old 11 Mar 2010, 08:09
HCGB HCGB is offline
 
Join Date: Apr 2008
Real name: John
Originally Posted by claystation View Post
..... my thumbnails are bigger then the white background box behind them and the text that goes with the pictures gets cut off?
If you upgraded from vb3 OR changed your attachment thumbnail size then you need to:

AdminCP->Maintenance->Update Counters->Rebuild Attachment Thumbnails


v1.03b fixes the layout problems Alien and others have noticed. You can also now control whether unregistered users can see the gallery menu (see first post) and view the thumbnail galleries.

Last edited by HCGB : 11 Mar 2010 at 14:44.
Reply With Quote
  #60  
Old 11 Mar 2010, 13:06
x626xblack x626xblack is offline
 
Join Date: Oct 2009
Thanks! Installed! 5 Stars! MOTM! Finally!

Works GREAT!
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
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 17:58.

Layout Options | Width: Wide Color: