[Scandal's] vBGallery
Description
Turn your vBulletin Album system to an organized Gallery. http://www.e-student.gr/my/vbgallery/vb4/vbgallery.html! The basic idea of Scandal's vBGallery is to organize vBulletin Albums AND forum attachments (pictures) to a section with lots of functions (categories, search, latest objects, statistics, menus etc). Designed for vBulletin 4.2.0 (otherwise you must add the navbar links manually Spoiler (click to open)
How to install Gallery's navigation tab and links for vB4.0.X - 4.1.X users
1. Open template "navbar" and find: Code:
<vb:if condition="!$vboptions['selectednavtab'] AND THIS_SCRIPT != 'search'"> Code:
<vb:if condition="!$vboptions['selectednavtab'] AND THIS_SCRIPT != 'search' AND THIS_SCRIPT != 'sc_gallery' AND THIS_SCRIPT != 'album'"> Code:
{vb:raw template_hook.navtab_end} Code:
<vb:if condition="!$vboptions['selectednavtab'] AND THIS_SCRIPT == 'sc_gallery' OR THIS_SCRIPT == 'album'"> <li class="selected"><a class="navtab" href="{vb:link forumhome}">{vb:rawphrase sc_gallery}</a> <ul class="floatcontainer"> <vb:if condition="$show['member']"> <li class="popupmenu"> <a href="javascript://" class="popupctrl">My Stuff</a> <ul class="popupbody popuphover"> <li><a href="album.php?{vb:raw session.sessionurl}">My Albums</a></li> <li><a href="album.php?{vb:raw session.sessionurl}do=addalbum" rel="nofollow">Add Album</a></li> <li><a href="gallery.php?{vb:raw session.sessionurl}do=mycomments" rel="nofollow">My Comments</a></li> <li><a href="gallery.php?{vb:raw session.sessionurl}do=pending" rel="nofollow">Pending Albums</a></li> </ul> </li> </vb:if> <li><a href="gallery.php?{vb:raw session.sessionurl}do=latestpictures">Latest Pictures</a></li> <li><a href="gallery.php?{vb:raw session.sessionurl}do=latestalbums">Latest Albums</a></li> <li><a href="gallery.php?{vb:raw session.sessionurl}do=latestcomments">Latest Comments</a></li> <li><a href="gallery.php?{vb:raw session.sessionurl}do=search">Search</a></li> </ul> </li> <vb:else /> <li><a class="navtab" href="gallery.php">{vb:rawphrase sc_gallery}</a></li> </vb:if> Close
Features: - Categories system for Albums (like Forums for threads) - Five (5) levels of subcategories allowed - Album, picture and comment search - Who browsing Gallery (= Gallery Home, Albums, Pictures) - Gallery statistics - Forum attachments gallery (with ability to act it as category) - Pages: latest pictures - latest albums - latest comments (with feature to turn them to "All") - "My Comments" feature (display all user comments) - My Pictures/Albums in "this" category - Ability to set custom statusicons to categories - Notifications to users with "uncategorized" albums to move them - Ability to hide empty categories (= with 0 albums) - Admincp environment - No annoying copyright info Language Packs: - Deutsch (Sie) - Deutsch (Du) Spoiler (click to open)
Hi there,
I did the German translation - Deutsch (Sie) - for Scandal's gallery. If you like to use it, just download the xml-file. To install the language file:
Install instructions in german language:
Edit (21.06.2012): File - Deutsch (Sie) updated File - Deutsch (Du) added Edit (27.06.2012): File - Deutsch (Sie) updated File - Deutsch (Du) updated Best regards L.R. Close
Installation: 1. Upload all files of folder "upload" to your forum root. 2. Import *xml product. 3. (Important) Open template album_edit and find: HTML Code:
<fieldset class="blockrow">
HTML Code:
<vb:if condition="$vboptions['sc_gallery_onoff']"> {vb:raw formdata.catid} </vb:if> Upgrade: 1. FIRST OF ALL: Upload and replace all files of folder "upload" to your forum root. 2. THEN: Import XML product with "Allow Overwrite" to YES. Who can view vBGallery; Access to vBGallery has all members who belongs to usergroups with "Can View Albums" to YES. What if I decide to turn off or uninstall vBGallery; You are back to Albums without data lose (except the category of each Album - function of this hack). How could I change the size of Gallery's thumbnails? vBGallery use the thumbnail size you have set via admincp. To change it go to: Admincp > Options > Message Attachment Options ... and set your value to "Thumbnail Size" ... afterwards you must rebuild attachment thumbnails at: Maintenance > General Update Tools > Rebuild Attachment Thumbnails How to install navbar links (for vBulletin 4.0.X - 4.1.X) Read this post Spoiler (click to open)
How to install Gallery's navigation tab and links for vB4.0.X - 4.1.X users
1. Open template "navbar" and find: Code:
<vb:if condition="!$vboptions['selectednavtab'] AND THIS_SCRIPT != 'search'"> Code:
<vb:if condition="!$vboptions['selectednavtab'] AND THIS_SCRIPT != 'search' AND THIS_SCRIPT != 'sc_gallery' AND THIS_SCRIPT != 'album'"> Code:
{vb:raw template_hook.navtab_end} Code:
<vb:if condition="!$vboptions['selectednavtab'] AND THIS_SCRIPT == 'sc_gallery' OR THIS_SCRIPT == 'album'"> <li class="selected"><a class="navtab" href="{vb:link forumhome}">{vb:rawphrase sc_gallery}</a> <ul class="floatcontainer"> <vb:if condition="$show['member']"> <li class="popupmenu"> <a href="javascript://" class="popupctrl">My Stuff</a> <ul class="popupbody popuphover"> <li><a href="album.php?{vb:raw session.sessionurl}">My Albums</a></li> <li><a href="album.php?{vb:raw session.sessionurl}do=addalbum" rel="nofollow">Add Album</a></li> <li><a href="gallery.php?{vb:raw session.sessionurl}do=mycomments" rel="nofollow">My Comments</a></li> <li><a href="gallery.php?{vb:raw session.sessionurl}do=pending" rel="nofollow">Pending Albums</a></li> </ul> </li> </vb:if> <li><a href="gallery.php?{vb:raw session.sessionurl}do=latestpictures">Latest Pictures</a></li> <li><a href="gallery.php?{vb:raw session.sessionurl}do=latestalbums">Latest Albums</a></li> <li><a href="gallery.php?{vb:raw session.sessionurl}do=latestcomments">Latest Comments</a></li> <li><a href="gallery.php?{vb:raw session.sessionurl}do=search">Search</a></li> </ul> </li> <vb:else /> <li><a class="navtab" href="gallery.php">{vb:rawphrase sc_gallery}</a></li> </vb:if> Close
*Links (for vBulletin 4.0.X - 4.1.X) http://img38.imageshack.us/img38/4360/navbarlinks.png GALLERY: ->/gallery.php My Stuff: (My Albums)-> /album.php (Add Album)-> /album.php?do=addalbum (My Comments)->/gallery.php?do=mycomments (Pending Albums)->/gallery.php?do=pending (Latest Pictures)->/gallery.php?do=latestpictures (Latest Albums)->/gallery.php?do=latestalbums (Latest Comments)->/gallery.php?do=latestcomments (Search)->/gallery.php?do=search Changelog: v1.0 first release (beta) v1.2 second release - New layout choice for galleridisplay: Grid layout with feature to change the width of albumbits via admincp - Integration of vBulletin's sidebar with Gallery Home (admin can enable or disable it on admincp) - New feature: flood check and character limit check for the search engine - Improved breadcrumb (add category name to navbit) ("Gallery > {category name} > Member List > {username} > Albums > {album name}" ) - "Inverse pyramid like" statistics for categories [a main category "has" the albums of its subcategories - like forum statistics (threads/posts) works for subforums] - New feature: admin can enable/disable the view of empty categories (= categories with 0 Albums) - New feature: admin can enable/disable the use of search engine by guests - Building of Gallery Statistics by cronjob (= refresh every one hour). Very important for server performance. - 1 bug fixed v1.5 third release - Classic layout abolished - New: Notification feature = users with Albums in category "Uncategorized" auto-notified by the system to move them to a subject category (pending albums) - New feature: admin can set if he want him users to display Albums or Pictures when open the categories. - New: menus "Browse Albums" & "Browse Pictures" on Gallery Display (user can navigate the albums/pictures in the category) - New: My albums/pictures in "this" category feature - Admincp environment improved (List Albums) - 3 bugs fixed v1.6 fourth release - Galleryhome: fixed the view of description for header categories - New feature: ability to add custom statusicons to categories (http://www.vbulletin.org/forum/attach/images/139239.png) - 1 phrase undefined variable fix - pending albums: 1 bug fixed v2.0 fifth release - New feature: forum pictures attachment gallery (with ability to turn it as gallery category) - search feature for attachment gallery - 1 phrase issue fixed - 1 bug fixed v2.1 - better attachments gallery popup Developer's notice: I give support only for code errors, not for style problems. Tested on vBulletin 4.2.0 Download
sc_vbgallery_v2.1.zip (929.1 KB, 930 downloads) Screenshots |