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: 7812
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:	20178
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

  #496  
Old 22 May 2011, 07:04
bad2dbone bad2dbone is offline
 
Join Date: May 2011
can somebody help with this?
Reply With Quote
  #497  
Old 22 May 2011, 07:47
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Originally Posted by bad2dbone View Post
can somebody help with this?
I'm not sure how anyone can make it plainer than "copy the contents of the UPLOAD folder into your forum folder.".

If you've done that and are still having trouble, have you read this entire thread for a similar problem and a solution?
Reply With Quote
  #498  
Old 22 May 2011, 21:04
bad2dbone bad2dbone is offline
 
Join Date: May 2011
Ya but not quite sure what the forum folder is exactly called theres no folder on my ftp called that
Reply With Quote
  #499  
Old 22 May 2011, 21:36
Nightcop Nightcop is offline
 
Join Date: May 2011
same

Originally Posted by bad2dbone View Post
why do i get this where do i upload these files album mall.php n picall can any1 give me a detailed des on where to upload to file on my ftp?

Not Found

The requested URL /albumall.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache Server at www.horsepowertech.net Port 80
Same as what I get
Reply With Quote
  #500  
Old 22 May 2011, 21:58
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Originally Posted by bad2dbone View Post
Ya but not quite sure what the forum folder is exactly called theres no folder on my ftp called that
Maybe you just installed your forum into the root of your server. Not a good idea IMHO, but at any rate it's the folder with showpost.php and showthread.php.
Reply With Quote
  #501  
Old 23 May 2011, 05:11
bad2dbone bad2dbone is offline
 
Join Date: May 2011
Originally Posted by Videx View Post
Maybe you just installed your forum into the root of your server. Not a good idea IMHO, but at any rate it's the folder with showpost.php and showthread.php.
Thanks it worked thanks a bunch
Reply With Quote
  #502  
Old 23 May 2011, 09:37
clubvr4's Avatar
clubvr4 clubvr4 is offline
 
Join Date: Jul 2010
Does this mod allow for the following situation.

Admin creates album.
All Members can add to that album?

For example, i create a album for a car show our club went to, then all the people who attended can add their images (but not delete) to the same album, keeping everything uniform.

Cheers.
Reply With Quote
  #503  
Old 23 May 2011, 17:48
KW802's Avatar
KW802 KW802 is offline
 
Join Date: Jul 2003
Real name: Kevin
Originally Posted by clubvr4 View Post
Does this mod allow for the following situation.

Admin creates album.
All Members can add to that album?

For example, i create a album for a car show our club went to, then all the people who attended can add their images (but not delete) to the same album, keeping everything uniform.

Cheers.
No. This mod does not change the basic functionality of the stock vB "Albums" but rather presents the data in a different fashion.
__________________
Sci-Fi Forum / The Walking Dead & Horror Forum / CinVin

(Sorry, but I am no longer developing for vB; please do not PM. So long, and thanks for all the fish.)
Reply With Quote
  #504  
Old 23 May 2011, 17:56
KW802's Avatar
KW802 KW802 is offline
 
Join Date: Jul 2003
Real name: Kevin
Originally Posted by Wayne Luke View Post
... I didn't like that the Navtab presentation was a dropdown menu and different than my other tabs. So I edited the system to work like other tabs. ...
Mind if I run with your idea and post an update? I started with your original post but ran into a few issues (some missing curly braces to close the phrase names, sessionurl instead of sessionurl_q, etc.) and before I knew it I ended up adding code to cache the template (that will eliminate an extra query on every page) and also added a link for "Latest Albums" on the "What's New" tab.
__________________
Sci-Fi Forum / The Walking Dead & Horror Forum / CinVin

(Sorry, but I am no longer developing for vB; please do not PM. So long, and thanks for all the fish.)
Reply With Quote
  #505  
Old 24 May 2011, 00:43
Wayne Luke's Avatar
Wayne Luke Wayne Luke is offline
 
Join Date: Jan 2002
Real name: Wayne
Originally Posted by KW802 View Post
Mind if I run with your idea and post an update? I started with your original post but ran into a few issues (some missing curly braces to close the phrase names, sessionurl instead of sessionurl_q, etc.) and before I knew it I ended up adding code to cache the template (that will eliminate an extra query on every page) and also added a link for "Latest Albums" on the "What's New" tab.
That is fine.

Actually have the template cached in another plugin assigned to the cache_templates hook. Would be good to have it assigned to the product though. I have a product just for the site that contains the plugin currently.


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

Have a plugin to group the templates as well. It is assigned to the template_groups hook.


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

__________________
Wayne Luke
Get started with your own social network. Purchase and download vBulletin today.

Last edited by Wayne Luke; 24 May 2011 at 00:51.
Reply With Quote
  #506  
Old 24 May 2011, 03:07
KW802's Avatar
KW802 KW802 is offline
 
Join Date: Jul 2003
Real name: Kevin
Originally Posted by Wayne Luke View Post
...Have a plugin to group the templates as well. It is assigned to the template_groups hook. ...
One ahead of you.


I'll post the product XML in a minute.
__________________
Sci-Fi Forum / The Walking Dead & Horror Forum / CinVin

(Sorry, but I am no longer developing for vB; please do not PM. So long, and thanks for all the fish.)
Reply With Quote
  #507  
Old 24 May 2011, 03:21
KW802's Avatar
KW802 KW802 is offline
 
Join Date: Jul 2003
Real name: Kevin
Originally Posted by Wayne Luke View Post
... I didn't like that the Navtab presentation was a dropdown menu and different than my other tabs. So I edited the system to work like other tabs. ...
Attached is a vB product XML (done with vB 4.1.3) that started off as a result of Wayne posting his original alternate navbar idea (see the past few posts above for the rest of the details ).

This product will do the following for you...
  • Add a new "Gallery" button to your navbar in the same style as the stock vB buttons. The new templates will be cached.
    • After clicking "Gallery" you will then get links for "Album Gallery", "Picture Gallery", "Latest Albums", "My Albums", and "Add Album" in the sub-menu area.
  • Add a new "Latest Albums" link to your "What's New" button menu.
  • Group the various "Gallery" templates together.
Yep, just some very minor little things but it gives a clean overall integration feel. Attached are screen shots of what a logged in user will see.


EDIT: For those that may not have a lot of uploads, I recommend increasing the number of days for uploads to show up in the "Latest Albums" search results so that you're less likely to get a blank page when hitting that link (ACP => Settings => Options => User Profile: Album Options => Recent Album Update Days).
Attached Images
File Type: png NavBar.PNG (5.9 KB, 38 views)
File Type: png TemplateGrouping.PNG (4.6 KB, 38 views)
File Type: png WhatsNew.PNG (6.6 KB, 38 views)
Attached Files
File Type: xml product-cv_gallery_navbar.xml (3.2 KB, 16 views)
__________________
Sci-Fi Forum / The Walking Dead & Horror Forum / CinVin

(Sorry, but I am no longer developing for vB; please do not PM. So long, and thanks for all the fish.)

Last edited by KW802; 27 May 2011 at 02:56. Reason: Updated attachment so that the "Gallery" link is fully qualified.
Reply With Quote
  #508  
Old 24 May 2011, 21:10
doctorsexy's Avatar
doctorsexy doctorsexy is offline
 
Join Date: Apr 2011
Real name: Chris
i just get a white screen... all installed ok..
__________________
http://sandstormradio.org
Reply With Quote
  #509  
Old 24 May 2011, 21:38
lyalybagdad lyalybagdad is offline
 
Join Date: May 2011
http://www.lyalybagdad.com/albumall
Reply With Quote
  #510  
Old 24 May 2011, 23:45
nurga nurga is offline
 
Join Date: May 2011
This plugin is working great for me, I'd like to display a random image from the gallery on my home page. I'm curious where the plugin stores these images on the server for me to pull from?
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 01:03.

Layout Options | Width: Wide Color: