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: (162 votes - 4.85 average) Installs: 1360
Released: 10 Mar 2010 Last Update: 12 Jan 2011 Downloads: 7820
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:	20218
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
Social Group and Album Enhancements Album Picture Clicks to Next Picture in Album Abe1 vBulletin 3.7 Template Modifications 24 15 Mar 2011 04:45

  #181  
Old 09 Apr 2010, 16:03
Garamond's Avatar
Garamond Garamond is offline
 
Join Date: Jul 2004
Is there an importer available so we can move all PhotoPost pictures over to vB Albums?
Reply With Quote
  #182  
Old 09 Apr 2010, 18:23
trilogy33 trilogy33 is offline
 
Join Date: Jan 2008
Originally Posted by Black-CA View Post
@HCGB

I like your mod. Is it possible to change height or wide to get the whole information in one lane below the pictures? Separated for example
  • First ==> Album: "Title of the album"
  • Second ==> by: "username" on "Date"
Attachment 115474
As there's no character limit to album titles, I also see the overrun of text at the base of the album placeholder. So, a quick workaround is to modify the CSS...

In: album.css

#latestalbumcontainer li

Find:

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

Replace with:

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

190px I've found is ample on my test installation.

Hope this helps in the meantime



Addendum:

.albumlist_entry {
float:{vb:stylevar left};
margin-{vb:stylevar left}:{vb:math {vb:stylevar padding} *2 +5};
margin-top:{vb:math {vb:stylevar padding}*2};
padding: 0 {vb:math {vb:stylevar padding}+5} {vb:stylevar padding} {vb:math {vb:stylevar padding}+5};
text-align:{vb:stylevar left};
display:block;
width:{vb:raw vboptions.attachthumbssize}px;
height:{vb:math {vb:raw vboptions.attachthumbssize} + {vb:stylevar font.fontSize}*{vb:stylevar line_height}*2 + {vb:stylevar small_fontSize}*{vb:stylevar line_height}*2 + {vb:stylevar padding} / 2};
overflow:hidden;
border: {vb:stylevar albumlist_entry_border};
background:{vb:stylevar albumlist_entry_background};
-moz-box-shadow: -2px 2px 2px {vb:stylevar shadow_color};
-webkit-box-shadow: -2px 2px 2px {vb:stylevar shadow_color};
}


Alter the line in red to whatever height suits e.g.
height:190px;

Last edited by trilogy33; 13 Apr 2010 at 18:00.
Reply With Quote
  #183  
Old 10 Apr 2010, 07:27
abroad abroad is offline
 
Join Date: Mar 2007
does not work with 4.03...

This product is not compatible with version 4.0.3 of vBulletin. (Compatible starting with 4.0.2 / Incompatible with 4.0.3 and greater)
Reply With Quote
  #184  
Old 10 Apr 2010, 08:36
trilogy33 trilogy33 is offline
 
Join Date: Jan 2008
Fine under 4.0.3
Reply With Quote
  #185  
Old 10 Apr 2010, 10:42
kaposer kaposer is offline
 
Join Date: Aug 2008
May I suggest adding a "Gallery Rules" position to the drop down menu, linking to a posting rules page? Some sites won't accept nudity for exemple, and it should be clearly specified.

Thanks again
Reply With Quote
  #186  
Old 10 Apr 2010, 19:14
conradk conradk is offline
 
Join Date: Aug 2007
Thanks for this.
Reply With Quote
  #187  
Old 10 Apr 2010, 20:04
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Feature suggestion: Show random pictures no older than x days.

Problem: Selecting 'new' pictures means the pictures are static with only the same last ~5 pics showing all the time. Selecting 'Random' pics shows pics 5 years old as well as newer pics, with no way to weight the display towards newer pics.
Reply With Quote
  #188  
Old 10 Apr 2010, 20:39
YankForum's Avatar
YankForum YankForum is offline
 
Join Date: Mar 2010
Real name: alij
installed on 4.0.1 and is working great
Reply With Quote
  #189  
Old 10 Apr 2010, 20:52
Farstate Farstate is offline
 
Join Date: Mar 2004
Originally Posted by abroad View Post
does not work with 4.03...

This product is not compatible with version 4.0.3 of vBulletin. (Compatible starting with 4.0.2 / Incompatible with 4.0.3 and greater)
I can confirm this - does not work with 4.03.

To replicate:
  • Upgraded forum to 4.03
  • Tried to install product-gallery-107.xml
  • Error given as above
Reply With Quote
  #190  
Old 10 Apr 2010, 21:02
Farstate Farstate is offline
 
Join Date: Mar 2004
Further to my previous post, the following work-around got the gallery mod working:
  1. In product-gallery-107.xml, find line 10 (<dependency dependencytype="vbulletin" minversion="4.0.2" maxversion="4.0.3" />)
  2. Changed 4.0.3 to 4.0.4 (<dependency dependencytype="vbulletin" minversion="4.0.2" maxversion="4.0.4" />)
Reply With Quote
  #191  
Old 10 Apr 2010, 21:15
Vaupell's Avatar
Vaupell Vaupell is offline
 
Join Date: Apr 2008
Real name: Martin
dont need it, but rated 5 stars for being an awsome mod!

good work, tested on dev board, works.
__________________
My website Evisystems
- - - Stuff - - -
follow the white rabbit, feed! your head
Reply With Quote
  #192  
Old 10 Apr 2010, 23:47
zelnik zelnik is offline
 
Join Date: Aug 2008
Getting the following error when trying to install on 4.0.3

The following dependencies were not met:

1. This product is not compatible with version 4.0.3 of vBulletin. (Compatible starting with 4.0.2 / Incompatible with 4.0.3 and greater)

Any help would be appreciated.
Reply With Quote
  #193  
Old 11 Apr 2010, 01:46
wickedstangs wickedstangs is offline
 
Join Date: Mar 2007
Real name: Emilio
Originally Posted by Farstate View Post
Further to my previous post, the following work-around got the gallery mod working:
  1. In product-gallery-107.xml, find line 10 (<dependency dependencytype="vbulletin" minversion="4.0.2" maxversion="4.0.3" />)
  2. Changed 4.0.3 to 4.0.4 (<dependency dependencytype="vbulletin" minversion="4.0.2" maxversion="4.0.4" />)
Thank You works great...
__________________
www.mustangsvstheworld.com
Reply With Quote
  #194  
Old 11 Apr 2010, 23:23
ferret99gt ferret99gt is offline
 
Join Date: Apr 2006
Seems to have some issues in 4.0.3, pictures and the frames they're set in aren't flush, text is cut off and the pictures extend past their frame. Tested in IE8 and FF3.6
Reply With Quote
  #195  
Old 11 Apr 2010, 23:38
SuperGLS SuperGLS is offline
 
Join Date: Nov 2004
Seems to work fine in 4.0.3 for me with no changes necessary (in Safari 4).
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 00:41.

Layout Options | Width: Wide Color: