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

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

Category: Integration with vBulletin - Version: 3.6.x Rating:
Released: 07-10-2006 Last Update: 05-05-2008 Installs: 1022
Uses Plugins Auto-Templates
Additional Files Translations  
No support by the author.

This modification is no longer available or supported.

Flashchat integration with vBulletin 3.6

Note:
Standard Flashchat includes a version of my vBulletin integration as part of the Tufat supplied files - including a working vBulletin 3.6 CMS file. However, the standard files do not include Direct Usergroup Integration or other extra's like the WOL Display & Flashchat on a vBulletin page. This Integration Mod adds those features


Standard vB 3.6 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.


More notes:

* This integration is for Flashchat versions 4.7.x and above.
* The automatic link feature may fail if you have customised templates.
* 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
* 3.56 onwards has extra code to cope with VBs CSRF protection, which interferes with profile linking (vb 3.6.10+).

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.

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.01 : First version for vb 3.6 (not released).
v3.02 : Various code changes, first public release.
v3.02A : Minor bug fixes to WOL Display.
v3.02B : Dependancies updated for 3.6.0 Gold.
v3.03 : Minor fix to Get User for membergroupids, some SQL changes.
v3.03A : Updated for Version Checking.
v3.04 : Security (anti-hacking) code added (as supplied by Darren).
v3.05 : Usergroup settings moved to top of CMS file.
v3.06 : Fixed error message when accessing chat admin area.
v3.07 : Default role changed.
v3.08 : Minor bug fix to Avatar detection, login code changes, tidy up.

v3.50 : Beta release with direct usergroup integration.
v3.51 : First full release with direct usergroup integration.
v3.52 : No Access and Banned split into separate permissions.
v3.53 : Minor changes - includes disabling the utf8 functions if the F/C config option is false.
v3.53A : Internal updates, not released.
v3.53B : Internal updates, not released.
v3.53C : Add ability for member to do direct to a room (other than the Flashchat default).
v3.53D : Defaults on first install updated.
v3.54 : Option for link path prefix added.
v3.55 : Minor changes to install code only.
v3.56 : Code added to allow profile views when CSRF protection is active.
v3.57 : CSRF Code changed.

Show Your Support

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

Comments
  #1082  
Old 03-07-2008, 11:37 AM
masterme's Avatar
masterme masterme is offline
 
Join Date: Jan 2007
Location: Holland
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What must I do to make the Chat open in a new window? I have it enabled in the navbar, but it would be nice if it opens in a new window so people can browse the board without exit the chat.
Reply With Quote
  #1083  
Old 03-07-2008, 01:16 PM
kevcj's Avatar
kevcj kevcj is offline
 
Join Date: Mar 2007
Location: East Texas
Posts: 334
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by masterme View Post
What must I do to make the Chat open in a new window? I have it enabled in the navbar, but it would be nice if it opens in a new window so people can browse the board without exit the chat.
Edit the link in the navbar and use TARGET="_blank" to open the chat in a new window.

The code will look something like this:
<a href="https://vborg.vbsupport.ru/"target="_blank">Chat Room</a>

<a href="address to chat room here"target="_blank">Chat Room</a>
Reply With Quote
  #1084  
Old 03-07-2008, 01:39 PM
masterme's Avatar
masterme masterme is offline
 
Join Date: Jan 2007
Location: Holland
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Since the piece in the navbar can be (de)-activated in the options, there is no such link in the navbar.
The 'blank'-function must be edited somewhere within this mod, but cannot find the correct place/way.
Reply With Quote
  #1085  
Old 03-07-2008, 01:55 PM
kevcj's Avatar
kevcj kevcj is offline
 
Join Date: Mar 2007
Location: East Texas
Posts: 334
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by masterme View Post
Since the piece in the navbar can be (de)-activated in the options, there is no such link in the navbar.
The 'blank'-function must be edited somewhere within this mod, but cannot find the correct place/way.
You do not know how to edit your nav bar directly?

Admin control panel - styles and templates - search in templates - search for navbar - edit navbar - search in navbar for Calendar.

Insert the HTML code for your chat room right after
Quote:
<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
<td><a href="address to chat room here"target="_blank">Chat Room</a></td>

That way your navbar is in ABC order.

The navbar will then be - Calendar Chat Room

Here is the code copied straight from my navbar -

<td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>

<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>

