vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Chat Modifications - Flashchat 6 Integration for vBulletin 4.x (https://vborg.vbsupport.ru/showthread.php?t=231184)

Paul M 12-24-2009 10:00 PM

Flashchat 6 Integration for vBulletin 4.x
 
This modification is no longer available or supported.

Note: I no longer use Flashchat, and development and support of it at Tufat appears to have died in 2010.


vBulletin 4.x Version

Please remember to click Mark as Installed if you use this modification.
Please fee free to nominate this modification for the MOTM, and/or use the donate link provided (Support Developer).

Flashchat 6 Integration with vBulletin 4.x.x
Flashchat 4 & Flashchat 5 are not supported by this Integration.

vBulletin 4.0.1 broke the automatic login of vb members into Flashchat, this is fixed in mod version 4.0.5 onwards.

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


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 automatically add a link to Flashchat in your Navbar Quick Links or Community Links - this feature can be disabled if you wish.
* The automatic link can have a prefix path defined - useful if you use something like vBA.
* You can define a usergroup to login as Flashchats "Spy" mode.


More notes:

* 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.

Note: This modification is not Flashchat - you must obtain and install that first - this is just vBulletin / Flashchat Integration. You must also install Flashchat into a folder called 'chat' in your forum root folder i.e. (/forums/chat/) - this is the same folder as your usercp.php file and includes folder. This modification will fail if you do not do this.

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

To use the this 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.


Support

This modification is not supported.
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.



History:

v4.0.1 : 25-Dec-2009 : Initial release for vb 4.0.0 Gold.
v4.0.2 : 26-Dec-2009 : Fix bug in CMS file for CSRF on profile pages.
v4.0.3 : 27-Dec-2009 : Fix bug when using admin message list + minor phrase changes.
v4.0.4 : 05-Jan-2010 : Minor display changes (not released).
v4.0.5 : 13-Jan-2010 : Fix broken autologin in vb 4.0.1 +
v4.0.6 : 26-Jan-2010 : Various updates.
v4.0.7 : 27-Feb-2010 : Style code updates for vB 4.0.2.
v4.0.8 : 13-Jun-2010 : Added error message if Flashchat installation cannot be detected.

v4.1.0 : 04-Dec-2010 : Updated for vBulletin 4.1.


radmoose 12-25-2009 08:35 PM

You Rock! =)

m2006 12-25-2009 08:42 PM

Thank you verymuch for nice mods

sisterhood 12-25-2009 08:55 PM

Extra Nice :-) THX

radmoose 12-25-2009 09:15 PM

When I click on a PROFILE inside of FlashChat, I get the following error:

Your submission could not be processed because a security token was invalid.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error


I know this is a problem with the out-of-the-box FC integration, however, it looks like this integration is trying to fix it.

Is there something wrong with my site configuration?

Paul M 12-25-2009 09:25 PM

Works fine for me, are you sure you uploaded the cms file correctly.

radmoose 12-25-2009 09:55 PM

I am sure that I did as I checked the file again by downloading it. It is defiantely your CMS file. I uploaded it again, and reloaded FC and same issue.

