vBulletin Modifications

Miscellaneous Hacks - [Re Release] IRC Post Announcer

Welcome to vBHackers.com! - vBHackers Updates:

Go Back   vBulletin Modifications > Forum Archives > vBulletin 3.0 Hack Releases

Reply
 
Thread Tools Search this Thread
Download Options
You Must Register First
To Download This Modification

Bugs
3.6.8 ?
Posted By: LennySh
Submit A Bug | View All Bugs

Advertisement
  
Not Supported
[vB 3.0.7] Miscellaneous Hacks - [Re Release] IRC Post Announcer (260)
Released: 01-25-2005, 04:36 AM
Modification Information:
Author: ShavedApe
Last Online: 07-28-2008
Hack Version: 0 Installer Included: 0 Additional queries added to database: 0
New Templates: 0 Template Edits: 0 File Edits: 0
New Files: 0 New Phrases: 0 Installation Time (In Minutes): 0

An EGGDROP or WINDROP IS REQUIRED!

Will announce new posts to specified IRC channel.
It's forum specific and admincp controlled.
It can also be set to announce a small portion of the message to the channel.
You can choose seperate channels per single forum and also seperate colors per single forum.

This version does not allow for multiple channels per single forum, does not use multiple bots and does not announce replys.

Later versions might if i ever get around to writing them.



Screenshots
Screenshots
File Type: gif irc_post.gif (2.6 KB, 468 views)


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Add a Comment!
Old 05-13-2005, 05:15 PM   #41
Junior Member
Join Date: May 2005
pmania is on a distinguished road

Default Got replies working too

K, sorry I am new here.

Btw it's easy to get replies working too:

<Lamestbot> NEW -> Topic by pmania: in Main Forum
<Lamestbot> Message -> show this please
<Lamestbot> Read more -> you forums url goes hereshowthread.php?t=

It doesn't show everything yet, but it works already.

I did this on newreply.php:

Open: /forum/newreply.php & Find:

require_once('./includes/functions_bigthree.php');


Under add:

require_once('./includes/functions_ircpost.php');
Still in /forum/newreply.php Find:



$newpost['posthash'] = $posthash;


Below add:

// IRC egg POST announce vars
$postusername=$newpost['username'];
// ###### YOU NEED TO EDIT THE FOLLOWING LINE ########
$post[wwwpath]='you forums url goes here';
// ###### YOU NEED TO EDIT THE ABOVE LINE ########
$checkirc=iRC_check($foruminfo['forumid']);
$color=$checkirc[irccolor];
$chan=$checkirc[ircchan];
$data="$newpost[message]";
$linebreak="70"; // How many char's before adding the tail full words are not broke
$splitter=" ";
$tail="...";
$data=ereg_replace ("\n", " ", $data);
$data=strip_bbcode($data);
$data=iRC_limitchr($data,$linebreak,$splitter,$tai l);
// IRC egg POST announce vars EnD


Still in /forum/newreply.php Find:



eval(print_standard_redirect('redirect_postthanks' ));
}


Above add:

// IRC egg POST announce
if ($foruminfo['ircpost'])
{
$text .= "\003$color\002NEW\002\003 -> \003$color\002Topic\002\003 by\002 $bbuserinfo[username]\002: \037$newpost[title]\003\037 in \003$color\002$foruminfo[title]<br>";
if ($foruminfo['ircmsg'])
{
$text .= "\003$color\002Message\002\003 -> $data <br>";
}
$text .= "\003$color\002Read more\002\003 -> $post[wwwpath]showthread.php?t=$newpost[threadid]";
iRC_send($chan,$text);
}
// IRC egg POST announce END

Last edited by pmania; 05-13-2005 at 05:25 PM. Reason: Adding text




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 05-15-2005, 12:42 PM   #42
Charter Member
Join Date: Jun 2004
TheDreamer is on a distinguished road

Default

nvm... got it woking again




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-15-2005, 01:06 PM   #43
vBulletin Guru
Arnoud's Avatar
Join Date: Nov 2004
Real Name: Arnoud Kuipers
Location: Europe, Flanders
Arnoud is on a distinguished road

Default

Are you sure you ran the installer correct?
Have you checked your DB for the table 'ircchan'?
Could you please post the complete error, it makes it easier for us to see whats the problem.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-20-2005, 12:21 PM   #44
Charter Member
Join Date: Jun 2004
panzer is on a distinguished road

Default

Ok i installed it and works perfect :

Now here a little question.
Is it possible to get random Announces by bot ?

You must first be a registered member to view any code.
Like : 1 time it posts : username the brave added a new reply, and
the other time it posts : username the xxxx added a new reply etc...

Is something possible ?




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-24-2005, 06:08 PM   #45
Junior Member
Join Date: Jun 2005
BramuS is on a distinguished road

Default

can anyone help me installing this one because i don't know how to get it work on 1 server with the EGGDROP + IRC and the other server with the BOARD Any one can help me??




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-27-2005, 02:43 PM   #46
Junior Member
Join Date: Jun 2005
od3m is on a distinguished road

Default

Hi all ... nice work at all, but i got a damn problem...

this is what the bot reports in telnet session to me:

(18:28:59) (pagebot) [18:28] Telnet-Connection: localhost/38937
(18:28:59) (pagebot) [18:28] wwwrun@localhost zurueckgewiesen (unknown nick: #freaksty)


seems that the eggdrop needs a username to establish connection... what can i do `?
Any Idea ?

......................... OK forget everything,. i´m blind ...... didnt config the tcl file.. sorry !


THX A lot !!!


greetz


od3m




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-03-2005, 02:11 PM   #47
Member
Join Date: Jun 2005
biocore is on a distinguished road

Default

Not sure what you mean by this:
You must first be a registered member to view any code.
what do i have to do with that ?




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-03-2005, 02:19 PM   #48
Member
Join Date: Jun 2005
biocore is on a distinguished road

Default

Nevermind the above found the solution




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-03-2005, 02:30 PM   #49
Member
Join Date: Jun 2005
biocore is on a distinguished road

Default

ok found a new problem for me (lol):

Mine is this:


and it should be this:




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-03-2005, 02:39 PM   #50
Member
Join Date: Jun 2005
biocore is on a distinguished road

Default

also nevermind the above, found my mistake ;)




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
IRC post announcer vB 3.5.x [UPDATED v1.3] ShavedApe vBulletin 3.5 / 3.6 Hack Releases 124 09-24-2008 11:45 PM
IRC post announcer ShavedApe vBulletin 3.5 / 3.6 Hack Releases 55 01-27-2006 11:42 AM
IRC Post announcer v1.0 for vb3.5.0-Beta.1 ShavedApe vBulletin 3.5 / 3.6 Hack Releases 21 10-01-2005 12:24 PM
(REQ).:.IRC post office Announce v1.1 with MB Counter 2-o-o-4 vBulletin Modification Requests 4 10-05-2004 07:06 AM


All times are GMT -3. The time now is 11:22 AM.


SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc. (Patent Pending)