Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 31,026 through 31,050 (of 32,432 total)
  • Author
    Search Results
  • #49611

    In reply to: Emoticons For bbPress?

    chrishajer
    Participant

    So it filters through the post but not the edit? It appeared to me that some old posts that had text emoticons, like :) , were filtered on display and how display a gif instead of the text. Maybe I imagined that?

    In fact, here’s a post I made on my forum back in December, and it gets converted to a gif.

    http://www.riversideinfo.org/forum/topic.php?id=6&replies=15#post-40

    I did not edit that post, and I just installed the bb-emoticons plugin yesterday. I guess I still don’t understand how it works.

    #54706
    chrishajer
    Participant

    I was able to see the first post:

    First Post! w00t.

    What issue are you having? Maybe you need to clear your browser cache or something? Or it appears different to a logged in user?

    There are also two different URLs in your post, one a subdomain and one a subfolder: which one is correct? Maybe there’s an issue there? (the config says subfolder “itts”…)

    #54688
    nickbrady
    Member

    that was fast! ;-)

    Very interesting, I see you’re doing both things:

    – Display WP posts in bbpress forums

    – Display bbpress topics in WP

    Are these two different plugins? I guess it’s one for WP and one for bbpress.

    Looking forward to those plugins! ;-)

    #54652

    In reply to: Restrict New Topic

    Glenn Ansley
    Member

    Do you think this would be an easy code?

    If we we’re editing the actual bb code, wouldn’t we just put an if then conditional around the link to post a new topic? Then again… I guess that wouldn’t remove the ability, just the link that makes posting a new topic an ability… hmmm.

    What existing plugin do you think my be the easiest to modify to this end?

    #49608

    In reply to: Emoticons For bbPress?

    chrishajer
    Participant

    I think I answered my own question. This appears to work fine in .80. :D

    #54565

    In reply to: Navigation Theme

    Jim S.
    Participant

    Ok, you can find it here:

    http://open-dialogue.com/navigation1-1.zip

    I appreciate any help and insight you can provide. :)

    #54562

    In reply to: Navigation Theme

    Null
    Member

    Np dude, you only forgot to outline the forum part now :) Topic — Add New » part is still small and need to stretch to the max…

    Looks good

    #1423
    soychuy
    Member

    Hi. First of all, thanks for your help.

    Well, I’ve installed bbPress and integrated it with WordPress and it works fine.

    But I’d like to show the last post of a forum on my WordPress home… is there any plugin to do that or what code should I use?

    Thanks again.

    #1421
    trucex
    Member

    It looks like “my-templates” is actually now “bb-templates” but the information on http://bbpress.org/documentation/themes/ doesn’t reflect that.

    Just a heads up…trying to make sure we don’t lose track of documentation before we even get bbpress out of diapers. ;)

    #54607

    In reply to: Plugin: bbMenu 1.0

    Null
    Member

    What bugs? Euuh well if you have a fix too, put it here for the time being :)

    #54630
    Trent Adams
    Member

    I should have caught that the first time *SLAPS HIMSELF*. You are including your wp-config.php file for WordPress integration? For integration with wordpress, you need to define the other parts of wordpress, but I wouldn’t include that file as it has nothing to do with integration or with getting bbPress going. Take out this and it should work:

    require_once( dirname(dirname(__FILE__)) . '/wp-config.php' );

    If you want to integrate with WordPress, check out this integration documentation for bbPress and WP.

    Trent

    #54628
    Trent Adams
    Member

    I think is must be just the way the comments are put in! Maybe try this format with the commenting out:

    <?php

    define('BBDB_NAME', '********');
    define('BBDB_USER', '********');
    define('BBDB_PASSWORD', '********');
    define('BBDB_HOST', '********');

    $bb->domain = 'http://www.dongbang51.net';
    $bb->path = '/board/';
    $bb->name = 'New';
    $bb->admin_email = '********@hotmail.com';

    $bb->mod_rewrite = false;

    $bb->page_topics = 30;

    $bb->edit_lock = 60;

    $bb->gmt_offset = 0;

    define('BBLANG', '');

    $bb->akismet_key = '';

    $bb->wp_table_prefix = '';
    $bb->wp_home = '';
    $bb->wp_siteurl = '';

    /* Stop editing */

    if ( !defined('BBPATH') )
    define('BBPATH', dirname(__FILE__) . '/' );
    require_once( dirname(dirname(__FILE__)) . '/wp-config.php' );

    ?>

    As well, I am assuming you are using an Akismet number, otherwise have it as:

    $bb->akismet_key = false;

    Trent

    #54602
    function my_get_forum_link_filter( $link ) {
    $link = 'yay'; // Whatever you want to do with the link
    return $link; // Very important line!
    }

    add_filter( 'get_forum_link', 'my_get_forum_link_filter' );

    That last line adds your custom filter function to the get_forum_link filters.

    #1413
    mirce
    Member

    Hi,

    I am trying to write a plugin and I do not know how can I do it properly.

    The plugin I am working on requires the editing of the “get_forum_link” function, specifically the “$link ” vatiable.

    I have the code done in php but do not know how to make a plugin out of it. What and how should I use add_action or add_filter?

    Thanx.

    function get_forum_link( $forum_id = 0, $page = 1 ) {

    global $forum;

    if ( $forum_id )

    $forum = get_forum( $forum_id );

    if ( bb_get_option( ‘mod_rewrite’ ) )

    $link = bb_get_option( ‘uri’ ) . “forum/$forum->forum_id” . ( 1 < $page ? “/page/$page” : ” );

    else {

    $args = array();

    $link = bb_get_option( ‘uri’ ) . ‘forum.php’;

    $args = $forum->forum_id;

    $args = 1 < $page ? $page : ”;

    $link = add_query_arg( $args, $link );

    }

    return apply_filters( ‘get_forum_link’, $link, $forum->forum_id );

    }

    #54594
    chrishajer
    Participant

    You couldn’t be farther from an expert on LDAP that I am :D

    I just recall seeing the trac ticket and didn’t know if it was relevant.

    #54560

    In reply to: Navigation Theme

    Null
    Member

    Show me what you mean :)

    Or look at bbportal.org and go to the forum. Thats also in a “new” sidebar

    #54599
    chrishajer
    Participant

    Please start a new thread for that new topic :)

    https://bbpress.org/documentation/themes/

    Basically, it’s not done from the admin panel. You create a my-templates folder, then a folder in there for your theme (so “newtheme” or somthing) then follow the instructions above.

    #54597
    chrishajer
    Participant

    Sounds like there is an error in your config.php, in this line maybe:

    $bb->domain=

    The other possibility is an .htaccess rewriting the URL to that location. Do you have

    $bb->mod_rewrite = false;

    or

    $bb->mod_rewrite = true;

    #54590
    bbolman
    Participant

    As far as I know, bbPress does not currently support multiple groups (this may come later) so giving access to certain groups isn’t really possible. With the forum restriction plugin you could restrict certain folks, but unfortunately what you’re looking for isn’t here yet. Give it some time though, it may pop up soon enough. ;)

    #1409
    mrpapasworld
    Member

    I have looked at the private forums plugin, but it seems to be an all or nothing deal based on the user being logged in…

    I didnt find anything when I searched, but wondering if anyone knows of or is working on forum access based on membership in a group? So basically, you would allow forum access to certain groups and you would assign users to various groups (or roles in wp/bb terms). Gives you much finer control over who can access which forums…

    also, any way to make bbpress inherit the roles as defined in WP? or maybe just add new roles to bb? easy enough to do hacking the code, but I havent looked at the bbpress plugin structure yet…

    thanks…

    Tweek
    Member

    Ah ok, thanks Trent, guess the problem lies elsewhere then ^_^

    #54579

    In reply to: No Stylesheet

    marky
    Member

    Thanks, Trent. I’ll give the plugin fix a shot and keep an eye on the ticket. :-)

    #1396
    macwise
    Member

    I have come across a link in the forums that seems to do nothing past 404’ing out. I thought it was only present in my forum since I’ve been heavily reconfiguring it. However, even posting this message I see the bug here, unless I don’t understand it correctly. Above this post box, there is an h2 element with a post-form class which says “Add New Topic »”. Only the “»” is hyperlinked to:

    http://bbpress.org/forums/topic/#postform

    (which 404’s out). This behavior is consistent on my forum as well. The offending??? code is in:

    bb-includes/template-functions.php

    Search for $h2 and you should be able to find it.

    I found this applies to the “Add New Topic” message, as well as the “New Topic In This Category” message, but only if there is no current topic in that category.

    Is this a bug, groundwork for a future feature, or am just not catching the vision of something earthshattering?

    #53825

    In reply to: k2 for bbpress

    Null
    Member

    Or use my bbMenu plugin when it is released :)

    Btw in the first post: your forum’s profile links is bugged

    #50132
    ardentfrost
    Member

    mdawaffe’s plugin isn’t as cool as mine

    https://bbpress.org/plugins/topic/21?replies=1

    j/k about mine being cooler, but it may work in a way that you like better ;)

Viewing 25 results - 31,026 through 31,050 (of 32,432 total)
Skip to toolbar