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
Current IRC chatters on forumhome via mirc (no eggdrop) Details »»
Current IRC chatters on forumhome via mirc (no eggdrop)
Version: 1.00, by supreemball supreemball is offline
Developer Last Online: Aug 2006 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 12-23-2002 Last Update: Never Installs: 39
 
No support by the author.

Current IRC Channel Chatters on Forumhome Hack
-written by eyeball (aka supreemball) of http://www.somethingleet.com (ftp mirc script coded by Rich@home.nl)

NEW VERSION updated 01/02/03!
- added support for halfops
- added commas (no comma on last nick either )
- added 'total nicks ever on ' specified #channel

to upgrade from the previous version, replace the code in mirc and the forumhome_loggedinusers template. you don't have to overwrite the ftp.mrc file or mess with global.php while upgrading, nothing's changed with those.

This hack shows a specified IRC channel's current userlist, total # of users, and status of each user
(opped, voiced, or normal, including bold/italics for each category), all on your vb forum's main page.
This hack ONLY requires ftp access to the forum server, and <a href="http://www.mirc.com">mIRC</a> 5.91 or above (constantly connected to the channel). No bots or java irc crap needed! (mirc script code can be added to mirc-based bots though.)

A live demo of this hack is shown @ http://www.somethingleet.com/forum/index.php (shown below
the Current Online Forum Users list).

Files modified:
global.php
access.ini (used in mirc)

Templates modified:
forumhome_loggedinusers

Install.txt & needed files attached.

For support, reply to this thread or email eye@somethingleet.com.

(Hack only tested on vb2.2.6, but should work on all other 2.2.* versions)

NOTE: This hack assumes the mirc user (yourself or someone else) has full access to your ftp server via ftp. I'm not held responsible if you accidentally give this hack to someone using mirc (which in turn you would have to give the mirc user your ftp login info).

Enjoy

Show Your Support

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

Comments
  #42  
Old 01-02-2003, 12:34 PM
PsychoticManiac PsychoticManiac is offline
 
Join Date: Oct 2002
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Really good hack m8 !! Thanks alot!
Reply With Quote
  #43  
Old 01-02-2003, 12:39 PM
TheVoidz TheVoidz is offline
 
Join Date: Nov 2002
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@sebastien69 :

/ftp.upload -dfl ServerIP ftpUsername ftpPassword public_html/forum/nicks.php(Might look something like that) c:\mirc\nicks.php(assuming you have mirc installed in c:\mirc\)
Reply With Quote
  #44  
Old 01-02-2003, 03:30 PM
Huron Huron is offline
 
Join Date: Dec 2002
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I wish all hacks were this easy to setup and this useful...many, many thanks! This is just what I was looking for...

/me installs
Reply With Quote
  #45  
Old 01-02-2003, 07:48 PM
Huron Huron is offline
 
Join Date: Dec 2002
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well I changed a few things in this hack to make it look like the Active Users Bar (it was easy to do since it was in the same template) and I put it on top instead of the underneath the Active Users Bar (it just seemed to look better to me). I'm trying to come up with an additional mod to display the most chatters similar to the "most users online". Here is what I did:

This is the beginning of my forumhome_loggedinusers
PHP Code:
<tr id="cat">
    <
td bgcolor="#336D95" background="https://vborg.vbsupport.ru/images/catagory_backing.gif" colspan="6"><normalfont color="#000000"><b>Current #acidxtreme chatters: $totalnicks </b></normalfont></td>
</tr>
<
tr>
    <
td bgcolor="#13486D" colspan="6"><smallfont>
    <
nobr>There are currently  $totalnicks members in chat.</nobr> | <nobr>Most users ever in chat was $recordchatters on $recordchatdate at $recordchattime.</nobr><br>
    
$ircnicks</smallfont></td>
</
tr
I then tried to add the following:
PHP Code:
//-----------------------------Max Chatters Online Display-----------------------------------//
$maxchatters=explode(" "gettemplate('maxchattersin',0,0));
  if ((int)
$maxchatters[0] <= $totalnicks) {
    
$time time();
    
$maxchattersin "$totalnicks " $time;
    
$DB_site->query("UPDATE template SET template='$maxchattersin' WHERE title='maxchattersin'");
    
$maxchatters[0] = $totalnicks;
    
$maxchatters[1] = $time;
  }
  
$recordchatters $maxchatters[0];
  
$recordchatdate vbdate($dateformat,$maxchatters[1]);
  
$recordchattime vbdate($timeformat,$maxchatters[1]);
  eval(
"\$loggedinusers = \"".gettemplate('forumhome_loggedinusers')."\";");
}
//-----------------------------Max Chatters Online Display-----------------------------------// 
After this line in index.php
PHP Code:
eval("\$loggedinusers = \"".gettemplate('forumhome_loggedinusers')."\";");

I then added maxchattersin table to template but after putting everything together it didn't work and errored out on me. I'm a total noob at this and it is probably over my head but I thought I would give it a stab. Hopefully someone can build on this and show me the error of my ways...
Reply With Quote
  #46  
Old 01-02-2003, 09:20 PM
sebastien69 sebastien69 is offline
 
Join Date: Apr 2002
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks TheVoidz work great

Hack installed succeffully
Reply With Quote
  #47  
Old 01-02-2003, 10:27 PM
supreemball supreemball is offline
 
Join Date: Nov 2001
Location: houston, tx
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks guys

enjoy the new update, added all previously requested features
Reply With Quote
  #48  
Old 01-03-2003, 01:45 AM
GoTTi GoTTi is offline
 
Join Date: Jun 2002
Posts: 1,346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

okok...what is added into the update...

also, possible to make a TimeStamp on the nicks.php so when it is updated, it will tell when it was last updated.
Reply With Quote
  #49  
Old 01-03-2003, 07:44 AM
DaTeX DaTeX is offline
 
Join Date: Jan 2002
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thx guys but i miss the record time and record date by the record user. Is it posible to add this ?
Reply With Quote
  #50  
Old 01-03-2003, 12:15 PM
supreemball supreemball is offline
 
Join Date: Nov 2001
Location: houston, tx
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

da_gotti, i put what was added to the update in the first post.

i'll see about adding the date/time the record was set.. not sure though.
Reply With Quote
  #51  
Old 01-03-2003, 02:34 PM
Schorsch's Avatar
Schorsch Schorsch is offline
 
Join Date: Jul 2002
Location: Germany
Posts: 345
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for the update supreemball
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 10:40 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.09636 seconds
  • Memory Usage 2,318KB
  • 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
  • (3)bbcode_php
  • (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
  • (4)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