Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '\"wordpress\"'

Viewing 18 results - 26,626 through 26,643 (of 26,643 total)
  • Author
    Search Results
  • #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.

    #657

    Topic: Login Errors

    in forum Troubleshooting
    klasen
    Member

    Hello, installed the recent 0.72 version and having some issues. Trying to use it integrated with WordPress install. BBPress doesnt seem to recognize any wordpress users that have a space in their name. I have some wordpress users with spaces in their names (which function just fine in wordpress) and they are unable to log into bbpress. Users without spaces in their names log in just fine.

    A couple of other issues which I havent dug into yet:

    – If I try to activate the option for loading wp every time, I always get this error: “Fatal error: Call to undefined function: __() in /home2/klasenus/public_html/forums/bb-includes/capabilities.php on line 27” Works fine without it. Not sure if I really need it, but want to have full integration of bbpress into wp

    – With mod_rewrite set to true, if I try to navigate within bbpress I get redirected to my wp 404 page as the bbpress page cannot be found. About the only link that works in bbpress is the new topic link

    Any help would be appreciated… I will keep chugging…

    Mr Papa

    #49394

    In reply to: New bbPress Forums

    winnopeg
    Member

    I love the new design, and the fact that it integrates with WordPress really rocks. If only there were some ‘frills’ to it.. Ah well, I’ll definatly have to try it out in the future.

    #655

    Here they are at last, without a hitch!

    Ok, without two hitches. We did have one false start.

    You can log in with your wordpress.org forums username and password.

Viewing 18 results - 26,626 through 26,643 (of 26,643 total)
Skip to toolbar