vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   IRC Manager for MIRC (https://vborg.vbsupport.ru/showthread.php?t=60365)

Osmosis 01-20-2004 12:20 AM

Quote:

Try the command /topicrefresh
returns
* /sockopen: 'dbupdate' socket in use (line 8, ircon_al.txt). I am gonna chalk this up to wierdness, because something seems to have gotten thru in the last 24 hours... my forumhome is displaying the topic from last night. I cant update it tho. As another point, I perpetually have a connection to the forums open, it seems. My IP is always at Unknown Location
/forums/irconline.php?eventid=refresh on my forums.

Zachery 01-20-2004 01:50 AM

Quote:

Originally Posted by Velocd
You would have to modify the mIRC script to make it so that when you disconnect from mIRC, it sends a request to the website notifying that the bot is offline.

Someone with the script would still have to be present, though, since the on:EVENT remote commands in mIRC aren't triggered by actions that you, the script holder, perform.

Your best bet is simply giving the script to other people you can trust, like a mod or other admin, and having them set it up on their mIRC.

how about a command to tell the update to stop and that the bot is offline

Velocd 01-20-2004 02:50 AM

Quote:

returns
* /sockopen: 'dbupdate' socket in use (line 8, ircon_al.txt). I am gonna chalk this up to wierdness, because something seems to have gotten thru in the last 24 hours... my forumhome is displaying the topic from last night. I cant update it tho.
If you get a socket-in-use error when trying to use /ircrefresh or /topicrefresh, which can happen if there is much activity and the socket processes are overlapping, you can manually shut them down using /sockclose.

E.g.

/sockclose dbupdate

Then try proceeding with /topicrefresh

As for your IP pointing to this nonexistent location, irconline.php?event=refresh, not sure what is going on there.

Osmosis 01-20-2004 03:27 AM

I managed to get the topic to update by shutting down the socket and manually /topicrefresh quickly after, tho it took a few tries before the dbupdate socket reopened. My IRC channel (and forum) dont have very much traffic in fact thus far the activity bar hasn't gone above 'Very Idle'. I'll keep watching this thread to see if any updates happen, or if someone can explain to me why its not workin so well for me.

I am still a bit concerned about the connection to /forums/irconline.php?eventid=refresh which seems to coincide with the settings within the aliases installed by this hack (of which I have 4, begintime, ircrefresh, startcount, and topicrefresh). I'm pretty sure this is whats causing the problems... you dont have this problem on your own forum?

Still, this hack is better than the IRC hack I had installed on VB2. Thanks a lot for the efforts in this, and great hack :) Installed!

CHeeKY 01-20-2004 06:46 AM

Velocd, could I possibly check my irc settings on my board in your channel, that way I can start the elimination process :)

Exero 01-20-2004 08:03 AM

sweet
i will install it when vB3 Gold is out :)

Floris 01-20-2004 10:23 AM

Quote:

Originally Posted by Exero
sweet
i will install it when vB3 Gold is out :)

The support link in the install file reflects another thread :) You might want to update that to avoid confusion.

To get more users listed, maybe you could have mirc first list the ops, then the halfops, then the voiced users, and then the rest? This way you can have 4x 254 characters, instead of it all together. At the moment, we don't even list half the users online. Which is a shame. This is partially due to the long length of usernames that is allowed on the channel.

Great hack - it works. Just a shame it doesn't use the config.php prefix_ for tablenames :)

and as a final integration with vb3's new feature(s); phrases!



## Small tweak for users who want to have the irc server listed as a link so it opens in mirc ! (hopefully this still works in mirc6 - haven't tried it out yet though)

# Open the " irc_loggedin " template and find:
$channel[server]

# Replace with:
<a href="irc://$channel[server]/$channel[handle]">$channel[server]</a>

##

Velocd 01-20-2004 01:35 PM

Quote:

To get more users listed, maybe you could have mirc first list the ops, then the halfops, then the voiced users, and then the rest? This way you can have 4x 254 characters, instead of it all together.
Ah, I have tried this, and the result is the same happening! Even if you separate each as its own variable, and then make a new variable that is the concatenated form of those other variables, mIRC will still form them all together and give you a "line-too-long" message.

