MetaChat REGISTER   ||   LOGIN   ||   IMAGES ARE OFF   ||   RECENT COMMENTS




artphoto by splunge
artphoto by TheophileEscargot
artphoto by Kronos_to_Earth
artphoto by ethylene

Home

About

Search

Archives

Mecha Wiki

Metachat Eye

Emcee

IRC Channels

IRC FAQ


 RSS


Comment Feed:

RSS

08 February 2008

ask mecha: anyone good with the wordpress backend? i have a technical question...[More:]

i'm working on putting a wp plugin together similar to the douchebag plugin called "vonnegut" - all an admin user will have to do is drop this:

<!--vonnegut-->

into the beginning of a comment, and the infamous "asshole" doodle from breakfast of champions will appear, floating right. eventually i'll learn how to get it to insert the image automatically via a list of offending ip addresses, but for now this will suffice.

what i'm really looking to do is create a custom button for the embedded tinymce editor that will drop that "vonnegut" tag into the text field when clicked.

any advice on how this can be accomplished will be greatly appreciated...
isn't that a tinymce issue rather than wordpress? (just thinking out loud on which files to mess with)
posted by dabitch 08 February | 13:26
i think it is... i tried accessing the site via ftp to see where in wp the tinymce stuff was (my guess is in the "includes" directory), but it looks like the network's down. grrrrr...

i guess alternatively i could set up a custom keystroke script in greasemonkey, such as ctrl-shift-v (for vonnegut, natch), and not mess around with the tinymce stuff at all...
posted by syntax 08 February | 13:38
omg mushroom || Weekend Update!

HOME  ||   REGISTER  ||   LOGIN