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 |
#52
|
|||
|
|||
![]()
remove from user_loginform.html (not required)
HTML Code:
<input type="hidden" name="url" value="{self_full}" />
HTML Code:
<input type="hidden" name="s" value="$session[sessionhash]" />
HTML Code:
<input type="hidden" name="s" value="" />
|
#53
|
|||
|
|||
![]()
hi guys, looks like i have a unique problem.
ive been intergrating 4images with vb using scripts on here since vb3 and so far ive had no problems. with this intergration i get the following error... Fatal error: Call to undefined function: create_cache_id() in /home/nation/public_html/gallery/includes/page_header.php on line 43 if anyone could help me that would be great...could do with not having my gallery down over crimbo, its goin to be busy |
#54
|
|||
|
|||
![]()
Hello,
I tried to login as an admin via the album login and it returns me back to the index page. |
#55
|
|||
|
|||
![]()
I don't but I think this hack does not work with php 5.0.5 and mysql 5.0.15., because I been try to intergrate
![]() ![]() |
#56
|
|||
|
|||
![]()
When you say 4image and vB need to be in the same database, how exactly is this accomplished? Do I need to install 4image and give it the vB database information when the 4image installer comes up?
|
#57
|
|||
|
|||
![]() Quote:
when you install vB you added the database info in your config.php file you should make sure its the same info in the 4images config.php file hostname username database name and password should be the SAME for both install |
#58
|
|||
|
|||
![]()
Great extension, thanks.
I'm trying this on vb 3.5.4 & the new 4images 1.7.2, i think files didn't change that much, and it even works with the include files in this mod. Anyway, so far ir seems to be working well, only one thing, when i log in via 4images, i'm redirected to the forum home... is there something i must add or declare to be redirected to to gallery index? I read all the thread, but don't see something like this. Hope someone can help. ![]() |
#59
|
||||
|
||||
![]()
Everything installed - no Errormessages but allways logged out from Gallery. :disappointed:
|
#60
|
|||
|
|||
![]()
OO now it's working really fine for me.
|
#61
|
|||
|
|||
![]()
Sounds hott!
Imma try this with 3.5.4 later! |
![]() |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|