Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 31,101 through 31,125 (of 32,511 total)
  • Author
    Search Results
  • #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

    #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 ^_^

Viewing 25 results - 31,101 through 31,125 (of 32,511 total)
Skip to toolbar