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?


All times are GMT. The time now is 01:34 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.01339 seconds
  • Memory Usage 1,747KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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