Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 39,951 through 39,975 (of 64,523 total)
  • Author
    Search Results
  • #94792
    Ryan Gannon
    Member

    How can I generate a list of topics created by a given user?

    trof
    Member

    Hey guys,

    sorry is it is a stupid question, I’m new with bbPress…

    I was wondering, is it possible to create a bbPress plugin besed on Rich Object code constructor ( Demo: http://xbb2.com ) , and if “yes” – shall it be on HTML or BBCode generation ?

    Thanks

    AT

    #71446
    gonzp
    Member

    Hi Michael,

    Looking at your website http://scopedin.com/bbpress/ it seems you managed to resolve all the issues above.

    Can you post the codes you finally used?

    I am having exactly the same issue.

    Thanks

    #98659
    samcore
    Member

    Hey ,

    The plugin works as intended for topic views. However, I’ve got trouble with forum view counts.

    I’ve copied the ‘forums_views_append’ function to the php file (renamed to ‘forums_views_appendaa’ because of some name conflict) of the plugin, and I’ve added add_filter(‘get_forums’,’forums_views_appendaa’);

    I’ve called ‘var_dump(get_object_vars($forum));’ instead of ‘echo $forum->views’ inside the views cell in forum.php, giving me output

    array(9) {

    [“forum_id”]=> string(1) “2”

    [“forum_name”]=> string(6) “Ostalo”

    [“forum_slug”]=> string(6) “ostalo”

    [“forum_desc”]=> string(37) “Sve što ne spada u ostale kategorije”

    [“forum_parent”]=> string(1) “0”

    [“forum_order”]=> string(1) “8”

    [“topics”]=> string(1) “0”

    [“posts”]=> string(1) “0”

    [“forum_is_category”]=> string(1) “1”

    }

    Clearly no ‘views’ field has been defined in the filter function.

    That function is being called properly, as it echoes if I insert an echo command. I’ve found that the $forums_views variable is empty after the SQL call, which indeed creates no ‘views’ field in $forum. However, I’m lost on what to do next. Hopefully you can help me out.

    Here’s the filter function:

    function forums_views_appendaa($forums) {

    global $bbdb; $sum_meta_value=”SUM(meta_value)”;

    $forums_views = $bbdb->get_results(” SELECT $sum_meta_value,forum_id FROM $bbdb->topicmeta LEFT JOIN $bbdb->topics ON $bbdb->topicmeta.topic_id = $bbdb->topics.topic_id WHERE $bbdb->topicmeta.meta_key=’views’ GROUP BY $bbdb->topics.forum_id”);

    print_r ($forums_views);

    foreach ($forums_views as $forum_views) {

    $forums[$forum_views->forum_id]->views=$forum_views->$sum_meta_value;

    }

    echo ‘filter executed’;

    return $forums;

    }

    #103759
    samcore
    Member

    Hey ,

    The plugin works as intended for topic views. However, I’ve got trouble with forum view counts.

    I’ve copied the ‘forums_views_append’ function to the php file (renamed to ‘forums_views_appendaa’ because of some name conflict) of the plugin, and I’ve added add_filter(‘get_forums’,’forums_views_appendaa’);

    I’ve called ‘var_dump(get_object_vars($forum));’ instead of ‘echo $forum->views’ inside the views cell in forum.php, giving me output

    array(9) {

    [“forum_id”]=> string(1) “2”

    [“forum_name”]=> string(6) “Ostalo”

    [“forum_slug”]=> string(6) “ostalo”

    [“forum_desc”]=> string(37) “Sve što ne spada u ostale kategorije”

    [“forum_parent”]=> string(1) “0”

    [“forum_order”]=> string(1) “8”

    [“topics”]=> string(1) “0”

    [“posts”]=> string(1) “0”

    [“forum_is_category”]=> string(1) “1”

    }

    Clearly no ‘views’ field has been defined in the filter function.

    That function is being called properly, as it echoes if I insert an echo command. I’ve found that the $forums_views variable is empty after the SQL call, which indeed creates no ‘views’ field in $forum. However, I’m lost on what to do next. Hopefully you can help me out.

    Here’s the filter function:

    function forums_views_appendaa($forums) {

    global $bbdb; $sum_meta_value=”SUM(meta_value)”;

    $forums_views = $bbdb->get_results(” SELECT $sum_meta_value,forum_id FROM $bbdb->topicmeta LEFT JOIN $bbdb->topics ON $bbdb->topicmeta.topic_id = $bbdb->topics.topic_id WHERE $bbdb->topicmeta.meta_key=’views’ GROUP BY $bbdb->topics.forum_id”);

    print_r ($forums_views);

    foreach ($forums_views as $forum_views) {

    $forums[$forum_views->forum_id]->views=$forum_views->$sum_meta_value;

    }

    echo ‘filter executed’;

    return $forums;

    }

    #36777
    FrankR
    Member

    I have a big main section on my website and I would like for the entire bbPress program to reside there and look and act like it does as a freestanding, or as best it can.

    I can easily do this with WordPress but this is much different. For thing, it seems that there can only be one stylesheet, so I have to copy bbPress’s stylesheet and paste it into mine and name it style.css. then rename the divs with the same names.

    This is what I want it to be:

    <My website>

    <my header></close my header>

    <my navigation></close my navigation>

    <my mainsection or column is 900px wide>

    <<< Here will go the entire bbPress program >>>

    </close my mainsection or column>

    </close My website>

    Here’s how I have the header.php:

    <<<<—- Start of header.php —->>>>

    <?php

    $_head_profile_attr = ”;

    if ( bb_is_profile() ) {

    global $self;

    if ( !$self ) {

    $_head_profile_attr = ‘ profile=”http://www.w3.org/2006/03/hcard”&#8216;;

    }

    }

    ?>

    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.1//EN” “http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd”&gt;

    <html xmlns=”http://www.w3.org/1999/xhtml”&lt;?php bb_language_attributes( ‘1.1’ ); ?>>

    <head<?php echo $_head_profile_attr; ?>>

    <meta http-equiv=”X-UA-Compatible” content=”IE=8″ />

    <meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ />

    <title><?php bb_title() ?></title>

    <link rel=’stylesheet’ href=’style.css’ type=’text/css’ charset=’utf-8′ />

    <link rel=”stylesheet” href=”<?php bb_stylesheet_uri(); ?>” type=”text/css” />

    <?php if ( ‘rtl’ == bb_get_option( ‘text_direction’ ) ) : ?>

    <link rel=”stylesheet” href=”<?php bb_stylesheet_uri( ‘rtl’ ); ?>” type=”text/css” />

    <?php endif; ?>

    <?php bb_feed_head(); ?>

    <?php bb_head(); ?>

    </head>

    <body>

    <!–Begin top of My Website–>

    <div id=’al_wrapper’>

    <div id=’al_sub_wrapper’>

    <div id=’al_head’>

    <h1>Title</h1>

    <h4>Tag Line</h4>

    </div>

    <div id=’pagetitle’>

    <div id=’bread’>You are here: Home » This Page</div>

    </div>

    <div id=’al_both’>

    <div id=’my_right’>

    <div id=’inside_my_right’>

    <h2 class=’myright’>This Page</h2>

    <!–End top of My Website–>

    <body id=”<?php bb_location(); ?>”>

    <div id=”wrapper”>

    <div id=”header” role=”banner”>

    <h1>“><?php bb_option(‘name’); ?></h1>

    <?php if ( bb_get_option(‘description’) ) : ?><p class=”description”><?php bb_option(‘description’); ?></p><?php endif; ?>

    <?php if ( !in_array( bb_get_location(), array( ‘login-page’, ‘register-page’ ) ) ) login_form(); ?>

    <div class=”search”><?php search_form(); ?></div>

    </div>

    <div id=”main”>

    <?php if ( bb_is_profile() ) profile_menu(); ?>

    <<<<—- End of header.php —->>>>

    <<<<—- Start of footer.php —->>>>

    </div>

    </div>

    <div id=”footer” role=”contentinfo”>

    </body>

    </div>

    <?php do_action(‘bb_foot’); ?>

    <!–Beging of My Website footer–>

    </div>

    </div>

    </div><!–end both–>

    <div class=’spacer_20′></div>

    <div id=’al_footer’>

    Content copyright 2010. Mywebsite.com – All rights reserved.

    Home  · 

    Privacy Policy  · 

    Terms of Use  · 

    Contact Me

    </div>

    </div><!–end al_subwrapper–>

    </div><!–end al_wrapper–>

    <!–End My Website footer–>

    </body>

    </html>

    <<<<—- End of footer.php —->>>>

    Using this, the look of my website is OK but the bbPress is all jumbled up and not right. Any help would be appreciated.

    #98636

    Show us an example, may be they are not in the allowed tags list or something

    #103736

    Show us an example, may be they are not in the allowed tags list or something

    McGeeSteve
    Member

    norcalmilsim.com/forum

    I have login synchronized with WP and bbPress.

    The only option I have as Admin / Keymaster or my account McGee / Administrator is to ‘Add New’ in the ‘Latest Discussions’ topic section.

    I do get a new window and can enter a title and content, but can’t select one of the two forum for the topic. When I click ‘Send Post’ the next page says ‘This topic has been closed’ every time.

    There are no other options to add, rely or create anything new.

    All I have been able to do is edit a post as the Admin.

    #98606

    In reply to: bbcode buttons 0.0.9

    citizenkeith
    Participant

    You can’t link to files on your computer. It’s always http. You’ll need to upload them to a service like Photobucket or your own web server before you can link to them.

    Or, you can try ck’s bb-Attachments plugin: https://bbpress.org/plugins/topic/bb-attachments/

    Not that bb-Attachments may not work in 1.0.2, or you may need to read through the thread to find code changes that will make it work.

    #103706

    In reply to: bbcode buttons 0.0.9

    citizenkeith
    Participant

    You can’t link to files on your computer. It’s always http. You’ll need to upload them to a service like Photobucket or your own web server before you can link to them.

    Or, you can try ck’s bb-Attachments plugin: https://bbpress.org/plugins/topic/bb-attachments/

    Not that bb-Attachments may not work in 1.0.2, or you may need to read through the thread to find code changes that will make it work.

    #94791
    Chuck Mac
    Member

    @Gautam : Thanks for the quick response. That did work. I would think /%category%/%postname%/ is a pretty popular structure though.

    #94790
    Gautam Gupta
    Participant

    Maybe it’s not working for you because of the permalink structure you have. Try having it simply /%postname%/.

    #94789
    Chuck Mac
    Member

    I am having issues with permalinks as well in 2743. The forums work if I use the default permalinks (?bbp_forum=x), but if I turn on custom permalinks (/%category%/%postname/) then the forums themselves 404 (forums/forum/x). The page I setup with the list of forums works correctly with permalinks enabled, but none of the links to the forums do.

    I have tried turning them on and off multiple times.

    Appreciate any other ideas anyone might have.

    #98634
    Wiiishy
    Member

    Still not a true WYSIWYG editor.

    CKeditor and TinyMCE, you can copy image, links, words on any site and when pasting looks exactly the same. When you hit send on BBpress, you get a bunch of messed up code.

    #103734
    Wiiishy
    Member

    Still not a true WYSIWYG editor.

    CKeditor and TinyMCE, you can copy image, links, words on any site and when pasting looks exactly the same. When you hit send on BBpress, you get a bunch of messed up code.

    #94788
    intimez
    Participant

    new reply from dashboard not visible in forum

    https://trac.bbpress.org/ticket/1437

    #98633
    #103733
    #36768
    Wiiishy
    Member

    I’ve installed CKeditor and TinyMCE, tweaked and messed with the code for weeks. I then installed the same two editor to phpBB and Drupal and they both work fine but the forum format are ugly. It seems like BBpress cannot output rich text. I might be wrong, but there seems to be nothing right now. Just a heads up.

    #98521
    Peter Westwood
    Participant

    I’ve ported over the changes to KSES and clean_url into a branch in the BackPress repo ready for bbPress 1.0.x branch work.

    If anyone has cycles to review and test would be great :-)

    http://backpress.automattic.com/log/branches/bbpress-1.0-backpress

    #103621
    Peter Westwood
    Participant

    I’ve ported over the changes to KSES and clean_url into a branch in the BackPress repo ready for bbPress 1.0.x branch work.

    If anyone has cycles to review and test would be great :-)

    http://backpress.automattic.com/log/branches/bbpress-1.0-backpress

    #94787
    intimez
    Participant

    Thanks @Gautam

    Call to undefined function bb_update_usermeta

    https://trac.bbpress.org/ticket/1436

    Not posting from dashboard

    #94786
    Gautam Gupta
    Participant

    @intimez

    I started from scratch and I’m trying to add it to the menu

    Ok, here are the steps to test the plugin:

    1. Upload the plugin folder to the wp-content/plugins directory & activate it.
    2. Go to Appearance -> Themes & activate the bbPress TwentyTen theme.
    3. If you’re using permalinks, go to Settings -> Permalinks and click the save button.
    4. Go to Pages -> Add new & select bbPress - Forum index in the template selection in the right side, give the page title Forums or anything and press publish. You can repeat the step to add pages like add new topic, topic index page etc.
    5. Go to Appearance -> Menu if you want to add those pages to the menu for easy navigation.
    6. Go to Forums -> Add new & write a forum title, description and press publish.
    7. Now go to your blog’s home page or that forum you created or directly here – http://www.example.com/bbtest/forums
    8. If you go to that /forums url, hopefully you’d see the forum listed which you just created and the new topic form.
    9. Browse, test & report bugs ;)

    #94785
    intimez
    Participant

    I started from scratch and I’m trying to add it to the menu

    I’ve tried

    http://www.example.com/bbtest/forums

    http://www.example.com/bbtest/forum

    Each of them go to Page not found page.

Viewing 25 results - 39,951 through 39,975 (of 64,523 total)
Skip to toolbar