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
  #112  
Old 05-03-2008, 05:50 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 Xalibur View Post
* Direct Usergroup Integration - a section is added to each usergroup in the ACP Usergroup Manager to set the Flashchat permissions for that group.

installed and checked 3 times. i dont have a own section to set user permission. (heck i have a lot buttons there, but no for FlashChat...or am i looking at the wrong section ?
No idea, where are you looking ?

Quote:
Originally Posted by Al Gregory View Post
I still get the token error is the upgrade supposed to solve that?
Yes.
Reply With Quote
  #113  
Old 05-03-2008, 07:37 PM
Al Gregory Al Gregory is offline
 
Join Date: Apr 2005
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there anything else I can do to solve it?

I fixed it, had to change the chat config file to show vb37 instead of 36

Thank u so much i have about 90 emails from people complaining

One more stupid question, How can I make the link say something different than FlashChat? I would like to make it something more key word specific
Reply With Quote
  #114  
Old 05-04-2008, 07:58 AM
rapidphim rapidphim is offline
 
Join Date: Feb 2007
Posts: 733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not sure why you still recieved the token error. Did you have the latest FlashChat installed?

About changing the name FlashChat to something else, please edit the xml file (once you opened the xml file, search for "FlashChat")
Reply With Quote
  #115  
Old 05-04-2008, 10:16 AM
sinucello sinucello is offline
 
Join Date: Apr 2006
Location: dutch-german border
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,
Quote:
Originally Posted by rapidphim View Post
Thanks Paul. I'll the style creator. But, can you at least provide me the template where I can edit the standard "vbmenu_option" class?
I`m not a coder but you can edit the xml-file and find line 254:
PHP Code:
    $template_hook['navbar_buttons_left'] .= '<td class="vbmenu_control"><a href="'.$vbulletin->options['fcpath'].'misc.php?'.$session['sessionurl'].'do=flashchat'.$room.'">'.$vbphrase['flashchat'].'</a></td>'

and replace it with your custom HMTL.

hth,
Sacha
Reply With Quote
  #116  
Old 05-04-2008, 10:26 AM
rapidphim rapidphim is offline
 
Join Date: Feb 2007
Posts: 733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks sinucello, I already fixed that.
Reply With Quote
  #117  
Old 05-04-2008, 10:37 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

Quote:
Originally Posted by Al Gregory View Post
One more stupid question, How can I make the link say something different than FlashChat? I would like to make it something more key word specific
It uses the phrase "flashchat" - edit that in the ACP.
Reply With Quote
  #118  
Old 05-05-2008, 08:10 AM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post
Unfortunately its not very easy for me to fix as its Flashchat itself that sends a POST request on the profile lookup when it really should be a GET request. I have posted this on their forums.

Technically it can be got around by adding some new code into the CMS file and adding a plugin to vbulletin, I have tested this and it does work, but I'm not going to release it atm as its a horrible fudge - it would be much better if Tufat fixed it (as above).
Thanks :-)
For those who need a fix now I've attached a product that should get around the issue, though it is really nasty stuff ...
Reply With Quote
  #119  
Old 05-05-2008, 09:10 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

I released a different method here the other day - but tbh, yours looks simpler. Do you mind if I incorporate it in to my release ?
Reply With Quote
  #120  
Old 05-05-2008, 10:07 AM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Feel free to do whatever you want to do with it :-)
Reply With Quote
  #121  
Old 05-05-2008, 10:08 AM
codershark codershark is offline
 
Join Date: Feb 2008
Location: Germany
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your fix dont work
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: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.04938 seconds
  • Memory Usage 2,325KB
  • 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
  • (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
  • (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