vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Integration with vBulletin - FlashChat - Who is in the chat. (https://vborg.vbsupport.ru/showthread.php?t=91338)

Paul M 07-30-2005 05:48 AM

Well I just imported it okay. Are you sure you are using "Download / Upload Plugins" and not "Manage Products" - as the latter will give an invalid file error.

EasyTarget 07-30-2005 08:27 AM

yeah, I used the manage products -> add/import product section
when I got the error.

did it this time in the download/upload section and it went smoothly, thanks.
(it was working before but I wanted to make sure to do it properly so I could learn for the future)

thanks.

and just for the sake of learning, what are the different sections of the plugin manager for?

hotrod1 08-06-2005 06:21 PM

Great hack, thanks a bunch!

b6gm6n 08-07-2005 12:50 PM

Hi, i had this hack working for a while, then i used the latest version, installed ok, but now on my forum home i always see 1 person chatting but no names to click... weird, i'll uninstall and reinstall.... i did use the template data from the latest version also... is there anything i could have done to create this? as i say it was working before, i'm using RC2

-b6

southernlady 08-07-2005 06:33 PM

I've installed it but when the plugin is active, this is what I get on my forum home page:
Code:

Warning: Unknown(./chat/inc/config.php): failed to open stream: No such file or directory in /index.php(63) : eval()'d code on line 92

Fatal error: (null)(): Failed opening required './chat/inc/config.php' (include_path='.:/usr/local/lib/php') in home/southern/mysouthernlady.com/forum/index.php(63) : eval()'d code on line 92

I'm not giving my entire path due to security reasons. Flashchat itself is working beautifully. Liz

Sleepyk 08-17-2005 01:23 AM

is this chat too or just the little add-on?

TTG 08-17-2005 03:48 PM

Quote:

Originally Posted by Roxie
This displays users that aren't in the chat. Don't know if I screwed up somewhere. LOL...but the users it lists aren't the ones in chat.

Have same problem ..

JirQUEST 08-18-2005 07:42 AM

i think the users didnt log out properly? as in, they were inside b4, but they closed the window without clicking that red circle at the right hand corner.

RMS-Chef 08-30-2005 08:32 PM

Quote:

Originally Posted by TTG
Have same problem ..

I had this problem with previous versions of this. People with popup blockers turned on for your site might have logout of chat issues. Sometimes they block the popup that logs you out of chat when they close it.

Paul M 08-30-2005 08:58 PM

Just to clarify, as per this explanation months ago ;

https://vborg.vbsupport.ru/showpost.php?p=585037

This is not a hack problem, it is a flashchat issue. This hack can only use the information supplied to it by flashchat.

RMS-Chef 08-30-2005 10:56 PM

No doubt Paul.
Thanks for the hacks.

geoff4787 09-29-2005 08:15 PM

Everything is working except one part. The area that shows who is in the chatroom never changes and neither does the number. Its always at 0 and says no one is in the chatroom when someone really is.

Paul M 09-29-2005 09:28 PM

At a guess I would say you have more than one set of flashchat tables in your database and the chat is using one, while the hack is using another. Make sure that in config.srv.php the "pref" setting is the correct prefix of the active flashchat tables. If you have a very old flashchat installation (3.9.x) that you have upgraded to 4.3.2 then the prefix may be nothing (' '), if you have a more recent installation then it may be' _fc_' - neither of which matches the default in the config file - which is 'flashchat_'.

EasyTarget 09-29-2005 11:04 PM

so what was updated? says updated yesterday?

geoff4787 09-29-2005 11:15 PM

Ok cool that was why Paul. I changed that and its working. Just when you logout it still shows you logged in. Anyone know how to fix that?

geoff4787 09-29-2005 11:17 PM

Nevermind, I got it!

hotrod1 09-29-2005 11:20 PM

For some reason it won't update the people in the chatroom, any solution? Thanks!

Paul M 09-30-2005 12:12 AM

Quote:

Originally Posted by EasyTarget
so what was updated? says updated yesterday?

Nothing, just a minor change to the post - this alters the last update message.

Paul M 09-30-2005 12:19 AM

Quote:

Originally Posted by geoff4787
Ok cool that was why Paul. I changed that and its working. Just when you logout it still shows you logged in. Anyone know how to fix that?

This has been mentioned a number of times over time but just to cover it again - technically it's user error, though some may say it's a flashchat 'issue' - it happens because you are not actually logging out of flashchat, but just closing the browser. Always log out using the red (top right) logout button. If you just close the browser then flashchat will try and run a pop-up to log you out - but browsers other than IE (such as firefox) block this.

Paul M 09-30-2005 12:22 AM

Quote:

Originally Posted by hotrod1
For some reason it won't update the people in the chatroom, any solution? Thanks!

Not unless you explain more, what do you mean "won't update" ?

OrangeFlea 09-30-2005 02:47 AM

Is it possible to add the number of people in chat on the navbar, next to the chat link? I want the number to be viewable, while this forces the members on the board I'm with to scroll down to get the info.

Something like this: User CP Member List Chat (2)

Paul M 09-30-2005 03:50 AM

Most things are possible, but it would be a sperate hack.

Ville 09-30-2005 09:22 PM

Hi Paul, I just installed your vB 3.5 integration module (after upgrading to vB 3.5.0 gold yesterday). FlashChat works now better—before your version of the CMS module the FlashChat interface would not come up.

But now the users are still not able to log in. I am, since I'm the admin (on vB), but the users are returned back to FlashChat's login prompt ("wrong password or user name.. try again"). Since your version of the CMS module was for 3.5.0 beta, I wonder if something changed sufficiently between the beta through RCs, and finally gold, or whether there's something else up.

Thanks!

Paul M 09-30-2005 09:29 PM

Nope, the CMS works fine with any 3.5.0 version (beta 1 to gold) so you must have a problem somewhere, are you using the standard usergroup 2 or a custom usergroup for the users ?

Ville 10-01-2005 01:29 AM

Yep, indeed! :) Most of the "regulars" on my board are in a non-standard user group (called, in fact, "regulars"). Those were the people who were having problems (they were banned). Once I edited your CMS file and added the appropriate user group to the allowed list, that problem was solved.

