Ready to get started?Download WordPress


Attention Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Difference between revisions of "User:fitztrev/fitzbot"

(Restructure fitzbot docs)
(floated TOC for a demo)
Line 1: Line 1:
<div style="float: right;">__TOC__</div>

Revision as of 23:59, 17 January 2008


fitzbot is an awesome bot made by Trevor Fitzgerald. It can be found idling in the WordPress IRC channel, #wordpress. It's there to help respond to support questions by offering the helpers some shortcut commands.

If you would like to test fitzbot, you are welcome to do so but please do it in #fitztrev, where fitzbot idles also. There is no need to flood #wordpress. Please only use for legitimate support reasons in #wordpress.

There is a separate document for the administration of fitzbot.


Fitzbot can search a number or online resources.

??command query [> nickname]
  • Optionally, a nickname can be specified to direct fitzbot's answer to a specific user.

WordPress Codex

Search the documentation at the WordPress Codex

<you> ??codex Reporting Bugs
<you> ??c Reporting Bugs
<fitzbot> http://codex.wordpress.org/Reporting_Bugs


Search the internets.

<you> ??google WordPress
<you> ??g WordPress
<fitzbot> http://wordpress.org/

WordPress Codesearch

Search the WordPress source code. Uses trunk.

<you> ??code "function wp_mail"
<fitzbot> http://svn.automattic.com/wordpress/trunk/wp-includes/pluggable.php


Search PHP.net. Useful for functions.

<you> ??php sprintf
<you> ??p sprintf
<fitzbot> http://www.php.net/sprintf


Search Wikipedia.

<you> ??wiki WordPress
<you> ??w WordPress
<fitzbot> http://en.wikipedia.org/wiki/WordPress

WordPress Trac (Both tickets and revisions)

Link to a ticket or revision in trac.

<you> ??ticket 5560
<you> ??t 5560
<fitzbot> http://trac.wordpress.org/ticket/5560
<you> ??revision 6536
<you> ??r 6536
<fitzbot> http://trac.wordpress.org/changeset/6536


These are generic answers that can save you some typing time. To use them, type this message in #wordpress:

?? command [nickname]
  • Optionally, a nickname can be specified to direct fitzbot's answer to a specific user.


Give information about WordPress 2.5

<you> ?? 2.5
<fitzbot> WordPress Version 2.5 is scheduled for release on March 24, 2008. Version 2.4 has been skipped as per http://weblogtoolscollection.com/archives/2008/01/04/24-skipped-25-is-next/


Give a reminder about asking to ask

<you> ?? ask
<fitzbot> Don't ask to ask a question. Just go ahead and ask! If someone knows the answer they'll help you out. :-D


<you> ?? bot
<fitzbot> I am but a humble bot, controlled by others.


Tell the user to paste the code on PasteBin

<you> ?? code
<fitzbot> Please paste the code you are using to http://wordpress.pastebin.com/ and share the link so we can take a look at it.


Tell the user they should ask in the #css channel

<you> ?? css
<fitzbot> Your question has more to do with design & styling than with WordPress. You might have better luck if you ask it in #css.


Response for a support request in German

<you> ?? de
<fitzbot> In German: Unfortunately, the majority of us only speak English. You can ask your question in German and maybe someone will be able to help you. Good luck!


Give a reminder about keeping messages on one line

<you> ?? enter
<fitzbot> Please try to keep your questions/responses on one line. It's easier to read if you don't use the Enter key as punctuation. Thanks!


Tell the user to show us their error log in order to diagnose the problem

<you> ?? error_blank
<fitzbot> That page is most likely blank because of a PHP error. To be able to tell what the error is, we need to see your error log. Please paste the error log's contents to http://wordpress.pastebin.com/


Response for a support request in Spanish

<you> ?? es
<fitzbot> In Spanish: Unfortunately, the majority of us only speak English. You can ask your question in Spanish and maybe someone will be able to help you. Good luck!


Tell the user how to show excerpts instead of full posts, and vice versa

<you> ?? excerpt
<fitzbot> If you want your post to show the full post instead of the excerpt, or vice versa, you can change the_excerpt to the_content in your theme files, most likely index.php and archives.php.


Gives information about fitzbot

<you> ?? fitzbot
<fitzbot> I was created by fitztrev to help out as much as I can in #wordpress. Check out my docs at http://codex.wordpress.org/User:fitztrev/fitzbot


Response for a support request in French

<you> ?? fr
<fitzbot> In French: Unfortunately, the majority of us only speak English. You can ask your question in French and maybe someone will be able to help you. Good luck!


Ask the user what they're trying to accomplish

