Ive just installed gallery 2.1.2 on vb3.6.4 and just thought i'd share my experiences based on having vb installed under /forums and the gallery under /forums/gallery2
After following the instructions in the first post none of the g2 images/javascript/css files were being called correctly (the html was showing src="forums/gallery2.." instead of src="/forums/gallery2..") The important variables were originally set like this: require_once('/home/thrasher/public_html/forums/gallery2/embed.php'); 'embedUri' => '/gallery2.php' 'g2Uri' => 'http://www.mysite.com/forums/gallery2' i found changing these two got everything working: 'embedUri' => 'gallery2.php' 'g2Uri' => '/forums/gallery2' |
Quote:
i still have to upgrade.. thanks for the headsup man! |
Quote:
I've attached a pic with a dummy user I made to show you what I mean. There are no options to add pics when a new account is made automatically. Cheers Travis |
Never mind, I figured it out.
Fatal error: Call to a member function on a non-object in /home/********/public_html/forum/gallery2.php on line ### this error is caused by deleting a user in gallery2's user db, but not removing there external id from the db. after I did that, it all works again. |
1 Attachment(s)
Quote:
The problems I have so far with this integration are: - no default sub-album built for each new user - users can set own permissions and settings for albums (I don't need 5 mb raw pictures on my web server) The script needs to built a default album set off of the main gallery album permissions, then set permissions for the each user and the registered user group automatically. Is it supposed to do that now or is that something I need to add? |
Quote:
It should go after this line (aprox line 76) 'activeUserId' => $uid)); Add this line after: ---------------------------------------- if ($vbulletin->userinfo[usergroupid] == 5 or $vbulletin->userinfo[usergroupid] == 6 or $vbulletin->userinfo[usergroupid] == 7 or $vbulletin->userinfo[usergroupid] == 39 or $vbulletin->userinfo[usergroupid] == 43) { ---------------------------------------- Change the number after the == to whatever vB usergroups ID# you want to allow Album & photo posting access to. and add a } after this line of the 2nd. else statement to make 3 } ex: Should look like this (aprox line to add in area of line 123: if ($ret) { print $ret->getAsHtml(); return false; } } else { echo '<HR>line: '.__LINE__.', G2 did not return a success status. Here is the error message from G2: <br />'.$ret->getAsHtml(); return false; } } else { echo '<HR>line: '.__LINE__.', G2 did not return a success status. Here is the error message from G2: <br />'.$ret->getAsHtml(); return false; } } } //<----- Add this } // ------------------------------------------- With the owner admin account on gallery 2 be sure edit your guest, regestered user permisions for the main gallery page. hope that helps. |
Quote:
Basically the way I did it was I logged into the standalone login as the admin and created a gallery. I then set permissions on that gallery to allow registered users to create albums of their own. The problem arises because a register user has way to much freedom when creating their own album. I want a user to be able to create sub-albums, but force them to use the settings from the parent albums so they are not uploading 2000 pixel images. In addition, the standalone version will create a default album for the user and switch them to that album when they are first created. The integration script does not yet do that. I will probably change that here fairly soon, as soon as I can get the permissions problem figured out. |
Hello All,
my question : Would it be possible - to have Gallery on one server and vB on another (to save bandwidth on the vB server ) and though just 1 login system ? or - to have Gallery and vB on the same server (which would share the same registration process) and store all the media files on another server ? By other server I mean another domain Thanks |
I'm getting this error when trying to add a user in the VB Admin Control Panel after installing the plugins. I modified the paths and followed all of the directions...
User Manager Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/rjmdiam/public_html/olfaithful/forums/includes/class_dm_user.php(1657) : eval()'d code on line 10 |
For anyone who experienced blank pages: I kept getting a normal page when every unregistered guest got a blank one. Turns out it was simply a matter of I had added the 'gallery2' template to one style set, and my default style set was something different.
Felt really stupid, but at least it was an easily fix :) Just something to keep in mind! |
All times are GMT. The time now is 03:47 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|