![]() |
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! |
Crud... Wrong forum.. Sorry..
Mods - Please move to appropriate forum. Thanks. |
had a look in the full release forums but couldn't find this ?...anyway has anyone used this without Vbportal ?
Quote:
Thanx in advance :) |
One problem, When accessed through vBportal you get this error if you are not admin.
Fatal error: Call to a member function on a non-object in /home/virtual/site223/fst/var/www/html/modules/Gallery/classes/Album.php on line 1037 It works fine if you access it directly. that line, and surrounding lines are as follows Code:
function getPerm($permName, $uid) { the red line being 1037 |
does this work ? is there a vb home intergration ?
|
All times are GMT. The time now is 08:33 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|