<you> ?? goal
<fitzbot> What exactly are you trying to get accomplished? It will help if we know your ultimate goal. Many times there is an easier way of solving it than the way you're trying.


Greetings and salutations

<you> ?? hi
<fitzbot> Howdy! Welcome to #wordpress!


Show the user where they can find lists of hooks

<you> ?? hooks
<fitzbot> A list of pluggable actions and filters can be found at either of these two sites: http://adambrown.info/p/wp_hooks or http://wphooks.flatearth.org/


Response for a support request in Italian

<you> ?? it
<fitzbot> In Italian: Unfortunately, the majority of us only speak English. You can ask your question in Italian and maybe someone will be able to help you. Good luck!


Ask the user for a link to their site

<you> ?? link
<fitzbot> What is the link to your site? Then we can take a look for ourselves.


Tell the user they should ask in the #wpmu channel

<you> ?? mu
<fitzbot> You might have better luck if you ask your question in #wpmu. It's the channel specifically for WordPress Mu related topics.


Ask the user what OS they are using, and other stuff

<you> ?? os
<fitzbot> What operating system and PHP/MySQL versions are you using?


Give a reminder to paste things at PasteBin

<you> ?? paste
<fitzbot> If you have some code to share, please use http://wordpress.pastebin.com/ and send us the link. That way you don't flood the chat window. Thanks! :)


Tell the user they should ask in the ##php channel

<you> ?? php
<fitzbot> Your problem has to do with PHP, and not specifically WordPress. You might have better luck if you ask it in ##php.


Tell the user that they're probably using PHPSuexec, and that's the problem

<you> ?? phpsuexec
<fitzbot> The error messages are most likely occurring because your host is using PHPSuexec. Once you get the right permissions on files and folders, the error messages will probably go away. More info here: http://www.hostmagik.info/phpsuexec.php


Inform the user about how the post2cat DB table doesn't exist anymore

<you> ?? post2cat
<fitzbot> The post2cat database table is no longer used in WordPress 2.3+. If you're getting an error, it's because a plugin you are using isn't compatible. Check with the plugin author to see if a new version has been released.


Ask the user what their question is

<you> ?? q
<fitzbot> What is your question? Go ahead and ask.


Inform the user about query_posts

<you> ?? query_posts
<fitzbot> You can restrict which posts and/or categories are shown in the loop using WordPress's query_posts function. You can read more about it here: http://codex.wordpress.orgemplate_Tags/query_posts


Patience, patience

<you> ?? repeat
<fitzbot> Don't feel ignored and repeat your question quickly. If nobody knows your answer, nobody will answer you. You can search http://codex.wordpress.org or http://wordpress.org/support while you wait.


Gives information about testing fitzbot.

<you> ?? test
<fitzbot> Please feel free to test fitzbot all you want in #fitztrev, but let's not flood #wordpress. Thanks!


Tell the user that their question is theme-independent

<you> ?? theme
<fitzbot> You must modify your theme files to make the changes you want. It's not exactly a WordPress issue, but rather a design/css issue.


Tell the user what trunk means, and where to get the WordPress trunk

<you> ?? trunk
<fitzbot> The development version of WordPress is commonly referred to as trunk. You can find it here: http:/rac.wordpress.org/


Tell the user how to move WordPress to a different URL cleanly

<you> ?? urls
<fitzbot> You can change your URLs using one of two ways: (1) Edit siteurl and home values in the options table of your database, or (2) Add two define statements to your wp-config.php file as per http://codex.wordpress.org/Editing_wp-config.php#Advanced_Options


Ask the user what WordPress version they are using

<you> ?? version
<fitzbot> What WordPress version are you using? You can find it in the footer of your admin pages, or in the header HTML source code of your website.


Ask the user to whom they are speaking

<you> ?? who
<fitzbot> To whom are you speaking? Please start your responses with the person's nickname.


Inform the user about wp_list_pages()

<you> ?? wp_list_pages
<fitzbot> You can control the page listings by using the wp_list_pages function. More info can be found here: http://codex.wordpress.org/wp_list_pages


Tell the user they should ask in #wordpress.com

<you> ?? wpcom
<fitzbot> Your question has to do with WordPress.com, the hosted blog provider, as opposed to WordPress.org, a self-managed blog program on your own server. You might have better luck in #wordpress.com


Tell the user about WordPress.Com's rules for no custom themes or installing plugins.

<you> ?? wpcom_nocustom
<fitzbot> WordPress.Com does not allow editing of themes or installation of plugins for security reasons. If you must do so, you can create a self-hosted blog using WordPress.Org software.


You're welcome

<you> ?? yw
<fitzbot> You're welcome. I'm glad to be able to help!