Search Results for 'bbpress'
-
Search Results
-
Topic: MathML and BBpress
Ok, I’ve been poking around the forums, found out how to get new allowed tags (thanks to Louise Dade + others) and now want to add MathML tag support, so users can post MathML.
A big problem is that the editor box seems to add line break
<br />tags to every line – how do you turn this off?The array I’m using in the plugin is:
`$tags = array(// XHTML elements:
'a' => array(
'href' => array(),
'hreflang' => array(),
'title' => array(),
'rel' => array(),
'xml:lang' => array()),
'abbr' => array('title' => array()),
'acronym' => array('title' => array()),
'b' => array(),
'bdo' => array(
'dir' => array(),
'xml:lang' => array()),
'blockquote' => array('cite' => array()),
'br' => array(),
'code' => array(),
// 'del' => array('datetime' => array()),
'dd' => array(),
'dl' => array(),
'div' => array(
'dir' => array(),
'xml:lang' => array()),
'dt' => array(),
'em' => array(),
'i' => array(
'dir' => array(),
'xml:lang' => array()),
// 'ins' => array('datetime' => array(), 'cite' => array()),
'li' => array(),
'ol' => array(),
'p' => array(),
'pre' => array(),
// 'q' => array(),
// 'strike' => array(),
'span' => array(
'dir' => array(),
'xml:lang' => array()),
'strong' => array(),
'sub' => array(),
'sup' => array(),
'u' => array(),
'ul' => array(),
// MathML elements:
'math' => array(
'xmlns' => array(),
'mode' => array()),
'mo' => array(
'lspace' => array(),
'rspace' => array(),
'fence' => array(),
'separator' => array()),
'mi' => array('mathvariant' => array()),
'msub' => array(),
'msup' => array(),
'msubsup' => array(),
'mfrac' => array('linethickness' => array()),
'mn' => array(),
'mstyle' => array(
'scriptlevel' => array(),
'fontstyle' => array(),
'fontweight' => array(),
'mathvariant' => array(),
'displaystyle' => array()),
'mtext' => array(),
'mspace' => array(
'width' => array(),
'height' => array(),
'depth' => array()),
'msqrt' => array(),
'mmultiscripts' => array(),
'mprescripts' => array(),
'none' => array(),
'mroot' => array(),
'mphantom' => array(),
'merror' => array(),
'mover' => array(),
'munder' => array(),
'munderover' => array(),
'maction' => array(
'actiontype' => array(),
'other' => array(),
'selection' => array()),
'mtable' => array(
'align' => array(),
'columnalign' => array(),
'rowalign' => array(),
'equalrows' => array(),
'equalcolumns' => array(),
'columnspacing' => array(),
'rowspacing' => array(),
'columnlines' => array(),
'rowlines' => array(),
'frame' => array()),
'mrow' => array(
'xlink:type' => array(),
'xlink:show' => array(),
'xlink:href' => array()),
'mtr' => array(
'rowalign' => array(),
'columnalign' => array()),
'mtd' => array(
'rowspan' => array(),
'columnspan' => array(),
'rowalign' => array(),
'columnalign' => array()),
'mpadded' => array('width' => array())
);
return $tags;
}`
If anyone’s interested, you can find install at http://www.thetelegraphic.com/bbpress/bbpress/ (for now, once it’s fully working it’ll go to a dedicated domain).
Topic: LaTex support
I’d like to see LaTex support implemented (in a plugin I guess), so people can post LaTex comments (eg for physics/maths forums). How hard would this be to implement in BBpress?
Hi!
I did the installation as guided… created a config file…
So after the creation of a config file, and I reload the page, nothing shows but blank… a big white blank page.
I get this messege in my apache error log:
[error] [client 127.0.0.1] PHP Fatal error: Call to undefined function __() in C:\wow1.11\www\bbpress\bb-settings.php on line 7
Thx for all the help I can get!
Topic: bbPulp.org – developer wiki
I informally announced this in another post, but it kind of got buried.
bbPulp is a wiki I have started for the purpose of creating some coherent documentation of the bbPress API for plugin and theme developers. There seemed to be enough people interested in having one now to start it. Hopefully it can form the foundation of the official wiki when it is created, and in the meantime we have some where to collect our knowledge of the API.
Already documented are all the pluggable functions. I need help with all the hooks (due to sheer volume), both filters and actions. If you are inclined to help, please use the hooks already documented as examples for others.
All submissions are released under the terms of the GNU Free Documentation License.
Topic: Plugin: bb-Scripture-Links
Version 1.0
This plugin automatically turns scripture references into links that will take the visitor to BibleGateway.com, where they can view the verse(s). The administrator can set the default version to one of more than a dozen available versions, including ESV, NIV, KJV, NASB, The Message, and so on.
The links are created dynamically each time a topic is loaded, so the actual text of the post is left alone. This is nice because it allows you to disable/delete the plugin without having to go back through and edit your posts to remove the extra markup.
This plugin is ideal for forums that are religious/spiritual in nature, as it will save your users a lot of time from having to hard-code links to passages they reference in their posts.
This plugin is almost entirely based on a similar WordPress plugin that does the same thing to WP posts. You can view the WP plugin here:
http://dev.wp-plugins.org/wiki/Scripturizer
You can read more about the plugin, or download the latest version of bb-Scripture-Links, here:
http://blog.wittmania.com/bb-scripture-links
You can see a working demo here:

You’re awesome!
Wanting to integrate bb and wp more, I hacked up wp’s
comments.phptemplate to get replies in the forum to show up below posts in the wp section of the site too.This currently requires the bbPress Post plugin.
Fairly simple job: find the corresponding topic, get the replies, and output them. My solution should work for you, too, if you have bbPress post installed and activated as a wp plugin. Code’s below.
I want to make it possible to reply to the topic from the wp section of the site if you’re logged in. Obviously I could make queries to insert the post into the database, but I’d like to use the bb API so it can be validated correctly, hooks are called etc. Not sure how I would go about making it accessible. Currently calling any bb functions returns the “undefined function” error; how can I make them available for use?
Paste this in front of the rest of your wp
comments.phptemplate:and paste this at the very back:
<?php } //end else conditional for corresponding topic to blogpost ?>Example here