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
  #512  
Old 01-19-2009, 12: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

Paul M is me

I never got time to look, I will when I can.
Reply With Quote
  #513  
Old 03-16-2009, 04:03 AM
vbplusme vbplusme is offline
 
Join Date: Sep 2008
Location: CyberSpace
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think you might have a problem with the "getPhoto" function on 3.8.1. I am using a custom avatar and know the image file is not being created per the funtion in vbulletin38cms.php so I get an error or group of errors in my php error log. This is on a system that was upgraded to 3.8.1.1 not sure its broken on a clean 3.8.1.1 install yet, I have not checked it BUT I do know that upgrades do not respond the same way as clean installs now, for sure.

Any ideas why the image would not be created by the getPhoto function?
Reply With Quote
  #514  
Old 03-16-2009, 07:54 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

Since you havent said what the errors are, i cant tell you anything, but i assume you read this comment in the file ;

Quote:
// This function only works if you use the database storage method in vbulletin //
Reply With Quote
  #515  
Old 03-16-2009, 11:02 AM
vbplusme vbplusme is offline
 
Join Date: Sep 2008
Location: CyberSpace
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Paul,

Actually, I did read that and am in compliance but I have been doing some more testing and discovered possibly a path problem in the vbulletin38cms.php. The errors ( I forgot where I was bouncing back and forth between here and Tufat).

I have Flashchat 5.0.10 running with vBulletin 3.8.1.1. When I checked my error log, I find it full of these messages:

Quote:
[16-Mar-2009 20:06:46] PHP Warning: fopen(./images/cust_img/$000001$1221367575.gif) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such file or directory in C:\wamp\htdocs\chat\inc\cmses\vbulletin38CMS.php on line 227

[16-Mar-2009 20:06:46] PHP Warning: fwrite(): supplied argument is not a valid stream resource in C:\wamp\htdocs\chat\inc\cmses\vbulletin38CMS.php on line 228

[16-Mar-2009 20:06:46] PHP Warning: fflush(): supplied argument is not a valid stream resource in C:\wamp\htdocs\chat\inc\cmses\vbulletin38CMS.php on line 229

[16-Mar-2009 20:06:46] PHP Warning: fclose(): supplied argument is not a valid stream resource in C:\wamp\htdocs\chat\inc\cmses\vbulletin38CMS.php on line 230

As a test I added the full path to the image folder to this line:

PHP Code:
$fpath  './images/cust_img/'.$fname.'.'.$fextn
It didn't create the temp image but the error went away and now I can not reproduce but the avatar doesn't display either?
Reply With Quote
  #516  
Old 03-16-2009, 12:17 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

If no image is created then it cannot be displayed.
Reply With Quote
  #517  
Old 03-16-2009, 12:42 PM
vbplusme vbplusme is offline
 
Join Date: Sep 2008
Location: CyberSpace
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I understand. I suspected that it was not finding the directory was the reason but when I put the full path in, it still didn't create the image but it didn't generate any errors either? So what do you suspect is going on here? As you can see from the error message, the avatar image is definitely in the database and displays correctly in vbulletin the way it should?

I am not clear now whether the problem is vbulletin or flashchat but it showed up with 3.8.1.

If the avatar is not in the database, you get an array_merge error about not being an array which I think is a PHP5 problem.

Sure would be nice if I could sort this out, Tufat has pretty much bounced the ball over here but I am not clear that is right place but the problems seem to show up in your code?

Any help greatly appreciated at this point.

thank for your attention, Michael
Reply With Quote
  #518  
Old 03-19-2009, 01:04 PM
TacticalNuke TacticalNuke is offline
 
Join Date: Mar 2007
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm having an error where the users stay logged into flashchat. I was wondering if anyone else was having this problem and could provide assistance. It seems that my time file isn't getting updated (http://forum.tufat.com/showthread.ph...gged+into+chat). However, I've tried reinstalling and the fixes mentioned in that thread. The users don't show up in "Who is chatting" but do show up once in the room.

Thanks for any help.
Reply With Quote
  #519  
Old 03-20-2009, 09:19 PM
Makaveli007 Makaveli007 is offline
 
Join Date: Jun 2008
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed, Thanks
Reply With Quote
  #520  
Old 07-26-2009, 11:21 AM
RickyG RickyG is offline
 
Join Date: Jan 2008
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello Paul,

Used this for FC4 and worked great!
Now trying:
VB 3.7
FC 5

I uninstalled FC dropped the sql flashchat_
Disabled integration

Installed FC5
Used your cmms to get rid of header error
installed your newest integation

all is well...except.

I go to FC and it prompts me user name. I check to user groups and it is all good.

any ideas what i missed?

RickyG
Reply With Quote
  #521  
Old 07-26-2009, 01:30 PM
RickyG RickyG is offline
 
Join Date: Jan 2008
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Interesting, did reinstall and selected VB3.6 and it works now....i am running 3.7
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 11:15 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.06636 seconds
  • Memory Usage 2,320KB
  • 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_php
  • (2)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
  • (3)pagenav_pagelink
  • (2)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