vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   IRCBrowse - no Eggdrop + no FTP!! (https://vborg.vbsupport.ru/showthread.php?t=48734)

TheEDIGuy 03-09-2003 09:39 PM

Thanks again, Feldon! I'll apply that this evening.

feldon23 03-09-2003 09:49 PM

Actually, I think a better version would be...

PHP Code:

$ircbrowsenicks str_replace(", ,"","str_replace("FORTbot"""$ircbrowse['2'])); 


Bumpaneer 03-14-2003 04:01 AM

I have another support question. irc.resum.net also supports "superops" or admins (symbol !). I believe the mode is +a. These users don't currently show up on the list. How would I go about adding them?

~Bumpaneer

FastAttack 03-15-2003 02:56 PM

hmm well it seems that I am doing something wrong as far as the mirc side goes.. there is no scripts.ini.. and I made one..

so would it be possible for you just to release the .ini's already with the script so that we just need to place them on our mirc folder?

Bumpaneer 03-16-2003 01:31 PM

I put it in script.mrc, and that worked fine.

~Bumpaneer

FastAttack 03-17-2003 02:53 AM

this is the stuff I get on my irc window :

* /if: invalid format
* /if: invalid format
* /if: invalid format

Ember 05-17-2003 08:13 AM

This is a really great hack, i've downloaded it and will definatly install it we ever get our IRC channel online *growls*

Tim Wheatley 05-20-2003 07:36 PM

It's not working and I don't know why not. It's not writing to the text file from mIRC, it is reading and working onto the index.php display, and also is working when I enter the write details into the URL, here are my settings (obviously with the key replaced with a fake)...

mIRC 6.03.

aliases

PHP Code:

/op /mode # +ooo $$1 $2 $3
/dop /mode # -ooo $$1 $2 $3
//join #$$1 $2-
//part #
//names #$$1
//whois $$1
//kick # $$1 $2-
//query $$1
/send /dcc send $$2
/chat /dcc chat $1
/ping /ctcp $$1 ping
//server $$1-

/
ircbrowse {
  ;
## Change the following 3 settings:
  
%ircbrowsechannel #racesimcentral
  
%ircbrowseserver = [url]www.racesimcentral.com[/url]
  %
ircbrowsestr = /forum/irc/ircbrowse.php?key=2195&action=write
  
;##

  
set %ircbrowsetotal $nick(%ircbrowsechannel,0)
  if (
$nick(%ircbrowsechannel,0,o) > 0) %ircbrowsestr = %ircbrowsestr $+ &ops=
  var %
1
  
while (%<= $nick(%ircbrowsechannel,0,o)) {
    %
ircbrowsestr = %ircbrowsestr $+ $nick(%ircbrowsechannel,%x,o) $+ +
    
inc %x
  
}
  if (
$nick(%ircbrowsechannel,0,o) > 0) { %$len(%ircbrowsestr) - | %ircbrowsestr $left(%ircbrowsestr,%x) }
  if (
$nick(%ircbrowsechannel,0,h) > 0) %ircbrowsestr = %ircbrowsestr $+ &halfops=
  %
1
  
while (%<= $nick(%ircbrowsechannel,0,h)) {
    %
ircbrowsestr = %ircbrowsestr $+ $nick(%ircbrowsechannel,%x,h) $+ +
    
inc %x
  
}
  if (
$nick(%ircbrowsechannel,0,h) > 0) { %$len(%ircbrowsestr) - | %ircbrowsestr $left(%ircbrowsestr,%x) }
  if (
$nick(%ircbrowsechannel,0,v) > 0) %ircbrowsestr = %ircbrowsestr $+ &voiced=
  %
1
  
while (%<= $nick(%ircbrowsechannel,0,v)) {
    %
ircbrowsestr = %ircbrowsestr $+ $nick(%ircbrowsechannel,%x,v) $+ +
    
inc %x
  
}
  if (
$nick(%ircbrowsechannel,0,v) > 0) { %$len(%ircbrowsestr) - | %ircbrowsestr $left(%ircbrowsestr,%x) }
  if (
$nick(%ircbrowsechannel,0,r) > 0) %ircbrowsestr = %ircbrowsestr $+ &users=
  %
1
  
while (%<= $nick(%ircbrowsechannel,0,r)) {
    %
ircbrowsestr = %ircbrowsestr $+ $nick(%ircbrowsechannel,%x,r) $+ +
    
inc %x
  
}
  if (
$nick(%ircbrowsechannel,0,r) > 0) { %$len(%ircbrowsestr) - | %ircbrowsestr $left(%ircbrowsestr,%x) }
  
sockopen ircbrowse %ircbrowseserver 80


remote

PHP Code:

on *:sockopen:ircbrowse:{
  
sockwrite -n $sockname GET %ircbrowsestr HTTP/1.1
  sockwrite 
-n $sockname Accept: */*
  sockwrite -n $sockname Accept-Language: en-us
  sockwrite -n $sockname Accept-Encoding: text
  sockwrite -n $sockname User-Agent: mIRC $+ / $+ $version (compatible; MTS Downloader 1.1; Windows $os $+ )
  sockwrite -n $sockname Host: %ircbrowseserver
  sockwrite -n $sockname Connection: close
  sockwrite -n $sockname $crlf
}

on *:JOIN:%ircbrowsechannel:.timer 1 4 ircbrowse  ;allow time for ops, auto-voice to gain ops + voice
on *:PART:%ircbrowsechannel:.timer 1 2 if ( %ircbrowsetotal > $!nick(%ircbrowsechannel,0) ) ircbrowse
on *:QUIT:.timer 1 2 if ( %ircbrowsetotal > $!nick(%ircbrowsechannel,0) ) ircbrowse
on *:NICK:.timer 1 2 if ( $newnick ison %ircbrowsechannel ) ircbrowse 

I do something wrong?

Tim Wheatley 05-20-2003 07:49 PM

Ah, just noticed I'm getting the * /if: invalid format the user above reported.

Tim Wheatley 05-20-2003 08:21 PM

Got it! I can either type /ircbrowse or...

I used: /timer 0 120 ircbrowse

* Timer 1 activated

I then had to wait 15mins for it to work. :)

Zaeolos 05-26-2003 06:31 PM

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.

feldon23 06-12-2003 04:01 PM

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.

orozery 06-18-2003 12:29 PM

In order for the hack to work, does it mean that i'll need to stay in the IRC channel all the time?

feldon23 06-18-2003 12:32 PM

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.

notorious 06-29-2003 11:59 AM

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

notorious 07-22-2003 11:16 AM

so i guess no-one knows how to fix this

feldon23 07-22-2003 03:11 PM

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.

notorious 07-22-2003 04:55 PM

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

Akex 07-28-2003 04:43 PM

I will try this, thx for this hack

feldon23 07-28-2003 04:58 PM

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?

InvictuZ 03-28-2004 08:39 PM

Hey Feldon, I've been using this hack and just found a tiny bug. If a (irc) user name consists of the ^ character. Thats where the final character is listed, and no further usernames are listed after that character. It just so happens that one is an op in our channel, and the rest of the users aren't listed after that character in his IRC name.

Alan Ang 04-01-2004 04:04 AM

i see from the instructions:
Quote:

-------------------------------
If you wish to test the script so far, modify this URL to the correct URL, correct the key and paste it into

your web browser:

This sets the file:
http://www.mywebhost.com/forums/ircu...ob&users=Frank

This reads the file:
http://www.mywebhost.com/forums/ircu...34&action=read
-------------------------------
where is the file "ircusers.php"? how come i dun see it in the zipped installation folder.
can someone enlighten?

InvictuZ 04-10-2004 01:49 PM

I also took notice, that the ^ sign is getting placed in the ircbrowse.txt file. There just not being listed in the block. :(


All times are GMT. The time now is 04:17 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.01390 seconds
  • Memory Usage 1,828KB
  • 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
  • (3)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (23)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