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)

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.


All times are GMT. The time now is 11:52 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.01272 seconds
  • Memory Usage 1,736KB
  • 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_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