vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Current IRC chatters on forumhome via mirc (no eggdrop) (https://vborg.vbsupport.ru/showthread.php?t=46949)

supreemball 12-23-2002 10:00 PM

Current IRC chatters on forumhome via mirc (no eggdrop)
 
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! :D
- 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 :)

Velocd 12-23-2002 11:13 PM

Awesome, I hope it is one I can get installed then actually working ;)

[high]* Velocd clicks install for now :p[/high]

Velocd 12-23-2002 11:25 PM

I can understand:

Code:

c:\path\to\mirc\nicks.php
But what should be replaced here?

Code:

remote/path/to/forum/nicks.php
nicks.php does not exist in my forums directory. Did you want this uploaded?

supreemball 12-23-2002 11:29 PM

no, but it will eventually be uploaded when you run the "/getnicks" command in mirc.

GoTTi 12-24-2002 04:27 AM

* /ftp.upload: connecting (FTPsock1 to ftp.SITE.com file:nicks.php)
* /ftp.upload: connected (FTPsock1 to ftp.SITE.com file:nicks.php)
* /ftp.upload: error: (( Welcome to PureFTPd 1.0.12 )) .:.-=(<*>)=- (FTPsock1 to ftp.SITE.com file:nicks.php)
* /ftp.upload: closing (FTPsock1 to ftp.SITE.com file:nicks.php)

Mystis 12-24-2002 04:46 AM

Go eye :D

supreemball 12-24-2002 06:36 AM

ftp.SITE.com doesn't seem to be a valid url. :)

GoTTi 12-24-2002 06:58 AM

???

that didnt help me lol..I put SITE to show what I edited in the file...

My real site info is in there, that is what comes up in mIRC when I ran the command....

It didn't upload the file to the site.

I made a Sub-Domain, and made a testboard to see if it would run, and I didn't get anything yet. It did make the .php file in the mIRC folder on my computer though...

Whats the scenario? Why isn't it uploading?

Velocd 12-24-2002 02:00 PM

Your password/username for your FTP may be incorrect, or the path to which the file is located. (which should be public_html/forum/nicks.php, or whatever your folders are named).

------------------

Hey Supreemball, how might I get it so the nicks are seperated by comma's? You should be able to use str_replace(), explode(), or rtrim() to achieve it..although with some effort last night I just couldn't get it to go..

Also, is there any way to log the most users that have ever been the channel at one time?

Floris 12-24-2002 03:53 PM

This is why:

The ftp.mrc only requires a certain reply from the ftp and doesn't accept the welcome msg or other stuff - so it doesn't give the user/pass at the right time. And errors.


All times are GMT. The time now is 06:34 AM.

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.01099 seconds
  • Memory Usage 1,737KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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