vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   User Integration: 4images Gallery 1.7.2 + vB 3.5.4 (https://vborg.vbsupport.ru/showthread.php?t=98640)

ttkh 12-22-2007 02:34 PM

The old hack doens't work on the new version of 4images 1.7.4? Does anyone have a new hack that would make vb3.6.8 work with 4images 1.7.4?

Q

Sun Boy 12-23-2007 08:32 AM

ok here is my story
i made a new subdomain images.domain.com and forums.domain.com
my 4images is 1.7.4 and my VB is 3.6.8 patch 1

everything look fine EXCEPT 4images don’t recognize the use with the ID '1' as a user at all
i think that this is the reason way people are complaining that it kick them out ( just like me)
lucky me, i have a second user with the ID '2' which i give it a try to login and it login fine
it even log into the 4images control panel were i tried to search for the user ID '1' and i didn’t find it there

also i found something wrong at the file sessions.php and i fix it
at the lines 437 and 438 i found this
PHP Code:

define('COOKIE_PATH'$cookiedomain);
define('COOKIE_DOMAIN'$cookiepath); 

so i switch them to
PHP Code:

define('COOKIE_PATH'$cookiepath);
define('COOKIE_DOMAIN'$cookiedomain); 

Now what I want to know is, how can I fix the problem with the user ID ‘1’ ?

I will give it a try but I well appreciate some help

if someone is not sure about his cookie prefix then try this
http://www.iwebtool.com/http_headers
put your forum address right there and it will show you your forum cookie prefix

Tailfeathers 02-27-2008 01:52 PM

Quick question. :)

I have integrated my board's user database with that of my gallery (I have integrated logins too, thanks to this hack). The gallery allows you to search by username and find all pictures by a certain username. Can someone tell me what exactly I should put in the memberinfo vBulletin template if I want a link that will say "See my pictures at the gallery" or something like that -- a link that will use the search option described earlier and show all oa specific user's pitcures?

Thanks!

Edit: figured it out myself.

WarriorDL 04-07-2008 07:25 AM

Well... I have vBulletin 3.6.9 and 4Images 1.7.6 (both are the latest official releases).

I doubt anyone has figured out how to get them working together, but hopefully I can point someone who knows how to write PHP code properly in the right direction:

After looking over the vB database for the sessions, I noticed it has 4 more tables than the older version. I think the key one, as far as doing this user DB integration, is the idhash table. It appears that when the sessions reads the cookies, it's looking for that particular table information for the users!

Yukino_AE 04-07-2008 04:06 PM

i am also looking for this to be able to work with vb 3.6.x and 4images 1.7.6 can ayone assist with this?

e7lew 04-29-2008 08:50 PM

any help please ?

WarriorDL 05-21-2008 12:27 PM

...ummm Wow. I *think* I may have figured it out.

You *cannot* go directly to the Gallery, as it reads directly from the FORUMS sessions and cookies.

So the FORUMS sessions and cookies must be CURRENT for you to enter either one. Thus, if you went to the Gallery FIRST and are not logged in, simply go to the Forums, then hit the link (if you have one) to the Gallery. Or simply refresh the Gallery after visiting the forums.

I think I read some posts here about log out problems from the Gallery? The solution there is simple too: Don't log out from there. If someone really needs to log out, they can do so from the Forums. Myself, I removed the Log In/Out code from my Gallery altogether, to prevent anyone from trying to log in or out from there.

And I am using vB 3.7!

WarriorDL 05-21-2008 12:32 PM

Quote:

Originally Posted by Tailfeathers (Post 1452117)
Quick question. :)

I have integrated my board's user database with that of my gallery (I have integrated logins too, thanks to this hack). The gallery allows you to search by username and find all pictures by a certain username. Can someone tell me what exactly I should put in the memberinfo vBulletin template if I want a link that will say "See my pictures at the gallery" or something like that -- a link that will use the search option described earlier and show all oa specific user's pitcures?

Thanks!

Edit: figured it out myself.

What did you do with this?

e7lew 05-21-2008 01:56 PM

I have integrated vb 3.7.0 with 1.7.2 without any problems

WarriorDL 05-21-2008 09:58 PM

What about 1.7.6?


All times are GMT. The time now is 08:20 AM.

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.01262 seconds
  • Memory Usage 1,742KB
  • 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_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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