Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Flashchat: Integration for vB 3.7 Details »»
Flashchat: Integration for vB 3.7
Version: 3.7.009, by Paul M Paul M is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Chat Modifications - Version: 3.7.x Rating:
Released: 01-02-2008 Last Update: 10-24-2008 Installs: 601
Translations  
No support by the author.

This modification is no longer available or supported.

Flashchat integration with vBulletin 3.7

Note: Flashchat Version 5.0.8 onwards now has the option for vbulletin 3.7 integration.

Note:
Standard Flashchat includes vBulletin integration as part of the Tufat supplied files. However, the standard integration does not include Direct Usergroup Integration or other extra's like the WOL Display & Flashchat on a vBulletin page. This Modification adds those features


Standard vB 3.7 integration features

* Authorised members are automatically logged in.
* Automatic login works even if a member has not ticked "remember me".
* All non authorised members are locked out (this and the above are based on usergroup membership).
* If enabled, Flashchat updates the users session location (displayed in various vBulletin online location displays such as WOL).
* Real ip detection when a proxy server is used (only if the proxy server passes on the details).
* Permanant, Private Rooms are loaded by Admins and Moderators (allows for Staff Rooms).

Extra's added by this modification

* Direct login to a room.
* The WOL will correctly display Flashchat as the location (not 'Unknown Location')
* Flashchat can be displayed embedded inside a 'standard' vBulletin Page (i.e. not full screen).
* Direct Usergroup Integration - a section is added to each usergroup in the ACP Usergroup Manager to set the Flashchat permissions for that group.
* The plugin will try to automatically add a link to Flashchat in your Quick Links or Navbar - this feature can be disabled if you wish.
* The automatic link can have a prefix path defined - useful if you use something like CMPS.
* You can define a usergroup to login as Flashchats "Spy" mode. (Version 3.7.002 onwards)


More notes:

* This integration is for Flashchat versions 4.7.x or 5.0.x (seperate downloads).
* The automatic link feature may fail if you have customised templates (it uses template hooks).
* For Flashchat inside a vBulletin page you need to link to .../misc.php?do=flashchat
* This modification does not add any links to Flashchat Administration in the ACP.
* You can set all members to login direct to particular room via the ACP.
* You can also add a room parameter to the url - i.e. .../misc.php?do=flashchat&room=3
* Spys can login into the chat but are not listed in the room - they cannot chat, just watch.
* 3.7.004 onwards has extra code to cope with VBs CSRF protection, which interferes with profile linking.
* 3.7.006 onwards is for Flashchat 5.0.x - The previous version for Flashchat 4 (3.7.005) will continue to be available for the moment.

The CMS file assumes that you are installing Flashchat in your forum root folder - this is the same folder as your usercp.php file and includes folder. Installation will fail if you do not do this.

Support: Please check the instructions, and make sure you have uploaded any files to the correct location - the vast majority of problems reported are due to an error made in editing or uploading files. If you are still stuck and want me to take a look then feel free to PM me your site address, an admin user, and ftp access details, without these I cannot help you. I will look when I have time.

Flashchat 4 : If you have upgraded from 3.6 to 3.7 make sure you have edited the CMS entry in the Flashchat config.php file.


Finally, I am not Tufat.com or Flashchat Support - if you have questions about Flashchat, their forums are here.


To use the this upgraded integration simply download and unzip the file, then follow the instructions in the text file. Once installed, the Flashchat userlevel options for each usergroup will appear in the ACP usergroup edit screens - editing of the CMS file will no longer be required.



History:

v3.7.001 : First release for vb 3.7.
v3.7.002 : Option for Flashchat spy mode added.
v3.7.003 : Fix for 404 page not found error in certain situations.
v3.7.004 : Code added to allow profile views blocked by VB's CSRF protection.
v3.7.005 : CSRF Code changed.

v3.7.006 : Modified for Flashchat 5.
v3.7.007 : Removed 3.6 CMS file, Updated install code.
v3.7.008 : Fix bug in new install code - was using WIC option.
v3.7.009 : CMS file updated to check a users infraction groups.

Show Your Support

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

Comments
  #462  
Old 12-08-2008, 08:19 AM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by doctorsyrup View Post
Paul,

This mod is required for installing Mosh's FC5 Admin Panel Integration for VB3.8 but I get the following error when installing this.

This product is not compatible with version 3.8.0 Release Candidate 1 of vBulletin. (Compatible starting with 3.7.0 / Incompatible with 3.7.99 and greater)

I understand this mod is for 3.7 but how do I get it to work with 3.8.0 RC1 as required by Mosh to install his 3.8 Admin Panel Integration mod?

