Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 16,726 through 16,750 (of 32,581 total)
  • Author
    Search Results
  • #112052

    Unfortunately I don’t have one.

    Judging by all the problems listed on https://wordpress.org/tags/network-publisher?forum_id=10 I would say this plugin is not coded well or up to standards. In fact I would avoid using it all together.

    If you find a plugin that is done properly it should likely work with out any issues.

    I just tested it and you are right! Seems to be screwy when using the numeric permalinks.

    We’re going to look into that. I definitely appreciate you coming back and posting about the problem you encountered – this will help us make 2.1 as solid as possible when it is released publicly :)

    dangerZ
    Member

    I think it has to do with the permalink style. I had numeric permalinks before. If i Change it to “post name” permalinks i think the original code works.

    Copy everything from /bbp-theme-compat into your active theme directory. Once that’s done bbPress should detect it (in 2.1 that is) and use that instead!

    #112053
    Nirzol1
    Member

    I find where is the prob

    It s my theme, I use elegant themes and

    In ePanel there is an option in

    General Settings >>> General tabs

    Number of Posts displayed on Archive pages

    before limit is set to 5 I put 50 and bbpress works All Forum appear in list and get_posts() recover all post

    But is NOT a fix . :/

    So if someone have a solution ?

    I also posted on elegantthemes forum support.

    #111904
    Patricia BT
    Participant

    ok, so as this worked for me I cannot help you more :( I’m sorry

    maybe a permalink/htaccess problem?

    Cheers

    #112033
    dangerZ
    Member

    Okay, i got it working and it’s awesome! (although a bit buggy)

    After backing up the bbpress folder, I basically left the existing bbpress plugin running and activated, and just copied the 2.1 plugin contents into the existing plugin folders.

    One bug i caught is that there is no beginning slash for the “EDIT” Link in topics for the admin, so I went in the code and added that.

    This change was made in bbp-topic-template.php at line 2199

    if ( $wp_rewrite->using_permalinks() ) {

    $url = $topic_link . $bbp->edit_id;

    $url = trailingslashit( $url );

    i changed it to

    if ( $wp_rewrite->using_permalinks() ) {

    $url = $topic_link . ‘/’. $bbp->edit_id;

    $url = trailingslashit( $url );

    #112046
    Nirzol1
    Member

    Ok

    I find something but I don’t know if is good to do like that .

    In function.php add this :

    add_action(‘wp_enqueue_scripts’, ‘add_my_stylesheet’);

    function add_my_stylesheet() {

    $myStyleFile = get_theme_root_uri() . ‘/myTheme/mybbpress.css’;

    if ( (is_post_type_archive( ‘forum’ )) ) {

    wp_enqueue_style( ‘myStyleSheetsi’, $myStyleFile);

    }

    }

    Create a file in your theme mybbpress.css :

    div.bbp-breadcrumb, h1.title{

    display:none;

    }

    Just to notice, all changes is for first page forum only(http://mysite.com/forums) if you want to make changes on all your forums pages replace

    if ( (is_post_type_archive( ‘forum’ )) ) {

    by

    if ( (is_post_type_archive( ‘forum’ ) || is_singular( array( ‘forum’, ‘topic’, ‘reply’ ) )) ) {

    I tried is_page_template(‘bbpress.php’) or is_page(35) etc… (a lot I tried :p)

    but don’t work.

    dangerZ
    Member

    hi jaredatch ,

    The reason it’s not holding back Vanilla is because while Vanilla doesn’t have a good wysiwyg editor by default, it has good, working ones

    which are easily installed through plugins.

    BBpress 2.0 currently does not. It doesn’t even support bbcode natively.

    Anyways, I do appreciate your suggestion — this functionality is very important so im willing to experiment with a pre release version of bbpress.

    I’ve downloaded the bbpress plugin you pointed to and backed up my existing bbpress plugin folder.

    Now, how do i install this bbpress 2.1 without breaking my existing bbpress 2.0 forums?

    #42495
    Nirzol1
    Member

    hello

    shortcode is good.

    But how can I remove breadcrumbs plz ?

    Because I use two shortcode :

    [bbp-forum-index]

    [bbp-topic-index]

    And I have breadcrumbs for forum and an other for topic. Maybe make a shortcode like this is it possible ?

    [bbp-topic-index breadcrumbs=false]

    And are they a way to say number topics to display ?

    thx for help ! :)

    #112041
    paul12345
    Member

    Hi jaredatch, sorry but what is the “CSS” ? :P (such a newbie)

    #112040

    Everything looks OK to me, just need to tweak the CSS as you see fit :)

    #111901
    Patricia BT
    Participant

    Hi @Everton

    not sure I understood you correctly, and maybe you solved that since last week …

    well I wanted the same thing (insert the bbpress forum index, in a standard WP page), thus thought I could insert a shortcode to call the forum, in a normal page

    I created a page called “forum” (whatever you want there) and inserted [bbp-forum-index] in it,

    all the available shortcodes are listed here : https://bbpress.org/forums/topic/bbpress-20-shortcodes

    cheers

    #112039
    paul12345
    Member

    Sorry, the link to the forum is http://www.pets-ponies.com/forum/

    :)

    paul12345
    Member

    Hey there, I’m trying to work on a forum for a friend of mine who’s not very computer literate but I’m having just as much trouble understanding it all!

    I’ve tried changing themes on my BBpress forum but the .zip files won’t upload, even though it says:

    “Install a plugin in .zip format

    If you have a plugin in a .zip format, you may install it by uploading it here.”

    after I try upload one it says:

    “The package could not be installed. No valid plugins were found.

    Plugin install failed”

    This is absolutely doing my head in. Not only that, but getting a simple forum page up is much harder than I thought it would be. To see what I mean, check out our forum as it is now:

    http://www.pets-ponies.com

    So my question is:

    Would someone (with more experience than us) kindly log-in to our admin page and quickly whip up a basic forum? I’ve got all the page/topic names or titles I want up there (in my head at the moment), I just can’t figure it out!

    In need of some help bigtime! :-/

    Cheers! Paul

    #107412

    Closing. If you have any questions regarding shortcodes feel free to create a new thread.

    #105847

    In reply to: bbPress 2.0 – FAQ

    Closing. If you have a question about one of the FAQ items feel free to create a new thread. FAQ is going to hopefully be getting a nice update after 2.1 is released :)

    #100747

    In reply to: bbPress 2.0 – FAQ

    Closing. If you have a question about one of the FAQ items feel free to create a new thread. FAQ is going to hopefully be getting a nice update after 2.1 is released :)

    #42485
    villagora
    Participant

    Hi,

    We have a problem, all is in the title : Why bbp_get_topic_admin_links() function in bbp-topic-template.php can’t apply on a bbp single topic page ?

    How hack the following code without modify bbpress core files :

    line 1984 :

    if (!bbp_is_single_topic() )

    return;

    Is there an issue to display admin links on non-single topic page ?

    Thx,

    Keep in mind that bbPress 2.1 is still in development. It’s pre-release software and there might still be some kinks to work out.

    But, on paper it’s *supposed* to be better than 2.0. :)

    #42483
    deadly_smile
    Member

    I’m totally new to Bbpress. I have a problem with adding posts. Totally strange things have happened. For example, when I was on the front page of forum, topics links are fine, when I click on some of them, it takes me to a page with listed posts, but when I want to make a new post, the part of url disappeared. To be clear, when I press the submit button, bb-post.php redirects me to a nonexistent page and the url looks like this http ://example.com/ /name_of_topic and it should look like this http ://example.com/forum/name_of_forum/name_of_topic. Something removes part of url, but i have no clue what it can be. I look through functions, and i’m lost.

    Please help.

    #111769
    Kevin Ryman
    Participant

    Aw, bummer. :(

    No problem, glad I can help.

    I’m going to submit this simple plugin to the wp.org repo. Once it’s up I’ll talk to @jjj and see if it warrants a sticky. :)

    Regarding the missing tag, closing PHP tags (?>) isn’t required (at the end of the file) and it’s usually good practice to omit them. More info on that http://stackoverflow.com/questions/4410704/php-closing-tag

    jamescarson1
    Member

    Jaredatch, this is gold. And it will be appreciated by many people I imagine. This should be reposted as a sticky or similar until it’s added to the plugins page or to the next bbpress update?

    By the way I just tested the code and it’s working great. It’s missing a closing ?> tag.

    Thanks!

    #111975

    Try adding a check for bbPress, such as

    add_action( 'bbp_ready', 'ja_login_detect' );
    function ja_login_detect() {
    if ( is_bbpress() ) {
    include_once "/dap/dap-config.php";

    if ( !Dap_Session::isLoggedIn() )
    header( "Location: /dap/login.php" )
    }
    }

Viewing 25 results - 16,726 through 16,750 (of 32,581 total)
Skip to toolbar