It does put the extra info on the URL (#=hex #)

http://www.DOMAIN.com/forum/member.p...##############

If I go to the address bar and press enter, it does redirect properly (but then it isn't a POST any more)

I am not sure if this would be part of the issue, but I do have "Mod Rewrite Friendly URLs" set on the site.

Paul M 12-25-2009 10:26 PM

Does it work if you turn that option off ?

It makes no difference on my test site, but then I have no actual mod rewrite rules set. If turning that option off fixes it then you need to look at your rules as they are breaking it.

swiftor 12-26-2009 12:26 AM

Hi, thanks for the great mod, works like a charm on my test forum.

Above you mention that the chat can be embedded in an existing page, and for chat in a vb page to link to /misc.php?do=flashchat

How would I embed the chat, lets say, on the main forum.php page or perhaps somewhere on main CMS page?

movslow 12-26-2009 02:08 AM

Is this something that loads in a seperate box on another page, or can it be loaded on the main forum page ?

radmoose 12-26-2009 04:07 AM

Quote:

Originally Posted by Paul M (Post 1938278)
Does it work if you turn that option off ?

It makes no difference on my test site, but then I have no actual mod rewrite rules set. If turning that option off fixes it then you need to look at your rules as they are breaking it.

OK, I tried it disabled and enabled. I am using the .htaccess provided by vBulletin and it doesn't seem to have any bearing on the issue.

I also am getting another error when attempting to view the messages in the Admin area of FlashChat. Once I installed your mod, I know get the following error:

"Error 4.0.4 : No permissions found for usergroup ."

Any ideas on what I should be looking for to resolve this issue?

RickyG 12-26-2009 08:27 AM

Thank You!!!!!

RickyG 12-26-2009 09:08 AM

It was working great...now when i try, I get prompted for LOG ON. I do my VB admin logon and it goes to a blank page.

I goto the chat/admin, it prompts me for a log on. Input log in and get error:

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

**** I HAD TO UNINSTALL FLASHCAHT AND REINSTALL LOOKS LIKE ALL IS GOOD NOW****

Paul M 12-26-2009 11:44 AM

Quote:

Originally Posted by radmoose (Post 1938416)
Any ideas on what I should be looking for to resolve this issue?

Both those issues suggest you have not imported the product into vb, or you have disabled it (or disabled all plugins ?).

Alecsmith 12-26-2009 02:15 PM

Their is sort of problem i install mod but i cant see flashchat screen.

Check my forum link

bart6767 12-26-2009 02:20 PM

Thanks paul

iguano 12-26-2009 02:41 PM

Internal Server Error :(
( for Admin Panel Integration too )

hex1848 12-26-2009 03:53 PM

When I go to http://www.mysite.com/misc.php?do=flashchat in IE 7, I get a Windows Internet Explorer error popup: "Internet Explorer cannot open the Internet site http://www.mysite.com/misc.php?do=flashchat. Operation aborted". I click on and get taken to the “Internet Explorer cannot display the webpage” error. If I refresh the screen it seems to work fine.

IE 8 brings the page with a ~broken flash applet, if I refresh the page, I get a script error in the bottom left corner:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0; GTB6.3; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.21022; InfoPath.1; .NET CLR 3.0.30618; .NET CLR 3.5.30729)
Timestamp: Sat, 26 Dec 2009 17:51:23 UTC


Message: HTML Parsing Error: Unable to modify the parent container element before the child element is closed (KB927917)
Line: 0
Char: 0
Code: 0
URI: http://www.mysite.com/chat/flashchat.php

I’ve tested firefox 3.5.6 and chrome 3.0.195 and they seem to work fine. Any thoughts on what's causing IE to complain?

Paul M 12-26-2009 05:17 PM

Quote:

Originally Posted by Alecsmith (Post 1938625)
Their is sort of problem i install mod but i cant see flashchat screen.

Check my forum link

Are you sure you actually installed Flashchat ?

Paul M 12-26-2009 05:20 PM

Quote:

Originally Posted by hex1848 (Post 1938690)
I?ve tested firefox 3.5.6 and chrome 3.0.195 and they seem to work fine. Any thoughts on what's causing IE to complain?

Not really.

Are you sure you have the latest flash plugin for IE ?

I cant try it with IE myself as those are not real links to your site - IE7 & 8 work fine on my site.

radmoose 12-26-2009 07:25 PM

Quote:

Originally Posted by Paul M (Post 1938545)
Both those issues suggest you have not imported the product into vb, or you have disabled it (or disabled all plugins ?).

The plug-ins were enabled and I had imported the product.

All of the other ADMIN pages work just not the messages page.

I tried uninstalling the product and reinstalling. I get the same errors.

Paul M 12-26-2009 08:01 PM

Sorry, but without full access to your site there is nothing else I can tell you.

Quote:

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.

radmoose 12-26-2009 08:14 PM

Quote:

Originally Posted by Paul M (Post 1938890)
Sorry, but without full access to your site there is nothoing else I can tell you.

=( buh. OK. Understandable.

So my current status is...
  • The msglist works fine when I move back to original vbulletin40CMS.php file.
  • The msglink does not work with your updated vbulletin40CMS.php file.
  • It seems that the $group isn't passed.
  • The profile link doesn't work with either one. In FC original it was due to the CSRF protection. I was able to work around that. In this mod, it is acting like it is getting the wrong value ... or something =/
  • The rest of the integration does seem to function properly.

I think my next step is to recreate my board as a test board and start tearing things apart.

Paul M, thanks for your assistance and insight, as well as your MODs.

EDIT: Just saw the part about PMing you the details.. I was thinking that your comment was that since you couldn't see it you were at a loss. I will get you the details in a PM. Thanks again.

swiftor 12-26-2009 09:47 PM

Hi Paul, did you have a chance to see my earlier post? Is it possible to embed the chat within an existing page, like the main forum listing page? If so, any details on how? Thanks!

Paul M 12-26-2009 09:57 PM

Quote:

Originally Posted by swiftor (Post 1938968)
Hi Paul, did you have a chance to see my earlier post? Is it possible to embed the chat within an existing page, like the main forum listing page? If so, any details on how? Thanks!

Not really no, thats why this mod uses its own page.

If you really want, you could embed it as an iframe, similar to how the custom page works, but I wouldnt recomend it, esp on your homepage, you would very quickly overload your system.

Paul M 12-27-2009 12:26 PM

A couple of issues have been fixed in version 4.0.3 released today.

Thanks to Radmoose for reporting them, and for providing access to his site so I could track them down.

nitra1000 12-27-2009 03:13 PM

I don't think my host supports this (can't enter a good RTMP URL in flashchat isntall) anyone know any good VB host that does? (pm me)

sisterhood 12-27-2009 05:33 PM

Mod is not ready 4.0.3 user can not show your own text in chat

Paul M 12-27-2009 07:46 PM

Quote:

Originally Posted by sisterhood (Post 1939591)
Mod is not ready 4.0.3 user can not show your own text in chat

I have no idea what this means.

radmoose 12-27-2009 10:23 PM

Quote:

Originally Posted by Paul M (Post 1939369)
A couple of issues have been fixed in version 4.0.3 released today.

Thanks to Radmoose for reporting them, and for providing access to his site so I could track them down.

Thank you Paul M for taking the time to track them down.

For those following along at home =) some of the issues I posted were most likely due to my installing and uninstalling out of order to try to correct the issues that were ultimately fixed by Paul. The integration did work (other than the minor issues that were ultimately corrected) when installed (or uninstalled) properly and in the correct order. =)