I think the only way around this is using some filesystem functions, and saving the data into a local file (in your mIRC dir) and then reading it from that file. I'll look into this today.

Quote:

Velocd, could I possibly check my irc settings on my board in your channel, that way I can start the elimination process
Yeah, go ahead. ;) I can help you out some in there if I see you.

VeoMorphine 01-20-2004 02:07 PM

this would be great as an eggdrop. If anyone needs a server, you can use mine. Its a 1000 user network. irc.asylo.com

Velocd 01-20-2004 05:28 PM

IRC Manager has been updated to version 1.1

Please update, as this version is more stable. Details and upgrade instructions are in the first post.

Osmosis 01-21-2004 07:25 PM

I'm getting an Unknown Method when I try to unpack the new zipfile. Is this just me?

Velocd 01-21-2004 07:52 PM

That's odd. I'm not getting any such error, but I'll recreate a new one to see if somehow it got corrupted.

edit:
Zip updated

Zachery 01-21-2004 08:37 PM

Quote:

Originally Posted by Velocd
That's odd. I'm not getting any such error, but I'll recreate a new one to see if somehow it got corrupted.

edit:
Zip updated

did you think about adding a statics off command ? (i havent checked sicne i first asked about it ) :P

Velocd 01-21-2004 10:31 PM

I see no need for a statistics off command. If you want to add one, which isn't that hard as I explained some posts earlier, feel free ^^;

Zachery 01-22-2004 12:39 AM

Quote:

Originally Posted by Velocd
I see no need for a statistics off command. If you want to add one, which isn't that hard as I explained some posts earlier, feel free ^^;

if i knew how to i would have coded it my self mike :)

i think it would be a nice adition :) just a thought

Shell Geeks 01-22-2004 11:20 AM

Anyone find a way to script this to either read from a eggdrop bot or directly B i t c h X from the the server hosting the forum? not all of us use mIRC :D

Allan 01-24-2004 07:51 AM

it's compatible with RC3 ?

M.C. 01-25-2004 02:22 PM

if got right, i need to be online in my mIRC client to se statistic? So what the point of that hack if i can go in my mIRC client and see that there?

Sorry, may be misunderstud... and i did everything right but... (i used 2 different clients for that mIRC 6.03 and Neora Trion but nothing happend)...

i think it great hack but i want to be shure that it work even if my client is off (that exactly reason to install that hack couse first i go to my forum and if any nice guys there and in IRC then i go to IRC, and it`ll be usefull for me (and all my users) to see who`s online in IRC without to be online myself...

Maybe any chanse to integrate that hack with any ICR-applets (a lot chat integration aroud for IRC)?

Thanks!

Shell Geeks 01-25-2004 02:44 PM

yes, I agree M.C. It would rock if someone could port this to work with a eggdrop. Heck, I'll even donate the shell account to use to develope it on.

DaPro 01-25-2004 03:03 PM

Awesome hack!!

[high]* DaPro clicks install :)
[/high]

I have one problem, I doesn't grab my channel topic for some strange reason. Is there a size limit I am not meeting, because my topic is pretty lengthy. Here is the example:

http://forums.ani-pro.com/forums

Velocd 01-25-2004 09:45 PM

Quote:

it's compatible with RC3 ?
I would think so. I've yet to upgrade to RC3.

Quote:

if got right, i need to be online in my mIRC client to se statistic? So what the point of that hack if i can go in my mIRC client and see that there?

Sorry, may be misunderstud... and i did everything right but... (i used 2 different clients for that mIRC 6.03 and Neora Trion but nothing happend)...

i think it great hack but i want to be shure that it work even if my client is off (that exactly reason to install that hack couse first i go to my forum and if any nice guys there and in IRC then i go to IRC, and it`ll be usefull for me (and all my users) to see who`s online in IRC without to be online myself...

Maybe any chanse to integrate that hack with any ICR-applets (a lot chat integration aroud for IRC)?

Thanks!
The point of this hack is to retrieve the users from your IRC channel using mIRC and then store this information in a table on your vBulletin database, and show this information on your forum home.

mIRC has socket support and other remote/alias functions that make it easy to script for.

If you don't use mIRC, then this hack wont work.

I can't integrate it with IRC applets because I don't know Java that well.

I plan to create an eggdrop version though, after being introduced to Windrop (Windows compatible Eggdrop) by Apoco. ;)

Quote:

I have one problem, I doesn't grab my channel topic for some strange reason. Is there a size limit I am not meeting, because my topic is pretty lengthy. Here is the example:
Manually run the /refreshtopic command in mIRC, and see if it updates.

If that doesn't work, go to the status window of your IRC server in mIRC, scroll to the bottom, and see if any errors exist.

There is a length the topic can be, restricted by mIRC, but that value is fairly long (maybe around 140 characters).

M.C. 01-25-2004 10:13 PM

Quote:

Originally Posted by Velocd
The point of this hack is to retrieve the users from your IRC channel using mIRC and then store this information in a table on your vBulletin database, and show this information on your forum home.

mIRC has socket support and other remote/alias functions that make it easy to script for.

If you don't use mIRC, then this hack wont work.

I can't integrate it with IRC applets because I don't know Java that well.

ok, so it work like that - I (admin) online in mIRC and forum takes info from mIRC? So when I online everyone can see statistic even if they not online in mIRC, but if I offline statistic doesn`t work? Am I right?

DaPro 01-26-2004 11:24 AM

Thanks for the quick support, I tried the /refreshtopic and it was an uknown command, and I checked my status window and it sometimes says

/sockopen: 'vbusers' socket in use (line 130, ircon_al.txt)

I am not sure what this error is for, it might be in an earlier post, but more insight would help me, thanks.

Velocd 01-26-2004 12:34 PM

Quote:

ok, so it work like that - I (admin) online in mIRC and forum takes info from mIRC? So when I online everyone can see statistic even if they not online in mIRC, but if I offline statistic doesn`t work? Am I right?
Yes, that is exactly how it works.

Quote:

Thanks for the quick support, I tried the /refreshtopic and it was an uknown command, and I checked my status window and it sometimes says

/sockopen: 'vbusers' socket in use (line 130, ircon_al.txt)
Whoops, did I say /refreshtopic? The command is actually /topicrefresh ;)

As for the socket-in-use error, that can occur at times if you have a very busy chat room.
There are recommendations in the remote file for how to fix this, using different events.

If you get a socket-in-use error, just type the command:
Code:

/sockclose vbusers
and then to refresh the channel type /ircrefresh

Experience 02-10-2004 09:59 AM

works with vb3 rc4 ?

Velocd 02-11-2004 12:14 AM

Quote:

Originally Posted by Experience
works with vb3 rc4 ?

Good news, I just begun developing an eggdrop version of the hack, on my Red Hat 9 system. It's taken me about a week to config and get used to the Linux environment (for the first time, and I must say its kick ass--best feature being savable work spaces).

I've already mastered the basics of TCL scripting, so I'll be able to crank out the eggdrop in no time. :up:

The hack will be released in its own thread. Also, no more support will be available for this somewhat-unstable mIRC version.

Quote:

works with vb3 rc4 ?
Yes.

Nj?rd Eriksson 02-23-2004 03:17 PM

Quote:

Originally Posted by Velocd
Good news, I just begun developing an eggdrop version of the hack, on my Red Hat 9 system. It's taken me about a week to config and get used to the Linux environment (for the first time, and I must say its kick ass--best feature being savable work spaces).

I've already mastered the basics of TCL scripting, so I'll be able to crank out the eggdrop in no time. :up:

The hack will be released in its own thread.

Is it out yet? That's exactly what I would need. I'd prefer if the thing ran as a remote eggdrop from my server, instead of me running mIRC locally....

If you need a shell account on which you can install an eggdrop to test your Linux version, please let me know.

Velocd 02-24-2004 07:58 PM

Yes, it is out. It was released about 10 days ago. ;)

