Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 61,526 through 61,550 (of 64,452 total)
  • Author
    Search Results
  • #57286

    In reply to: LaTex support

    Trent Adams
    Member

    Mdawaffe actually added the support for this in wordpress.com recently and should be able to fire something up for bbPress. Maybe he will see this forum post and do something on it!

    Trent

    #1803

    Topic: MathML and BBpress

    in forum Plugins
    dprice
    Member

    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).

    #1802
    dprice
    Member

    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?

    #57253
    lokem001
    Member

    Thanks Trent, but that link gave me nothing :(

    Fel64, I don’t really get what you mean with “live Windows server”… anyhow it’s a WindowsXP server, Apache 2.2, PHP5, latest MySQL – all installed on a personal LAN server.

    And the Apache/PHP installation works fine with some other simple PHP applications.

    I also tried to copy an older installation of bbpress that worked fine on a previous WinXP/Apache server, but due to a disk failure I had to format the drive and re-install everything.

    However, that older bbpress turned out with the exact problem (blank page) and the same line Apache’s error.log…

    My guess is something’s wrong with my Apache/PHP installation.

    Thx,

    lokem

    #57252
    Trent Adams
    Member

    It seems that you install isn’t liking the syntax of your install. Maybe check out this thread on localhost installs for ideas?

    Trent

    #55004
    Trent Adams
    Member

    I will take a look and play around to have it working with the default install again, np!

    Trent

    #55003
    spencerp
    Member

    YES! Awesome! Thanks a million Trent! :D You’re awesome! ;) :D I gotta find it now, I think it’s on a CD some where LOL. When I find it, I’ll send it your way. :) ;)

    Side note: It was coded with the Forum Category hack/adjustments made though.. so.. just a for-warning. ;) It shouldn’t be that hard to start on fresh bbPress code though. :) I just don’t have the time to do it sigh. :(

    And maybe even some “plugin code” are in it as well lol! I think your’s and Josh’s. Hmm.. You’ll see what I mean then. ;)

    spencerp

    #55002
    Trent Adams
    Member

    If you want to email me the theme Spencerp that would work and I will just re-release it for you and host it ;)

    Trent

    #1797
    lokem001
    Member

    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! :)

    #55001
    spencerp
    Member

    Yeah, sigh. A little bit frustrated when a guy rips you off for a 112.00 USD on a custom WP theme! In which he don’t give you after A MONTH! When originally said 3 to 5 days max!

    (NSFW Links – Contain swear words of course! :D )

    http://www.vindictivebastard.net/id/433

    http://www.vindictivebastard.net/id/435

    And besides all that crap, I have many many other things that need done. But, is on hold because of the first initial crap that I’m dealing with sigh. :(

    spencerp

    #1796
    Sam Bauers
    Participant

    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.

    #57243

    In reply to: tuzhak == bozo

    chrishajer
    Participant

    Did what? Still need to get rid of tuzhak and all their posts need to be purged from the database.

    https://bbpress.org/forums/profile/179439

    #56642

    In reply to: Plugin: BB-Ads

    wittmania
    Member

    I have launched an “Area 51” forum to test and display the effects of my plugins. You can see bb-Ads in action here:

    http://blog.wittmania.com/bbpress/

    Also, I have now tested this plugin with pretty links, and it does work. The only changes to be made in the coding as given in ad1.php is that you have to delete the .php from the strpos check. This will just look for the words in the link instead of the actual .php file names.

    #1785
    wittmania
    Member

    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:

    http://blog.wittmania.com/bbpress/topic/2

    #56960
    fel64
    Member

    Why don’t you copy the code here or upload and link to it? If anyone’s interested they can modify it then.

    #52911
    citizenkeith
    Participant

    Did you put BOTH database tables and such in the SAME database? Like I said above here?

    Yes, just like that, although I am not integrating my WP with bbPress.

    As far as I know, you would only need to do what’s on this page right? Since we’re not talking about WP here at all?

    That’s correct. That’s what I’ve been trying to figure out… I’m following those directions, but I still get these errors.

    Sorry if I’m not much help.. :(

    Not a problem! I appreciate your efforts.

    #55000
    Null
    Member

    internet frustration :D

    #54999
    wmarcy
    Member

    I kinda like the theme, but don’t get the attitude, unless it is some ‘lost in the internet’ translation problem I am having.

    #56959
    Vili
    Participant

    I have modified Dan’s Avatar Thingy to work on both WordPress and bbPress (the avatar is set in the WordPress user interface). It’s really rather easy to do.

    I actually also modified the plugin so that instead of always resizing an image to a certain size, it instead checks that the image is not bigger than X*Y, and only acts if it is.

    Tell me, if you are interested, and I can e-mail you the source for my modified Avatar Thingy. Note, though, that I made the modifications with my own website in mind, so it isn’t really an “out-of-the-box” solution, and you will most certainly need to do some coding to get it work for you (much depends on how exactly your bbPress is intergrated with WordPress).

    #54998
    spencerp
    Member

    Screw it, Trent…can you delete this thread for me man? If you want copy of it Trent, and then release it … go ahead man. I’ll send ya a zip or tar to your email addy then. ;) :)

    spencerp

    #52910
    spencerp
    Member

    Sorry, my mind is waaay off here. I just have so much crap going through it on a daily basis it’s not funny sigh. Sorry if I’m not much help.. :(

    spencerp

    #52909
    spencerp
    Member

    Did you put BOTH database tables and such in the SAME database? Like I said above here?

    If you want, and IF I can find the stuff I had before.. I’ll post it back here. As for the stuff you’re talking about above there… couldn’t ya just change the references from WP database calls to bbPress calls?

    As far as I know, you would only need to do what’s on this page right? Since we’re not talking about WP here at all?

    https://codex.wordpress.org/User:RobLa/bbPress_Auth_for_MediaWiki

    spencerp

    #57108
    cpjolicoeur
    Member

    ttt

    i am wondering the same thing. i am running wp-phpmailer on my blog and have integrated bbpress just today. i want to use phpmailer for the bbpress email as well but it doesnt seem to be working

    #57224
    smurfdude
    Member

    I get this error on my comments page

    WordPress database error: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ‘wp_bbpress_post_posts WHERE post_id =]

    SELECT topic_id FROM wp_bbpress_post_posts WHERE post_id = 32 LIMIT 1;

    #1794
    fel64
    Member

    Wanting to integrate bb and wp more, I hacked up wp’s comments.php template 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.php template:

    <?php
    function felblogtotopicid( $felpostID ) {
    global $table_prefix, $wpdb;
    $posts_table = $table_prefix . "bbpress_post_posts";
    $topic_id = $wpdb->get_var("SELECT topic_id FROM <code.>$posts_table</.code> WHERE <.code>post_id</.code> = $felpostID LIMIT 1;");
    return $topic_id;
    }
    global $post, $wpdb;
    if( $forumtopic = felblogtotopicid( $post->ID ) ) {
    $bbprefix = get_option( 'wpbb_bbprefix' );
    $replies = $wpdb->get_results( '
    SELECT poster_id, post_text, post_time
    FROM ' . $bbprefix . 'posts
    WHERE topic_id = ' . $forumtopic
    );
    array_shift( $replies ); //takes off first entry, ie. starting post, and moves the rest back one
    //$replies = array of object( poster_id, post_text, post_time ) for each post I think
    echo "<ol>n"; //start of list
    foreach( $replies as $reply ) {
    $poster = get_userdata( $reply->poster_id );
    $poster = $poster->user_login;
    echo '<li class="thread">' . "n"
    . '<div class="reply">' . "n"
    . '<div class="poster">' . "n"
    . "<strong>" . $poster . "</strong>n"
    . "<span> @ " . $reply->post_time . "</span>n"
    . "</div>n"
    . '<div class="post">' . "n"
    . $reply->post_text
    . "</div>n"
    . "</div>n"
    . "</li>n";
    }
    echo "</ol>n"; //end of list
    //$replylink = bb_add_replies_to_topic_link( $forumtopic );
    $replylink = get_option( 'wpbb_path' );
    echo '<h3><a href="' . $replylink . '">Reply!</a></h3>' . "n";

    } else { ?>

    and paste this at the very back:

    <?php } //end else conditional for corresponding topic to blogpost ?>

    Example here

Viewing 25 results - 61,526 through 61,550 (of 64,452 total)
Skip to toolbar