TheHideoutGuy
09-24-2001, 10:00 PM
After a crash course learning PHP, vBulletin, and vbPortal I've managed to come up with an add-on/hack based on the Nuke5 hack that is included in the package. To those experienced PHP programmers, please be kind this is my first official PHP project! ;)
For those who are interested you can download gallery at http://gallery.sourceforge.net and vbPortal can be had at http://www.phpportals.com
This add-on consists of a folder that you install in the classes subdir which contains the database class for vBulletin. You also have to make some modifications to a couple Gallery files and real simple and minor modifications to 2 vbPortal files.
This hack uses the vB user database for assigning permissions to the various albums. It's not complete by any means, and be forewarned that the album permissions page wants to load the entire user database each time, which is obviously not good for larger sites.
Probably in future releases I'm going to remove the Nuke stuff altogether in an attempt to speed up the script, but for the moment I have left it in.
For those who don't want to run vbPortal it is entirely possible to hack init.php in gallery to always use the vBulletin database class, but I am not packaging it that way because I am using vbPortal.
Enjoy!
For those who are interested you can download gallery at http://gallery.sourceforge.net and vbPortal can be had at http://www.phpportals.com
This add-on consists of a folder that you install in the classes subdir which contains the database class for vBulletin. You also have to make some modifications to a couple Gallery files and real simple and minor modifications to 2 vbPortal files.
This hack uses the vB user database for assigning permissions to the various albums. It's not complete by any means, and be forewarned that the album permissions page wants to load the entire user database each time, which is obviously not good for larger sites.
Probably in future releases I'm going to remove the Nuke stuff altogether in an attempt to speed up the script, but for the moment I have left it in.
For those who don't want to run vbPortal it is entirely possible to hack init.php in gallery to always use the vBulletin database class, but I am not packaging it that way because I am using vbPortal.
Enjoy!