vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=187)
-   -   Gallery 2.1 and vBulletin 3.5.X integration (https://vborg.vbsupport.ru/showthread.php?t=111931)

jonathanhodd 12-12-2006 07:21 AM

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'

SilVert 12-14-2006 07:27 PM

Quote:

Originally Posted by jonathanhodd (Post 1136893)
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'



i still have to upgrade.. thanks for the headsup man!

Mr Peabody 12-15-2006 07:15 PM

Quote:

Originally Posted by SilVert (Post 1135378)
can you send me a link to what you mean? the users when they are CREATED shoudl come in as "users" not guests.... or that is how i remember it working.. look at the some of the gallery sections in the admin panel and see if there is a config setting that is not right :)

Sorry for the late reply.
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

scan-pa 12-15-2006 07:17 PM

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.

extremesanity 12-17-2006 08:59 AM

1 Attachment(s)
Quote:

Originally Posted by Mr Peabody (Post 1139316)
There are no options to add pics when a new account is made automatically.

I believe this is caused by permission problems.

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?

scan-pa 12-17-2006 03:46 PM

Quote:

Originally Posted by extremesanity (Post 1140210)
I believe this is caused by permission problems.

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?

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.

extremesanity 12-20-2006 01:09 AM

Quote:

Originally Posted by scan-pa (Post 1140398)
With the owner admin account on gallery 2 be sure edit your guest, regestered user permisions for the main gallery page.

Yeah, thats the problem, those instructions aren't included in the original post.

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.

reverse1312 12-21-2006 01:29 PM

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

rjdpa 12-27-2006 06:09 PM

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

Aken 12-29-2006 07:51 AM

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!

SilVert 12-29-2006 07:37 PM

Quote:

Originally Posted by scan-pa (Post 1140398)
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 (Post 1142819)
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 (Post 1145937)
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 :)

Codeman05 12-30-2006 06:22 PM

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:

Error (ERROR_MISSING_OBJECT) : Missing object for 4871

* in modules/core/classes/GalleryStorage/GalleryStorageExtras.class at line 1852 (GalleryCoreApi::error)
* in modules/core/classes/GalleryStorage/GalleryStorageExtras.class at line 109 (GalleryStorageExtras::_identifyEntities)
* in modules/core/classes/GalleryStorage.class at line 293 (GalleryStorageExtras::loadEntities)
* in modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 82 (GalleryStorage::loadEntities)
* in modules/core/classes/GalleryCoreApi.class at line 2382 (GalleryEntityHelper_simple::loadEntitiesById)
* in modules/core/classes/GalleryTheme.class at line 1243 (GalleryCoreApi::loadEntitiesById)
* in themes/classic/theme.inc at line 118 (GalleryTheme::loadCommonTemplateData)
* in modules/core/classes/GalleryTheme.class at line 916 (ClassicTheme::showAlbumPage)
* in modules/core/classes/GalleryView.class at line 325 (GalleryTheme::loadTemplate)
* in main.php at line 386 (GalleryView::doLoadTemplate)
* in main.php at line 87
* in modules/core/classes/GalleryEmbed.class at line 192
* in /data/www/jeeps-offroad.com/www/image-hosting.php at line 124 (GalleryEmbed::handleRequest)
* in /data/www/site.com/www/image-hosting.php at line 50
* in /data/www/site.com/www/vbseo.php at line 846
* in /data/www/site.com/www/vbseo.php at line 3
I'm not sure what is causing this, and why it is only this one page that is effected. Any ideas?

RobParker 01-04-2007 01:50 PM

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.

TheHeartSmasher 01-10-2007 08:28 PM

Where are the demos, screenshots, etc. for this from the author in the main post.

SilVert 01-25-2007 02:14 PM

Quote:

Originally Posted by Codeman05 (Post 1147649)
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


I'm not sure what is causing this, and why it is only this one page that is effected. Any ideas?

did you move or modify and of the gallery files? the embed script requires no manipulation of files other than the integration script.... and twekaing yoru gallery itself :)


Quote:

Originally Posted by RobParker (Post 1150604)
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.

im not sure, but it seems like the URL Rewrite might be messing things up? have you looked into that?

Quote:

Originally Posted by TheHeartSmasher (Post 1155745)
Where are the demos, screenshots, etc. for this from the author in the main post.

i am not the author, just a guy who supports it...
http://www.RacersDen.net/forum/gallery.php is my gallery... thats about the best i got for you...

OpalCat 02-04-2007 06:05 AM

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

All_Starzes 02-21-2007 09:24 AM

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:
Error (ERROR_STORAGE_FAILURE)

    * in modules/core/classes/GalleryStorage/GalleryStorageExtras.class at line 317 (GalleryCoreApi::error)
    * in modules/core/classes/GalleryStorage.class at line 304 (GalleryStorageExtras::saveEntity)
    * in modules/core/classes/GalleryEntity.class at line 317 (GalleryStorage::saveEntity)
    * in modules/core/classes/GalleryUser.class at line 212 (GalleryEntity::save)
    * in modules/core/classes/GalleryEmbed.class at line 365 (GalleryUser::save)
    * in /var/www/web0/html/ni/gallery2.php at line 95 (GalleryEmbed::createUser)
    * in /var/www/web0/html/ni/gallery2.php at line 50

I think that is the collation.... the gallery works on utf8 and my board in ISO...
i dont know really...
I hope some people can help me!!!!:confused: :confused: :confused:

