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

Reply
 
Thread Tools
Openfire Integration - Instant Messaging Server for your vBulletin Users Details »»
Openfire Integration - Instant Messaging Server for your vBulletin Users
Version: 1.0.0 Beta, by Sebijk Sebijk is offline
Developer Last Online: Oct 2021 Show Printable Version Email this Page

Category: Integration with vBulletin - Version: 3.7.3 Rating:
Released: 09-20-2008 Last Update: 09-22-2008 Installs: 21
Uses Plugins
Is in Beta Stage  
No support by the author.

A very easy and simple add-on.

This add-on registrate vBulletin registrations automatically to the Openfire Server. So you can own a Instant Messaging Server (based on Jabber) for your vBulletin Users. The solution here is realized with the User Service Plugin for Openfire . But there are many other Integrate solutions with Openfire. Openfire supports the LDAP authentication, too.

The only problem of this integration solution: Existing vBulletin users must manually registering to the Openfire server, but a import script is included

Requirements:
vBulletin 3.7 (3.6 and 3.5 are not tested)
Openfire
User Service plugin for Openfire

Recommend Products: Enhanced Jabber-Integration

Examples and Screenshots: https://vborg.vbsupport.ru/showpost....36&postcount=4

Version History:

Quote:
1.0.0 Beta 3
* fopen is no longer required
* Import script included
* A install instruction included

1.0.0 Beta 2
* Fix a important Bug with Password registration

1.0.0 Beta 1
* First Version
IMPORTANT FOR IMPORT EXISTING USERS TO OPENFIRE, IF YOUR USING THE IMPORT SCRIPT: It is recommended to make a backup of Openfire database and vBulletin database. This Import script has tested only with a low number of users. If anybody will improve the import script, you can make this . If you want to test in "local" area, please comment out the line with "vbmail".

Use the import script with your own risk

If you get timouts of the import process, make sure safe_mode is temporary disabled and set max_execution_time temporary to 50000.

After import, reset the php settings.

If you need my help for the import process, donate 30 EUR / $45 and send me a email with
your FTP and MySQL Account-Details. Create a vBulletin Adminaccount for me.
I will make then the import process.

Show Your Support

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

Comments
  #22  
Old 10-21-2008, 09:14 PM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ZeroHour View Post
BTW one thing to note, this will expose your members email addresses to all who connect to your jabber server by default in its current form. Certain clients can pull this information.
That is a very unwanted problem. Sebijk; do you have any idea how to fix this?
Reply With Quote
  #23  
Old 10-21-2008, 11:34 PM
edermix edermix is offline
 
Join Date: Aug 2008
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Forum example??
Reply With Quote
  #24  
Old 10-22-2008, 03:04 AM
Neo_obs Neo_obs is offline
 
Join Date: Mar 2006
Location: Disneyland, CA
Posts: 363
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ZeroHour View Post
BTW one thing to note, this will expose your members email addresses to all who connect to your jabber server by default in its current form. Certain clients can pull this information.
It doesn't for me. I have made it so you can't search people by email. I did this by going under server settings -> Search Service Properties -> and unchecked email as a searchable field
Reply With Quote
  #25  
Old 10-22-2008, 07:19 AM
ZeroHour's Avatar
ZeroHour ZeroHour is offline
 
Join Date: Sep 2007
Location: Scotland
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Neo_obs View Post
It doesn't for me. I have made it so you can't search people by email. I did this by going under server settings -> Search Service Properties -> and unchecked email as a searchable field
Our tester was using Kopete and they could search for a username and the email address would be returned along with the results. Changing the server setting did not prevent the email being returned for a username search.
Reply With Quote
  #26  
Old 10-22-2008, 04:49 PM
Sebijk Sebijk is offline
 
Join Date: Oct 2005
Location: Germany/Bottrop
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ZeroHour View Post
Our tester was using Kopete and they could search for a username and the email address would be returned along with the results. Changing the server setting did not prevent the email being returned for a username search.
This is a problem with the Search Service Plugin from Openfire. It searchs only Name, JID and E-Mail Address, that cannot changed by User. And it can show all members by searching with *. I recommend to disable or delete this. Im looking for a Alternative.

If you want use the search service Plugin and you will not visible Member E-Mail Address, change in Plugin the line:

Code:
$sendjabber_register = file_get_contents("https://".$vbulletin->options['openfire_host'].":9091/plugins/userService/userservice?type=add&secret=".$vbulletin->options['openfire_secretkey']."&username=".utf8_encode(rawurlencode($userinfo['username']))."&password=".utf8_encode(rawurlencode($openfire_password))."&email=".utf8_encode(rawurlencode($userinfo['email'])));
to:
Code:
$sendjabber_register = file_get_contents("https://".$vbulletin->options['openfire_host'].":9091/plugins/userService/userservice?type=add&secret=".$vbulletin->options['openfire_secretkey']."&username=".utf8_encode(rawurlencode($userinfo['username']))."&password=".utf8_encode(rawurlencode($openfire_password)));
But you cannot after use some Plugins, that a E-Mail Address is required, example the Pass Service Plugin, that recover the password, if a Jabber User forget the password.

Quote:
Originally Posted by edermix View Post
Forum example??
http://www.simsforum.de/vbulletin/
Reply With Quote
  #27  
Old 10-22-2008, 09:56 PM
ZeroHour's Avatar
ZeroHour ZeroHour is offline
 
Join Date: Sep 2007
Location: Scotland
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Interesting, that may cure the part that imports the email address but users should note that notifications stating account details for the chat server wont work (just a fyi for them)
The search plugin I think is not the only possible way. I believe that if you view the profile of a user you may be able to see it too.
Reply With Quote
  #28  
Old 10-23-2008, 08:31 AM
Sebijk Sebijk is offline
 
Join Date: Oct 2005
Location: Germany/Bottrop
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Or use this Plugin: http://www.igniterealtime.org/community/docs/DOC-1170. That update the Openfire User List for the Search Plugin, if the User has changed the Jabber Profile (vCard).
Reply With Quote
  #29  
Old 11-04-2008, 01:44 AM
luxmail luxmail is offline
 
Join Date: Feb 2008
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack, installed, any ideea how to check if the user is allready in Openfire DB, because i have a openfire db who works also with an email service
Reply With Quote
  #30  
Old 11-04-2008, 05:21 PM
Sebijk Sebijk is offline
 
Join Date: Oct 2005
Location: Germany/Bottrop
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by luxmail View Post
Great hack, installed, any ideea how to check if the user is allready in Openfire DB, because i have a openfire db who works also with an email service
If a User is already in Openfire DB, the imported user (or the new forum member) will be skipped. But the problem is, the not imported User receive a email with invalid Openfire Account Details. The user can ignore this mail.
Reply With Quote
  #31  
Old 01-30-2009, 06:43 AM
mmoore5553 mmoore5553 is offline
 
Join Date: Aug 2008
Posts: 530
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so anyone actually using this mod ? can they tlel us now it is working and the email actually displayed ?
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:28 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.04828 seconds
  • Memory Usage 2,315KB
  • Queries Executed 25 (?)
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_code
  • (7)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