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
  #12  
Old 10-18-2005, 05:57 PM
steadicamop's Avatar
steadicamop steadicamop is offline
 
Join Date: Jul 2004
Location: Lancashire, UK
Posts: 379
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mtha
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)
Which template do I need to copy? I've tried the header code ... but being PHP it doesn't parse inside HTML ..... what do I have to do to include the header, and will it change the colour scheme of the 4Images in the process?

Thanks, great hack

Jason
Reply With Quote
  #13  
Old 10-18-2005, 07:14 PM
deta deta is offline
 
Join Date: Dec 2004
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by deathemperor
why isn't it ?

it use 4images and vbulletin 3.5 and they are integrated. then why not ?
The Sample of Sandra is not integrated...

Tell me please a Sampe Page or Screens.

Thanks

cu Deta
Reply With Quote
  #14  
Old 10-18-2005, 07:49 PM
vBFreak's Avatar
vBFreak vBFreak is offline
 
Join Date: Nov 2001
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
Reply With Quote
  #15  
Old 10-20-2005, 12:03 AM
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Location: US
Posts: 775
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vBFreak
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
I have mine return to album fine.

Quote:
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 :/
You may want to check your phrases and templates. My hack doesnt do anything with phrases. you may want to get the latest phrase from 4images, and check your phrase list. (languages/english/main.php)




Quote:
Originally Posted by Deta
Quote:
Originally Posted by Chrissicom
Works like a charm on my site http://www.sandrabullockcentral.com/sbcgalleries
that is not a intigration in Vbulletin

cu Deta
I'm not sure if you know what you are talking about, or expecting on integration.

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.
Reply With Quote
  #16  
Old 10-20-2005, 12:06 AM
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Location: US
Posts: 775
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #17  
Old 10-20-2005, 04:12 AM
deta deta is offline
 
Join Date: Dec 2004
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mtha
I have mine return to album fine.



You may want to check your phrases and templates. My hack doesnt do anything with phrases. you may want to get the latest phrase from 4images, and check your phrase list. (languages/english/main.php)






I'm not sure if you know what you are talking about, or expecting on integration.

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

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
Reply With Quote
  #18  
Old 10-22-2005, 10:34 PM
Sychev_S Sychev_S is offline
 
Join Date: Oct 2005
Location: Toronto
Posts: 173
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #19  
Old 10-23-2005, 08:35 AM
nitro nitro is offline
 
Join Date: Nov 2001
Posts: 302
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #20  
Old 10-23-2005, 10:29 AM
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Location: US
Posts: 775
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by deta
Hello

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
Ok, I rename it "User Integration", which, as stated in the description, only integrate USER system, so that forum's user can upload images in 4images.

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:
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?
You should go to 4images website, and learn how to edit template. then, you can edit 4images' templates. (header.html and footer.html), so that it might look the same as your forum.

that is not included in this hack, as each template will be different.
Reply With Quote
  #21  
Old 10-23-2005, 09:29 PM
kai3k kai3k is offline
 
Join Date: Jul 2002
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works great. thanks!

/me clicks install
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 05:19 AM.


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.13273 seconds
  • Memory Usage 2,320KB
  • 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
  • (9)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_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