So once we got over the basic install issues (that I seemed to have caused) Paul M was able to resolve the real issues.

Thanks again Paul M for taking the time.

The integration is working well and I have a lot of happy forum members because of it!

(tries to add more stars to the 5 star rating) :)

TeknoSounds 12-28-2009 05:40 AM

Did an install on my dev site today and the following:
Quote:

css.php?sheet=memberlist.css
appears at the top of the page above the vB top banner.

This is on a 4.0 upgraded board, using only the default style.

Installed flashchat, then the integration mod, then the admincp mod.


Btw Paul, ty for your mods and time, been using various ones for several years now.

Darkimmortal 12-28-2009 06:20 AM

Quote:

Originally Posted by TeknoSounds (Post 1940068)
-snip-

That'll be supercharged doing that D:

TeknoSounds 12-28-2009 06:22 AM

oh duh...css... ha... should've clued myself in on that. Kk gonna add to whitelist and recompress.

TeknoSounds 12-28-2009 06:30 AM

Hmm added memberlist.css to the list and recompressed tho no go.

Moving this to the supercharged thread tho, thanks Dark & Paul :)

CLUB AMPLE 12-28-2009 07:48 AM

paul... as previously stated... you rock! thanks for this!

Paul M 12-28-2009 01:55 PM

Quote:

Originally Posted by TeknoSounds (Post 1940068)
..the following:


appears at the top of the page above the vB top banner.

Looks to me like you have edited the Flashchat template and somehow removed part of this line (or partly duplicated it) ;

HTML Code:

<link rel="stylesheet" type="text/css" href="css.php?sheet=memberlist.css" />

milaszewski 12-29-2009 09:19 AM

I uninstalled the mod. Now, when I create a new usergroup in vB Admin CP I get this:
Code:

MySQL Error  : Unknown column 'fcpermissions' in 'field list'
Error Number  : 1054

What should I do to get rid of it? I want to be able to create new usergroups!

Paul M 12-29-2009 11:20 AM

You did not fully uninstall it, you have to remove the files as well.

milaszewski 12-29-2009 11:38 AM

Quote:

Originally Posted by Paul M (Post 1941436)
You did not fully uninstall it, you have to remove the files as well.

I did...
I had to use a workaround - I reinstalled the mod and then I disabled it. Now I can add usergroups.

Paul M 12-29-2009 07:37 PM

Quote:

Originally Posted by milaszewski (Post 1941451)
I did...

I disagree. That error is very common when people uninstall modifications, and forget to remove the bitfields xml file.


All times are GMT. The time now is 10:47 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01698 seconds
  • Memory Usage 1,845KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_html_printable
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete