Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '\"wordpress\"'

Viewing 25 results - 26,651 through 26,675 (of 26,683 total)
  • Author
    Search Results
  • #49709

    In reply to: Can’t Login!

    garymill,

    Login problem:

    wp_home and wp_siturl will only work if the url for your forums is a “subdirectory” of the url for your WordPress blog. If that is not the case, you’ll need the more fine-grained control mentioned in the Cookie integration with WordPress Documentation

    Installation problem:

    on Installation, bbPress looks to see if there are any keymasters in the User Tables already. You’ll need to go to your usermeta table and delete the entry:

    meta_key = $bb_table_prefix . ‘capabilities’ (example: ‘bb_capablities’)

    meta_value = a:1:{s:9:”keymaster”;b:1;}

    This part of the installation will have to change in the next version for several reasons. The difficulties you’re seeing is one of them.

    #49845

    No – WP_BB only tells bbPress that you will be loading WordPress so that it knows not to try to load thingsn which will conflict with WordPress.

    If bbPress is installed in a subdirectory of WordPress, put this in bbPress’ config,php

    require_once(dirname(dirname(__FILE__)) . '/wp-config.php');

    #49829

    In reply to: Comments in WordPress

    mozey
    Member

    i would guess that we need to:

    1: Add a little code snippit inside of wp-post.php that creates a new forum SOMEHOW identified by the post ID.

    2: in your wp-single.php include that forum instead of your comments.

    3: SOmehow replicate/redirect comments/forum for RSS reasons and other ones that i do not understand! :) sloppy i know!

    #692

    Topic: Comments in WordPress

    in forum Plugins
    ngetchell
    Member

    I was wondering if this forum would be capable of housing the comments of my wordpress blog inside the forums. Maybe through some sort of plugin or maybe just an option in bbpress itself.

    Anything info would be great.

    #695
    mozey
    Member

    what does that mean?

    setting BB_WP equal to true that is. is’nt it suppose to load the header/footer of my wp installationg? if that is the case, it it’nt working.

    #49463

    Yea, I agree with lstelie.

    WP use subversion to manage each localized file:

    https://codex.wordpress.org/WordPress_in_Your_Language

    http://svn.automattic.com/wordpress-i18n/

    How do bbPress’ developers think about managing localized file?

    #49704

    In reply to: Can’t Login!

    garymill
    Member

    I need a bit of help still with the login issue

    My config for this section

    // The rest is only useful if you are integrating bbPress with WordPress.

    // If you’re not, just leave the rest as it is.

    $bb->wp_table_prefix = ‘wp_’; // ‘wp_’; // WordPress table prefix.

    $bb->wp_home = ‘http://www.energizedeating.com/blog’; // WordPress – Options->General: Blog address (URL) // No trailing slash

    $bb->wp_siteurl = ‘http://www.energizedeating.com/blog’; // WordPress – Options->General: WordPress address (URL) // No trailing slash

    // Use the following line *only* if you will be loading WordPress everytime you load bbPress.

    //define(‘WP_BB’, true);

    /* Stop editing */

    define(‘BBPATH’, dirname(__FILE__) . ‘/’ );

    require_once( BBPATH . ‘bb-settings.php’ );

    ?>

    Thanks,

    Gary

    #49822

    In reply to: BBpress and MU

    bbPress should get along with WPMU just as well as it does with WP. See https://bbpress.org/documentation/integration-with-wordpress/

    #49703

    In reply to: Can’t Login!

    astereo
    Member

    Solved my problem. It was coming from

    #

    $bb->wp_table_prefix = false; // 'wp_'; // WordPress table prefix.

    #

    $bb->wp_home = false; // WordPress - Options->General: Blog address (URL) // No trailing slash

    #

    $bb->wp_siteurl = false; // WordPress - Options->General: WordPress address (URL) // No trailing slash

    I had set the urls only to domain.com/directory, when I added the http and www it worked fine.

    #688

    Topic: FAQ

    in forum Troubleshooting
    #49701

    In reply to: Can’t Login!

    This is what it should look like:

    $bb->wp_table_prefix = 'wp_'; // 'wp_'; // WordPress table prefix.

    I made the point about TRUE becasue it seems that you never set it to TRUE, you just add the correct prefix.

    #49700

    In reply to: Can’t Login!

    Aaron
    Participant

    When I use this option

    $bb->wp_table_prefix = false; // 'wp_'; // WordPress table prefix.

    Set it to true, and use my prefix, I am running into this error:

    bbPress database error: [Table 'dbname.1users' doesn't exist]

    SELECT * FROM 1users WHERE user_login = 'ergate' AND SUBSTRING_INDEX( user_pass, '---', 1 ) = '*****[moderated]*****'

    bbPress database error: [Table 'dbname.1users' doesn't exist]

    SELECT * FROM 1users WHERE user_login = 'ergate'

    Even if I intentionally put the wrong db prefix, it still gives this same error.

    But as long as I use keep using the old integration code in the config file

    // use the WP user table for your bbpress user list

    define('CUSTOM_USER_TABLE', 'wp_users');

    the login works just fine.

    #49724

    In reply to: installing … error

    Those two line look fine to me.

    You are definitely missing files, though: http://www.thai-boxing.org/muay-thai-forum/bb-includes/

    Not all of them are there.

    Are you trying to integrate bbPress with WordPress? That would explain why bbPress did not complain that wp-functions.php was missing.

    #49699

    In reply to: Can’t Login!

    I had the same problem, but after reading the Ulitmate bbPress Guide (http://www.devlounge.net/articles/the-ultimate-bbpress-guide/1/) I realised I had made mistakes on these lines of my config file:

    #

    $bb->wp_table_prefix = false; // 'wp_'; // WordPress table prefix.

    #

    $bb->wp_home = false; // WordPress - Options->General: Blog address (URL) // No trailing slash

    #

    $bb->wp_siteurl = false; // WordPress - Options->General: WordPress address (URL) // No trailing slash

    I replaced the FALSE with TRUE instead of adding the actual urls and the'wp_'. Your problem might be completely different but maybe you made the same mistake as I did?

    As a side note it seemed obvious to me that if it wasn’t FALSE then I should set it to TRUE, but maybe not everybody agrees.

    hth

    #49697

    In reply to: Can’t Login!

    championeer
    Member

    Yes, I meet the same issue that I can’t login with my wordpress username. I used Dreamhost as webhosting.

    #49588

    In reply to: Emoticons For bbPress?

    chaaban
    Member

    i’m a total newbie in bbpress … but in wordpress you could use instead of the url .. the blog url example :

    get_settings(‘siteurl’);

    to get the blog url …

    #49587

    In reply to: Emoticons For bbPress?

    gnawph
    Member

    Oops, removed my site specific urls.

    Well, the point of the entire plugin is to integrated with WordPress. I wouldn’t want to have my smiley images stored in two different locations and I’m not entirely sure were to edit my default WP smiley locations.

    #49585

    In reply to: Emoticons For bbPress?

    gnawph
    Member

    I wanted that functionality as well so I ripped some WP code, played around, and finally got something I could use. This is a highly sloppy work as I am out of practice and not really a great PHP programmer anyway. The plugin is mostly a rip of the WordPress code with a filter. It is not elegant or tested completely but so far it has been getting the job done.

    Note: This plugin will not work without a default install of WordPress.

    You have to create a directory called /my-plugins/, copy this code into a file called whatever-you-want.php, upload and enjoy!

    Feedback appreciated! Maybe I can improve on this and increase my PHP/*press skills. ;)

    <?php

    /*

    Plugin Name: WordPress Smiley Integrator .0002

    Plugin URI: none

    Description: Gives WordPress Smiley Functionality to bbPress

    Author: John Farrell

    Version: 1.0

    Author URI: none

    */

    function convert_smilies($text) {

    $wpsmiliestrans = array(

    ':mrgreen:' => 'icon_mrgreen.gif',

    ':neutral:' => 'icon_neutral.gif',

    ':twisted:' => 'icon_twisted.gif',

    ':arrow:' => 'icon_arrow.gif',

    ':shock:' => 'icon_eek.gif',

    ':smile:' => 'icon_smile.gif',

    ' :???:' => 'icon_confused.gif',

    ':cool:' => 'icon_cool.gif',

    ':evil:' => 'icon_evil.gif',

    ':grin:' => 'icon_biggrin.gif',

    ':idea:' => 'icon_idea.gif',

    ':oops:' => 'icon_redface.gif',

    ':razz:' => 'icon_razz.gif',

    ':roll:' => 'icon_rolleyes.gif',

    ':wink:' => 'icon_wink.gif',

    ':cry:' => 'icon_cry.gif',

    ':eek:' => 'icon_surprised.gif',

    ':lol:' => 'icon_lol.gif',

    ':mad:' => 'icon_mad.gif',

    ':sad:' => 'icon_sad.gif',

    '8-)' => 'icon_cool.gif',

    '8-O' => 'icon_eek.gif',

    ':-(' => 'icon_sad.gif',

    ':-)' => 'icon_smile.gif',

    ':-?' => 'icon_confused.gif',

    ':-D' => 'icon_biggrin.gif',

    ':-P' => 'icon_razz.gif',

    ':-o' => 'icon_surprised.gif',

    ':-x' => 'icon_mad.gif',

    ':-|' => 'icon_neutral.gif',

    ';-)' => 'icon_wink.gif',

    '8)' => 'icon_cool.gif',

    '8O' => 'icon_eek.gif',

    ':(' => 'icon_sad.gif',

    ':)' => 'icon_smile.gif',

    ':?' => 'icon_confused.gif',

    ':D' => 'icon_biggrin.gif',

    ':P' => 'icon_razz.gif',

    ':o' => 'icon_surprised.gif',

    ':x' => 'icon_mad.gif',

    ':|' => 'icon_neutral.gif',

    ';)' => 'icon_wink.gif',

    ':!:' => 'icon_exclaim.gif',

    ':?:' => 'icon_question.gif',

    );

    // generates smilies' search & replace arrays

    foreach($wpsmiliestrans as $smiley => $img) {

    $wp_smiliessearch[] = $smiley;

    $smiley_masked = htmlspecialchars( trim($smiley) , ENT_QUOTES);

    $wp_smiliesreplace[] = " <img src='/wp-includes/images/smilies/$img' alt='$smiley_masked' class='wp-smiley' /> ";

    }

    $output = '';

    // HTML loop taken from texturize function, could possible be consolidated

    $textarr = preg_split("/(<.*>)/U", $text, -1, PREG_SPLIT_DELIM_CAPTURE); // capture the tags as well as in between

    $stop = count($textarr);// loop stuff

    for ($i = 0; $i < $stop; $i++) {

    $content = $textarr[$i];

    if ((strlen($content) > 0) && ('<' != $content{0})) { // If it's not a tag

    $content = str_replace($wp_smiliessearch, $wp_smiliesreplace, $content);

    }

    $output .= $content;

    }

    return $output;

    }

    //add the filter

    add_filter('post_text', 'convert_smilies');

    ?>

    #670
    astereo
    Member

    As I did for wordpress many times in various customization articles and free released themes, I have begun to do the same for bbpress in support of the Automattic team and their excellent scripts.

    The Ultimate BBpress Guide goes over installation, customization, and even demonstrates some things that can be done to modify the forum homepage. I tried to be as precise and accurate as possible, so if I made any mistakes anywhere let me know so I can get them corrected quickly.

    Let me know if you find this helpful or not.

    Regards,

    + astereo

    #49691

    In reply to: Can’t Login!

    astereo
    Member

    No one..

    My wordpress username doesnt contain spaces or anything like that, it’s simply “ocean”

    #49511

    In reply to: sample plugins?

    bpartch
    Member

    Plugins

    Using Plugins

    To use a plugin, simply create a directory in your main bbPress directory called my-plugins and put the plugin file in it. bbpress does not currently have a plugin activation/deactivation interface like WordPress’. Any .php file in your /my-plugins directory will be run.

    https://bbpress.org/documentation/customization/

    #49451
    lstelie
    Member

    selad

    The problem is (perhaps) there is no variable in config.php to indicate the language file to be taken in acount (as it is the case for wordpress)

    #49450

    Hi.

    A few japanese users and I are trying to localize.

    They say:

    1. put your-lang.mo into bb-inclues/languages/;
    2. add define (‘WPLANG’, ‘your-lang’); in config.php( line 56 is fine);
    3. add load_default_textdomain(); in bb-settings.php(line 135 is fine);
    4. replace ABSPATH to BBPATH in bb-inclues/i18n.php.

    …and these fixes are work well.

    You can see here: http://hiromasa.zone.ne.jp/files/wordpress/bbPress01.png

    #671
    #666
    julio19
    Member

    Hi

    Is bbPress supposed to create an .htaccess file for mod_rewrite URLs? I was expecting this, like in WordPress, but there wasn’t a file after install. Should I just create my own .htaccess?

Viewing 25 results - 26,651 through 26,675 (of 26,683 total)
Skip to toolbar