cgray24 02-22-2007 09:53 PM

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.

Moon! 03-01-2007 06:43 PM

Thank you very much for putting this together, I am very pleased with the end results and how easy it was me to do.

cthree 03-05-2007 12:15 PM

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'];

sross 03-05-2007 09:23 PM

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..

gr8save 03-07-2007 10:19 PM

Quote:

Originally Posted by All_Starzes (Post 1187350)
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:
Error (ERROR_STORAGE_FAILURE)

    * in modules/core/classes/GalleryStorage/GalleryStorageExtras.class at line 317 (GalleryCoreApi::error)
    * in modules/core/classes/GalleryStorage.class at line 304 (GalleryStorageExtras::saveEntity)
    * in modules/core/classes/GalleryEntity.class at line 317 (GalleryStorage::saveEntity)
    * in modules/core/classes/GalleryUser.class at line 212 (GalleryEntity::save)
    * in modules/core/classes/GalleryEmbed.class at line 365 (GalleryUser::save)
    * in /var/www/web0/html/ni/gallery2.php at line 95 (GalleryEmbed::createUser)
    * in /var/www/web0/html/ni/gallery2.php at line 50

I think that is the collation.... the gallery works on utf8 and my board in ISO...
i dont know really...
I hope some people can help me!!!!:confused: :confused: :confused:

I had the same problem. In my default Gallery 2 install I had a user 'admin' and I also had an 'admin' account with VB. To solve my problem I renamed my gallery 2 admin account to admin1 and it solved the problem. I guess the two accounts were incompatable as they had different passwords.

Hope that helps.

TheHeartSmasher 03-29-2007 05:18 PM

I only have a few problems now:

1. When I logout of vbulletin I recieve errors

At the top of the screen
Quote:

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/username/public_html/testing/forums/includes/class_dm_user.php(1657) : eval()'d code on line 57
Vbulletin Message
Quote:

Unable to add cookies, header already sent.
File: /home/username/public_html/testing/forums/includes/class_dm_user.php(1657) : eval()'d code
Line: 57
Which is the same error message but if I refresh or click logout again it works.

Sunbeam25 04-03-2007 11:04 AM

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

nonamer69 04-04-2007 02:20 AM

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

opaa 04-05-2007 05:49 PM

Great Hack =] It's running very good an the install was easy - top !!

snerd 04-09-2007 03:03 PM

Forgive a noob question, but where do I insert the style code in Step #4?

Thanks,
snerd

raiderlax 04-21-2007 05:06 PM

Anyone please, does this work with 3.6.5???

Thanks in advance.

scan-pa 04-21-2007 05:23 PM

I run this and vB 3.6.5

no problems yet.

SoftDux 05-11-2007 10:33 AM

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?

specmav 05-14-2007 03:09 AM

Quote:

Originally Posted by TheHeartSmasher (Post 1215481)
I only have a few problems now:

1. When I logout of vbulletin I recieve errors

At the top of the screen

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/username/public_html/testing/forums/includes/class_dm_user.php(1657) : eval()'d code on line 57



Vbulletin Message


Which is the same error message but if I refresh or click logout again it works.


I am recieveing this error as well, could someone please help HeartSmasher and myself.

Thanks

carmichael1973 05-18-2007 01:29 PM

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',
'g2Uri' => 'http://www.uvuit.com/forums/gallery2/',
'loginRedirect' => 'index.php',
'activeUserId' => $uid));
if ($ret)

I do have one more question though! How can I get this to allow $vbpoptions[bbdir] so I don't have cookie issues when someone logs in at uvuit.com instead of www.uvuit.com ?

Quote:

Originally Posted by specmav (Post 1247181)
Quote:
Originally Posted by TheHeartSmasher
Code:

I only have a few problems now:

1. When I logout of vbulletin I recieve errors

At the top of the screen

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/username/public_html/testing/forums/includes/class_dm_user.php(1657) : eval()'d code on line 57



Vbulletin Message


Which is the same error message but if I refresh or click logout again it works.


I am recieveing this error as well, could someone please help HeartSmasher and myself.

Thanks

I was getting this error as well then I disbaled the two plugins. Those two plugins were causing errors all over vb (i.e. post thread, post reply, post anything, login, logout etc.)

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!

karlm 05-18-2007 10:11 PM

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!

carmichael1973 05-19-2007 02:12 AM

Quote:

Originally Posted by karlm (Post 1250515)
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!

Were you able to add a link in the Members Profile to view their Album?

targa_freak 05-19-2007 09:50 AM

does it works on 3.6.x too?

karlm 05-20-2007 03:56 AM

Quote:

Originally Posted by carmichael1973 (Post 1250587)
Were you able to add a link in the Members Profile to view their Album?

I didnt' get around to that - atm, i'm keeping the album out of reach of 90% of my members so i (and a few select members) can beta test it prior to letting the rest of my community know of it. I want it to be 100% before they get to use it.
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... :)

scan-pa 05-20-2007 06:41 PM

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

bjornstrom 05-23-2007 07:20 PM

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.

skunker 06-02-2007 12:53 PM

I need someone to do this for me. PM me and I'll pay. Thanks.

dotJoel 06-03-2007 12:22 PM

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
  • Page Generation 0.04651 seconds
  • Memory Usage 1,914KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (19)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete