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 5 or 6 : Integration for vBulletin 3.8 (https://vborg.vbsupport.ru/showthread.php?t=201210)

Reef Man 09-09-2009 08:32 PM

Thank you Paul.
I will ask to TufaT Suport.

carmichael1973 09-19-2009 09:55 AM

If anyone is interested. Here's a fix for the Who's Online "Unknown Location" issue with VB 3.81+ w/ FC5

This will register the pages correctly!!!

************************************************** ***********
Add the following code BELOW the last ?> in the file /forums/chat/getxml.php
************************************************** ***********
Code:

<?php
// #################### DEFINE WHOS ONLINE VARIABLES - USING FLASHCHAT #######################
error_reporting(E_ALL & ~E_NOTICE);
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'getxml.php');
define('VBA_PORTAL', true);
define('VBA_SCRIPT', 'CMPS');

//Define your forum path
$forumpath = 'c:/Inetpub/path/forums';

//example = '/home/msxorg/public_html/forum' OR 'c:/Inetpub/site/forums'


chdir($forumpath);

$phrasegroups = array();
$globaltemplates = array();
$actiontemplates = array();
$specialtemplates = array();

require_once('./includes/vba_cmps_include_template.php');
require_once('./global.php');

exec_shut_down();
?>


************************************************** ***********
Add the following code BELOW the last ?> in the file /forums/chat/ajax_logout.php
************************************************** ***********
Code:

<?php
// #################### DEFINE WHOS ONLINE VARIABLES - LOGGED OUT OF FLASHCHAT #######################
error_reporting(E_ALL & ~E_NOTICE);
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'ajax_logout.php');
define('VBA_PORTAL', true);
define('VBA_SCRIPT', 'CMPS');

//Define your forum path
$forumpath = 'c:/Inetpub/path/forums';

//example = '/home/msxorg/public_html/forum' OR 'c:/Inetpub/site/forums'


chdir($forumpath);

$phrasegroups = array();
$globaltemplates = array();
$actiontemplates = array();
$specialtemplates = array();

require_once('./includes/vba_cmps_include_template.php');
require_once('./global.php');

exec_shut_down();
?>

Be sure to EDIT the PATH in each. You can safely remove the vBAdvanced items if you wish.

I've tested this and it DOES work!!!:D

Paul M 09-19-2009 04:31 PM

Quote:

Originally Posted by carmichael1973 (Post 1887442)
If anyone is interested. Here's a fix for the Who's Online "Unknown Location" issue with VB 3.81+ w/ FC5

What issue ?


Adding a call to vb global.php in getxml is a bad idea, you are going to hammer mysql for no good reason.

gg2-hungama 09-25-2009 05:19 PM

i upload everything and when i import file i got this error

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(1995) : eval()'d code on line 5

Fatal error: require_once() [function.require]: Failed opening required '/home/ggtwohun/public_html/forum/chat/temp/config.srv.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/ggtwohun/public_html/forum/admincp/plugin.php(1995) : eval()'d code on line 5

what did i do wrong ?

i assume i do not have install.php but i couldn't find it in folder ..

Paul M 09-25-2009 08:44 PM

Have you actually installed Flashchat 5 ?

carmichael1973 09-26-2009 06:18 PM

Quote:

Originally Posted by Paul M (Post 1887610)
What issue ?


Adding a call to vb global.php in getxml is a bad idea, you are going to hammer mysql for no good reason.

Well let's see.... hmmm! Maybe the others that have posted in this thread having the same problem I did after upgrading to vb 3.8.2? Who's Online shows "Unknown Location" and a path like "CInetpubYourSiteForumsChatGetxml.php"

I'm not saying it's the best thing to do, I'm just saying it works... Sorry to offend you and I'll keep my mouth shut in the future!!!:erm:

Paul M 09-26-2009 11:05 PM

The only person getting offended is you.

The history details list the following ;

Quote:


History:

v3.8.001 : First release for vb 3.8.
v3.8.002 : Fixed who is online location to work with FC 5.


Therefore I asked you "What issue ?", a simple enough question.

You also posted details of an edit to getxml.php, that IMO is both unnecessary and a pretty bad idea. Im not going to advise people to do that, sorry if that offends you, but thats how it is.

carmichael1973 09-27-2009 01:36 AM

Quote:

Originally Posted by Paul M (Post 1891087)
The only person getting offended is you.

The history details list the following ;



Therefore I asked you "What issue ?", a simple enough question.

You also posted details of an edit to getxml.php, that IMO is both unnecessary and a pretty bad idea. I'm not going to advise people to do that, sorry if that offends you, but thats how it is.

Paul I have a huge amount of respect for you. I'm just one of those people who gives it my best shot before crying to the guy who made the "Free Mod" I'm using. If I can help a few others out along the way then great.

I also understand what the history details are stating as well. Maybe it's another mod causing it to not work for me. Maybe it's the style I made.

I read MrD had a similar problem and didn't see the need to ask the same question twice.

Paul M 09-27-2009 10:23 AM

As I recall, his issue was an incorrect filename being returned from vbulletin. He never responded further, so the reason for that was never found (or maybe he did, just never posted it).

svoeric 09-27-2009 03:26 PM

Hey Paul, I just re-installed flashchat, to fix some bugs, and also re-installed the integration products. For some reason now, Flashchat will allow all users to log in, even users in the unregistered group, even tho I have them set for no access. in the usergroup manager.

Any thoughts?

SEW810 09-27-2009 11:03 PM

Quote:

Originally Posted by gg2-hungama (Post 1890523)
i upload everything and when i import file i got this error

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(1995) : eval()'d code on line 5

Fatal error: require_once() [function.require]: Failed opening required '/home/ggtwohun/public_html/forum/chat/temp/config.srv.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/ggtwohun/public_html/forum/admincp/plugin.php(1995) : eval()'d code on line 5


what did i do wrong ?

i assume i do not have install.php but i couldn't find it in folder ..

I got same error.


Quote:

Originally Posted by Paul M (Post 1890608)
Have you actually installed Flashchat 5 ?

THAT'S exactly what I'm trying to do !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
There is no install.php at zip file. Do I need to install something before install flashchat??

Good Lord ,,, what do you mean with "Have you actually installed Flashchat 5 ?"

Any DEMO page please?
Thnx

Paul M 09-28-2009 10:16 AM

This modification is not Flashchat.

Flashchat is a seperate application supplied by Tufat, which you must install first.

SEW810 09-29-2009 08:40 PM

ok thanx, i'll check it out.
Sorry.

And thnx for your help :)

h2ojunkie 10-05-2009 05:59 PM

After uploading the new vbulletin38CMS.php from this mod, the profile link no longer works.

Checking debug mode, it's returning the error:
vBulletin 3.8 : Integration Error 06 : Unable to load user information.

I was able to get the profile link to work again by replacing the profile section of the code from this mod:
PHP Code:

    // Returns URL of user profile page //
    
function getUserProfile($userid)
    {
        if((
$rs $this->getUserStmt->process($this->userid)) && ($rec $rs->next()))
        {
            
// Data for CSRF check
            
$fcid $rec['userid'];
            
$fcus sha1($rec['salt']);
        }
        else
        {
            exit(
'vBulletin 3.8 : Integration Error 06 : Unable to load user information.');
        }
        return (
$this->userid == $userid) ? "../profile.php?do=editprofile&fcid=$fcid&fcus=$fcus"../member.php?u=$userid&fcid=$fcid&fcus=$fcus";
    } 

With the code from the original vbulletin38CMS.php code that came with flashchat 5.0.11
PHP Code:

    // Returns URL of user profile page for such user id or null if user not found
    
function getUserProfile($userid)
    {
        return (
$this->userid == $userid) ? "../profile.php?do=editprofile" "../member.php?u=$userid";
    } 

It appears to be working fine now, however will reverting it back to the original version cause the security token error?

Paul M 10-05-2009 06:55 PM

Quote:

Originally Posted by h2ojunkie (Post 1895263)
....will reverting it back to the original version cause the security token error?

Yes, it will.

h2ojunkie 10-06-2009 02:38 AM

That's what I thought.

Any idea what might be causing the Integration Error 06.

I installed a clean version of 5.0.11 and a clean version of this mod on a test server and I'm getting that error, so I can't see how it's something else conflicting with it.

realmr 10-06-2009 08:26 AM

is this chat application gonna add up to server load or consume more bandwidth ?

Paul M 10-06-2009 10:42 AM

Quote:

Originally Posted by h2ojunkie (Post 1895459)
That's what I thought.

Any idea what might be causing the Integration Error 06.

I installed a clean version of 5.0.11 and a clean version of this mod on a test server and I'm getting that error, so I can't see how it's something else conflicting with it.

Well its failing to read the user data, no idea why tho, since its must do that elsewhere ok for integration to work.

I no longer have Flashchat 5 installed anywhere, but it worked fine when I did. Maybe something has changed in later versions, tho tbh, I would have expected more reports than just 1.

RomainVL 10-11-2009 01:37 AM

I installed it, and it works perfectly, thanks for this mod! And the Flashchat ACP is also a great feature. ;)

realmr 10-11-2009 07:27 AM