https://vborg.vbsupport.ru/showthread.php?t=194784
Try the instructions in post #417 of this thread, works for me - https://vborg.vbsupport.ru/showpost....&postcount=417
Reply With Quote
  #463  
Old 12-10-2008, 01:38 AM
philr philr is offline
 
Join Date: Nov 2008
Location: Brisbane
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hook online_location_process:
Code:

PHP Code:
switch ($filename)
{
case 'mypage.php':
$userinfo['activity'] = 'mypage';
break;
// add more cases here if you have more than one custom page. no need for multiple plugins. one plugin can handle all.
}

hook online_location_unknown
Code:

PHP Code:
switch ($userinfo['activity'])
{
case 'mypage':
$userinfo['where'] = '<a href="mypage.php?'.$vbulletin->session->vars[sessionurl].'">My Page</a>';
$userinfo['action'] = "Viewing My Page";
$handled = true;
break;
// add more cases here if you have more than one custom page. no need for multiple plugins. one plugin can handle all.
}

I have been given this code to ammend and this should allow me to see who is using the chat room from VB WOL list. What values do i have to change the make it work, i know it may be a stupid question but i have only just started on the VB and flash chat integration path. Thanks in advance
Phil
Reply With Quote
  #464  
Old 12-10-2008, 09:21 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Perhaps you should read the main post ....

Quote:
Extra's added by this modification

* The WOL will correctly display Flashchat as the location (not 'Unknown Location')
Reply With Quote
  #465  
Old 12-10-2008, 09:45 AM
philr philr is offline
 
Join Date: Nov 2008
Location: Brisbane
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Paul
Thanks for the reply, i have read the main post and installed as instructed, however the WOL does not show users being in the chat room, it only shows there last location on Vbulletin?
Reply With Quote
  #466  
Old 12-10-2008, 01:24 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmmm, interesting, I wonder if FC5 has broken it. I'll have a look at the weekend if I get time.
Reply With Quote
  #467  
Old 12-13-2008, 08:06 PM
Fivetide Fivetide is offline
 
Join Date: Oct 2008
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Setting CMS value

Warning: require_once([path]/chat/temp/config.srv.php) [function.require-once]: failed to open stream: No such file or directory in [path]/admincp/plugin.php(1985) : eval()'d code on line 6

Fatal error: require_once() [function.require]: Failed opening required '/web/guide/t34vtiger/public_html/forums/chat/temp/config.srv.php' (include_path='.:/usr/local/lib/php') in /web/guide/t34vtiger/public_html/forums/admincp/plugin.php(1985) : eval()'d code on line 6

----------> Install Flashchat, ... dohhh what its an exe..?

great install instructions there I suppose you think everyones some kind of VBull guru ?
Reply With Quote
  #468  
Old 12-13-2008, 10:02 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Fivetide View Post
great install instructions there I suppose you think everyones some kind of VBull guru ?
Nope, but I do assume people using this forum can read.

Quote:
Finally, I am not Tufat.com or Flashchat Support - if you have questions about Flashchat, their forums are here.
Reply With Quote
  #469  
Old 12-16-2008, 09:05 PM
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Posts: 2,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had to change the XML product /chat to /flashchat include. Will this be any problem in the future? Are there any other pointers to the /chat folder around?
Reply With Quote
  #470  
Old 12-17-2008, 12:50 AM
AdmiralSpock's Avatar
AdmiralSpock AdmiralSpock is offline
 
Join Date: Jul 2006
Location: Earth
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed this and the ACP integration, and the chat was working fine for a few hours... but now I seem to have a problem... I am getting this error when trying to log into the flashchat admin cp:

Code:
Fatal error:  Call to a member function next() on a non-object in /home/one/public_html/community/chat/inc/cmses/statelessCMS.php on line 130


The chat on the front-end also is not working. It says it has something to do with stateless CMS, and I do remember that right after integrating it stated that it was using a stateless CMS. That struck me as odd as it would be using the vB user database for authentication. Could this error be something I did, and do you have any ideas on how I can fix this... or should I be approaching Tufat.com about this? Thanks
Reply With Quote
  #471  
Old 12-18-2008, 11:11 PM
butler312 butler312 is offline
 
Join Date: Aug 2008
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post
Read the main post, the information is all there.
Still not seeing any instructions on how to put the chat within a vbulletin page (such as in the portal). I see this:

"For Flashchat inside a vBulletin page you need to link to .../misc.php?do=flashchat"

but that doesn't make any sense to me. I don't want to link to the chat, I want the chat in the page.
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 12:49 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.08667 seconds
  • Memory Usage 2,324KB
  • 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
  • (1)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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