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 Details »» | |||||||||||||||||||||||||||
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 |
#32
|
|||
|
|||
did u clear it by logging out? i had to clear it from the browser's options. i also noticed that logging in from the forum is a sure way to log into the image gallery. logging out is the same as well.
|
#33
|
||||
|
||||
I logged out via the forumhome and then cleared my cookies in the browser. Then I re-logged in to the forumhome, then clicked on a link to the gallery, but I wasn't logged in.
|
#34
|
||||
|
||||
Everytime I log in via gallery,it say thak you SolidSnake@GTI for loging in (forums's welcome redirecting msg) & then it takes me back to the gallery's index and I am not logged in
all modifications are right gallery's dir out side forums dir |
#35
|
||||
|
||||
well, my version is just working fine without problem.
i'd suggest you check the cookies path in both vB and 4images, configurations in constants and config file, license number, try to login with "remember me" turn on/off, login from forum and go to album ... i dont really have time to look into the issue in detail right now, but if I can get some clue, it'd be much easier. |
#36
|
||||
|
||||
I have Tried all of that & it still say thank you for login & redirect me to the login page
any one can solve this plz ? |
#37
|
||||
|
||||
you can try to fall back to the older version, without the vBulletin edit.
https://vborg.vbsupport.ru/showthread.php?t=66335 it said to work too, with small bugs that can be fix otherway |
#38
|
|||
|
|||
i am getting the following error:
DB Error: Bad SQL Query: SELECT u.*, l.*, user.password as user_password, user.salt as salt FROM vb3_user u, 4images_lightboxes l, user WHERE u.userid = 976 AND user.userid = 976 AND l.user_id = u.userid Table 'chan_zero.user' doesn't exist everything else seems to be working -- i'm logged in with my vb login and i can see WOL the vb user table is actually called "chan_zero.vb3_user" but i already put 'vb3_' as the vb table prefix in the constants.php so i'm not sure what i didn't do right? |
#39
|
||||
|
||||
quick fix: edit sessions.php, line 302, 303, 304, replace with this:
PHP Code:
|
#40
|
|||
|
|||
thanks mtha. actually i just used your sessions.php and it worked fine without editing those lines
|
#41
|
||||
|
||||
Quote:
i just clean the code alittle bit, try the new files and see how it work out. (save the old backup plz) |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|