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.
Great mod...I love it!! The only two things I would add to it is one that would just show who's user gallery it is on the listing and it not show the galleries that are private. Other then that I think it's great. Simple but clean!!
Nope as the u=1 ensures the code acts as an album list, when a user is not logged in.
How do we keep guests from viewing the list? Or am I missing something here?
The reason I am asking is I run a Fathers' Rights Site and I really don't want any perverts trolling the site looking for victims as we do have a few pictures of members' children in there.
See worked the same explanation
But when the transition to a second page shows only the first page (only 10 albums)
Aita and is not available for visitors
Great mod...I love it!! The only two things I would add to it is one that would just show who's user gallery it is on the listing and it not show the galleries that are private.
Have changed it, so that only public albums are viewable, , and will add to mod soon.
Quote:
Originally Posted by 7lanet
See worked the same explanation
But when the transition to a second page shows only the first page (only 10 albums)
Aita and is not available for visitors
Have added a workaround for this, and will add to mod soon.
Quote:
Originally Posted by kevinfx
on the table header, it always says "admin's album" because user id = 1 is the admin
Am aware of this, but template changes will be needed, and I will probably do that with the version after this one. I also hope to add the username beside the album name.
Don't know if I'm allowed to do that?
I say that as this mod modifies existing vbulletin native code, so I would imagine it would go against Jelsofts licence agreements?
Maybe someone else might let us know what is / is not allowed?