https://vborg.vbsupport.ru/showthread.php?t=61570

lasto 02-26-2004 12:45 PM

Quote:

Originally Posted by Velocd
Yes, it is out. It was released about 10 days ago. ;)

https://vborg.vbsupport.ru/showthread.php?t=61570

this version works fine - had nps installing it at all

but i have one small query and that is if u are loggin in mirc then who`s online on the board u show up a guest in unknown location with link to the irc.php file (is there anywhere we can change this location from unknown to something like IRCBOT etc) so the location aint taking up 2 lines as unknown.

Velocd 02-28-2004 07:50 PM

Quote:

but i have one small query and that is if u are loggin in mirc then who`s online on the board u show up a guest in unknown location with link to the irc.php file (is there anywhere we can change this location from unknown to something like IRCBOT etc) so the location aint taking up 2 lines as unknown.
I'm assuming you are talking about a Java IRC chat. This hack, my eggdrop version, and Java IRC chats are totally separate.

Confront the hack maker of the Java chat hack for a solution to your problem.

gmarik 02-28-2004 08:48 PM

i don't know much about IRC - how do I create my channel / server?

Cookie_Monstah 02-28-2004 10:33 PM

First register a nick:

/nickserv register [password] <- take out the bracks(on some servers an email is needed, if so add it add after the password)

Now to register a channel:

/chanserv register #[channame] [chanpassword]

and away ya go :)

(Great hack btw :))

Angelus 02-29-2004 07:21 AM

there is this also in the version 2.2.9 ?

Velocd 03-03-2004 04:06 AM

No, this hack uses vB3 code, therefore it wouldn't work in vB2 (thus the reason this hack is in the vB3 forum).

LightBringer 03-03-2004 02:38 PM

Is there anyway to preserve the topic colors and have them display appropriately on the forums?

LightBringer 03-03-2004 04:45 PM

Quote:

Originally Posted by floris
## Small tweak for users who want to have the irc server listed as a link so it opens in mirc ! (hopefully this still works in mirc6 - haven't tried it out yet though)

# Open the " irc_loggedin " template and find:
$channel[server]

# Replace with:
<a href="irc://$channel[server]/$channel[handle]">$channel[server]</a>

##

The only problem with this is the # symbol is added in twice.

If you change the handle field in the admincp from say #channelname to just channelname, then the script stops working.

If a user clicks on that link floris, it will take them to ##channelname instead of #channelname.

Any advice aside from hardcoding the channel name in there?

Velocd 03-05-2004 12:22 AM

I did it by hard coding it. Since it's not really that significant of a problem, I'd suggest the easy route. (although if you have more than one channel, I suppose that does come as a problem).

You could also link it to your java chat, if you have one installed, instead of an IRC address which usually opens up your IRC client (which not everyone has installed, e.g. mIRC).

As for your question regarding preserving topic colors, I know searchirc.com has done it, but it would require a lot of preg-parsing and replacing, and I'm not really up to it.

If you can search the web and find an algorithm somebody used to do it, let me know. ;)

MogKnight 03-11-2004 09:09 PM

any chance you could port this to vb2? I love it, but I'm not a big fan of vb3 :\

Velocd 03-15-2004 02:00 AM

Sorry, I haven't used vBulletin 2 in over a year, nor do I have it installed on any of my forums.

When vBulletin 3 Gold releases, you really should consider updating--mostly for security.

MrWee 03-21-2004 08:10 PM

I can't seem to get this to work.

Config in mirc:
%vbserver = www.castlewee.com
%vbfilepath = /forum/irconline.php
%irckey = *matchs key in php file*
%ircchan = #castlewee
%ircwait = 120

attached are the setting in my Admin panel & a screen shot showing that it tries to connect, so the sockets are working correctly.

i have tried both irc.x and irc2.x in the admin panel, and niether made a difference, althought i connect to irc2.x more often then irc.x

maybe it is something small i am missing? :(


All times are GMT. The time now is 09:08 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.01365 seconds
  • Memory Usage 1,847KB
  • 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
  • (1)bbcode_code_printable
  • (20)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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