Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
IRC Manager ( without Eggdrop/Mirc ) Details »»
IRC Manager ( without Eggdrop/Mirc )
Version: 0.1, by leonsio leonsio is offline
Developer Last Online: Jun 2013 Show Printable Version Email this Page

Version: 3.5.0 Rating:
Released: 10-30-2005 Last Update: 11-13-2005 Installs: 45
Uses Plugins
Additional Files  
No support by the author.

This is the first release of my irc manager for VB 3.5.
You don't need eggdrop or mirc to run this script.

Multiple irc-servers & channels are supported

This script is based on "Eggdrop IRC Manager"
You can use your old config, you must only change every config and add server_id

Extract and upload all the files from the ROOT folder to your forum root. ( 1x admincp script, 1x admincp-xml, 1x cron script )

After upload, import product-ircmanager.xml.

This product will automatically add a vb-cronjob which runs every 15 min.

How does this script works?
It uses a socket connection to your irc server.
After a successful connection, the script joins your channel(s), collects information then leaves the channel(s).

This is a first version of the script. Later on, I plan to send some forum information to the channel, e.g. 10 last posts.

how does this script works
it use a socket connection to some irc server
after connect is success, the script join your channels collects information and leaves the Channel

this is a first version of the script, later it is planed to leave some forum information in the channel, e.g. 10 last forum messages ?

Show Your Support

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

Comments
  #72  
Old 11-15-2005, 10:12 AM
Jenta Jenta is offline
 
Join Date: Dec 2004
Posts: 377
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No the 4th person is a real person but what I get is this...
Quote:
4 online
Person1, Person2, Person3, the script
It should be 5 counting the script. It would be better if it didnt count the script username.
Reply With Quote
  #73  
Old 11-15-2005, 10:17 AM
Jenta Jenta is offline
 
Join Date: Dec 2004
Posts: 377
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I took a chance and changed a 6 to a 5 and it is counting correctly now but the last person gets a ":" in front of their name.

PHP Code:
// Ab 6 beginnen die Namen
for($i=5$i<count($p); $i++) 
Quote:
5 online
Person1, Person2, Person3, :Person4, the script
Reply With Quote
  #74  
Old 11-15-2005, 10:27 AM
leonsio leonsio is offline
 
Join Date: Jun 2002
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

which server software do you use?
Reply With Quote
  #75  
Old 11-15-2005, 10:55 AM
Jenta Jenta is offline
 
Join Date: Dec 2004
Posts: 377
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This...
Quote:
Welcome to the Rizon Internet Relay Chat Network Anonymous
Your host is irc.tokyotosho.com[irc.tokyotosho.com/6667], running version PleXusIRCd-2.0.9p1
Reply With Quote
  #76  
Old 11-15-2005, 04:49 PM
Mith Mith is offline
 
Join Date: Jul 2004
Location: Newcastle, UK
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mith
A couple of questions.

1. would you use irc.uk.quakenet.org or just uk.quakenet.org ?
(yes my channel is on the quakenet network)

2. server name and server address... which would i use for which? it should give examples of what to put in the boxes...

Also I think handle should be renamed to channel name... it is a bit ambiguous.

Lastly the bot does not get the stats for me....

If i force-run the cron job i get this:

Code:
IRC Manager 
 
Warning: main(): Unable to access /usr/local/psa/home/vhosts/blahblah.com/httpdocs/forums/includes/cron/ircman in /admincp/cronadmin.php on line 64
 
Warning: main(/usr/local/psa/home/vhosts/blahblah.com/httpdocs/forums/includes/cron/ircman): failed to open stream: No such file or directory in /admincp/cronadmin.php on line 64
 
Warning: main(): Failed opening '/usr/local/psa/home/vhosts/blahblah.com/httpdocs/forums/includes/cron/ircman' for inclusion (include_path='.:/usr/local/psa/apache/lib/php') in /admincp/cronadmin.php on line 64
 
Done
Any help from the author with these problems appreciated.
I updated to your latest version.

I recieve the exact same problems.. and still have the same questions I'd like answered

Thanks
Reply With Quote
  #77  
Old 11-15-2005, 05:02 PM
Jenta Jenta is offline
 
Join Date: Dec 2004
Posts: 377
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Use irc.uk....

The server name you would use something like "Quaknet" then for server address something like "irc.quakenet.net".

For your errors, try adding this to the end of includes/cron/ircmanager.php
PHP Code:
log_cron_action('IRC Stats Updated'$nextitem); 
Reply With Quote
  #78  
Old 11-15-2005, 05:23 PM
Mith Mith is offline
 
Join Date: Jul 2004
Location: Newcastle, UK
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Jenta
Use irc.uk....

The server name you would use something like "Quaknet" then for server address something like "irc.quakenet.net".

For your errors, try adding this to the end of includes/cron/ircmanager.php
PHP Code:
log_cron_action('IRC Stats Updated'$nextitem); 
I've added the code ... the bottom lines of ircmanager.php now look like this.... BUT i still get the same error as before :-(
Code:
 } 
function parse_topic($data)
{
 $channel=array();
 $p=explode(' ',$data,5);
 $p[3]=strtolower($p[3]);
 $p[4]=preg_replace('/^\s*\:/','',$p[4]);
 
 $channel[$p[3]]=wordwrap($p[4], 150, "<br/>");
 
 return $channel;
}
log_cron_action('IRC Stats Updated', $nextitem);
?>
any further help appreciated
Reply With Quote
  #79  
Old 11-15-2005, 05:41 PM
EasyTarget EasyTarget is offline
 
Join Date: Nov 2004
Posts: 660
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by leonsio
the way to lets the bot in the channel, is to run the cript as daemon under linux
you can make this only if you have shell account
is this something that you can explain easily or should I just leave it alone? I'd much rather have the bot just stay in the irc room.
thanks.
Reply With Quote
  #80  
Old 11-15-2005, 06:58 PM
Jenta Jenta is offline
 
Join Date: Dec 2004
Posts: 377
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

line 64 is this..
PHP Code:
include_once(DIR '/' $nextitem['filename']); 
sounds like its not finding the cronfile

Look at the path in the cronjob. It should be...
./includes/cron/ircmanager.php
Reply With Quote
  #81  
Old 11-15-2005, 09:11 PM
lanc3lot's Avatar
lanc3lot lanc3lot is offline
 
Join Date: Sep 2004
Location: Athens, Greece
Posts: 454
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I cant get it working, and when i try to uninstall it i have the following sql error:

Code:
Database error in vBulletin 3.5.0:

Invalid SQL:

DROP TABLE 
'vb3new_irc_channel` ,
`vb3new_irc_server`;

MySQL Error  : You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near ''vb3new_irc_channel` ,
`vb3new_irc_server`' at line 2
Error Number : 1064
Date         : Wednesday, November 16th 2005 @ 01:05:55 AM
Script       : http://www.gamers.gr/forums/admincp/plugin.php
Referrer     : http://www.gamers.gr/forums/admincp/plugin.php?do=productdelete&productid=ircmanager&s=
IP Address   : 62.1.243.196
Username     : lancelot
Classname    : vb_database
Any help?
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 11:02 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.06773 seconds
  • Memory Usage 2,313KB
  • 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
  • (3)bbcode_code
  • (4)bbcode_php
  • (6)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
  • (1)pagenav_pagelinkrel
  • (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