Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 44,651 through 44,675 (of 64,527 total)
  • Author
    Search Results
  • #87166
    zaerl
    Participant

    Check the tables of your database. Maybe the bbPress tables are in latin1. On the file bb-config.php tell me what is written at this line:

    /** Database Charset to use in creating database tables. */
    define( 'BBDB_CHARSET', 'utf8' );

    it must be utf8.

    #34067
    #87154
    Shivanand Sharma
    Participant

    psycheangels: I’m the author of Openid Plus bbPress plugin just to name one. If the mention of one of my paid works bugs you, say that instead of calling me a spammer. So you are the one who does the reviews without a copy? It may be worth $0 for those who judge by cosmetics and can’t spell “SEO”. If you have feedback about my theme share it at my forum not here. I like your theme… should have taken a few months for hired developers to code it.

    Next thing – try to get me banned. So much for caring for bbPress.

    #87165
    gibbyesl
    Member

    Thanks

    I have asked and waiting now for 2 days no reply

    Seems odd that people run these independently fine but together I have this problem

    I will wait for some kind soul to rescue me….

    Thanks for your advice

    Gibby

    #87164

    Hi Gibby,

    Your best bet would be to take this over to the BuddyPress folks.

    The bbPress you see inside BuddyPress is actually a hack/modified version of the core (a very very good one mind you); but really you’ll have more chance of getting a good answer other there.

    Good Luck,

    Kev

    #87163
    gibbyesl
    Member

    Hi

    in my wp-config.php is define (‘WPLANG’, ”);

    So there is nothing in it ??????

    Please can you help

    Gibby

    Milan Dinić
    Participant

    E-mail subscription is one thing that most of my users miss. In trunk we have this built-in, but problem is that we can only have a link on which users could click to subscribe/unsubscribe and no checkboxes bellow post’s form or automatic subscription.

    I inspected trunk to see how this could be solved and found that there aren’t any hooks that could be used. Only way is to copy existing functions used for subscription and editing them so that they could work as we want.

    So I tried to follow this aproach and make function which would add checkboxes. I took inspiration from _ck_’s Subscribe to Topic plugin.

    First thing, I wanted checkbox to show option depending on if user is already subscribed or not. By hacking function bb_user_subscribe_link I succeed in this. Here is a code:

    function bb_user_subscribe_checkbox() {

    global $topic, $bb_current_user, $bbdb, $bb;

    if ( !bb_is_user_logged_in() )

    return false;

    $there = false;

    if ( $term_id = $bbdb->get_var( “SELECT term_id FROM $bbdb->terms WHERE slug = ‘topic-$topic->topic_id'” ) ) {

    $term_taxonomy_ids = $bbdb->get_col( “SELECT term_taxonomy_id FROM $bbdb->term_taxonomy WHERE term_id = $term_id AND taxonomy = ‘bb_subscribe'” );

    $term_taxonomy_ids = join(‘,’, $term_taxonomy_ids );

    $there = $bbdb->get_var( “SELECT object_id FROM $bbdb->term_relationships WHERE object_id = $bb_current_user->ID AND term_taxonomy_id IN ( $term_taxonomy_ids )” );

    }

    if ( $there )

    echo ‘<label><input name=”subscription_checkbox” type=”checkbox” value=”remove” ‘ . checked_on_front(false, $there) . ‘>Remove my e-mail subscription for this thread</label>’;

    else

    echo ‘<label><input name=”subscription_checkbox” type=”checkbox” value=”add” ‘ . checked_on_front(false, $there) . ‘>Notify me of followup posts via e-mail</label>’;

    }

    function checked_on_front( $checked, $current) {

    if ( $checked == $current)

    return ‘ checked=”checked”‘;

    }

    add_action(‘edit_form’,’bb_user_subscribe_checkbox’,9);

    add_action(‘post_form’,’bb_user_subscribe_checkbox’,9);

    As I said above, this works. But problem is with function that should take value of checkbox and subscribe or unsubscribe user. I used code from file bb-includes/action.subscribe.php but without succes. Here is it:

    function bb_checkbox_subscription_update($post_id=0) {

    global $bbdb, $bb_current_user, $bb_post, $topic, $wp_taxonomy_object;

    $bb_post=bb_get_post($post_id);

    if (!empty($_REQUEST)) {

    $checkbox_status = $_REQUEST;

    if ( ‘add’ == $checkbox_status ) {

    $tt_ids = $wp_taxonomy_object->set_object_terms( $bb_current_user->ID, ‘topic-‘ . $topic->topic_id, ‘bb_subscribe’, array( ‘append’ => true, ‘user_id’ => $bb_current_user->ID ) );

    } elseif ( ‘remove’ == $checkbox_status ) {

    // I hate this with the passion of a thousand suns

    $term_id = $bbdb->get_var( “SELECT term_id FROM $bbdb->terms WHERE slug = ‘topic-$topic->topic_id'” );

    $term_taxonomy_id = $bbdb->get_var( “SELECT term_taxonomy_id FROM $bbdb->term_taxonomy WHERE term_id = $term_id AND taxonomy = ‘bb_subscribe'” );

    $bbdb->query( “DELETE FROM $bbdb->term_relationships WHERE object_id = $bb_current_user->ID AND term_taxonomy_id = $term_taxonomy_id” );

    $bbdb->query( “DELETE FROM $bbdb->term_taxonomy WHERE term_id = $term_id AND taxonomy = ‘bb_subscribe'” );

    }

    }

    }

    add_action( ‘bb_insert_post’, ‘bb_checkbox_subscription_update’);

    It does nothing. State of subscription of user is not changed but I also do not get any errors.

    Is there any way to change this code so that it becomes useful?

    Apart from above, after inspecting this code, I think that this could be solved much better, by making more functions and hooks which could be used by developers.

    First, here is how subscription works. (links are to current revison, 2421).

    In topic.php file of template, we call function bb_user_subscribe_link. This function is placed in bb-includes/funtions.templates.php and what it does is to show link with subscribe/unsubscribe action. Checking for state of subscription is done inside this function. Those links make GET request so in bb-load.php there is check for them which includes file bb-includes/action.subscribe.php. In this file there is function which adds values for subscription in database, based on request from link above, and finally redirects user to topic’s page.

    Sending of notification is done via function bb_notify_subscribers in file bb-includes/functions.bb-posts.php. This function is called by action bb_new_post in bb-includes/default.bb-filters.php.

    As you can see, we can’t use functions for this nor could we add hooks. My idea is following:

    • splitting function bb_user_subscribe_link into one that does checking status of subscription for cuurent user, so that we can use it like in my example with checkboxes, and one which would only return link
    • in bb-includes/action.subscribe.php (or in other functions file) make function that would do subscribing/unsubscribing in database so that it could be called on other places like in my example above; rest of file would be used as it now, with difference that we call function from last sentence
    • in function bb_notify_subscribers add hook before sending e-mail so that we can, for example, have plugin which sends only one meesage to user, untill he visit topic again (as in other forum software, requested here)
    • add bb_user_subscribe_link inside if function which checks if e-mail subscription is turned on globaly by administrator (there are forum owners who don’t want this feature for any of reasons; would be turned on by default)

    What are others thinking about this, especialy those involved with development (commiters, patch-makers)? Could those solutions be made and included? I think that there isn’t much work for it because it is only hacking of existing code.

    #86151
    gerikg
    Member
    #87127
    gerikg
    Member

    @Al compare make sure your wp-config.php is following the same layout as wp-config-sample.php

    #87183

    Hi Amwilson,

    Always glad to hear someone thinking through using bbPress to see if it fits their needs.

    bbpress appears to integrate with buddyppress

    It doesn’t. Well, kinda.

    Basically, it doesn’t. BuddyPress uses a large hack of bbPress (it removes almost all the work in the bbPress1.0.2 backend). They do look similar, and work simialr, and share some code… but the bbPress/forum you see in BuddyPress is fundamentally different.

    Basically, any changes to bbPress (haha) will not appear in BuddyPress unless one of the BuddyPress team takes the time to manuall convert/hack them. That said, the BuddyPress team seem on the ball with this sort of thing.

    how should I set bbpress up now before it becomes a plugin to make the transition better when it does become a plugin?

    We have no idea. bbPress becoming a plugin of WordPress was ‘announced’ in the middle of an IRC chat by Matt with no warning or explanation. Its never been written in a forum post or a blog post, and we have no other information other than Matt posting that “I just want to quit the whole project” 2 months ago.

    At this point in time, none of us have any information and the ‘weekly’ IRC chats and Blog posts haven’t happened in 14 weeks; so spending anytime thinking about making life easier down the line is going ot be fruitless. We’re all clueless.

    Should I set it up to use my wordpress database or give bbpress its own database? I am not sure if the separate database will be an option after it is a plugin

    Having the same database makes integration a bucket load easier.

    I’d presume that would be the same when bbPress becomes a plugin.

    Is it simple to import simple:press data to bbpress?

    There are a few hacks for converting forums to bbPress on these boards. Paul Hawke has written a few and they seem to get good reviews. You’ll have to do a search though to see if Simple Press is included, but Paul’s threads and code is definately the place to start.

    If so I may just use simple:press for now until bbpress becomes a plugin

    Just a heads up, bbPress 0.9 to 1.0 had a full time paid developer from Automattic, and it took 14 months to be released with virtually no feature improvements. bbPress 1.1 has taken 10 months to develop, and we’re no where near realease ready.

    bbPress as a WP plugin, even if we all stopped work on bbPress1.1 and focussed on that, wouldn’t be ready this year.

    =============================

    My big advice is to make a list of the feautres you want your forum to have, and post them here and see if bbPress can meet those needs. If it can, awesome. If it can’t – better to find out now :)

    #87126
    Al
    Participant

    I’m on an old, but continually updated, WP install with a fresh 1.0.2 BBPress install. I could always make a brand new WP 2.9 integrate with BBPress, but could never make the live site (the updated WP) work. I’d always known it to be something to do with the older WP, but had not found what. Still don’t know exactly what, but the shorter keys make it work.

    #87079

    In reply to: Compatibility ….

    @EvilGeek23

    No.

    @Brucini

    There is no way to downgrade from bbPress1.0 to bbPress0.9.

    And you’re right that with a little knowledge you can convert 0.9 plugins to 1.0 plugins :)

    @Dragunoff

    bbPress integration is not something the folks releasing WordPress are fussed about.

    bbPress0.9 is only meant to integrate with WP2.5 and 2.6. There is a hack/plugin to let it integrate with WP2.7; and so far that has been reported to work for 2.8 and 2.9 but it’s not designed with that in mind.

    We’ll see what happens with WP3.0, and if the current plugin/hack continutes to work, but i severly doubt it will. Either way, i’d not worry about the beta too much, and I’d def suggest holding off upgrading WP3.0 until at least WP3.0.1 anyway.

    #85757
    Dainismichel
    Participant

    Just in case gerikg or Arturo can’t get around to it…what would be a way to hack/copy Arturo’s theme from the outside? I can see the CSS files…hmm…I sure hope you guys release the BuddyPress lookalike bbPress theme…what a great job!

    frooyo
    Member

    @ psycheangels

    Yes, yes, yes!!!

    Can you share your entire theme directory and functions needed/used on your site.

    I would love to have a site that looked similar and function similar to what you have.

    #87162
    gerikg
    Member

    You need a FTP program, same way you got the wordpress and bbpress on the server the first time. I would say look at your wp-config.php file and look for line that says define (‘WPLANG’, ‘XX’); Whatever the XX is is what you need to put in your bb-config.php file. define( ‘BB_LANG’, ‘XX’ );

    #85756
    Dainismichel
    Participant

    Me too! :-) Yes http://forum.buddypress-it.it/ looks great…great job. How can we install that theme?

    #34058
    amwilson
    Member

    I am looking at different forums to use and I like the idea of bbpress because all of my web development is within wordpress. I like the idea of being able to integrate the forum with wordpress. I installed simple:press just to take a look at it and I like how the forum is on the wordpress platform because it uses use my existing wordpress theme with all of my widgets and site navigation already there. Now that I hear bbpress is going to do the same, I am leaning toward going with bbpress instead of simple:press since I am guessing long term that is where the most development and compatibility will be. For example, bbpress appears to integrate with buddyppress and mingle but simple:press does not.

    What I would like to know is, if I do decide to go with bbpress, how should I set bbpress up now before it becomes a plugin to make the transition better when it does become a plugin?

    Should I set it up to use my wordpress database or give bbpress its own database? I am not sure if the separate database will be an option after it is a plugin.

    Or is there a way to set it up bbpress now as a plugin?

    Is it simple to import simple:press data to bbpress? If so I may just use simple:press for now until bbpress becomes a plugin and gets any bugs straightened out and then import the forum to bbpress.

    I would also like to hear any comments about my reasoning here.

    #34057
    sona
    Member

    Is there a way to get post dates in the support forums (or any bbPress forum) to show the time in my time zone?

    #87153
    gerikg
    Member

    @Process_of_Illumination, you need help with fixing your bbp theme?

    @simonle a few new plugins just been added. A lot of fresh users on here and just here to help.

    #87173
    gerikg
    Member

    https://bbpress.org/plugins/topic/recaptcha-bbpress/#post-5602

    “I download the latest update of the recaptchalib.php from recaptcha.net …..”

    #85755
    gerikg
    Member

    @wemaflo if arturo doesn’t get back to you, email me I’ll work on it.

    #87064
    cnc
    Member

    @ gerikg.. I tried your files.. but nothing happens

    I mean there was just a blank page.. nothing else…

    second you just send me the bbpress theme.. not wp theme..

    so i don’t know where should I play with code in wp theme header…

    may be my wp and your bbpress themes conflicting .. I think so ( may be not)

    can you send me the both themes .. wp and bbp?

    I want to give it another try and want to find there was problem…

    I hope you’ll corporate again… thanks

    #85754
    wemaflo
    Member

    @Arturo:

    Your Theme at http://forum.buddypress-it.it/ looks great! Are you finished with the development?

    (I don’t want to push, but maybe you’ve forgotten it… :) )

    #87152
    psycheangels
    Member

    bbpress is not going die, open source file will never die.

    well im happy to see more ppl use bbpress not because the wordpress stuff.

    #87151
    simonle
    Member

    Thank you for your comments.

    I am in the need for a light-weight discussion board, preferably something that isn’t tied to WordPress. And for this I think bbPress suits perfectly. But I don’t want to invest time in something that isn’t going nowhere. :/

Viewing 25 results - 44,651 through 44,675 (of 64,527 total)
Skip to toolbar