The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
![]() |
|||||||||||||||||||||||||||
User Integration: 4images Gallery 1.7.2 + vB 3.5.4
![]() Developer Last Online: May 2016 ![]() ![]()
=============================================
User Integration 4images 1.7.2 / vBulletin 3.5.x ============================================= Copyright: ? 2002 Jan Sorgalla Integration to vBulletin 2.x by Jan Sorgalla ? Integration to vBulletin 3.0.1 by mtha Integration to vBulletin 3.5.0 by mtha Constribution: Matrixgl for re-organize the hack d1635d for adding the fix for 3.0.1 all others for comments and suggestions ============================================= Hack version: 3.5.0.20051117 Compatible with vB 3.5.x and 4images 1.7.2 Translated Versions: http://www.vbhacks-germany.com/forum...ead.php?t=1969 ============================================= Features: ============================================= - Use vBulletin's user table instead of 4images. - Forum's members can access and upload pictures (depends on permissions) - Forum's admin can administrate the album (unless you do the EXTRA part) - Display Who is browsing album, in the Forum's WhoisOnline list ============================================= Changes and modifications ============================================= 4images file to replace: 5 (sessions.php, constants.php,admin/admin_global.php,templates/default/user_loginform.html) Query to run: 0 * If you do EXTRA part, there're few queries to run, depends on what you want to do. ============================================= Requirements: ============================================= - vBulletin 3.5.0 installed and working - 4images 1.7 fresh installed and working - 4images and vBulletin are installed to use the SAME database ============================================= Limitations: - This is ONLY users integration. NO template/style integration. - This hack use default usergroup for album level, there're only 4 levels of Guest, User awaiting, User, Admin. See Extra section at the end for other solution - I didnt look at the "cooke path" and "cookie domain" yet, so it will use the default ============================================= Notes before you install ============================================= 1. Back up the files before you edit. 2. 4images tables and vbulletin tables have to be in the same database. 3. If you run 4images and vBulletin under different subdomains, for example http://4images.domain.com and http://vbulletin.domain.com, you should use the following setting for vBulletin in "vBulletin Options -> HTTP Headers and output": ############################# Cookie Domain = .domain.com ############################# Dont forget the dot at the beginning, and change domain.com to your domain. If you do not do this, you might experience a login problem. 4. If you delete users, you should delete the user first over the Control Panel of 4images and after that over the Administration Panel of vBulletin. This is neccessary to delete/modify all user-related data from the 4images database (images, comments, usergroups). 5. Its is highly recomanded that you use integration only with fresh new installations of 4images because of the following reason: In the 4images user-table User A has the User-ID "1". After integration 4images will use the user-table of vBulletin. There, the User A has the User-ID "2" and User B the User-ID "1". All images, comments and usergroup memberships are now "owned" by User B. 6. Lot of people are getting logged out after a certain period of time. This could be fixed by changing "Session timeout in minutes" to "0" in the 4images control panel. ============================================== ============================================== INSTALLATION (read intergrate-4image-vB35.txt for more detail) ============================================= ------- Step 1: Edit the included sessions.php Step 2. Edit the included constants.php Step 3: Upload the files in UPLOAD folder to your album directory Step 4: Import Product product-hao_wol_locations.xml from vB 3.5.0 adminCP product manager ------------------- LOG: 20051117: clean up code, might have some small errors fixed. 20060410: modify for 4images172 ------- The End ![]() Supporters / CoAuthors Show Your Support
|
Comments |
#132
|
|||
|
|||
![]()
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 |
#133
|
|||
|
|||
![]()
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:
PHP Code:
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 |
#134
|
||||
|
||||
![]()
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. |
#135
|
||||
|
||||
![]()
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! |
#136
|
|||
|
|||
![]()
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?
|
#137
|
|||
|
|||
![]()
any help please ?
|
#138
|
||||
|
||||
![]()
...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! |
#139
|
||||
|
||||
![]() Quote:
|
#140
|
|||
|
|||
![]()
I have integrated vb 3.7.0 with 1.7.2 without any problems
|
#141
|
||||
|
||||
![]()
What about 1.7.6?
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|