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)

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 04:44 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.02281 seconds
  • Memory Usage 1,757KB
  • 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
  • (2)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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