Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '\"wordpress\'

Viewing 25 results - 26,651 through 26,675 (of 26,678 total)
  • Author
    Search Results
  • #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?

    #665

    I’ve updated the Registration integration documentation to link to a couple plugins you may find useful when integratinog WordPress and bbPress.

    WordPress Plugin: http://trac.bbpress.org/ticket/438

    bbPress Plugin: http://trac.bbpress.org/ticket/430

    When we have a better place to put these plugins, I’ll let you know.

    #49509

    In reply to: sample plugins?

    hyram
    Member

    Making Plugins

    bbPress has a plugin API that functions exactly the same as WordPress’. All the familiar functions such as do_action(), add_filter() and so forth are found in bbPress. One of our goals is to make bbPress as pluggable as possible. If you have suggestions for new hooks or other improvements, please let us know.

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

    #49443

    I put the same language config string that WordPress use setting a constat named WPLANG, i tried to set BBlang too.. but the translation didn’t work, so or the config line is wrong or the gettext function didn’t work yet

    #49436
    Matt Mullenweg
    Keymaster

    bbPress uses the exact same translation framework, gettext.

    Large parts of it have already been translated as part of WordPress.com, but we don’t want to localize the default templates until we have proper themes. (Like in WP.)

    #49432

    If you define('WP_BB', true);, you still have to call the WordPress script yourself.

    put require_once('../wp-config.php'); (or whatever the right path is) in bbPress’ config.php.

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