Back to vBulletin 3.7 Add-ons

Status of PHP 8.5 support: Possible. Open Contacts for details.

Make a forum Gallery from User Albums
Mod Version: 1.02, by pipedreams

This modification is in the archives.
vB Version: 3.7.0 Beta 5 Rating: (2 votes - 4.50 average) Installs: 28
Released: 02 Mar 2008 Last Update: 02 Mar 2008 Downloads: 246
Not Supported Code Changes Additional Files Re-usable Code Translations Is in Beta Stage  

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
All Albums

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:
  1. Copy the default vbulletin album.php file and rename to (say) gallery.php
  2. Open this new file in a text / php editor and follow the instructions found in the attached galleryFromAlbumsMod.txt file.
  3. That's it!
DEMO:
  • http://www.badminton.ie/forum/gallery.php
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.

Download

This modification is archived, downloads are still allowed.

File Type: %1$s galleryFromAlbumsMod.txt (6.5 KB, 220 downloads)


vblts.ru supports vBulletin®, 2022-2025