Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 31,076 through 31,100 (of 32,491 total)
  • Author
    Search Results
  • #54720
    Trent Adams
    Member

    We do not have a special key hidden, ;) It has to be added to your config.php! Example:

    // Your Akismet Key.  You do not need a key to run bbPress, but if you want to take advantage
    // of Akismet's powerful spam blocking, you'll need one. You can get an Akismet key at
    // http://wordpress.com/api-keys/
    $bb->akismet_key = ''; // Example: '0123456789ab'

    Still requires getting a key from wordpress.com to work!

    With the recent re-works of the admin, this might be a great option to store in the database through a core plugin!

    Trent

    #1436
    linickx
    Participant

    I’ve seen lots of posts requesting this functionality, but couldn’t find any plugins. Well I’ve had a go at porting Jeff Moore wordpress plugin, not all bbcode tags work as the markup isn’t allowed by default within bbpress, but it’s a start !

    Download Here.

    Blog Post.

    #54749

    In reply to: Equalize Hottags

    phery
    Member

    well im not a coder, more a general enduser. with only some basic coding & editing abilities.

    but thanks :)

    #54739
    ear1grey
    Member

    It doesn’t have to know the difference. You set

    $special

    to be a special class before the loop, then the last thing you do in the loop is set

    $special

    to be something else. So the first time round the loop

    $special

    has it’s original value, then at the end of the first loop it’s value is changed (so it’s no longer the initial value).

    The fact that the value is repeatedly reset to the other value is irrelevant (there is overhead in this, but it’s comparable to calling a function each time round the loop to check for “is this the first item” and it has the advantage that it’s not API specific.

    #54748

    In reply to: Equalize Hottags

    chrishajer
    Participant

    So far, this is the only thing I’ve seen posted about customizing the hottags:

    https://bbpress.org/forums/topic/67?replies=5#post-295

    It doesn’t specifically address the colors, just the size, of the tags. I imagine, since the style tag is with a font-size in it, like this:

     style="font-size: 9pt;"

    that you could make a plugin that did something where if the font size is between a and b, add “font-color: #whatever;” and if it’s between b and c, add “font-color: #whatever2;” etc.

    I think this would be pretty interesting. I can see where this code would need to be added in bb-includes/template-functions.php, but that’s a really bad idea (modifying core files) – so, a plugin is a much better idea.

    #52560

    mdawaffe,

    sorry I just saw this post. I try it in this forum here, and it works perfect. However I knew it is not working in my personal forum. I will try it as in your tickets 585 and report to you the debugging code.

    thanks, and happy chinese new year to everyone.

    Franky

    #1433
    Carpediem
    Member

    Hello everyone,

    Sorry for being so clueless about community buildling. But have some very simple basic questions, which will give you the idea of just how much I don’t know. and how new I am to this. :-)

    I want to create a unique online community. One that I have not found online yet. Although it sounds very familiar like all the others. It has several unique ideas that I feel will give it some strength to create a momentum and grow into a very popular community.

    First question am I at a good starting place with bbpress.org to create an online community? Am I still in the right starting place if my community needs the capability to upload and manage/organize photos? I want the community to be very user controled. Meaning I would like the members to have allot of control over their profiles. Template, colour schemes etc…

    I would also like this community to become very friendly for advertisers. Not that I will be seeking any company that wants to advertise, as the advertising will have to remain true to the mission of the website. And advertising I don’t expect to worry about anytime soon. My main focus is getting the community started. Does bbpress.org sound like a good starting place?

    Thanks for your time.

    Kevin

    #54572

    In reply to: Navigation Theme

    chrishajer
    Participant

    I like it too. I’ve been watching the evolution from the beginning. I think I would fix a few of the XHTML errors so that the theme validates. You can check it here:

    http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fopen-dialogue.com%2Fbbpress%2F

    Basically, the <br> should all be self-closed

    <br />

    and all the <p> and <div> tags need to be properly nested and closed.

    In the CSS there are just a couple problems. Line 304 & 305 need to have units after the number for the absolute positioning:

    	top: 25;
    left: 225;

    should be

    	top: 25px;
    left: 225px;

    Other than that I think it looks really good. Nice job. Very nice.

    #54737
    ear1grey
    Member

    A lazy short circuit solution which makes the first displayed entry in a loop appear different:

    $special="specialClass normalClass";

    for {

      echo ... class="$special" ...

      $special="normalClass";

    }

    #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

Viewing 25 results - 31,076 through 31,100 (of 32,491 total)
Skip to toolbar