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.
- That's it!
DEMO: HISTORY: - 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.