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: 7775
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:	20085
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 03:45

  #31  
Old 10 Mar 2010, 17:28
archet1337's Avatar
archet1337 archet1337 is offline
 
Join Date: Sep 2009
Real name: Olav
I have uploaded the files to forum root and imported the xml file.

Dropdown menu isn't showing and when I try to access the files directly i get the following messages:

albumall.php

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

pictureall.php
Page not found
Running 4.0.2 PL1
__________________
Administrator @ RadioCtrl Forums - Your online R/C community.
Reply With Quote
  #32  
Old 10 Mar 2010, 17:48
HCGB HCGB is offline
 
Join Date: Apr 2008
Real name: John
Originally Posted by archet1337 View Post
I have uploaded the files to forum root and imported the xml file.

Dropdown menu isn't showing and when I try to access the files directly i get the following messages:

Running 4.0.2 PL1
Sounds like the install isn't correct. Check the plugin manager lists the gallery menu and that the picall.php file is in your forum directory.

Last edited by HCGB; 10 Mar 2010 at 19:12.
Reply With Quote
  #33  
Old 10 Mar 2010, 18:18
HCGB HCGB is offline
 
Join Date: Apr 2008
Real name: John
Originally Posted by KristerSwe View Post
Confirme here too after the update all works perfect....but

i have a [Suggestion] Language phrases when i run multilang site..
Any planes to upgrade it... ?
Yes, once i work out how to use the phrasing system I'll do it!

Originally Posted by Alien View Post
Is there an option available not to do the auto-edits, if you do not use the built-in vBulletin navigation system?
Or a plug-in I should disable? Once that's resolved, I'll be taking advantage of this immediately!
There are no edits made to any vb files or templates and only a single hook location is used in the navbar. You could disable the gallery plugi-n and edit the scripts to substitute your own navbar, etc, then call the PHP scripts directly from your own code.
Reply With Quote
  #34  
Old 10 Mar 2010, 18:40
archet1337's Avatar
archet1337 archet1337 is offline
 
Join Date: Sep 2009
Real name: Olav
Originally Posted by HCGB View Post
Sounds like the install isn't correct. Check the plugin manager lists the gallery menu and that the picall.php file is in your forum directory.
Just to be sure I uninstalled it and installed again. No error. Product Installed.

Both files is in my forum /root

In plugin manager "Gallery popup menu" is listed as active.

Still nothing.. this is weird.
__________________
Administrator @ RadioCtrl Forums - Your online R/C community.
Reply With Quote
  #35  
Old 10 Mar 2010, 18:46
cindy helmond's Avatar
cindy helmond cindy helmond is offline
 
Join Date: Feb 2006
Real name: cindy
Originally Posted by cindy helmond View Post
me to !!
See ATT
thx for update working now !!
Reply With Quote
  #36  
Old 10 Mar 2010, 18:51
Alien's Avatar
Alien Alien is offline
 
Join Date: Oct 2001
Lightbulb

Originally Posted by HCGB View Post
There are no edits made to any vb files or templates and only a single hook location is used in the navbar. You could disable the gallery plugi-n and edit the scripts to substitute your own navbar, etc, then call the PHP scripts directly from your own code.
Hey,

Doesn't the act of calling that hook use resources, or am I mistaken? I'd like a way to disable this mod attempting to use that hook, and just add all the nav links myself manually into my system.
__________________
-Jason / WTF!?
Reply With Quote
  #37  
Old 10 Mar 2010, 19:10
Kolbi's Avatar
Kolbi Kolbi is offline
 
Join Date: Mar 2009
Real name: Matthias
thank you!!!

Works for me...

Perhaps a Tab at the Top could be nice:
Content Forum Gallery
Reply With Quote
  #38  
Old 10 Mar 2010, 19:11
HCGB HCGB is offline
 
Join Date: Apr 2008
Real name: John
Originally Posted by Alien View Post
I'd like a way to disable this mod attempting to use that hook, and just add all the nav links myself manually into my system.
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.


Originally Posted by archet1337 View Post
Just to be sure I uninstalled it and installed again. No error. Product Installed.
Still nothing.. this is weird.
Yes, it is weird If the gallery menu isn't appearing in the navbar then the hook location isn't in the navbar template (or the vb system has been severely hacked). try disabling any other nav mods you have.
Reply With Quote
  #39  
Old 10 Mar 2010, 19:12
Kolbi's Avatar
Kolbi Kolbi is offline
 
Join Date: Mar 2009
Real name: Matthias
Perhaps you can phrase your hack because I would like to translate it for me to German
Reply With Quote
  #40  
Old 10 Mar 2010, 19:13
horussjr horussjr is offline
 
Join Date: Feb 2010
Real name: A Robert
Originally Posted by Kolbi View Post
Perhaps a Tab at the Top could be nice:
Content Forum Gallery
I totally agree. would like nice as a tab instead of a menu in navbar. thx. installed
Reply With Quote
  #41  
Old 10 Mar 2010, 19:20
Kolbi's Avatar
Kolbi Kolbi is offline
 
Join Date: Mar 2009
Real name: Matthias
I have issue then viewing the gallery tab in IE8 as a guest.
Reply With Quote
  #42  
Old 10 Mar 2010, 19:21
sinikuk sinikuk is offline
 
Join Date: Oct 2009
Originally Posted by horussjr View Post
I totally agree. would like nice as a tab instead of a menu in navbar. thx. installed
+1
Reply With Quote
  #43  
Old 10 Mar 2010, 20:17
Jabong82 Jabong82 is offline
 
Join Date: Feb 2010
Works Great for me. Nominated and installed!

Edit: One question, is there any way to get it so that the username who posted the photo/album will appear on this as opposed to just the album titles themselves?

Thank you!
Reply With Quote
  #44  
Old 10 Mar 2010, 20:31
Kolbi's Avatar
Kolbi Kolbi is offline
 
Join Date: Mar 2009
Real name: Matthias
Perhaps an additional function could be sorting the pictures sorted by last comment?
Reply With Quote
  #45  
Old 10 Mar 2010, 21:35
abroad abroad is offline
 
Join Date: Mar 2007
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
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
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 15:56.

Layout Options | Width: Wide Color: