Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
User Integration: 4images Gallery 1.7.2 + vB 3.5.4 Details »»
User Integration: 4images Gallery 1.7.2 + vB 3.5.4
Version: 1.2, by mtha mtha is offline
Developer Last Online: May 2016 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 10-16-2005 Last Update: 04-09-2006 Installs: 73
Uses Plugins
Additional Files  
No support by the author.

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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #132  
Old 12-22-2007, 02:34 PM
ttkh ttkh is offline
 
Join Date: Dec 2003
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #133  
Old 12-23-2007, 08:32 AM
Sun Boy Sun Boy is offline
 
Join Date: Feb 2003
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
define('COOKIE_PATH'$cookiedomain);
define('COOKIE_DOMAIN'$cookiepath); 
so i switch them to
PHP Code:
define('COOKIE_PATH'$cookiepath);
define('COOKIE_DOMAIN'$cookiedomain); 
Now what I want to know is, how can I fix the problem with the user ID ‘1’ ?

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
Reply With Quote
  #134  
Old 02-27-2008, 01:52 PM
Tailfeathers's Avatar
Tailfeathers Tailfeathers is offline
 
Join Date: Sep 2002
Location: Utah, USA
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #135  
Old 04-07-2008, 07:25 AM
WarriorDL's Avatar
WarriorDL WarriorDL is offline
 
Join Date: May 2003
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #136  
Old 04-07-2008, 04:06 PM
Yukino_AE Yukino_AE is offline
 
Join Date: Jul 2005
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #137  
Old 04-29-2008, 08:50 PM
e7lew e7lew is offline
 
Join Date: Jun 2004
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any help please ?
Reply With Quote
  #138  
Old 05-21-2008, 12:27 PM
WarriorDL's Avatar
WarriorDL WarriorDL is offline
 
Join Date: May 2003
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

...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!
Reply With Quote
  #139  
Old 05-21-2008, 12:32 PM
WarriorDL's Avatar
WarriorDL WarriorDL is offline
 
Join Date: May 2003
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tailfeathers View Post
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.
What did you do with this?
Reply With Quote
  #140  
Old 05-21-2008, 01:56 PM
e7lew e7lew is offline
 
Join Date: Jun 2004
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have integrated vb 3.7.0 with 1.7.2 without any problems
Reply With Quote
  #141  
Old 05-21-2008, 09:58 PM
WarriorDL's Avatar
WarriorDL WarriorDL is offline
 
Join Date: May 2003
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What about 1.7.6?
Reply With Quote
Reply


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:44 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.11807 seconds
  • Memory Usage 2,323KB
  • Queries Executed 28 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete