Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 48,326 through 48,350 (of 64,454 total)
  • Author
    Search Results
  • #31891
    Mark
    Member

    I’ve tried and tried, but I can’t seem to get my wp_enqueue styles or scripts to fire from within bbpress.

    Deep integration is done via wp-load.php, the header and footers are working fine and my functions.php from the wordpress side is being loaded (since my functions in the footer are running fine). But nothing that I’ve enqueued, script or styles, is working.

    I’ve tried firing them directly (from within either functions.php), originally they were hooked into wp_print_styles and wp_print_scripts respectively. I’ve tried hooking into template_redirect and init. Neither fires.

    Any ideas?

    #79801
    amylmc
    Member

    This is the error I get

    The requested URL /blog/forum was not found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    However, all the bbpress files uploaded successfully to the forum folder on my server and mysite.com can be found. So what might be the issue if the forum folder is there on the server but giving me a 404 error?

    #79799
    amylmc
    Member

    I’ve uploaded the folder as you instructed and it sits along side wp-admin, content, and includes.

    I’m now at… “Visit the intended URL of the bbPress site” I assume that is my URL where the forum will be located, but I’m not being greeted with the installer. Am I going to the right place?

    #79795
    gerikg
    Member

    In WordPress the folders are wp-admin, wp-content, and wp-includes. You should add a folder called forums or forum and upload everything inside of “bbpress” folder you downloaded. Ultimately you will have in the forum or forums folder bb-admin, bb-includes, etc etc. In WordPress you will now have forums (or forum), wp-admin, wp-content, and wp-includes

    #79794
    amylmc
    Member

    I’m very new at this. I’m unclear where specifically to put the bbpress folder so that it will properly interface as an addition to my wordpress blog. Can you please advise in which directory the bbpress folder should sit?

    thank you.

    #31887
    ibexy
    Participant

    First I had problem realising bbpress was not just a plugin. I dont have to install it in the plugin directory. The installation instructions here did not specify that. It just said “Upload the uncompressed files to your server”. Anyway that is sorted now – I think. I uploaded the bbpress folder and renamed it ‘forums’ to the root of my wordpress installation.

    I tried to install. The first step is asking me for database name, user, and password. Is this for my existing wordpress installation? I assumed so and supplied these details but am getting this error msg:

    There was a problem connecting to the database you specified.

    Please check the settings, then try again.

    #31889
    Gautam
    Member

    I have developed an ajaxed chat plugin, which uses phpfreechat.net script. That script has multiple themes, multiple languages, and multiple features.

    There is also a settings page in which you can save various parameters/config for the script.

    There can be 2 types of storages – mysql & file, default is mysql, it automatically uses the bbPress db you are using and makes tableprefixajaxed_chat table.

    You can see the various commands that can be used in chat, and the FAQ at phpfreechat.net

    There are 2 ways you can call the chat:

    http://yoursite.com/?chat

    or by placing this code anywhere in your template:

    <?php if (function_exists('ajaxed_chat_load')) ajaxed_chat_load(); ?>

    Live Demo (At my test forums): http://forum.gaut.am/ (inside template) or http://forum.gaut.am/?chat (full screen)

    Download Link – http://gaut.am/uploads/ajaxed-chat-1.0-beta.zip

    Note – It is beta version, not a release (for now)

    I still need to work on the admin settings page, but still its not too bad for now.

    Comments, feedback & suggestions are welcomed!

    #79780
    <?php
    /*
    * Plugin Name: Say My Name
    * Plugin Description: Sends a notification email if someone mentions your name in a post (based on Notify Post by Thomas Klaiber).
    * Author: <a href="http://www.ellequadro.net">Matteo Crippa</a>, updated for bbPress 1.0 by Kawauso
    * Version: 0.2
    */

    function say_my_name ( $post_id, $args ) {

    global $bbdb, $topic;

    if ( isset( $args[ 'post_id' ] ) && false !== $args[ 'post_id' ] ) // Don't run on edits
    return;

    $post = strtolower( $args[ 'post_text' ] );

    $all_users = $bbdb->get_results( "SELECT * FROM $bbdb->users WHERE user_status=0" );

    foreach( $all_users as $userdata ) {

    if( !is_smn( $userdata->ID ) )
    continue;

    /* $notify = false;
    */ $display_name = strtolower( $userdata->display_name );

    /* if( strpos( $display_name, ' ' ) === false ) { // Use word-by-word searching if the display name is one word
    if( !isset( $words ) )
    $words = explode( ' ', $post ); // Only create the word list if necessary

    foreach ( $words as $word ) {

    if( $display_name == $word || "@$display_name" == $word ) {

    $notify = true;
    break;

    }

    }
    }

    else*/ if( strpos( " $post", " $display_name" ) !== false || strpos( " $post", " @$display_name" ) !== false) // Always require a leading space
    /* $notify = true;

    if( $notify ) */{

    $message = __( "Someone called you on: %1$s nn%2$s " );
    @mail( $userdata->user_email, bb_get_option( 'name' ) . ':' . __( 'Notification' ), sprintf( $message, $topic->topic_title, get_topic_link( $topic_id ) ), 'From: ' . bb_get_option( 'admin_email' ) );

    }

    }

    }
    add_action( 'bb_insert_post', 'say_my_name', 1, 2 );

    function smn_profile() {

    if( !bb_is_user_logged_in() )
    return;

    global $user_id;

    if( is_smn( $user_id ) )
    $checked = ' checked="checked"';
    else
    $checked = '';

    ?>
    </fieldset>
    <fieldset>
    <legend>Say My Name Notification</legend>
    <p><?php _e('If you want to get an email when someone call your name in a new post.')?></p>
    <table width="100%">
    <tr>
    <th width="21%" scope="row"><?php _e('Activate')?>:</th>
    <td width="79%"><input name="smn" id="smn" type="checkbox" value="1"<?php echo $checked?> /></td>
    </tr>
    </table>
    <?php
    }
    add_action( 'extra_profile_info', 'smn_profile' );

    function smn_edit() {
    global $user_id;

    if( $_POST[ 'smn' ] )
    bb_update_usermeta( $user_id, "smn", true );
    else
    bb_update_usermeta( $user_id, "smn", false );

    }
    add_action( 'profile_edited', 'smn_edit' );

    function is_smn ( $user_id ) {
    $user = bb_get_user( $user_id );
    if ( $user->smn )
    return true;
    else
    return false;
    }
    ?>

    Take out the /* */ around the commented out parts of the code if you want to re-enable the foreach() loop method for single word display names. I couldn’t find much of a difference in speed, but then again it might be quite different on a live server. You can also just delete all that code too if you want to make the file smaller :P I’ll upload this to the Extend section someday, along with the other plugin I keep meaning to finish and upload.

    Edit: Added support for @ :P

    This should be 100% case insensitive, but I’ve not tested with anything unicode. It’ll always look for a space before the name to avoid false positives, but if it’s at the very start of the post, it’ll still be detected.

    #31886

    I developed a tiny plugin to remove the meta generator tag : http://blog.ashfame.com/2009/09/bbpress-plugin-remove-meta-generator-tag/

    P.S. – I will add it to the Extends section when I will learn to use it properly.

    #79775
    johnhiler
    Member

    There are a bunch, but two come to mind:

    Superann wrote a very popular plugin which integrates bbPress 0.9 with WordPress 2.6+:

    * https://bbpress.org/forums/topic/bayanimecom-wp26-and-bbpress-09-complete-cookie-integration

    * https://wordpress.org/extend/plugins/wordpress-26-and-bbpress-09-integration/

    And ipstenu has contributed a lot to the community as well:

    * https://bbpress.org/plugins/profile/ipstenu

    * http://ipstenu.org/resume/

    #79788

    Just drop all the tables in the database via phpMyAdmin and re-install bbPress

    #79787
    johnhiler
    Member

    There are a number of different causes of this report… it’s a bit hard to debug without more specific error info.

    Any of these reports look similar?

    http://www.google.com/search?q=+site:bbpress.org+Forum+could+not+be+created

    matt608
    Member

    So I ran through the install, I thought I did everything right, but then at the end it said:

    Your installation completed with some minor errors. See the error log below for more specific information.

    Forum could not be created!

    (and in the error log)

    >>> Forum could not be created!

    No new BBpress stuff shows up in the admin side, and if I go to the address where the forums should be it redirects to the install page and says:

    Oh dear!

    bbPress is already installed.

    Perhaps you meant to run the upgrade script instead?

    (clicking upgrade just refreshes the page).

    Does anyone know how to fix this?

    Thanks

    #79773
    johnhiler
    Member

    We have a number of female developers on the bbPress forums… they’re some of our most active members actually. :-)

    If you’re using a number of _ck_s plugins, I recommend you restore from backups and go back to 0.9 btw…

    #31884
    Mark-k
    Participant

    The problem seems to be that wordpress adds slashes to the input in its initialization, and them comes bbpress and adds slashes once again, and since the code assumes that slashes were added only once, stange things happen.

    solution that work for me: in bb-settings.php change

    // Sanitise external input

    $_GET = bb_global_sanitize( $_GET );

    $_POST = bb_global_sanitize( $_POST );

    $_COOKIE = bb_global_sanitize( $_COOKIE, false );

    $_SERVER = bb_global_sanitize( $_SERVER );

    to

    if ( !defined( 'ABSPATH' ) ) { // no need to sanitize if wp had done it

    // Sanitise external input

    $_GET = bb_global_sanitize( $_GET );

    $_POST = bb_global_sanitize( $_POST );

    $_COOKIE = bb_global_sanitize( $_COOKIE, false );

    $_SERVER = bb_global_sanitize( $_SERVER );

    }

    #79771
    johnhiler
    Member

    _ck_ has mentioned she own’t be updating her plugins to support bbPress 1.0 til December at the earliest:

    https://bbpress.org/forums/topic/support-for-09-how-long#post-38034

    I use a lot of her plugins and I’m staying on 0.9 until December at least… possibly longer.

    Some users have posted fixes for her bb-attachments plugin to get it working on v 1.0+:

    https://bbpress.org/plugins/topic/bb-attachments/page/15/

    If you apply those, maybe you’ll be able to get it to work again?

    Good luck!

    #31883
    gerikg
    Member

    Can someone update the Say My Name plugin?

    http://bbpress.org/plugins/topic/say-my-name/#post-221

    #31882
    brad_langdon
    Member

    Upgraded to the latest bbpress version (1.0) I think.

    I can still upload images with the attachments plugin except for when I am creating a new topic. For some reason the option only shows up when I am replying to an existing post.

    Has anyone else experienced this after upgrading?

    #31874
    brad_langdon
    Member

    I dont know what happened but my images have stopped showing up in posts…

    http://harrismarine.co.nz/bbpress/topic.php?id=233

    I didn’t touch anything. What the hell is going on. I am running latest version.

    They are all showing up with the cross icon as in the can’t be found.

    #72125
    defue
    Member

    I’ve found a solution for this. You need to edit bbpress/bb-includes/functions.bb-posts.php and replace the function bb_get_post (it is the first function in file) with

    function bb_get_post( $post_id ) {
    global $bbdb;
    $post_id = (int) $post_id;
    if ( false === $post = wp_cache_get( $post_id, 'bb_post' ) ) {
    $post = $bbdb->get_row( $bbdb->prepare( "SELECT * FROM $bbdb->posts WHERE post_id = %d", $post_id ) );
    $post = bb_append_meta( $post, 'post' );
    wp_cache_set( $post_id, $post, 'bb_post' );
    }
    //here is the only new line for stripping slashes
    $post->post_text = stripslashes($post->post_text);
    return $post;
    }

    Not sure that it is the elegant solution but it works for me.

    #79721
    grassrootspa
    Member

    I’m hoping for IntenseDebate Connect!

    #79757

    In reply to: WordPress Integration

    c4central
    Member

    None of my wordpress logins can log in to bbpress.

    gerikg, are you for hire? If I give you the credentials to login and change this stuff on my site, will you do it?

    I cannot make this work, and to say it is frustrating is putting it lightly.

    #79756

    In reply to: WordPress Integration

    c4central
    Member

    Okay…I did everything…it doesn’t work.

    I cleared my cache and everything, and when I try to login to bbpress is says user “admin” does not exist.

    I can log in to wordpress just fine.

    I should also note that when I tried to execute step 4:

    4. Get the information from the plugin and put it in line 20 in wp-config and line 13 in bb-config. (if you’re using WPMU take out the HASH line when you put it in bb-config)

    that when I put the information in the bb-config file (at the bottom) I got all sorts of errors in the header of bbpress until I removed that define cookie line.

    Any help?

    #79751

    In reply to: WordPress Integration

    gerikg
    Member

    kaz email me my user name at gmail dot com

    c4central replace the four keys with the 8 keys from this link: https://api.wordpress.org/secret-key/1.1/salt

    and I don’t understand “the wordpress admin should be bbpress admin, correct?”

    #79748

    In reply to: WordPress Integration

    c4central
    Member

    Also, when you say do not use any www are you referring to when I am entering the settings into bbpress or wordpress, or just when obtaining those keys?

Viewing 25 results - 48,326 through 48,350 (of 64,454 total)
Skip to toolbar