Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

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
  #32  
Old 12-26-2002, 03:13 PM
Schorsch's Avatar
Schorsch Schorsch is offline
 
Join Date: Jul 2002
Location: Germany
Posts: 345
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any advice about this half op thing ?

regards,
Schorsch
Reply With Quote
  #33  
Old 12-26-2002, 10:07 PM
GoTTi GoTTi is offline
 
Join Date: Jun 2002
Posts: 1,346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

problem with script...

in the new versions of mirc, you can multi server connect, instead of opening multiple mIRC's to be on different servers...well i use this option...

when on 2 or more servers, but in the channel I use the script for, it records the data as 0 being no1 in the channel...

What would need to be added to the script or whatever, to make it look on 1 server and in that 1 channel? IN a multi load situation.
Reply With Quote
  #34  
Old 12-26-2002, 11:44 PM
supreemball supreemball is offline
 
Join Date: Nov 2001
Location: houston, tx
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok by popular demand, i'll add the commas (without the trailing one on the last nick) in the next release, as well as the halfop support, and will probably even add 'most chat users' as well (and i can guarantee that the most chat users will work better than vb's).
Reply With Quote
  #35  
Old 12-27-2002, 01:56 AM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome, sounds keen supreemball
Reply With Quote
  #36  
Old 12-27-2002, 12:25 PM
Davey Davey is offline
 
Join Date: Nov 2002
Location: England
Posts: 383
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Da_GoTTi
problem with script...

in the new versions of mirc, you can multi server connect, instead of opening multiple mIRC's to be on different servers...well i use this option...

when on 2 or more servers, but in the channel I use the script for, it records the data as 0 being no1 in the channel...

What would need to be added to the script or whatever, to make it look on 1 server and in that 1 channel? IN a multi load situation.
Yes, multiserver works like this: The first server you connect to, has the id '1', the second server has the id '2', etc.
The identifier to get the connection ID of the current active server is $cid. So you might use if ($cid == 1) { blah | blah }.

Dave.

PS: The above is for people with version 6.* of mIRC.
Reply With Quote
  #37  
Old 12-27-2002, 09:42 PM
pugmy pugmy is offline
 
Join Date: Nov 2001
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by xiphoid
Did anybody find a solution for the problem where the login msg makes it error and not log in ?
I'm having the same problem---can't login because my ftp login messages are multiple lines and make a login error. Unfortunately I can't adjust ftp server messasges. How can I fix the problem, anyone?

about halfop, i added a line like this:
Code:
    elseif ($nick(#channel,%x) ishop #channel) {
    write -a nicks.php <b> % $+ $nick(#channel,%x) $+ </b> $+  }
it works for me.
Reply With Quote
  #38  
Old 12-27-2002, 09:57 PM
Schorsch's Avatar
Schorsch Schorsch is offline
 
Join Date: Jul 2002
Location: Germany
Posts: 345
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by pugmy
about halfop, i added a line like this:
Code:
    elseif ($nick(#channel,%x) ishop #channel) {
    write -a nicks.php <b> % $+ $nick(#channel,%x) $+ </b> $+  }
it works for me.
thank you, that works great
Reply With Quote
  #39  
Old 12-29-2002, 04:50 PM
TheVoidz TheVoidz is offline
 
Join Date: Nov 2002
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have the same problem with the upload not working properly, after playing around with the ftp.mrc file I got it to work (might not be the most efficient way, but it works). Still throws some errors at the end after the file is uploaded but it gets nicks.php from point A to point B and thats all that really matters to me. Can't guarantee it will work, but it worked for me

-- Open ftp.mrc and find:
Code:
on *:SOCKREAD:FTPsock*:{
-- Right after that add:
Code:
:retry
-- Find (also in ftp.mrc):
Code:
if ($1 != 220) {
ftp.error $sockname $2-
return
}
-- Replace it with:
Code:
if ($1 != 220) {
goto retry
}
-- Find (also in ftp.mrc):
Code:
if ($1 != 331) {
ftp.error $sockname $2-
return
}
-- Replace it with:
Code:
if ($1 != 331) {
goto retry
}
-- Find (also in ftp.mrc):
Code:
if ($1 != 230) {
ftp.error $sockname $2-
return
}
-- Replace it with:
Code:
if ($1 != 230) {
goto retry
}
Reply With Quote
  #40  
Old 12-31-2002, 03:29 AM
sebastien69 sebastien69 is offline
 
Join Date: Apr 2002
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice hack but how make it to work

it wasn't clear for me here

/ftp.upload -dfl ftp.yourserver.com ftpusername ftppassword remote/path/to/forum/nicks.php c:\path\to\mirc\nicks.php


i do

/ftp.upload -dfl ftp://userass@iport
remote/path/to/nicks.php C:\Program Files\mirc\nicks.php

and i got this error /ftp.upload: invalid port

if i do

ftp.upload -dfl remote ftp://userass@iport
/path/to/nicks.php C:\Program Files\mirc\nicks.php

i got this error /ftp.upload: invalid file

could you explain me what i get this error please

The script seem working but how make it to work?????????????
Reply With Quote
  #41  
Old 01-02-2003, 08:34 AM
DaTeX DaTeX is offline
 
Join Date: Jan 2002
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did anyone make a "most ever online" for this chat system ?? That would be great.
Reply With Quote
Reply

Thread Tools

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 04:47 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04999 seconds
  • Memory Usage 2,311KB
  • 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
  • (10)bbcode_code
  • (3)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
  • (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