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: 1361
Released: 10 Mar 2010 Last Update: 12 Jan 2011 Downloads: 7790
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:	20132
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

  #691  
Old 03 Jun 2012, 23:11
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Anyone know please?
__________________
...............................
Talk Jesus Forums: Christian Chat
games . chat . gallery . bible . videos
Reply With Quote
  #692  
Old 04 Jun 2012, 21:18
aberg aberg is offline
 
Join Date: Jul 2004
Well you can do it easy bij the navigation menu
As example
Make a new TAB like Albums
after that make new links

album.php?do=latest - Last Albums

albumall.php? - All Albums

album.php{session.sessionurl_q} - My Albums

album.php?do=addalbum - Add Album

picall.php? - Photogallery
Reply With Quote
  #693  
Old 04 Jun 2012, 22:54
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Your my albums method is not working for me though, not sure why

http://www.talkjesus.com/album.php{session.sessionurl_q}

Just redirects to home page.

Using Tabs vbSoporte mod
__________________
...............................
Talk Jesus Forums: Christian Chat
games . chat . gallery . bible . videos
Reply With Quote
  #694  
Old 06 Jun 2012, 19:51
aberg aberg is offline
 
Join Date: Jul 2004
I think with the new version Vbulletin you can uninstall Using Tabs vbSoporte mod and use the built in navigation menu from Vbulletin.
The {session.sessionurl_q} is a command what you can use in the navigation menu
Reply With Quote
  #695  
Old 06 Jun 2012, 20:07
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
You can't add drop down menu options
__________________
...............................
Talk Jesus Forums: Christian Chat
games . chat . gallery . bible . videos
Reply With Quote
  #696  
Old 07 Jun 2012, 15:57
gpinjason's Avatar
gpinjason gpinjason is offline
 
Join Date: Feb 2012
I just installed this, and its working great using the vB Navigation manager on 4.2.0, but when viewing All Albums or Photo Gallery, the "selected" tab moves back to Forum, instead of staying on Album. Does anyone know where to add the "THIS_SCRIPT" code to keep the Album tab selected when selecting these options?
Reply With Quote
  #697  
Old 07 Jun 2012, 16:07
Hippy's Avatar
Hippy Hippy is offline
 
Join Date: Dec 2001
Originally Posted by gpinjason View Post
I just installed this, and its working great using the vB Navigation manager on 4.2.0, but when viewing All Albums or Photo Gallery, the "selected" tab moves back to Forum, instead of staying on Album. Does anyone know where to add the "THIS_SCRIPT" code to keep the Album tab selected when selecting these options?
Set Append parent tab id to yes on the links and the tab to I believe
Reply With Quote
  #698  
Old 07 Jun 2012, 18:19
gpinjason's Avatar
gpinjason gpinjason is offline
 
Join Date: Feb 2012
Thanks Hippy! Although that didn't work completely, it did help point me in the right direction!

the links themselves don't have the option to append tab id. so I just went to the parent tab, got the tab id and on the links that needed it to show selected, I added ?tabid=xx to the end of the url.. works great!
Reply With Quote
  #699  
Old 07 Jun 2012, 19:17
Hippy's Avatar
Hippy Hippy is offline
 
Join Date: Dec 2001
Right that's part of Andreas mod..
Glad you got it tho

Last edited by Hippy; 07 Jun 2012 at 21:48.
Reply With Quote
  #700  
Old 08 Jun 2012, 10:59
muffel muffel is offline
 
Join Date: Mar 2007
I have the same problem. I want to mark the new "Album-Tab" as active, when clicked on any link in this pop-down-menu.

forum-screen.jpg

Can anyone please explain me again, how to do it?

We are using Vbulletin 4.1.12
Reply With Quote
  #701  
Old 08 Jun 2012, 13:31
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Originally Posted by Chadi View Post
Your my albums method is not working for me though, not sure why

http://www.talkjesus.com/album.php{session.sessionurl_q}

Just redirects to home page.

Using Tabs vbSoporte mod
Can someone please help me out?
__________________
...............................
Talk Jesus Forums: Christian Chat
games . chat . gallery . bible . videos
Reply With Quote
  #702  
Old 10 Jun 2012, 01:34
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Facing this weird issue where there is no album cover on some albums. Is this normal? If so, looks bad. Can the first uploaded pic to that album be set as default until member changes it to something else?
Attached Images
File Type: png album.PNG (67.1 KB, 32 views)
__________________
...............................
Talk Jesus Forums: Christian Chat
games . chat . gallery . bible . videos

Last edited by Chadi; 10 Jun 2012 at 02:06.
Reply With Quote
  #703  
Old 10 Jun 2012, 17:24
gpinjason's Avatar
gpinjason gpinjason is offline
 
Join Date: Feb 2012
Originally Posted by Chadi View Post
Facing this weird issue where there is no album cover on some albums. Is this normal? If so, looks bad. Can the first uploaded pic to that album be set as default until member changes it to something else?
I believe that's just part of vBulletin's Album software.. if the user doesn't select a picture for the album cover, there is no default..

what I did as admin was went in and selected a photo for the cover.
Reply With Quote
  #704  
Old 26 Jun 2012, 23:34
Smile :-) Smile :-) is offline
 
Join Date: Jul 2011
can someone confirm if this modification works with vBulletin 4.2.0?
Reply With Quote
  #705  
Old 27 Jun 2012, 00:20
Alibass's Avatar
Alibass Alibass is offline
 
Join Date: Mar 2007
yes it does...
__________________
Alibass
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 21:48.

Layout Options | Width: Wide Color: