Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Picture and Album Gallery Details »»
Picture and Album Gallery
Version: 1.09, by HCGB HCGB is offline
Developer Last Online: Oct 2012 Show Printable Version Email this Page

Category: Add-On Releases - Version: 4.1.0 Rating:
Released: 03-09-2010 Last Update: 01-11-2011 Installs: 1361
Uses Plugins Auto-Templates
Re-useable Code Additional Files Translations  
No support by the author.

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

File Type: zip vb4 Gallery 108.zip (9.6 KB, 3031 views)
File Type: zip vB4 Gallery 109.zip (9.6 KB, 4925 views)

Screenshots

File Type: jpg albs.jpg (86.0 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #592  
Old 08-13-2011, 07:46 PM
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Posts: 3,085
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes please remember to mark the code as "reusable", otherwise the copyright cops won't let anyone release anything remotely resembling it.
Reply With Quote
Благодарность от:
NTMID8
  #593  
Old 08-13-2011, 08:21 PM
orangefive orangefive is offline
 
Join Date: Nov 2009
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

HCGB - great mod, installed and love it so thanks for your time and releasing this so people like me can use and enjoy it...

... anyone know anyway of making it so that group albums also display under Album Gallery?
Reply With Quote
  #594  
Old 08-13-2011, 10:48 PM
hoadiem hoadiem is offline
 
Join Date: Aug 2007
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi, i'm using v1.0.8 for my vb4.0 , and i install the one for navtab but the tab is too big , it takes all the rest of my tab place?
Reply With Quote
  #595  
Old 08-14-2011, 12:37 AM
NTMID8 NTMID8 is offline
 
Join Date: Feb 2004
Posts: 187
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by HCGB View Post
OK guys - I no longer have access to a vB license therefore there will be no enhancements made to this mod (unless someone else wants to take it over). I'm happy to check out any bugs (although none have been reported in over a year) but I won't be adding any additional features. As I said at the start, this is a picture viewer - it was never intended to be more than that.
Thank you, John.

So the code is marked re-usable now. Any other coders out there want to take a crack at looking at some of the requests and making this great mod even better?
Reply With Quote
  #596  
Old 08-14-2011, 01:33 AM
The Rocketeer's Avatar
The Rocketeer The Rocketeer is offline
 
Join Date: Jun 2010
Posts: 319
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by HCGB View Post
OK guys - I no longer have access to a vB license therefore there will be no enhancements made to this mod (unless someone else wants to take it over). I'm happy to check out any bugs (although none have been reported in over a year) but I won't be adding any additional features. As I said at the start, this is a picture viewer - it was never intended to be more than that.

BTW: some of the "feature requests" are already available in the basic vB install - take time to understand how vB works and you'll figure it out - I don't have the time to hold peoples hands I'm afraid
Well I am more than happy to let you use my license / test forum to improve this mod.
No offence to you, I have been using this mod on all my forums for the last one year and its a good mod.

But you have to understand that we already know how vBulletin works(most of it anyway) and the feature so to say I was asking isn't a feature at all. Its a enhancement to this mod so that all the images in the first page is shown as thumbnails instead of whatever the thumbnail size is set at our vbulletin ACP.

For example, if we set our thumbnails to something bigger then all the album preview images show up as big. What I was asking is to code your mod in a way so that it "DEPRECIATES" the forum thumbnail settings and uses its own thumbnail / picture preview settings.

I am not asking you to hold out hands here:erm:

//end rant



Quote:
Originally Posted by NTMID8 View Post
Yeah, but it does not hurt to ask either, does it? Some coders only want to share what they wrote for their needs and let that be the end of it. Others enjoy the challenge of new requests.

I have actualy gotten in touch with the coder and he no longer has access to vB to be able to develop or support, but may do something if he can get access which I am discussing with him. Additionally, he may give permission for other coders to pick up his mod and continue development.

The only thing not asking does is hinder further development.
Exactly.
Well, as I said these are just some of the basic features, maybe one or two. I am more than happy to give him permission to use my board to work on his mod. Otherwise I guess we'll have to look for another coder, Do you know mooff, the german guy who made the nivo slider mod? https://vborg.vbsupport.ru/showthread.php?t=267024 we could ask him too.
Reply With Quote
  #597  
Old 08-14-2011, 07:34 AM
HCGB HCGB is offline
 
Join Date: Apr 2008
Location: Scotland
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I released this mod (and others) to try to put something back in return for the information and support given by others - I (like most other mod authors) don't get paid to do this (in fact only one out of the 1K users of this mod thought it was worth 5 bucks - not that I'm bothered as that wasn't the reason for releasing it ).

Rocketeer, you don't want this mod - what you want is a mod that looks like this but also does other stuff. It's a non-trivial job adding enhancements, the coding/debug/test cycle would be many hours work which would eat into the time I need to spend earning money. Why not use this code and do it yourself - the vB learning curve is probably around 6 months for a non-coder (it was for me)?

A said I'm more than happy for anyone to use the code to develop this mod further but that's as far as it goes.
Reply With Quote
2 благодарности(ей) от:
bintoro, Ig@r
  #598  
Old 08-15-2011, 04:23 PM
stud stud is offline
 
Join Date: May 2004
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for everything you've done HCGB. This mod works just fine for what I need it for.

Anyone know if there is a vBexperience plugin around for this mod?
Reply With Quote
  #599  
Old 08-15-2011, 09:33 PM
MonkYZ MonkYZ is offline
 
Join Date: Jul 2008
Posts: 334
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can somebody please help me with this huge problem? Every image that's larger than the fixed website size (1200 px width) is not beeing resized nor fitted into the page, expanding too much and breaking the website layout.

I will attach a screen with the issue. Thank you in advance!
Attached Images
File Type: jpg 2011-08-16_012743.jpg (60.1 KB, 0 views)
Reply With Quote
  #600  
Old 08-17-2011, 01:46 AM
The Rocketeer's Avatar
The Rocketeer The Rocketeer is offline
 
Join Date: Jun 2010
Posts: 319
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MonkYZ View Post
Can somebody please help me with this huge problem? Every image that's larger than the fixed website size (1200 px width) is not beeing resized nor fitted into the page, expanding too much and breaking the website layout.

I will attach a screen with the issue. Thank you in advance!
the original author doesn't work on vBulletin anymore, this was a great mod, but he wont be able to support it much from due to stuff in his own life. now but the code is re usable so I asked another coder is he would kindly take it over for us.
Reply With Quote
Благодарность от:
NTMID8
  #601  
Old 08-17-2011, 09:48 AM
MonkYZ MonkYZ is offline
 
Join Date: Jul 2008
Posts: 334
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by The Rocketeer View Post
the original author doesn't work on vBulletin anymore, this was a great mod, but he wont be able to support it much from due to stuff in his own life. now but the code is re usable so I asked another coder is he would kindly take it over for us.
Well, is bad to hear that. Anyway i kinda fixed that issue by replacing the <img with <img width="800px" in album_pictureview. Hope it helps you too. Unfortunatelly, the small images will also be resized...
Reply With Quote
Благодарность от:
The Rocketeer
Reply


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


All times are GMT. The time now is 09:28 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05770 seconds
  • Memory Usage 2,377KB
  • Queries Executed 28 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (17)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete