The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Picture and Album Gallery Details »» | |||||||||||||||||||||||||||||||
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
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
Screenshots
Show Your Support
|
12 благодарности(ей) от: | ||
Detomah, flash84, Insta-Gator, K4GAP, RichieBoy67, sodasusu, Terminal-Access, theorigin79, Travis-Mc, upfrontideasuk, wrang, zascok |
Comments |
#502
|
|||
|
|||
Thanks it worked thanks a bunch
|
#503
|
||||
|
||||
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. |
#504
|
||||
|
||||
Quote:
|
#505
|
||||
|
||||
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.
|
#506
|
||||
|
||||
Quote:
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. PHP Code:
PHP Code:
|
#507
|
||||
|
||||
Quote:
I'll post the product XML in a minute. |
#508
|
||||
|
||||
Quote:
This product will do the following for you...
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). |
Благодарность от: | ||
archet1337 |
#509
|
||||
|
||||
i just get a white screen... all installed ok..
|
#510
|
|||
|
|||
<a href="http://www.lyalybagdad.com/albumall" target="_blank">http://www.lyalybagdad.com/albumall</a>
|
#511
|
|||
|
|||
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?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|