Quote:
Originally Posted by scan-pa
Do you have your vB 3.6.4 usergroup permisions set in the gallery2.php file?
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.
|
this guy has the right idea! that code that you are talking about is the code that i contributed... i did not create the thread so i have no editing power over it
side note: a few weeks ago i edited Gallery2's site to point to MY gallery integration so that people know this project is still alive

just to make you all aware
Quote:
Originally Posted by reverse1312
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 dont see why not, gallery and VBB on separate servers is probably do able as well as gallery and VBB on the same server, btu the image store on another server is easyer to do IMO...
gallery and VBB on another server: i think woudl be more complicated. you would have to point the integration script to the other server, im not sure how happy VBB/Gallery would be with this, but i dont see why it would not work
VBB and Gallery on the same, images on another: this is the easyer of the two to do(i think). when you install gallery just point the image store directory to the other server(or however your prefered method would be) and then go forth like normal. depending how gallery acts with this all woudl be fine. this question would be better directed at Gallery2.org though... they know the software much better than I. i can only guess as of to how it works
Quote:
Originally Posted by rjdpa
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
|
i have never used the plugin and had it working. but all i can recommend is that you tripple check the paths and the variables they want.. aka absolute path and... the other path, whatever its name is