vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   chatroom question. Please Help! (https://vborg.vbsupport.ru/showthread.php?t=151993)

pureturk 07-11-2007 07:36 PM

chatroom question. Please Help!
 
hello,
i have flashchat option in my forum.
and this is how i direct people to the chatroom


http://img515.imageshack.us/img515/3402/chatcn4.png

how would i be able to show howmany people are active in the chatroom right next to the title.

also, my chatrrom opens up in a new page. is there away to embed the chatroom in forum? plz help

snakes1100 07-11-2007 07:39 PM

There is already a product/plugin for showing who's in chat, not exactly what yo uwanted, but im sure you can modify the code or use part of it in your format, do a search for "flashchat" here in the forums.

As to embedding the flashchat in the forum, not sure.

pureturk 07-11-2007 07:41 PM

i already have that mod installed. but it shows all the way in the bottom.
i am a newbie in this so i do not know what to modify or use a part in my format :(

snakes1100 07-11-2007 07:48 PM

Without looking at the product itself, i do see that Paul made it a auto-template change, you can turn that off and add the code in the forumhome template we you want it to show.

pureturk 07-11-2007 07:55 PM

Quote:

Originally Posted by snakes1100 (Post 1288561)
Without looking at the product itself, i do see that Paul made it a auto-template change, you can turn that off and add the code in the forumhome template we you want it to show.

so there is noway to show the number of people using flashchat next to the title"chat"?

snakes1100 07-11-2007 08:27 PM

Im sure there is, you would have to check the product and use the same call the hack is.

Look in the plugin manager and edit this --> Members in Flashchat (2)

Try one of the calls like $totalchatters

pureturk 07-11-2007 08:30 PM

then how would i be able to do this?
the pic is photoshoped to show what i mean;

http://img524.imageshack.us/img524/5...tcopycobq8.gif

can this be done?

i think this woule be easier to create right ^^

since you re just moving the box from the bottom of the page to a specific location

how would i accomplish this?

the code for "Members currently using flash chat is" this

Quote:

<!-- who is in flashchat -->
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:right" href="#top" onclick="return toggle_collapse('forumhome_chatusers')"><img id="collapseimg_forumhome_chatusers" src="images/buttons/collapse_thead.gif" alt="" border="0" /></a>
Members currently using Flashchat: 0
</td>
</tr>
</tbody>

<tbody id="collapseobj_forumhome_chatusers" style="">
<tr>
<td class="alt2"><a href="misc.php?do=flashchat"><img src="images/misc/whos_online.gif" alt="" border="0" /></a></td>
<td class="alt1" width="100%"><div class="smallfont">No one is currently using the chat.</div></td>
</tr>
</tbody>
<!-- end who is in flashchat -->
where would i paste this to show at the desired place?

snakes1100 07-11-2007 08:40 PM

I assume you turned a forum into a link from the looks of the screen shots, is that what you did?

If yes, what your doing isnt going to work easily anyways.

If no, then you should be able to extract what you want from the default coding and paste into the custom table you created.

Adding the coding to make it show at the top of the site, just place it under the $navbar call in the forumhome template.

pureturk 07-11-2007 08:57 PM

yes actually thats what i did. i turned a forum into a link.
actually the reason why i want to do this is because "chat" in navbar is not visible at all. i have members in my forum for months and they dont even know we have a chatroom. what is the best way do you think to do so my users can see that we have a chatroom and also shows who are chatting at the time.
thanks for all your help. the "members using flashchat" mod that shows at the bottom of the page does not help at all

snakes1100 07-12-2007 01:08 AM

Edit the navbar template and move the quicklink shortcut for chat to another area of the navbar template.


All times are GMT. The time now is 11:03 PM.

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.01056 seconds
  • Memory Usage 1,739KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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