vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Flashchat: Who is chatting (https://vborg.vbsupport.ru/showthread.php?t=73042)

Paul M 02-03-2005 12:15 AM

Quote:

Originally Posted by Paul M
We don't use cpms, but based on an example created by ericgtr for another, similar, hack of mine - I may be able to have a go - I won't be able to test it though.

I have made a cpms module, based on Eric's version for my "Members who have visited today" hack.

Upload the inthechat.php file to your modules directory - and then create a new template called adv_portal_chatters. Copy the contents of adv_portal_chatters.txt into this new template.

Now Create a new module

Module Title: Users in Flashchat

Module Identifier: flashchat

File to Include: inthechat.php

OR Template to Include: (leave blank)

Templates Used: adv_portal_chatters

Note: Thanks to Cyricx for helping with this module (which I have no way of testing).

Treasure Quest 02-04-2005 02:33 PM

Great mod Installed.

Question: While I'm logged in to my forum (Vb 3.0.6) then I click on the chat to go to the chat room, I then have to log into the chat as well.
is there Any way if one is logged onto the forum that they can go straight into the chat room without logging in again?

Thanks,

Greg

Paul M 02-04-2005 03:36 PM

Read the integration instructions

http://www.easterpig.com/demo/flashc...vbulletin.html

and look here as well ;

https://vborg.vbsupport.ru/showthrea...threadid=74613

RetroDreams 02-04-2005 06:38 PM

When the chat room is empty, the space is empty below. How can we get it to say "The chat room is empty" or something like that?

RetroDreams 02-04-2005 06:57 PM

Nevermind, figured it out. Put this right above or below your $chatters code in your forumhome template.

<if condition="$totalchatters == 0">
Blah blah blah
</if>

MR-2ZZ 02-05-2005 10:34 PM

* Install good work!

sv1cec 02-07-2005 02:01 PM

Sorry if I am hi-jacking this thread, but I have a question.

I installed FlashChat and I am bothered by the way the messages appear, without any separation between the user name and time, and the message text. I would prefer if they were in a table, so that first column shows time/username and second shows the message text.

Unfortunatelly, the coder was not very helpful, I asked where I should start changing the code, and he didn't tell me, so I spend hours looking for that.

Has anyone of you people done that? That was the sole reason I uninstalled this program.

Thanks and sorry if I spend your bandwidth for something not all of you are interested in.

Rgds

Paul M 02-07-2005 02:45 PM

Yes, you are hijacking my topic :ermm:

FYI: You can alter the 'timeStampFormat' parameter in the config file to space the message from the time (and use a fixed width time display).

Try something like this ;

PHP Code:

'timeStampFormat'   => " H:i : ",  //pattern for PHP date function 

If you have any more questions then perhaps you could create a new topic in the general area.

Thanks. :)

Bounce 02-08-2005 01:13 PM

Simple to install....less than 10 mins

Thanks Paul

yoyoyoyo 02-08-2005 08:09 PM

Quote:

Originally Posted by trilOByte
Hi Paul, nice hack..

[high]* trilOByte clicks install
[/high]

One question though, do you think it would be possible to include some kind of "else" statement for $chatters, to print "The chatroom is empty at the moment" or something, if it is empty?

I usually have a couple in there, but seeing a blank box on the occasions that it's empty looks odd.

Cheers.

I agree- it is a great addition to a great program, but I would also like to see it say "nobody is currently chatting" or something to that effect


All times are GMT. The time now is 11:07 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.01152 seconds
  • Memory Usage 1,741KB
  • 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_php_printable
  • (2)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