Secondly, I currently don't use unicode for storing user names in vB, yet I initially was testing the access with a user name that contained an umlauted character ('?'). vBulletin allows such characters to be used even though unicode is not on, but apparently ASCII encoding of such characters confused FlashChat login. I need to look into converting user names into unicode so that any new user who will pick a user name containing an umlauted character will also be able to access FlashChat.

In any case, thanks for the updated CMS file!! :)

Ville 10-01-2005 03:42 AM

I just figured out why the users with usernames with umlauts weren't able to login. My stock configuration of vBulletin 3.5.0 allows users to select usernames with "scandinavian" characters (?,?,?) which are part of the extended ASCII set. Thus the usernames are not encoded as Unicode in the database. However, logins with usernames containing such characters were failing.

When I disabled the following line in your vbulletin35CMS.php, the problem went away:

Code:

    $login = utf8_to_entities($login);
Otherwise the 3.5.0 integration is working great!

dsotmoon 10-01-2005 04:20 AM

installed, thanks!

OrangeFlea 10-01-2005 05:52 AM

Quote:

Originally Posted by Paul M
Most things are possible, but it would be a sperate hack.

What would make it so difficult? The number is originally displayed at the bottom. That itself can remain there, but I also want that number next to the chat link on the navbar.

Paul M 10-01-2005 09:24 AM

The navbar is called on every page, this hack is not, the number is only available on the forum homepage - btw, I don't recall saying it was difficult, just seperate.

OrangeFlea 10-01-2005 09:47 PM

Hopefully someone can build it, then. It's a common feature practiced by the EZboards, and it makes sense. A member could be browsing in other areas of the forum, like the arcade, journal, or quiz areas, and never know that there are people in the chat room. They'd have to go back to the main page and possibly scroll all the way down to the bottom of the forum listing in order to see the number of users in chat.

matteveryday 10-02-2005 06:07 PM

Usernames seem to get stuck in the "who's chatting" box. When they leave the chat room, their username remains in the "who's chatting".

Paul M 10-02-2005 06:11 PM

Read post 59.

misticjeff 10-03-2005 05:42 AM

Hey Paul,

Thanks for the great hack!!

Just a question... since the xml plugin is telling flashchat to post the information in ForumHome couldn't it just as well tell it to post it anywhere the user wants? For instance, I'd like to have a module on the front page of my site telling who's online in chat. I can get the module built and all the info is there except the users. How can I get the call to point where i want it?

Paul M 10-03-2005 08:48 AM

vB doesn't work like that, the code is attached to a "hook" that is only called by index.php, so the data is only available on that page (the forum homepage). In theory you could attach it to a more global hook, but then the code would be run on every page, regardless of whether you actually use the results.

misticjeff 10-03-2005 09:24 AM

THanks... found what i was looking for over at the vBadvanced forums... someone managed to do it.

http://www.vbadvanced.com/forum/show...ight=flashchat

Paul M 10-06-2005 01:30 AM

Now converted from a 'Plugin' to a 'Product' which means ;

* The hack is phrased.
* The ability to turn it on/off is an option in the ACP.
* The ability to allow only certain usergroups to view the list is an ACP option.
* The location of the Flashchat folder is now an ACP option.

If you are happy with it working as is - then obviously there is no requirement to upgrade - I will still support the old version (though I will strongly urge you to upgrade in most cases). If you wish to upgrade then you will need to delete the existing plugin, upload the new product, and replace the template code with the new version.

hpwilhelm 10-06-2005 10:21 AM

Hi Paul, thanks for the FlashChat integrations.

I got a sql-error with this one. Seems that " . $fcprefix . " gets the wrong prefix. It returns '_fc2_connections', while the table is 'flashchat_connections'. Works fine when I change to the correct table name in the product xml.

I installed 4.3.3 on a fresh database, with your integration file and instructions.

Keep up the good work! :)

Paul M 10-06-2005 05:41 PM

Quote:

Originally Posted by hpwilhelm
Hi Paul, thanks for the FlashChat integrations.

I got a sql-error with this one. Seems that " . $fcprefix . " gets the wrong prefix. It returns '_fc2_connections', while the table is 'flashchat_connections'. Works fine when I change to the correct table name in the product xml.

I installed 4.3.3 on a fresh database, with your integration file and instructions.

Keep up the good work! :)

You don't need to change anything in the hack, it reads the prefix from you flashchat config.srv.php - you obviously have the wrong prefix in this.

vibe 10-08-2005 07:39 AM

you da man

weaver 10-08-2005 02:56 PM

How would I add my bot's name to the list of users in chat? It shows 1 user is in chat but there is no one listed. It would be nice to have the bot's name there. :)


All times are GMT. The time now is 04:17 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.01477 seconds
  • Memory Usage 1,821KB
  • 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
  • (7)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