Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 21,601 through 21,625 (of 32,481 total)
  • Author
    Search Results
  • #86846
    rabbitdk
    Member

    Not sure that does exactly what I want, btw I am no good with codes, but that is explained pretty detailed so I could probably try it out (however, I just messed up my bbPress install while messing with permalinks :D)

    I want the full forum post to be published as a blog entry, by the click of a button, to promote the posts as you said :D

    #33989
    rabbitdk
    Member

    Hi there!

    I’ve been looking for a while now, I can’t find anything that suits me :D

    I am looking for a plugin that easily lets me (the admin) add a forum post to my WordPress front.

    I’ve tried out bbPress-WordPress syncronization, but this only syncs comments, right?

    Thanks in advance :D

    #69806
    psycheangels
    Member

    Fix Topic Slug phpBB Convert bbPress

    add this to function.php in your template file

    function fix_topicslug() {
    global $bbdb;
    $get_topics = $bbdb->get_results("SELECT * FROM $bbdb->topics WHERE topic_slug='' ");
    foreach( $get_topics as $get_topic ) {
    $slug_fix = bb_slug_sanitize( wp_specialchars_decode($get_topic->topic_title));
    $topic_id = $get_topic->topic_id;
    $bbdb->query("UPDATE $bbdb->topics SET topic_slug= '$slug_fix' WHERE topic_id = '$topic_id' ;");
    }
    }

    and echo fix_topicslug in header. cek your database, and dont forget to remove the above code if you already finish.

    my problem now the post_position is broken after convert to bbpress (all post is position 1) any fix ?

    #86818
    zaerl
    Participant

    Is it even supposed to show the WordPress users inside bbPress?

    Yes it is.

    I tell you what I have done. I have bbPress and WordPress on the same database and both have table prefixes. The blog is on my-domain.com/blog. The BBS is in my-domain.com/forum

    On forum/bb-admin/options-wordpress.php:

    1) the role map is key master, administrator, member, member, member.

    2) WordPress URL is my-domain.com/blog, WordPress Blog is my-domain.com/blog.

    3) Cookie salt “auth” valid, no Cookie salt “secure auth”, Cookie salt “logged in” valid.

    4) AUTH_KEY <=> BB_AUTH_KEY and others set on (bb-config/wp-config).php and the NONCE_KEY <=> BB_NONCE_KEY

    5) Table prefix set to the WordPress table prefix. Usually wp_

    6) No advanced settings

    On /blog/wp-admin/options-general.php?page=bbpress-integration-admin

    1) bbPress URL = my-domain.com/forum/. Your plugin URL = nothing. WordPress type = WordPress.

    2) Manual Cookie Settings tells me define( ‘COOKIEPATH’, ‘/’ ); which is defined in both config files (on top of those)

    My wp-config.php:

    <?php

    define( 'COOKIEPATH', '/' );

    define('DB_NAME', '...');
    define('DB_USER', '...');
    define('DB_PASSWORD', '...');
    define('DB_HOST', '...');
    define('DB_CHARSET', 'utf8');
    define('DB_COLLATE', '');

    define('AUTH_KEY', '...');
    define('SECURE_AUTH_KEY', '...');
    define('LOGGED_IN_KEY', '...');
    define('NONCE_KEY', '...');

    $table_prefix = 'my_wordpress_table_prefix_';

    if ( !defined('ABSPATH') )
    define('ABSPATH', dirname(__FILE__) . '/');

    require_once(ABSPATH . 'wp-settings.php'); ?>

    my bb-config.php:

    <?php

    define( 'COOKIEPATH', '/' );

    define('BBDB_NAME', 'same as wordpress');
    define('BBDB_USER', 'same as wordpress');
    define('BBDB_PASSWORD', 'same as wordpress');
    define('BBDB_HOST', 'same as wordpress');
    define('BBDB_CHARSET', 'utf8');
    define('BBDB_COLLATE', '');

    define('BB_AUTH_KEY', 'same as wordpress');
    define('BB_SECURE_AUTH_KEY', 'same as wordpress');
    define('BB_LOGGED_IN_KEY', 'same as wordpress');
    define('BB_NONCE_KEY', 'same as wordpress');

    $table_prefix = 'my_bbpress_table_prefix_';

    #86812
    zaerl
    Participant

    I accept your opinion but at least in one case I discovered that the only way to achieve that result is to chmod 777 during the installation/integration/whatever and then switching back to 755 (on a very crap host). So I said what I said cause I tought that it can be a good hint. Apparently it is not (and it seems that my words are even funny) and it’s ok. Maybe it was a combination of factors and the 777 was completely useless.

    I’m not a bbPress expert cause I have started to use this software a couple of weeks ago. I’m just trying to learn, help those who encountered my same problems and sharing my code.

    Regards.

    #86810
    zaerl
    Participant

    I’m trying to find a solution and I can find it only making questions. Are:

    define('BB_AUTH_KEY', 'something');
    define('BB_SECURE_AUTH_KEY', 'something');
    define('BB_LOGGED_IN_KEY', 'something');
    define('BB_NONCE_KEY', 'something');

    from bb-config.php equal to:

    define('AUTH_KEY', 'something');
    define('SECURE_AUTH_KEY', 'something');
    define('LOGGED_IN_KEY', 'something');
    define('NONCE_KEY', 'something');

    from wp-config.php? Have you specified define('COOKIEPATH', 'the path'); on _both_ files?

    #86809
    robalan
    Member

    Yes. Installed, copied the “define” code into wp-config… I’ve tried everything you’d find on other forum entries on the topic. I wouldn’t have started my own thread unless I had tried the default “have you…” options and still couldn’t get it to work…

    Any other ideas?

    #86736
    bramruiter1
    Member

    The link is sub.salonindien.nl and it’s a dutch forum. I hope you can help me out here. If you need more information, just scream and I’ll get it for you. :)

    #86761
    Gautam Gupta
    Participant

    GlotPress runs on BackPress too. BuddyPress doesn’t need BackPress because much code of it is already there in WordPress. And WordPress will eventually shift to BackPress. Though, that’s really not a matter of argument.

    @Yuri

    And main question: Who is admin of this site with full access if Matt left project?

    As far as I know, matt, sambauers, and mdawaffe are keymasters and trent, chrishajer and _ck_ are moderators.

    #86760

    Back from my holidays and hopefully ramping up some bbPress dev in the next week or so, and this looks like a nice thread to come back to :)

    The thing that I think a few folks have missed out on, is that the biggest changes from bbPress 0.9 to bbPress 1.0 is that alot of the core functions of the backend were unified into BackPress. While this added bloat to be sure, it basically gave us a unified platform on which ‘all’ of the automattic software solutions would be based. Except… none of the others moved to BackPress.

    So we don’t have any (to the best of my knowledge) WordPress functions in bbPress, but also with “deep integration” we’re loading multiple classes and functions that effectively do the same thing. With deep integration we duplicate all of the base calls and functions every time we load a page.

    BuddyPress got round this by ripping out all of the backpress stuff, and making the bbPress functions call the WordPress functions. BuddyPress’ forum is based on bbPress, its isn’t bbPress. This is where Sam kind of got the short end of the stick. Had WordPress moved to BackPress (instead of porting WP changes into BackPress) then all of the Automattic software solutions would be on the same base platform, and integration between them all would be a doddle. It also would have meant that bbPress could be both a stand alone AND a plugin, as it would effectively be a large “module” on top of BackPress functions.

    The realsim is, that without any form of Project Management (and i know that phrase is where people start to hate me) or cohersion between the Automattic projects or developers and contributors, we’re effectively going to go in circles here.

    Today marks the 3rd Month with no blog post or communication (other than the infamous “I just want to quit the whole project” statement from Matt). As much as that is disheartening, its not a shock. Matt (the person) and Matt (the developer) and those he works with on these projects have their hands full right now; and from what I’ve seen Chris has continued to steady the ship in a wonderful fashion… but make no mistake we’re drifting aimlessly in the current direction. Lets just keep the ship afloat, try and fix some bugs, and we’ll see what happens when we’re closer to a release.

    Hope you’re all having a wonderful afternoon.

    #86757
    zaerl
    Participant

    bbPress _must_ not become a WordPress plugin. First of all because a BBS isn’t always associated with a blog and in my case this never happens. bbPress gain the attentions of a lot of people tired of bloatware engine like phpBB or slow engine like vBullettin. I switched to bbPress on all my sites for these reason.

    Seconded a lot of people (as far as I know) chose bbPress because they can access to a WordPress style plugin system. If you have ever written a plugin for WordPress you can edit a bbPress one easily in order to accommodate your needs. But if bbPress will be a plugin of WordPress you will download a plugin… of a plugin? This is kind of confusing IMHO. Obviously I’m not talking about PHP programmers or in general skilled people but of regular users.

    Third I think that the bbPress project deserve its own space. It is a too well done piece of code and for being a mere WordPress plugin.

    #86728
    zaerl
    Participant

    Did you activate Askimet? In my forums it filters away 99.9% of spam. I think that allowing the inclusion of <img> is always a bad idea.

    #33984

    Hey all,

    For years I’ve used vBulletin for discussion forums. However, I have recently began to use bbPress for support forums on WordPress powered sites.

    There are a lot of good tutorials on bbPress integration however some of the articles don’t go into that much detail in some areas so I decided to write my own tutorial on the matter.

    It’s difficult to cover everything, but I have tried to note some of the most common problems which arise when integrating bbPress and WordPress. If you are unsure about anything please let me know :)

    http://www.wpmods.com/integrate-wordpress-bbpress

    Thanks,

    Kevin

    #86754
    gerikg
    Member

    It hasn’t happened yet (a completed plugin) and with no developers, or developers on other projects, I don’t think it will happen anytime this year. I’ll bet on it. Either way, I read a lot of “let’s do this and let’s do that” but no action. I don’t think any of us can demand anything. We aren’t paying anyone anything. I doubt anyone donates either. We can request it, we can be annoying about it, but the choice is not ours. If you haven’t noticed the more annoying people get, the less developers we have. We can start a movement away from bbP once it’s a plugin but it hasn’t happened. This is premature complaining because it hasn’t happened.

    We should focus on four things

    1 Getting the current plugins to have admin menus for non-php editors.

    2 More Plugins

    3 More themes (the reason I picked wordpress over drupal)

    4 Documentations. It will be easier for people to code once the basic map is mapped out instead of everyone starting from ground zero. https://bbpress.org/documentation/

    #86753
    johnhiler
    Member

    If you’re serious about keeping bbPress as standalone software, you’re in luck: that’s exactly what bbPress is doing for the next version or two. No need to fork just yet: just get more involved with bbPress.

    bbPress will probably start to begin the slow process of becoming a WordPress plugin later this year or maybe next year… at which point, you’ll be better acquainted with the software and in a better position to consider a fork! :-)

    #65583
    johnhiler
    Member

    I believe that the code above should honor the “user can edit a post for this many minutes after submitting” setting? What’s it set to on your install (just as a way of checking if that might be an issue here!). :-)

    #33979
    jurasiks
    Participant

    Who can help us to keep bbPress as standalone CMS engine?

    We will clear up all wp trash from code and will continue bbPress life as new engine.

    Simpler, faster, more elegant

    #86738
    oli_75
    Member

    Thanks! That makes sense ;-)

    #33972
    bramruiter1
    Member

    I’ve updated the layout of my forum last night and I ran into a few problems. I didn’t update bbPress from 0.9.0.2 because the Unread Posts plugin wouldn’t work. I have not changed anything internally, I have not updated the Unread Posts plugin, but even when I turn on my old template, it doesn’t seem to show that I have already read the topic in particular. It stays bold. And it also goes bold when I post in it myself.

    Now I have read the plugin page, where someone said something about changing the login code because a certain code wasn’t called for, but that doesn’t seem to do the trick. I’m really lost here and since _ck_ has gone, no one seem to figure out how this thing works.

    Other plugins that do the same just don’t seem to work either.

    Please help.

    #70046
    Anonymous User
    Inactive

    Oh … so stupid…!

    in WordPress my German language file is named de_DE.mo in bbPress the language file is named de.mo. After the deep integration bbPress seems to search for a file named de_DE.mo in ‘my-languages’.

    So just renaming the language files made my day :)

    Markus

    PS. hmpf…

    #70045
    Anonymous User
    Inactive

    In the german bbpress board (http://support.bbpress.de/topic/installation-der-sprachdatei) i found for the language problem the following code:

    // Load the default text localization domain.

    if ( !(defined('DB_NAME')) ) { // Include localization the bbPress-way when WP is not running.

    load_default_textdomain();

    }

    else {

    $locale = get_locale();

    $mofile = BB_LANG_DIR . "$locale.mo";

    load_textdomain(‘default’, $mofile);

    };

    But this seems not to work with the new version. :(

    Markus

    #85626
    mr_pelle
    Participant

    Hi! I’ve worked all day on the plugin, but now it finally works as it should! ^_^

    I’ve also implemented 2 functions that grab both “plugin activated” and “plugin deactivated” events in order to swap .htaccess and the new file. Unfortunately you still have to change .htaccess permissions if you want the plugin to update it, but the only other way is manual edit…

    I’ve embedded them in the plugin by Ashish Mohta and Mark Robert Henderson, but I don’t know how to proceed: what do you think would be the better way to publish the updated plugin?

    #86032
    mr-zee
    Participant

    hmmm, my code is the same as that but the user names are not clickable. Is there a workaround?

    #86031
    zaerl
    Participant

    Are you using <strong><?php post_author_link(); ?></strong> on your post.php template file? I see that you output is: <strong><a href="http://www.forumetudiants.net/">Radovan</a></strong> which is not correct.

    Are you using “Post Count Plus”? If the answer is “yes” then be sure to set “Where should their USERNAME link to?” to “profile”.

    #33967

    Topic: BuddyBar in bbPress

    in forum Plugins
    Anonymous User
    Inactive

    Hi gerikg,

    i saw your post about your problems with the integration of the BuddyBar in bbPress – (http://bbpress.org/forums/topic/buddypress-default-theme-for-bbpress). I found it after a short research in Google – because I’ve the same problems yesterday.

    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'bp_core_admin_bar_css' was given in /homepages/0/00/htdocs/wpbpbbp/wordpress/wp-includes/plugin.php on line 339

    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid call

    But … I think I have an “hack” for you – I changed a few lines of code in my installation and now it seems to work. :)

    These was “myWay”:

    1. Deep Integration between WordPress and bbPress

    2. Plugins on bbPress: buddybar-in-bbpress

    3. Edit bp_buddybar.php – I only comment out the following lines

    /* add_action( 'bb_head', 'bp_core_admin_bar_css', 1 );

    add_action( 'bb_head', 'bp_core_add_js', 1 );

    add_action( 'bb_admin_head', 'bp_core_admin_bar_css', 1 );

    add_action( 'bb_admin_head', 'bp_core_add_js', 1); */

    4. Edit bp-core-adminbar.php

    Here I’ve a error code because auf “$wpdb” – so I commet out:

    /* $blog_prefix = $wpdb->get_blog_prefix( $current_blog->id );*/

    5. header.php in my theme

    I put the Stylesheet-Link to my header.php file.

    <link rel=”stylesheet” href=”http://www.mysteria3000.de/wp/wp-content/plugins/buddypress/bp-themes/bp-default/_inc/css/adminbar.css&#8221; type=”text/css” />

    No the best solution – but it works for me. :)

    Greetings

    Markus

Viewing 25 results - 21,601 through 21,625 (of 32,481 total)
Skip to toolbar