Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

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
  #72  
Old 03-30-2006, 08:42 PM
Neal-UK's Avatar
Neal-UK Neal-UK is offline
 
Join Date: Feb 2004
Location: Lancashire, England
Posts: 604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

log in problem seems to have disapeared, weird working now on that bit.
Reply With Quote
  #73  
Old 04-01-2006, 01:44 PM
obmob obmob is offline
 
Join Date: Nov 2001
Posts: 580
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you did something? changed something?
Reply With Quote
  #74  
Old 04-02-2006, 09:22 AM
Paprika Paprika is offline
 
Join Date: Jul 2003
Location: Ohio
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm having a similar problem I'd like help with, please:

1) To get logged-into 4images I must clear my cookies, and re-log into vBulletin. Then I'll be logged into 4images, but for only a few minutes. Then I'm logged out again.

I'll be working on this problem as time progresses and I'll keep you updated.
Reply With Quote
  #75  
Old 04-08-2006, 08:10 AM
Ghanem's Avatar
Ghanem Ghanem is offline
 
Join Date: Aug 2004
Location: Bahrain
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have the same problem, logged in in vb, not able to do so in 4images..
I got logged once only when I changed to another user, could not do it again..

If the settings were not correct I would not be able to login at all..

VB : 3.5.4
4images: 1.7.2

What could be wrong
Reply With Quote
  #76  
Old 04-10-2006, 04:55 AM
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Location: US
Posts: 775
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

try the new files for 4images v1.7.2 and see if it works.
Reply With Quote
  #77  
Old 04-10-2006, 11:58 AM
Ghanem's Avatar
Ghanem Ghanem is offline
 
Join Date: Aug 2004
Location: Bahrain
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mtha
try the new files for 4images v1.7.2 and see if it works.
Sorry, its not working..

Thank you for helping although you mentioned you are busy.
Reply With Quote
  #78  
Old 04-10-2006, 10:44 PM
tuanluu tuanluu is offline
 
Join Date: Aug 2005
Posts: 185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

updated work great thanks very much
Reply With Quote
  #79  
Old 04-15-2006, 07:17 AM
Paprika Paprika is offline
 
Join Date: Jul 2003
Location: Ohio
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My problem actually still presists too..

At first after the upgrade I thought it was working correctly but a day or two later I go back to the gallery and see myself logged-out. Then I goto the forum and it has me logged-in.

So I go back to the gallery and logg-in but still it doesn't see me as being logged in.

Even logging-out completely and logging back in won't get me in...

WTF
Reply With Quote
  #80  
Old 04-16-2006, 01:51 AM
obmob obmob is offline
 
Join Date: Nov 2001
Posts: 580
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh, thanks mtha, i'll try new files

EDIT
Hmm it logs in, but doesn't redirect me to images page, instead, it takes me to forum home
Reply With Quote
  #81  
Old 04-21-2006, 11:06 PM
obmob obmob is offline
 
Join Date: Nov 2001
Posts: 580
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

now users are complaining... they are kicked out and must log back while browsing.
Reply With Quote
Reply

Thread Tools

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 07:16 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04319 seconds
  • Memory Usage 2,299KB
  • Queries Executed 26 (?)
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
  • (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
  • (4)pagenav_pagelink
  • (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_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