Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
User Integration: 4images Gallery 1.7.2 + vB 3.5.4 Details »»
User Integration: 4images Gallery 1.7.2 + vB 3.5.4
Mod Version: 1.2, by mtha (Coder) mtha is offline
Developer Last Online: Nov 2012 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.5.4 Rating: (3 votes - 5.00 average) Installs: 73
Released: 17 Oct 2005 Last Update: 10 Apr 2006 Downloads: 237
Not Supported Uses Plugins Additional Files  

=============================================
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 .

Download Now

Only licensed members can download files, Click Here for more information.

Addons

Supporters / CoAuthors

Screenshots

Click image for larger version

Name:	screenshot.gif
Views:	1982
Size:	57.8 KB
ID:	36076

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
4images Gallery 1.7 Matrixgl vBulletin 3.0 Full Releases 214 09 Nov 2007 20:25

  #31  
Old 09 Nov 2005, 00:13
JirQUEST JirQUEST is offline
 
Join Date: Dec 2001
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.
__________________
StoriesMania.Net - Your source to online fiction, short stories, essays, poems and scripts.
Reply With Quote
  #32  
Old 09 Nov 2005, 00:26
Sadie Frost's Avatar
Sadie Frost Sadie Frost is offline
 
Join Date: Dec 2001
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.
__________________
[buffy-boards]
Reply With Quote
  #33  
Old 13 Nov 2005, 00:18
Omranic's Avatar
Omranic Omranic is offline
 
Join Date: Jan 2005
Location: Egypt
Real name: Abdelrahman Omran
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
__________________
Me & My Productions: Omranic | vBulletin.org | Github | Premium PHP & vBulletin Solutions!
Hire Me! I'm available for custom projects & vB4/vB5 product upgrade.
Keep Moving Forward!
Reply With Quote
  #34  
Old 15 Nov 2005, 12:21
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Real name: Ha Mai
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.
Reply With Quote
  #35  
Old 15 Nov 2005, 15:49
Omranic's Avatar
Omranic Omranic is offline
 
Join Date: Jan 2005
Location: Egypt
Real name: Abdelrahman Omran
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 ?
__________________
Me & My Productions: Omranic | vBulletin.org | Github | Premium PHP & vBulletin Solutions!
Hire Me! I'm available for custom projects & vB4/vB5 product upgrade.
Keep Moving Forward!
Reply With Quote
  #36  
Old 15 Nov 2005, 20:18
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Real name: Ha Mai
you can try to fall back to the older version, without the vBulletin edit.

http://www.vbulletin.org/forum/showthread.php?t=66335

it said to work too, with small bugs that can be fix otherway
Reply With Quote
  #37  
Old 16 Nov 2005, 19:02
chanzero chanzero is offline
 
Join Date: Aug 2003
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?
Reply With Quote
  #38  
Old 16 Nov 2005, 23:50
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Real name: Ha Mai
quick fix: edit sessions.php, line 302, 303, 304, replace with this:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Attached Files
File Type: php sessions.php (20.5 KB, 27 views)

Last edited by mtha : 17 Nov 2005 at 00:37.
Reply With Quote
  #39  
Old 17 Nov 2005, 06:11
chanzero chanzero is offline
 
Join Date: Aug 2003
thanks mtha. actually i just used your sessions.php and it worked fine without editing those lines
Reply With Quote
  #40  
Old 17 Nov 2005, 12:35
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Real name: Ha Mai
Originally Posted by SolidSnake@GTI
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 ?
well, your login form seems to work, but it doesnt know where to redirect to, and if it redirect to the login page (forum login page?) then the url is wrong somewhere.


i just clean the code alittle bit, try the new files and see how it work out. (save the old backup plz)
Reply With Quote
  #41  
Old 17 Nov 2005, 22:59
seany1 seany1 is offline
 
Join Date: Oct 2005
thanks mtha been trying this for days finally got it to work. i did get an error when i tried to sign in though saying i had to add the address to my white list. but not if im signed into the forums so im not to bothered about that lol

Thanks anyways

*Install*

Edit

Sorted out the problem but its kicking me back to the main forum page, ive cleared all my cookies and logged out of the forum when i sign into the forum then click on the gallery it shows me online but not logged in?? when i try to login it kicks me back to the forum home, when i try to login to the admin part it just goes back to the admin login page for 4 images?

Any Ideas ive been through and checked all the files and everything seems to be ok

Last edited by seany1 : 17 Nov 2005 at 23:49.
Reply With Quote
  #42  
Old 18 Nov 2005, 01:17
Omranic's Avatar
Omranic Omranic is offline
 
Join Date: Jan 2005
Location: Egypt
Real name: Abdelrahman Omran
mtha
sorry every thing still as it is
the login problem as i said later .... any fix ...?
__________________
Me & My Productions: Omranic | vBulletin.org | Github | Premium PHP & vBulletin Solutions!
Hire Me! I'm available for custom projects & vB4/vB5 product upgrade.
Keep Moving Forward!
Reply With Quote
  #43  
Old 18 Nov 2005, 03:32
tuanluu's Avatar
tuanluu tuanluu is offline
 
Join Date: Aug 2005
get this error on index page

Notice: Undefined variable: cookiedomain in \wwwroot\4images\includes\sessions.php on line 433

Notice: Undefined variable: cookiepath in \wwwroot\4images\includes\sessions.php on line 434

Notice: Use of undefined constant user_level - assumed 'user_level' in \wwwroot\4images\includes\sessions.php on line 446

Notice: Use of undefined constant user_level - assumed 'user_level' in \wwwroot\4images\includes\sessions.php on line 452

Notice: Use of undefined constant user_level - assumed 'user_level' in \wwwroot\4images\includes\sessions.php on line 454

Notice: Use of undefined constant user_level - assumed 'user_level' in \wwwroot\4images\includes\sessions.php on line 458


help plz thanks
Reply With Quote
  #44  
Old 18 Nov 2005, 21:40
zzzxxzzz zzzxxzzz is offline
 
Join Date: Jun 2004
can we make the image picture randomly on forumhome?
Reply With Quote
  #45  
Old 19 Nov 2005, 09:03
tuanluu's Avatar
tuanluu tuanluu is offline
 
Join Date: Aug 2005
does this hack compatable with the php 5.0.5 and mysql 5.0.15, bc there are some change
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 06:42.

Layout Options | Width: Wide Color: