Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
phpmychat who's online (works with vB3) Details »»
phpmychat who's online (works with vB3)
Version: 1.00, by trilOByte trilOByte is offline
Developer Last Online: Sep 2013 Show Printable Version Email this Page

Version: 2.3.x Rating:
Released: 07-18-2003 Last Update: Never Installs: 11
 
No support by the author.

Been done lots before, and is *very simple*, but this will work with pretty much most versions of vB and it definitely works with vB3! It's really not difficult as it's basically a (minor) mod of files included with phpmychat distro.

The following can be used to display "who's in chat" using PhpMyChat, either integrated (with Stasiks integration hack) or out of the box. It can be used with standalone chat dB or chat dB that has been integrated with vB, there are no vB files to hack, and only one template to edit. Again, vBintegration is not required, shared databases are not required for this to work.

It doesnt get much simpler. There are 3 steps....
1 file to upload.
1 addition to phpinclude template.
1 edit of forumhome template.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 07-21-2003, 12:17 AM
trilOByte's Avatar
trilOByte trilOByte is offline
 
Join Date: Nov 2001
Location: England
Posts: 325
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmmm, for some reason the txt file wont update, so here is the template with the changes made...

Code:
<!-- chatbox-->
<br>

<table cellpadding="4" cellspacing="1" border="0"  width="100%" bgcolor="#000000">
  <tr>
    <td width="100%" bgcolor="#3A4456"><b><font size="2">Who's in chat</font></b> 
    </td>
  </tr>
  <tr>
    <td valign bordercolor="#333333"" bgcolor="#333333""top><div align="center"><a href="http://www.yourdomain.com/chatdir/chat/index.php3" target="_blank">Chatroom</a></div></td>
  </tr>
  <tr> 
    <td width="100%" valign bordercolor="#222222"" bgcolor="#222222""top> 
      <table width="95%" border="1" align="center" cellpadding="4" cellspacing="0" bordercolor="#000000" bgcolor="#222222">
        <tr> 
          <td bordercolor="#333333" bgcolor="#333333"> 
            <div align="left"> <font size="2">$chatters </font></div></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<!-- /chatbox -->
Reply With Quote
  #13  
Old 07-21-2003, 05:25 PM
Sebastian's Avatar
Sebastian Sebastian is offline
 
Join Date: Oct 2002
Location: America
Posts: 488
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice hack. but no thanx to php3 ...
Reply With Quote
  #14  
Old 07-21-2003, 07:01 PM
trilOByte's Avatar
trilOByte trilOByte is offline
 
Join Date: Nov 2001
Location: England
Posts: 325
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 07:25 PM Sebastian said this in Post #12
nice hack. but no thanx to php3 ...
Then just rename the file to "chatters.php" - it doesnt make any difference.
Reply With Quote
  #15  
Old 07-21-2003, 09:25 PM
Sebastian's Avatar
Sebastian Sebastian is offline
 
Join Date: Oct 2002
Location: America
Posts: 488
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lol.
Reply With Quote
  #16  
Old 07-23-2003, 03:09 AM
Elly Elly is offline
 
Join Date: Mar 2002
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed this hack and I get an error in the box were the chatters show I can ont figure out what to do to fix it

this is what it tells me :
Warning: Unknown(): stream does not support seeking in /home/asuka/public_html/forum/global.php(313) : eval()'d code on line 35

Can someone please help me fix this besides this small error perhaps in my installing the hack is awsome I have been looking for something like this ^.^
Reply With Quote
  #17  
Old 07-23-2003, 11:04 AM
trilOByte's Avatar
trilOByte trilOByte is offline
 
Join Date: Nov 2001
Location: England
Posts: 325
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what directory do you have phpmychat in? What directory do you have chatters.php3 in? What version of phpmychat are you running? What paths have you specified for the following: ?

Code:
$ChatPath = "../chatdir/chat/";
and
Code:
$ChatLaunch = "<b><A HREF=\"http://www.yourdomain.com/chatdir/chat/index.php3\"
and
Code:
require("http://www.yourdomain.com/chatdir/chatters.php3");
??
Reply With Quote
  #18  
Old 07-23-2003, 06:09 PM
UND3Rburn UND3Rburn is offline
 
Join Date: Apr 2003
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

like I asked over @ vBt

great stuff, Im going to install this... BUT Im interested in working on a Side Menu like you did.... Mind telling me where to start? I looked at Mashby(I tihnk)'s template mod for vB2 but that got me no where since in running vB3.
Reply With Quote
  #19  
Old 07-23-2003, 07:18 PM
trilOByte's Avatar
trilOByte trilOByte is offline
 
Join Date: Nov 2001
Location: England
Posts: 325
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 08:09 PM UND3Rburn said this in Post #17
like I asked over @ vBt

great stuff, Im going to install this... BUT Im interested in working on a Side Menu like you did.... Mind telling me where to start? I looked at Mashby(I tihnk)'s template mod for vB2 but that got me no where since in running vB3.
Go here:
side menu template mod

It will work. It's a template mod, just html (or xhtml) and tables, there's no difference between vB2xx and vB3xx in that respect. You might have to tweak it a bit to get it to display just how you want, but the code is good for both versions.
Reply With Quote
  #20  
Old 07-24-2003, 03:11 AM
Elly Elly is offline
 
Join Date: Mar 2002
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The directory I have the phpmychat in is in the main directory so it would be http://www.ultimaforce.net/chat

I have chatters.php (renamed it) in chat directory in the main secion so it would be http://www.ultimaforce.net/chat/chatters.php

I am unsure as to were to figure out what version of phpmychat I am running it came on my server and has no number or any other item to allow me to figure that out.

Code:
$ChatPath = "../chat/chat/
Code:
$ChatLaunch = "<b><A HREF=\"http://www.ultimaforce.net/chat/index.php\" TARGET=\"_self\">chatting</A></B>
Code:
require("http://www.ultimaforce.net/chat/chatters.php");
Thanks for you help





Quote:
Today at 05:04 AM trilOByte said this in Post #16
what directory do you have phpmychat in? What directory do you have chatters.php3 in? What version of phpmychat are you running? What paths have you specified for the following: ?

Code:
$ChatPath = "../chatdir/chat/";
and
Code:
$ChatLaunch = "<b><A HREF=\"http://www.yourdomain.com/chatdir/chat/index.php3\"
and
Code:
require("http://www.yourdomain.com/chatdir/chatters.php3");
??
Reply With Quote
  #21  
Old 07-24-2003, 10:19 AM
trilOByte's Avatar
trilOByte trilOByte is offline
 
Join Date: Nov 2001
Location: England
Posts: 325
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Code:
$ChatPath = "../chat/chat/

Elly, in your $ChatPath you have too many "chat" dirs, change that to :

Code:
$ChatPath = "../chat/
And see what happens
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:51 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.05902 seconds
  • Memory Usage 2,315KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (12)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete