![]() |
User Integration: 4images Gallery 1.7.2 + vB 3.5.4
=============================================
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 :). |
reserved
|
In order to make 4Images template look the same as vB template, you can copy vB's header and footer, put into /templates/yourtemplate/header.html and footer.html, make adjustments so that it read the correct location and tables (Assuming that you know html and know how to change html code)
|
Do I need a fresh install in order to upgrade from my 3.0.7 version of this hack? I'm allready running it under 3.5 and it's causing problems for some of my users.
|
I had to do nothing to make it work with vb3.5, from the time I upgraded to 3.5 it's starting to work already.
|
Hello,
must i change phps in the orginal vbulletin? Or ist that a Plugin/Produkt? Please post Screens.. Thanks cu Deta |
Works like a charm on my site :) http://www.sandrabullockcentral.com/sbcgalleries
|
Quote:
cu Deta |
Thank you. I have installed this hack.
|
Quote:
it use 4images and vbulletin 3.5 and they are integrated. then why not ? |
Quote:
Thanks, great hack :) Jason |
Quote:
Tell me please a Sampe Page or Screens. Thanks cu Deta |
Works for me, thanks again for this quality hack mtha ;)
The only problems I have are, if I login via the Gallery I'm redirected to the forum's home and not to the gallery and the display of the online users seems to miss some phrases, the users are displayed, but the table head of that table is empty and the text above the user listing is also not displayed :/ @deta: http://www.gerritsforum.de/gallery <- my 4images 1.7.1 gallery integrated with this hack, feel free to take a look at it if you want to see it in action, but it's german... |
Quote:
Quote:
Quote:
this integration is ONLY integrate USER database, so that users in forum can login and post in album. this DOES NOT integrate style/template, so that it will still look exactly the same as the original 4images, if you had it installed. the screen is attached, if you want. |
2005.10.19: bug fix:
For those who download the file before ... NOW, you may want to download the sessions.php again. there's a bug when loading logouthash |
Quote:
I mean direct intigration in the Vbulletin Style. With headers, ... like that as the Memberliste etc. is integiert and a new side is not called. Thus a complete Template intigration cu deta |
How exactly can i have vbulletin's footer adn header on 4images gallery?
my vbulletin isntallation is in www.mysite.com and 4 images is in www.mysite.com/gallery Could somebody please explain it to me? |
Thanks works fine here on my test site having grabbed our old 4images seperate db and thrown the tables into my vb test db. USer integration is better than nothing. The rest would take a lot of work :)
Not sure if we will use it or go vbA gallery but 4images can now get more consideration ;) |
Quote:
This is NOT a full integration, nor template/style integration. if you are looking for a full integration, with template included, vBA or Photopost could be the options Quote:
that is not included in this hack, as each template will be different. |
works great. thanks!
/me clicks install |
thanks!
|
Everytime I log in, it takes me back to the index and I am not logged in. WTF?
www.gsnforce.com/4images |
I didn't use the vB template for my 4images page because it is linked from other websites as well. My intention was that forum users gain access to the galleries automatically and the other way round, so although a lot of people only use one of both those who use both can use it with one account.
|
So how can I log in?
|
Quote:
you need to read the steps, and make correct modifications in the given files. I did something wrong somewhere. |
I'm having sort of a strange problem. I had this working yesterday, but now I'm having the problem where I can't login (it takes me back to the forum home). I've checked and rechecked the directions, and I set the session timeout to 0. Has anyone had a similar problem and found a solution?
Thanks :) |
Quote:
Quote:
make it a big number and see how it works |
Maybe I misunderstood this part of the directions then?
Quote:
Will try setting it big then :) Thanks! Edit: Hmm that didn't work so far :( Edit again: Well it's working now, unfortuneately I have no idea what I did...lol |
Quote:
|
Yep same thing is happening to me - when I first install (or reinstall as the case may be) it's fine, then the next time I try to access it I'm logged out and I can't log in again.
Clearing my cookies doesn't seem to work for me though :( |
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.
|
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.
|
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 |
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. |
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 ? |
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 |
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? |
quick fix: edit sessions.php, line 302, 303, 304, replace with this:
PHP Code:
|
thanks mtha. actually i just used your sessions.php and it worked fine without editing those lines
|
Quote:
i just clean the code alittle bit, try the new files and see how it work out. (save the old backup plz) |
All times are GMT. The time now is 02:25 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|