Version: 1.02, by pipedreams
Developer Last Online: Dec 2022
Category: Social Group and Album Enhancements -
Version: 3.7.0 Beta 5
Rating:
Released: 02-29-2008
Last Update: 03-01-2008
Installs: 28
Re-useable Code Code Changes Additional Files Translations Is in Beta Stage
No support by the author.
UPDATE:
Well, there is another hack been released which is more or less the same as my initial hack, so I recommend that you all use that from now on https://vborg.vbsupport.ru/showthread.php?t=172215
INTRO:
This is a crude attempt at making a forum gallery from all the user albums on your vb 3.7.x forum.
I can imagine that there are many other better ways to achieve this, but I think my method is quick and easy enough to be shared with other users on this forum.
It is also my first attempt at a vbulletin hack, so forgive my naivety re all this.
STEPS:
Copy the default vbulletin album.php file and rename to (say) gallery.php
Open this new file in a text / php editor and follow the instructions found in the attached galleryFromAlbumsMod.txt file.
02.03.2008:1.02 - Changed code to make sure only public albums are shown, added clause for guest navigation when paging, and hide username from top navbar.
==
02.03.2008:1.01 - Changed code in order to page through all forum public user albums
==
01.03.2008: 1.00 - Initial basic gallery
NOTES:
You need to set "Can View Albums" to yes in usergroup permissions. The amount of albums per page is decided by the value in "Albums Per Page" in "User Profile: Album Options" in adminCP options.
===
The amount of albums per page is decided by the value in "Albums Per Page" in "User Profile: Album Options" in adminCP options.
==
User css has an effect on the gallery look. (I have defaulted it to userid 1)
COMING SOON:
Separate template for the gallery listing, which will enable the username to be displayed beside each respective album.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
The amount of albums per page is decided by the value in "Albums Per Page" in "User Profile: Album Options" in adminCP options.
Will update overall instructions very soon..
What i really meant was that when you go to /gallery.php, it displays all the albums that all the users have. Not just the admins... or is the admin on your forum the only one with an album?
What i really meant was that when you go to /gallery.php, it displays all the albums that all the users have. Not just the admins... or is the admin on your forum the only one with an album?
Yes on that forum, only admins have albums so far.
Quote:
Originally Posted by rolandogomez
Is there a way to get it to say only "Albums" instead of "X-user's Albums" on the category top? Thanks, rg.
With the next version, I will add a custom template, which will eliminate this issue..