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

Quote:
Originally posted by supreemball


% of halfops? what do you mean?
look at the attachment. this is a "half op", signed with a "%", and in your "whos online in irc" it doesn't show that % sign.

+ (voice) and @ (op) I can see without problems.
Reply With Quote
  #23  
Old 12-25-2002, 08:42 AM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did anybody find a solution for the problem where the login msg makes it error and not log in ?
Reply With Quote
  #24  
Old 12-25-2002, 08:45 AM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

About the last comma in the line
Maybe you could do $len(%variablewithnicks) and then $calc(%resultoflen -1) on $left(%resultofcal)

set %mooA $len(%variableofthenicks)
set %mooB $calc(%mooA -1)
set %mooC $left(%mooA,%mooC)
echo -a All the nicks without the last , makes > %mooC

tada

The author of the script could probably update the ftp.mrc pretty quick for you since he is known with the tokens.
Reply With Quote
  #25  
Old 12-25-2002, 03:52 PM
Keta Keta is offline
 
Join Date: Nov 2001
Location: michigan
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice hack will use
Reply With Quote
  #26  
Old 12-26-2002, 01:35 AM
andrew67 andrew67 is offline
 
Join Date: Dec 2001
Posts: 157
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wicked hack and worked first go!!! Thanks!!! Just one thing how can I call the $variables on a non vb page like on the main page of vbportal? I add the code and it just returns a blank space... Any Ideas?
Reply With Quote
  #27  
Old 12-26-2002, 03:50 AM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Add the require("nicks.php"); code under where you have require("global.php"); on your vbportal index.php page (if I'm presuming it's like vbhome)

Any updates on this Supreemball? All I could really care for right now is to log the most users ever in the iRC channel, but Xiphoid added a method to removing the last comma above
Reply With Quote
  #28  
Old 12-26-2002, 05:47 AM
andrew67 andrew67 is offline
 
Join Date: Dec 2001
Posts: 157
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Velocd
Add the require("nicks.php"); code under where you have require("global.php"); on your vbportal index.php page (if I'm presuming it's like vbhome)
Thanks but it no work... I can't find where it calls global.php in Vbportal anywhere but I tried adding require("nicks.php"); to both my index and my header.php files to no avail..
Reply With Quote
  #29  
Old 12-26-2002, 07:25 AM
Kars10's Avatar
Kars10 Kars10 is offline
 
Join Date: Jun 2002
Location: Germany/Franken
Posts: 748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by xiphoid
About the last comma in the line
Maybe you could do $len(%variablewithnicks) and then $calc(%resultoflen -1) on $left(%resultofcal)

set %mooA $len(%variableofthenicks)
set %mooB $calc(%mooA -1)
set %mooC $left(%mooA,%mooC)
echo -a All the nicks without the last , makes > %mooC

tada

The author of the script could probably update the ftp.mrc pretty quick for you since he is known with the tokens.
Sorry, but don?t get the comma-thing...
What exactly could i do to get commas after the users names??
Can someone please modify the ftp.mrc and attach it??
By the way cool hack, works like a charm...
Reply With Quote
  #30  
Old 12-26-2002, 09:31 AM
orozery's Avatar
orozery orozery is offline
 
Join Date: Nov 2001
Location: Israel
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice hack! Thank you!!
Reply With Quote
  #31  
Old 12-26-2002, 03:10 PM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by andrew67


Thanks but it no work... I can't find where it calls global.php in Vbportal anywhere but I tried adding require("nicks.php"); to both my index and my header.php files to no avail..
I can't imagine vBportal functioning without requiring global.php, but if it's non-existent then find:

PHP Code:
error_reporting(7); 
And below it add:
PHP Code:
chdir("./forums");
require(
"nicks.php"); 
Change "forums" to whatever your forums directory is called.
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 12:57 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.06195 seconds
  • Memory Usage 2,303KB
  • 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
  • (2)bbcode_php
  • (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
  • (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