Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 56,201 through 56,225 (of 64,449 total)
  • Author
    Search Results
  • #60391
    flywitness
    Member
    #3777

    Topic: stylesheet_directory

    in forum Themes
    csseur3
    Member

    Hello,

    what is the function for have the theme directory in bbpress, like <?php bloginfo(‘stylesheet_directory’); ?> for wordpress ?

    Bye

    #66822
    843008
    Inactive

    and how to fix it? is there any patch, please? :)

    Well, I was having issues with my WordPress admin, so, like a clever person I created a new admin name and deleted the old. Well. Turns out that in doing so I’ve deleted my keymaster in BBPress.

    I’ve seen some posts that suggest editing the tables. I’ve tried adding the code

    $bb->new_keymaster = ‘AdminTwo’;

    to my bb-config.php and then running install.php. But, nothing happens. So, if I must edit my database, can someone please let me know in more deatail how? (Ie: Which tables, which values, etc.)

    Thank You so Much!

    #66042
    bh
    Member

    define(‘COOKIE_DOMAIN’, ‘.website.org’);

    or

    define(‘COOKIE_DOMAIN’, ‘website.org’);

    I tried both of these, in addition to define(‘COOKIE_DOMAIN’, ”);

    But still no luck. Any ideas?

    /edit Just another bit of info, bbpress is in /bbpress, and wordpress is in /wordpress. I don’t know if it makes a difference, but I thought I would mention it.

    #3792
    powellmap
    Member

    Do you have to edit your bb-config file before uploading and visiting the url? I followed the steps and didnt see that listed on the “Quick Instructions” page.

    I get the following error:

    Warning: main(/homepages/0/d87087146/htdocs/bbpress/bb-includes/wp-functions.php) [function.main]: failed to open stream: No such file or directory in /homepages/0/d87087146/htdocs/bbpress/bb-settings.php on line 72

    Fatal error: main() [function.require]: Failed opening required ‘/homepages/0/d87087146/htdocs/bbpress/bb-includes/wp-functions.php’ (include_path=’.:/usr/lib/php’) in /homepages/0/d87087146/htdocs/bbpress/bb-settings.php on line 72

    #3791
    #66041
    bh
    Member

    BBpress told me to put this in the wp-config, and I did, but still no luck.

    define(‘COOKIE_DOMAIN’, ”);

    define(‘COOKIEPATH’, ‘/’);

    #66826

    In reply to: Recomended Hosting?

    thion
    Member

    Everyone will be recommending their hosting – for example, I’m happy with WHB on which I’m running three WP and one bbPress, not mentioning a MediaWiki script.

    #66040
    csseur3
    Member

    hi,

    for the wp-config.php file in wordpress, it is:

    define(‘COOKIE_DOMAIN’, ‘.website.org’);

    or

    define(‘COOKIE_DOMAIN’, ‘website.org’);

    ?

    thanks ;)

    Fred

    chrishajer
    Participant

    You take all that code that howtogeek pasted and put it into a file called “replacebbmail.php” or something. To make php code into a bbPress plugin, it needs to have a header. The header needs to look something like this (change the values to something meaningful to you):

    <?php
    /*
    Plugin Name: Swift Mailer
    Plugin URI: http://www.example.com/ (doesn't really matter)
    Description: Replace bb_mail with Swift Mailer
    Author: You
    Author URI: http://www.example.com/
    Version: 0.1
    */

     

    Then, paste the code that howtogeek showed at the end of that file. In the end, it will look something like this.

    <?php
    /*
    Plugin Name: Swift Mailer
    Plugin URI: http://www.example.com/ (doesn't really matter)
    Description: Replace bb_mail with Swift Mailer
    Author: You
    Author URI: http://www.example.com/
    Version: 0.1
    */

    if ( !function_exists('bb_mail') ) {
    function bb_mail($to, $subject, $content, $headers=''){

    require_once('PATH_TO/Swift/lib/Swift.php');
    require_once('PATH_TO/Swift/lib/Swift/Connection/Sendmail.php');

    $swift =& new Swift(new Swift_Connection_Sendmail("/usr/sbin/sendmail -bs"));
    $from = new Swift_Address("noreply@mysite.com","My bbPress Forums");

    $message =& new Swift_Message($subject, $content);
    if ($swift->send($message, $to, $from)) {return true;}
    else{ echo "Message failed to send to ".$to." from ".$from;}
    $swift->disconnect();
    }
    }
    ?>

     

    The name of the file does not matter really. Save that new file in bb-plugins. Now activate your new plugin in the admin section of your bbPress site.

    You will need to configure it before activating it to make sure it works (setting up the path to swift mailer and setting the auth stuff if you need to.)

    #66825

    In reply to: Recomended Hosting?

    chrishajer
    Participant

    “Cheap, fast, good. Pick any two.”

    I have no specific recommendations, but so long as the host supports the minimum requirements, just ask about SMTP auth and then shop by price.

    https://bbpress.org/about/requirements/

    chrissydunno
    Member

    thanks guys .. but how do you ‘make howtogeek’s code into a plugin’

    where does his code go? registration-settings.php? how?

    i can install swiftmailer of course, just not sure what else needs to change in current bbpress configurations

    #66039
    bh
    Member

    I just did the installation, and things went quite smoothly.

    Just one issue so far…

    If you log into wordpress, you are logged into bbpress. Great!

    But, if you log into wordress, you are not logged into bbpress. Not great.

    I made sure the settings were correct, but I could not find a reference to secure_auth_salt in WordPress.

    Also, how would one go about creating a single login for both sites that isn’t either wordpress or bbpress specific?

    Lastly, is there any type of theme integration, or any tips on creating a unified design?

    BBpress 1.0 alpha 1

    Wordpress 2.6.1 beta 2

    #3790
    #66820
    _ck_
    Participant

    if you insist on WP 2.6 support right now, try the 1.0 alpha

    https://bbpress.org/forums/topic/bbpress-10-alpha

    #66821
    _ck_
    Participant

    bb-ratings has this problem:

    https://plugins-svn.bbpress.org/bb-ratings/tags/0.8.5/bb-ratings.php

    as you can see on/around line 205

    #3788
    _ck_
    Participant

    So far the biggest issue I have found with plugins that will make them incompatible with bbPress 1.0 (including the current alpha) is the direct access of topicmeta for either topics or bbpress options (topic #0).

    To find plugins that do this, simply do a text search on them for the exact string “->topicmeta” (without quotes). Just to be on the safe side you can also try “-> topicmeta” with a space but I think that will be rare or impossible.

    So far I have found and fixed a couple of mine, and I am currently working to upgrade bb-topic-views.

    Let me know if you find others.

    #66324
    thion
    Member

    I agree with _ck_ – the point behind bbPress is to make the easiest and simplest forum script ever – personaly, I see no need for members list, really. It’s not very useful on huge forums like WordPress support, and there’s no point for that on small forums where everyone know each other.

    #3787
    extrakun
    Member

    Hi, I am using WP 2.6 and I am eagerly waiting to use bbpress with it. Any ETA?

    #66688

    In reply to: bbPress 1.0 alpha

    lstelie
    Member

    Thanks !!

    #66323
    csseur3
    Member

    And I think you are missing the people who will say “oh, we need a plugin for just that! I can’t imagine the others! “

    I have already twenty plugins activated, some of which, as memberlist, which does not change of code (or very little) and they can be integrated safely by default.

    In place of a plugin, a checkbox in the options natives would be better, no?

    As WordPress 2.7 perhaps we should integrate the most simple and the most popular plugins by default, no?

    I thought about it to ensure the development of bbPress and enable it to compete with others. And if there is more interested users = more visitors for the sites of the plugins creators on their “donate” link lol: p

    Please, think at the question^ ^ or create a “plugin integration poll” :p

    Bug fixes are good. New features, too. :)

    #3786
    flywitness
    Member

    i’m new to all this wordpress stuff so forgive me if this is too hackish.

    i installed wp2.6 and bbp1 alpha. they almost integrate. i had a problem getting the admin link to work when i had logged in via wordpress (no problem logging in via bbpress). on investigation i discovered wp login was setting cookies only for itself, whereas bbpress was setting cookies for itself and wordpress.

    my solution tells wordpress to be as polite as bbpress:

    insert the following into wp-config.php replacing {bbpath} with your bbpath:

    define(‘BB_ADMIN_COOKIE_PATH’, ‘/{bbpath}/bb-admin/’);

    define(‘BB_PLUGINS_COOKIE_PATH’, /{bbpath}/bb-plugins/’);

    define(‘BB_MYPLUGINS_COOKIE_PATH’, ‘/{bbpath}/my-plugins/’);

    open wp-includes/pluggable.php and find where the cookies are set – these lines:

    setcookie($auth_cookie_name, $auth_cookie, $expire, PLUGINS_COOKIE_PATH, COOKIE_DOMAIN, $secure);

    setcookie($auth_cookie_name, $auth_cookie, $expire, ADMIN_COOKIE_PATH, COOKIE_DOMAIN, $secure);

    insert the following immediatley after:

    setcookie($auth_cookie_name, $auth_cookie, $expire, BB_ADMIN_COOKIE_PATH, COOKIE_DOMAIN, $secure);

    setcookie($auth_cookie_name, $auth_cookie, $expire, BB_PLUGINS_COOKIE_PATH, COOKIE_DOMAIN, $secure);

    setcookie($auth_cookie_name, $auth_cookie, $expire, BB_MYPLUGINS_COOKIE_PATH, COOKIE_DOMAIN, $secure);

    now wordpress will set the same cookies as bbpress thus allowing full access averywhere.

    like i say, i’m fairly new to this so please correct me if i’m wrong or if this approach has security implications.

    _ck_
    Participant

    It really is that simple – just make HowToGeek’s code into a plugin and install swiftmailer:

    https://bbpress.org/forums/topic/trick-to-fix-some-email-problems-with-08x-plugins-on-09x#post-15776

    That reminds me to fix some of my plugins so they use bb_mail() instead of mail() directly.

    #66796
    _ck_
    Participant

    Private Forums has issues. I am uncertain if he is maintaining it anymore. Try my Hidden Forums instead.

Viewing 25 results - 56,201 through 56,225 (of 64,449 total)
Skip to toolbar