<td class="vbmenu_control"><a href="mywebsite name/misc.php?do=flashchat">Chat Room</a></td>

The name of my site was edited out for posting here.
Reply With Quote
  #1086  
Old 03-08-2008, 08:21 AM
masterme's Avatar
masterme masterme is offline
 
Join Date: Jan 2007
Location: Holland
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks allot Kevcj!!!
I wanted to do it the hard way, so was not looking what was in front of my nose.

Works perfect, thanks again!

Edit today:
I wanted to edit the permissions of the usergroups. But unfortunaly it gves me an database erro:

MySQL Error : Unknown column 'nbmsgshowchatbox' in 'field list'

Does not matter which usergroup I want to edit, it all gives the same error. I want to give a sertain usergroup an other permission than the one which is standard, but it will not do it.

I have uninstalled this mod, added again, no succes. I have uninstalled the chat completely (also remaining tables in sql) and re-installed it, no succes.

Anybody an idea what is wrong or an other way to edit the permissions?
Reply With Quote
  #1087  
Old 03-08-2008, 02:17 PM
jim6763nva's Avatar
jim6763nva jim6763nva is offline
 
Join Date: Oct 2005
Location: Virginia
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok I know I made a post in this thread a few days ago and now it's gone. As anyone had issues with posts getting deleted for no reason?

Anyway, I've installed this flashchat with integration (marked as installed too) everything seems to work ok up to the point where I click on the flashchat link that I put on my navbar manually. It will bring up the vb page with the iframe but inside the IFrame it's displaying a 404 error for the page. I've right clicked inside the iframe to bring up properties dialog and it's showing:

Code:
res://ieframe.dll/http_404.htm#http://www.talkvirginia.net/forum/chat/flashchat.php&room=1
I've viewed the page source code and it's showing the iframe executing the correct url after I changed the $vbphrase[flashchat_path].

Code:
<!-- main -->
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
	<!-- body -->
	<tr align="center">
	<td class="alt1">
	<iframe width="100%" height="600" src="http://www.talkvirginia.net/forum/chat/flashchat.php&amp;room=1"></iframe>
	</td>
	<!-- end body -->
	</tr>
	<tr align="center">
	<td class="thead"><div class="smallfont">Flashchat Integration Version 3.7.002 : &copy <a href="http://www.cableforum.co.uk/board/member.php?u=1268">Paul Marsden</a> 2008</div></td>
	</tr>
</table>
<!-- /main -->
Flashchat works great in a separate window/tab.

I'm running vbadvanced 3.0 gold/Vbulletin 3.7.0 beta 5

Any ideas how I can fix this?

Thanks in advance!
Jim
Reply With Quote
  #1088  
Old 03-09-2008, 01:53 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 jim6763nva View Post
Ok I know I made a post in this thread a few days ago and now it's gone. As anyone had issues with posts getting deleted for no reason?

.
.

I'm running vbadvanced 3.0 gold/Vbulletin 3.7.0 beta 5
This is the thread for vb 3.6, you are in the wrong place.

The 404 bug was in the 3.7 version and fixed the other day.
Reply With Quote
  #1089  
Old 03-10-2008, 08:05 AM
masterme's Avatar
masterme masterme is offline
 
Join Date: Jan 2007
Location: Holland
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anybody an idea how to solve my problem (2 posts earlier)? I cannot even give my co-admin adminrights and she can not login too while she has userrights, very strange.
Reply With Quote
  #1090  
Old 03-11-2008, 04: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

You need to remove the bitfield file associated with the 'nbmsgshowchatbox' modification from your includes/xml folder
Reply With Quote
  #1091  
Old 03-11-2008, 09:21 PM
jim6763nva's Avatar
jim6763nva jim6763nva is offline
 
Join Date: Oct 2005
Location: Virginia
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post
This is the thread for vb 3.6, you are in the wrong place.

The 404 bug was in the 3.7 version and fixed the other day.
Oh ok, :erm: My bad! lol

By the way, since we are talking about 3.6, I just tried to install the product for this integration on my 3.6.8 site and I keep getting an error saying that this version is only compatible with 3.7.x Am I losing my mind again?

Jim

EDIT: Nevermind - I got it working... I think I was half asleep when I tried to install it.. and I'm just being a goober. Don't mind me. Thanks for this integration!
Reply With Quote
 


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:29 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.05641 seconds
  • Memory Usage 2,327KB
  • 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
  • (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
  • (3)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