![]() |
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! |
Quote:
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:
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:
|
I have a very strange problem. If you guys could help out that would be great.
So far this plugin has been working great. However, I recently noticed that Page 10 of the main album index does not work...everything else is fine. If you go to page 10, here is the error you get Quote:
|
I'm having a bit of a strange problem and I was hoping someone could help.
Using this embedded in the latest VB. The front page of the gallery works fine but when I go into an album to actually look at what's in it it seems to come out of embedded mode and is displayed full screen. It now no longer appears embedded despite the URL still being something like gallery2.php?g2_itemId=206. |
Where are the demos, screenshots, etc. for this from the author in the main post.
|
Quote:
Quote:
Quote:
http://www.RacersDen.net/forum/gallery.php is my gallery... thats about the best i got for you... |
Pardon me for sounding like an idiot, but I'm about frothing at the mouth in frustration after spending over an hour on this, and searching here and at the Gallery site does NO good because it gets way too many search results, exactly zero of which have anything to do with answering my question. Namely: What the holy heck am I supposed to actually DO with the "gallery-plugins.xml" file? Keep in mind that this is also my first real attempt to use Gallery2 (been too happy with Gallery1 on my other sites for all these years) so if this is some incredibly well known process in G2, I don't know it because I haven't used G2 before.
I'll be over here in the corner whimpering and twitching, awaiting some kind soul's response ---> I am adding this gallery as part of upgrading vbulletin, and so this is all on a test server at the moment. Anyway, I have the thing installed and quasi-functional, but as soon as you click on an album, you are whisked out of the embedded environment. Why? http://test.fathom.org/forums/gallery2.php |
I have a big Problem.
I have install the vb Version 3.6.4 and Gallery 2.1 When i logged in as M?cke it gives the follow problem... Code:
line: 98, Failed to create G2 user with extId [2152]. Here is the error message from G2: i dont know really... I hope some people can help me!!!!:confused: :confused: :confused: |
Hey guys,
Thanks for all the Great work and help here! I was able to install the embed and everything thing works. The problem im having now is the same as others and the Gallery Remote doesnt connect with anything other than the admin account (the one im assuming was already in Gallery to begin with) No other user, admin privileges or not, can get it to connect. It gives error "Invalid username/password. If your Gallery is embedded inside a CMS like PostNuke, you need to use the "native" (non-embedded) Gallery URL to log in, as well as the native Gallery user and password. You can test these by trying to go the native URL and trying to log in. " Since the users getting the error get it on the same URL that the admin user/pass works, im assuming this problem is because of the way vb has set the passwords or something in gallery. My folder stucture is www/forum/ www/forum/gallery Im hoping someone smarter than me here has figured this out? Remote is a great desire for our needs, any help would be appreciated. |
Thank you very much for putting this together, I am very pleased with the end results and how easy it was me to do.
|
There is a bug in the first post, Step 2:
$uid = $vbulletin->userinfo['userid'] = 0 ? '' : $vbulletin->userinfo['userid']; should be: $uid = $vbulletin->userinfo['userid'] == 0 ? '' : $vbulletin->userinfo['userid']; |
Hi can someone tell me how to make it so i can use my gallery2 css instead of my vbull?
see i need my gallery to run through gallery2.php so it integrates, but i want my gallery style to be untouched. I tried removing navbar,header,footer etc from the template but it's still not looking like my standalone gallery the fonts etc are messed up.. thanks for any help! I have another issue maybe someone can help with. My users have nicknames but for their gallery album names they want to use their real name. I found I could use the owner field in gallery2, they can enter their full name and this shows on the gallery page. However this mod seems to remove the "your account" link. I need this link to be accessible so they can edit their "full name" under gallery, any ideas how to re-enable the link? Another problem. my users have no link to add content items. When i enabled the block that did have this option they could all control data throughout the gallery eventhough as far as i could tell they should not have been able to. hope someone can help.. |
Quote:
Hope that helps. |
I only have a few problems now:
1. When I logout of vbulletin I recieve errors At the top of the screen Quote:
Quote:
|
This is all working. Thanks for the thread guys, very useful. As ever, I want just a little bit more :)
Having added a new user in gallery2.php, I'd like to assign the user to an existing user group at the same time. Anyone done this? Another parameter on the same command, or another command? I'll fight through and work it out if I have to, but it'll probably take one of you guys seconds to point me in the right direction. Thanks Alan |
Hey guys, just curious... Does this integration work with the latest vbulletin 3.6.5
I've been reading through the posts here but not really anyone is clearly stating what version of vb they're using. I'm really disatisfied with vbgallery and photopost as members are not allowed to assign thumbnails to their albums. This is why I want to go to Gallery2 thanks a lot, nonamer66 |
Great Hack =] It's running very good an the install was easy - top !!
|
Forgive a noob question, but where do I insert the style code in Step #4?
Thanks, snerd |
Anyone please, does this work with 3.6.5???
Thanks in advance. |
I run this and vB 3.6.5
no problems yet. |
Has anyone used this method to allow both public & private galleries?
I want to setup a public gallery, which requires registration in order to upload photos. New users shold be able to upload only 20 photos, but as their ranks increase in the forums (either via posts, rankings, voting of photos, or other methods, they are added to groups with higher upload limitits. I also want to have adult orientated galleries, but only want to allow access to people older than 18 to browse / upload photos in these galleries. So, ideally it shouldn't allow people to access gallery directly any suggestions? |
Quote:
I am recieveing this error as well, could someone please help HeartSmasher and myself. Thanks |
I have this setup and working with one exception. Whenever I (or my members) upload images, we get the infamous "Page Cannot be Displayed" message! Although the path still shows http://uvuit.com/forums/gallery2.php . I can refresh the page and I am back at the gallery home page. When I click on "Your Album" link, I see that the images DID UPLOAD.
My question is: How can I get this to redirect back to the the previous page? Or the member album for that matter! I also noticed the same thing happens when I make any setting changes from the embedded script. Any advice would be great! OK I fixed it! I changed the following with the full URL of my gallery2 files: Code:
$ret = GalleryEmbed::init(array('embedUri' => 'http://www.uvuit.com/forums/gallery2.php', Quote:
I know that's not a fix for the problem since the plugins are designed (theoretically) to resolve collision issues when users are deleted. I have the gallery working and functioning fine...other than the REWRITE. Now for my problem: How can I add a link on my members PROFILE page to go directly to their album? Now if REWRITE actually worked with the EMBEDDED version it would be no problem. If I'm looking at this correctly, with Redirect disable the member albums resolve to something like this http://mysite.com/forums/gallery2.php?g2_itemId=51 where itemId=51 is the member Album. I'm sure theres a way to call the members "Gallery User ID" and obtain this updated number automatically and insert it into the LINK to the Member Album. But I can't figure it out. Any help here would be most appreciated! |
Just done this with 3.6.6 (3.6.7 underneath but displays as 3.6.6) and it went flawlessly... as far as i can see, it operates flawlessly too.
Good job guys! |
Quote:
|
does it works on 3.6.x too?
|
Quote:
Hence, I'm not going to link from the postbit just yet... nearer the time, I'll make a conditional (so only x-groups) can see the link on a user's postbit. When I do that, I'll leave a comment here to let you know how it went... :) |
I updated the forums to 3.6.7pl and all I get are errors now.
How do I remove everything to do with this mod and gallery 2 here is some of the errors I get when people come to my forum main page and forum index page and admin login page: Warning: rename(/tmp/0.incndrdBN,/home/centram2/CPAg2data/cache/module/thumbnail/0/0/0.inc) [function.rename]: Permission denied in /gallery2/modules/core/classes/GalleryPlatform.class on line 487 Warning: mkdir(/home/centram2/CPAg2data/cache) [function.mkdir]: Permission denied in /gallery2/modules/core/classes/GalleryPlatform.class on line 624 Warning: rename(/tmp/0.incjeNH1a,/home/centram2/CPAg2data/cache/module/rss/0/0/0.inc) [function.rename]: Permission denied in /gallery2/modules/core/classes/GalleryPlatform.class on line 487 Warning: mkdir(/home/centram2/CPAg2data/cache) [function.mkdir]: Permission denied in /gallery2/modules/core/classes/GalleryPlatform.class on line 624 Warning: rename(/tmp/0.incJIcqty,/home/centram2/CPAg2data/cache/module/panorama/0/0/0.inc) [function.rename]: Permission denied in /gallery2/modules/core/classes/GalleryPlatform.class on line 487 Warning: mkdir(/home/centram2/CPAg2data/cache) [function.mkdir]: Permission denied in /gallery2/modules/core/classes/GalleryPlatform.class on line 624 Warning: rename(/tmp/0.inczi6mWV,/home/centram2/CPAg2data/cache/module/publishxp/0/0/0.inc) [function.rename]: Permission denied in /gallery2/modules/core/classes/GalleryPlatform.class on line 487 Warning: mkdir(/home/centram2/CPAg2data/cache) [function.mkdir]: Permission denied in /gallery2/modules/core/classes/GalleryPlatform.class on line 624 Warning: rename(/tmp/0.inc53owqj,/home/centram2/CPAg2data/cache/module/sizelimit/0/0/0.inc) [function.rename]: Permission denied in /gallery2/modules/core/classes/GalleryPlatform.class on line 487 Warning: mkdir(/home/centram2/CPAg2data/cache) [function.mkdir]: Permission denied ----------------------------------------------------------------------------- I just want to delete this whole mess and remove it from the system. Any advice on doing that to restore my forums? also getting these errors: Warning: Unknown(/home/centram2/public_html/forum/gallery2/embed.php): failed to open stream: No such file or directory in /includes/class_dm_user.php(1668) : eval()'d code on line 1 Fatal error: (null)() [function.require]: Failed opening required '/home/centram2/public_html/forum/gallery2/embed.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/centram2/public_html/forum/includes/class_dm_user.php(1668) : eval()'d code on line 1 |
I need to run gallery on a dedicated server - is this possible?
We're running a loadbalanced webserver farm for our vb and that would not be compatible with gallery since the uploaded pictures would be evenly spread over 4 servers. |
I need someone to do this for me. PM me and I'll pay. Thanks.
|
Is it possible to use this mod without embedding the gallery ? All I really want to do is Synch my users.... But keep the gallery stand alone from the forum.
Also has anyone had any success not running the gallery in a subdirectory of their forum ? Regards, Joel |
All times are GMT. The time now is 03:14 PM. |
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:
|