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

Reply
 
Thread Tools
IRCBrowse - no Eggdrop + no FTP!! Details »»
IRCBrowse - no Eggdrop + no FTP!!
Version: 1.00, by feldon23 feldon23 is offline
Developer Last Online: Jan 2023 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 02-08-2003 Last Update: Never Installs: 30
Is in Beta Stage  
No support by the author.

I looked at the "IRCUsers" hack written by eyeball (aka supreemball) using the ftp mirc script coded by Rich@home.nl and I thought wow this is cool. Then I looked at what's involved.

*It modifies global.php, meaning that EVERY PAGE of your forum loads this information even though only index.php uses it.

*It adds 1,150 lines of code to your mIRC.

*Requires 24/7 FTP access


So I thought, why not have vBulletin AND mIRC interface with a PHP file?
Thank you eyeball and Rich for the inspiration to write this!

I don't have a photo/snapshot because the PHP script runs "silent" and how the output looks all depends on your vB template.

The PHP script provides the # of total chatters, the highest # of chatters ever, and a formatted (customizable in the PHP script) comma-delimited list of users in the chat which you can insert anywhere in your templates (an example template under forumhome is provided).

The mIRC script opens a socket to your web server (HTTP) and does an "HTTP GET" to request the ircbrowse.php script. The secret is, it puts all the data in the Query line after the URL and then just ignores the page it gets back from the web server and closes the socket. This is all password-protected.

This is my first hack posted here so please be gentle.

This hack is operating on:

SereneScreen Aquarium Forum
Anime System

Show Your Support

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

Comments
  #52  
Old 05-26-2003, 06:31 PM
Zaeolos's Avatar
Zaeolos Zaeolos is offline
 
Join Date: Jan 2003
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had all this working for about a month, I did not change anything and started getting this error:

Quote:
Warning: fopen(http://139.81.177.86/forums/ircbrows...83&action=read) [function.fopen]: failed to create stream: HTTP request failed! ?(???? in /home/therats/public_html/includes/blocks/online.php on line 27

Warning: fgets(): supplied argument is not a valid stream resource in /home/therats/public_html/includes/blocks/online.php on line 28

Warning: fclose(): supplied argument is not a valid stream resource in /home/therats/public_html/includes/blocks/online.php on line 32
Any help would be appreciated.
Reply With Quote
  #53  
Old 06-12-2003, 04:01 PM
feldon23's Avatar
feldon23 feldon23 is offline
 
Join Date: Oct 2001
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
05-26-03 at 02:31 PM Zaeolos said this in Post #51
I had all this working for about a month, I did not change anything and started getting this error:



Any help would be appreciated.
Not sure why this thread didn't e-mail me with the responses.

Anyway, the ircbrowse.php file is totally missing. I'm guessing it got deleted somehow.
Reply With Quote
  #54  
Old 06-18-2003, 12:29 PM
orozery's Avatar
orozery orozery is offline
 
Join Date: Nov 2001
Location: Israel
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In order for the hack to work, does it mean that i'll need to stay in the IRC channel all the time?
Reply With Quote
  #55  
Old 06-18-2003, 12:32 PM
feldon23's Avatar
feldon23 feldon23 is offline
 
Join Date: Oct 2001
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 08:29 AM orozery said this in Post #53
In order for the hack to work, does it mean that i'll need to stay in the IRC channel all the time?
You'll need to keep a copy of mIRC running with the enclosed script elements added and logged into the channel at all times, yes.
Reply With Quote
  #56  
Old 06-29-2003, 11:59 AM
notorious notorious is offline
 
Join Date: Mar 2003
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok i have edited all the files and added everything correctly like it said in the install files and also read what was said in here and still i can not get it to work

Quote:
Warning: fopen("http://wendy.curvedspaces.com/forum/ircbrowse.php?key=5762&action=read","r") - No such file or directory in /users/curvedspaces.com/wendy/forum/index.php3 on line 15

Warning: Supplied argument is not a valid File-Handle resource in /users/curvedspaces.com/wendy/forum/index.php3 on line 16

Warning: Supplied argument is not a valid File-Handle resource in /users/curvedspaces.com/wendy/forum/index.php3 on line 20
i have installed this onto my test board so i can get everything working, so any help will be appreciated
Reply With Quote
  #57  
Old 07-22-2003, 11:16 AM
notorious notorious is offline
 
Join Date: Mar 2003
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so i guess no-one knows how to fix this
Reply With Quote
  #58  
Old 07-22-2003, 03:11 PM
feldon23's Avatar
feldon23 feldon23 is offline
 
Join Date: Oct 2001
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My first guess is that the extremely intrusive javascript popups added by CurvedSpaces.com are killing the script.

I can't even visit
http://wendy.curvedspaces.com/forum/ircbrowse.php
without a popup being added.

Also, when I visit
http://wendy.curvedspaces.com/forum/...62&action=read

I am seeing a Parse error on line 46, which in my copy is:
$php_self = $_SERVER['PHP_SELF'];

If your PHP is very old, maybe you need to use
$php_self = $HTTP_SERVER_VARS['PHP_SELF'];

but I would think the script would have failed on:
$action = $_GET['action'];
earlier in the script.
Reply With Quote
  #59  
Old 07-22-2003, 04:55 PM
notorious notorious is offline
 
Join Date: Mar 2003
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok thx i'll try and see if thats the problem if not i will move the test board back to my computer and run it from there

that fixed it thx now i'm getting the error

* /sockopen: 'ircbrowse' socket in use (line 49, aliases.ini)

is there anyway to fix that or is it my server
Reply With Quote
  #60  
Old 07-28-2003, 04:43 PM
Akex Akex is offline
 
Join Date: Jul 2003
Location: France
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I will try this, thx for this hack
Reply With Quote
  #61  
Old 07-28-2003, 04:58 PM
feldon23's Avatar
feldon23 feldon23 is offline
 
Join Date: Oct 2001
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
07-22-03 at 12:55 PM notorious said this in Post #58
ok thx i'll try and see if thats the problem if not i will move the test board back to my computer and run it from there


that fixed it thx now i'm getting the error

* /sockopen: 'ircbrowse' socket in use (line 49, aliases.ini)

is there anyway to fix that or is it my server
Are you connected to the chat channel twice?

For instance #notoriousweb on EFNet and ShadowiceNet?

Does the script seem to work at all? I mean, is it updating the website?
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 07: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.04869 seconds
  • Memory Usage 2,312KB
  • Queries Executed 27 (?)
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
  • (5)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_postinfo_query
  • fetch_postinfo
  • 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