PDA

View Full Version : The Batsignal



Damien
05-11-2002, 11:06 PM
Hello moderators,

I would like to know how the batsignal works? Not how to use it, mind you, but the mechanics of using it.

If Ricks invokes the Batsignal to Kaye does Kaye receive an email saying "Look at this post" or does he have a private forum generated web page that these Batsignal messages show up on? When Ricks invokes it does he click a link and then choose a Moderator to send it to?

Thanks

Damien

kaye
05-11-2002, 11:29 PM
When someone sends me a bat signal, I receive an email with boilerplate stuff telling me who sent it, usually C8, and a link to the forum thread. The invoking procedure is in how the bat signal is phrased. k

crazyeights
05-12-2002, 01:24 AM
Ha!

Fine.......... blame me for everything why don't you kaye!


http://macgurus.com/infopop/emoticons/icon_biggrin.gif

http://www.macgurus.com/ubb/batlogo.gif Batsignal invoked to kaye!

Damien
05-12-2002, 08:12 AM
Thanks!!

D

kaye
05-12-2002, 08:48 AM
See Damien, I told you so. A real pest. http://macgurus.com/infopop/emoticons/icon_biggrin.gif k

mactheripper
05-16-2002, 08:45 PM
I'm honored someone noticed... http://macgurus.com/infopop/emoticons/icon_biggrin.gif

I hacked the posting code (all Perl) that parses the post and does things like replace smilies, strip executable lines so you can't hack in, etc. The Bat Signal loop scans for a particular phrase with specific capitalization, deletes the word, then copies the next word and sends an email to word@macgurus.com.

This way, anyone could invoke it, but it will only email people with a macgurus email address (moderators), so that our server doesn't overload.

The email it sends looks like this:
http://www.macgurus.com/ubb/hr.gif
Yo! magician has just flashed you the MacGurus Moderator Batsignal. You may be an Expert of Choice for this thread.

Thread Title: test thread... do not bother to read

Thread Location: Forum TalkBack forum of MacGurus Upgrades Forums.


This topic is located at:
http://www.macgurus.com/ubb/Forum17/HTML/000111.html

Please check it out at your convenience.


Note: sender's email address is magician@macgurus.com
---------------------------------------------------------------------------
http://www.macgurus.com/ubb/hr.gif
So all the moderator has to do is click the link in the email (assuming they are using a modern email program that allows hyperlinks), and their browser opens to the thread in question.

hope this helps...


------------------
mactheripper...
rippin' code and staying young since 1996.

Damien
05-24-2002, 07:44 PM
So you made this...I am impressed! but also a bit sad as I was hoping it was a (commercial) plugin or module of some sort that I could use elsewhere

------------------
Damien,

Damien's Stuff (http://www.macmeisters.com/Damien/)

mactheripper
05-27-2002, 10:40 PM
You want the code? I'll send it to you; it may not help you much since it's related intimately to UBB's user db libraries, but I don't mind sharing.

Just lemme know what you want. A text credit in the comments would be nice if you take it and use it, but again, I'm not too hyper.

Damien
05-28-2002, 11:04 PM
Thanks, but it would do me no good No UBB in the forum in question (sorry to be so cryptic but I am under something of a verbal NDA for a week ot two more)

mactheripper
05-29-2002, 02:49 PM
In that case, my services as a Perl hacker are at your service, especially if you've got some loot for me... http://macgurus.com/infopop/emoticons/icon_biggrin.gif