just bumping my question again, does the add-on take load on the server and consume bandwidth ??

Paul M 10-11-2009 02:41 PM

What addon exactly are you referring to ?

realmr 10-14-2009 08:15 AM

flash5chat, as it will b integrated using ur released plugin
and just 1 more query, do the admins/mods have control over the chat application, can they delete the chat msgs ?

Paul M 10-14-2009 09:20 AM

Sorry, but questions about Flashchat need to be directed to the Tufat forums, there is a link in the main post. :)

goxy63 10-15-2009 06:47 PM

Just dropped by to say how this mod is awesome and that my small board wouldnt be just the same without it....
Paul M thanks for great hack
Even tho Iam dissapointed with new menagment when it comes to pricing at vb.com... I will still stick for a while with VB, so I just wanted to ask
Will we see and when this mod for vb4, soon or a bit while after vb4 is released, as well your other hacks related to chat?

Cheers

Paul M 10-15-2009 07:30 PM

Yes, you will most likely see this (and the WIC) for vb4.

sKippah 10-21-2009 01:54 PM

Edit: becoz i found out whats wrong ;)

tldagent 10-25-2009 10:21 AM

As an FYI, for those trying to install flashchat 5, I did this on my forum and had similar problems to the posts above with not being able to install it. Here is what one of the moderators at tufat says:

Quote:

Originally Posted by klj2000
point is that 4.7.12 has been the most stable version for some time now. Version 5 there has been one issue after another so instead of doing any more fixes to version 5 being it's been one nightmare after another Darren is working on version 6. He has good help on this version and is working out the bugs much faster then I've seen on any version sense version 3. So your more then welcome to keep using version 5 but your going to have to wait until a user here has a solution. The development team is working on version 6 and throwing version 5 away.

So basically, if you haven't installed flashchat 5 already, don't bother. It's listed as stable but both unstable and abandoned. They need to make their customers more aware of this before taking steps to remove other hacks and install these new ones. You can easily tie up 4-5 hours trying to install then trying to find answers and screwing around before you realize they actually had so many issues with flaschat 5 they simply abandoned it.

skylab 10-27-2009 03:31 PM

fc5 works fine on my end.

Question. How do I change the frame thats wrapped around the chat. I´ve added something to the page and now has stroll bars within the page. One more is.. is there a way to resize the height of the chatbox?

Thanks for the mod!

Paul M 10-29-2009 12:53 PM

The height is a setting in the mods options.

To change the page you need to edit the template (Flashchat).

TheComputerGuy 11-15-2009 01:03 PM

any luck this will work with flashchat v6?

Paul M 11-15-2009 03:26 PM

No idea TBH.

jesusdavid 12-08-2009 11:18 PM

can this be updated to work with vb 4?

CLUB AMPLE 12-18-2009 02:00 PM

Paul, will this be updated for vb4?

sorry didnt see the post before me until i posted...

will be eagerly awaiting the answer

radmoose 12-19-2009 07:27 AM

Anyone test FlashChat 6.0.6 with this mod now that it has been released?

FlashChat 6.0.6 with vBulletin 3.8.x that is.

ahmedipa 12-19-2009 08:27 AM

so good I will try to do these steps thank you so much

anthony parsons 12-22-2009 09:18 AM

Just tested latest 6.x with vb4.0.0 and it works like a bought one. Hoping the integrated mod is still being done now...

radmoose 12-22-2009 09:32 AM

Yeah, FC 6.0.6 and vB3.8.x with this mod does not work. There are many things that have to be specific to 5.x.

I am running FC 6.0.6 with it's built-in vB 4.0 'integration' but all that really does is allow you to use the member database for username/password and admin/mod/user stuff. Very basic intergration.

Hope to see this evolve to a FC 6.0.6 and vB 4.0 mod as it was one of the best mods for what it was designed for.

Paul M 12-22-2009 01:37 PM

I would guess a few things have changed in Flashchat 6.

I have FC 6.0.6 installed on my vb4 test forum (Hangar 18), but just using the standard Tufat integration atm (which I actually wrote).

At some point i'll look at upgrading the Who is Chatting and Integration mods for FC6 (possibly for 3.8 as well as 4.0, I'll have t see how much effort it is).

choccyclaire 12-25-2009 10:27 PM

I see you have released flashchat 6 for vb4?

Will you still be releasing this for vb3.8 as well?

Paul M 12-25-2009 11:01 PM

Not at the moment. Possibly not ever.

FYI, From what I recall, I think the FC 5 mods should work for FC 6 anyway.


All times are GMT. The time now is 04:09 AM.

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.01587 seconds
  • Memory Usage 1,841KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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