Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 63,326 through 63,350 (of 64,411 total)
  • Author
    Search Results
  • #52781
    chrishajer
    Participant

    Glad you fixed it.

    edit: you’re going to want to look at this thread to fix the freshness -1 years problem on your forum.

    https://bbpress.org/forums/topic/147?replies=11

    #1140
    #52786

    are you looking to display 2 seperate instances of bbpress? or just multiple main Forums with sub-category forums?

    #52779
    cgavin
    Member

    I edited them all to FALSE

    now I get!

    Parse error: syntax error, unexpected T_STRING in /home/virtual/site122/fst/var/www/html/bbpress/config.php on line 58

    !!

    What the heck?!

    I’ve installed hundreds of php/sql portals and boards before and never had anything like this.

    You guys could do a lot worse than just put together a complete php install script where you fill in the fields interactively ..

    The amount of time I have to waste with this sort of stuff really affects my software selection. I could have installed PhPBB a hundred times over already.

    Line 58 is:

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

    #52778
    cgavin
    Member

    I took the config down because it was publishing the entire file before the function error – ie all my passwords were freely advertised! :)

    Anyway I tried again with a fresh config:

    http://www.cjgavin.com/bbpress/bb-admin/install.php

    Parse error: syntax error, unexpected T_VARIABLE in /home/virtual/site122/fst/var/www/html/bbpress/config.php on line 53

    Better than undefined function. :)

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

    Whats wrong with that??

    Lines 52 > 54:

    $bb->;wp_table_prefix = ‘wp_;’

    $bb->;wp_home = ‘http://www.cjgavin.com’;

    $bb->;wp_siteurl = ‘http://www.cjgavin.com’;

    #52777
    chrishajer
    Participant

    When I go here:

    http://www.cjgavin.com/bbpress/

    I get this:

    There doesn't seem to be a config.php file. I need this before we can get started. Open up config-sample.php, fill in your details, and save it as config.php.

    Did you rename config-sample.php to config.php?

    When I try to load config-sample.php directly, I get this error:

    Parse error: syntax error, unexpected ':' in /home/virtual/site122/fst/var/www/html/bbpress/config-sample.php on line 53

    Maybe that colon is related to one of the wp_ URL lines (URLs must be quoted.)

    Hang in there: you’re close.

    #1138
    cgavin
    Member

    Fatal error: Call to undefined function: _e() in /home/virtual/site122/fst/var/www/html/bbpress/bb-admin/install.php on line 17

    Here’s my config:

    <?php

    // ** MySQL settings ** //

    define(‘BBDB_NAME’, ‘edited’); // The name of the database

    define(‘BBDB_USER’, ‘out’); // Your MySQL username

    define(‘BBDB_PASSWORD’, ‘ok’); // …and password

    define(‘BBDB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value

    // Change the prefix if you want to have multiple forums in a single database.

    $bb_table_prefix = ‘bb_’; // Only letters, numbers and underscores please!

    // If your bbPress URL is http://bbpress.example.com/forums/ , the examples would be correct.

    // Adjust the domain and path to suit your actual URL.

    // Just the domain name; no directories or path. There should be no trailing slash here.

    $bb->domain = ‘http://www.cjgavin.com&#8217;; // Example: ‘http://bbpress.example.com&#8217;

    // There should be both a leading and trailing slash here. ‘/’ is fine if the site is in root.

    $bb->path = ‘/bbpress/’; // Example: ‘/forums/’

    // What are you going to call me?

    $bb->name = ‘CJGAVIN.com’;

    // This must be set before running the install script.

    $bb->admin_email = ‘edited@out.com’;

    // Set to true if you want pretty permalinks.

    $bb->mod_rewrite = false;

    // The number of topics that show on each page.

    $bb->page_topics = 30;

    // A user can edit a post for this many minutes after submitting.

    $bb->edit_lock = 60;

    // Your timezone offset. Example: -7 for Pacific Daylight Time.

    $bb->gmt_offset = 0;

    // Change this to localize bbPress. A corresponding MO file for the

    // chosen language must be installed to bb-includes/languages.

    // For example, install de.mo to bb-includes/languages and set BBLANG to ‘de’

    // to enable German language support.

    define(‘BBLANG’, ”);

    // Your Akismet Key. You do not need a key to run bbPress, but if you want to take advantage

    // of Akismet’s powerful spam blocking, you’ll need one. You can get an Akismet key at

    // http://wordpress.com/api-keys/

    $bb->akismet_key = false;

    // 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 = false; // WordPress table prefix. Example: ‘wp_’;

    // $bb->wp_home = ‘http://www.cjgavin.com&#8217;; // WordPress – Options->General: Blog address (URL) // No trailing slash

    // $bb->wp_siteurl = ‘http://www.cjgavin.com&#8217;; // WordPress – Options->General: WordPress address (URL) // No trailing slash

    /* Stop editing */

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

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

    ?>

    I get this error even if I dont comment out the wp integration stuff.

    I have no idea why, I have checked to make sure the permissions are correct.

    It isnt working and I dont know why – more worrying – I can’t find anyone else who’s experienced this issue.

    #52773
    chrishajer
    Participant

    I wonder if the problem with this line:

    bb_get_user($bb_post->poster_id)->user_login

    is related to this style syntax and could be fixed in a similar manner (if necessary):

    https://bbpress.org/forums/topic/401?replies=42#post-2140

    #52776
    ardentfrost
    Member
    #1137
    #1134
    #52755
    Trent Adams
    Member

    Not very had to write plugins if you are a coder and look at pluggable.php as it uses a similar structure as WordPress. Right out of the box, bbPress may never work straight away with WP plugins without a core change in code.

    Trent

    #49548

    I have successfully setup my site to integrate registrations/logins between wordpress on its own DB and domain (blog.bakedlog.com) and bbpress on its own DB and domain (forum.bakedlog.com).

    Files:

    WP: wp-content/plugins/bbpress-integration.php

    BBP: my-plugins/wordpress-integration.php

    • I can create a user in wordpress and log into bbpress with it.
    • I can create a user in bbpress and log into wordpress with it.(although the default role set for wordpress does not let me write (how do i change this?))

    However, I too cannot get cookies to authenticate between the two systems.

    I have included the following in bbpress’s config.php:

    $bb->cookiedomain = 'bakedlog.com';

    $bb->cookiepath = '/';

    I monitored the cookies created on my computer as I logged into each system, and noticed that bbpress was creating the cookie correctly, domain: bakedlog.com, while when I logged into wordpress it would set the domain on the cookie to blog.bakedlog.com.

    So the problem is with WordPress..

    Looking in WordPress’ wp-settings.php I see:

    if ( !defined('USER_COOKIE') )

    define('USER_COOKIE', 'wordpressuser');

    if ( !defined('PASS_COOKIE') )

    define('PASS_COOKIE', 'wordpresspass');

    if ( !defined('COOKIEPATH') )

    define('COOKIEPATH', $current_site->path );

    if ( !defined('SITECOOKIEPATH') )

    define('SITECOOKIEPATH', $current_site->path );

    if ( !defined('COOKIE_DOMAIN') )

    define('COOKIE_DOMAIN', '.' . $current_site->domain);

    So, in WordPress’ wp-config.php I inserted:

    // BBPRESS INTEGRATION

    define('COOKIE_DOMAIN', 'bakedlog.com');

    Clearing my cookies and logging into WordPress, I see the cookie domain is correct and matches my BBPress’.

    But, there is still another problem, the cookies set by BBPress appends an md5 hash based on the site url and table prefix to the cookie’s name (ie: wordpressuser_bf17f59023eb22f…..) while WordPress’ cookie name is only: wordpressuser

    I looked around in bb-settings.php and found:

    define('BBHASH', $bb->wp_siteurl ? md5($bb->wp_siteurl) : md5($bb_table_prefix) );

    if ( !isset( $bb->usercookie ) )

    $bb->usercookie = ( $bb->wp_table_prefix ? 'wordpressuser_' : 'bb_user_' ) . BBHASH;

    if ( !isset( $bb->passcookie ) )

    $bb->passcookie = ( $bb->wp_table_prefix ? 'wordpresspass_' : 'bb_pass_' ) . BBHASH;

    So, the next step is to define $bb->usercookie and $bb->passcookie in BBPress’ config.php:

    // COOKIE SHARING WITH WORDPRESS

    $bb->cookiedomain = 'bakedlog.com';

    $bb->cookiepath = '/';

    $bb->usercookie = 'wordpressuser';

    $bb->passcookie = 'wordpresspass';

    I cleared my cookies and tested it, VOILA! I can log into either section (bbpress or wordpress) and switch to the other without losing authentication!

    ==========SOLUTION===========

    BBPRESS CONFIG.PHP:

    // COOKIE SHARING WITH WORDPRESS

    $bb->usercookie = 'wordpressuser';

    $bb->passcookie = 'wordpresspass';

    WORDPRESS WP-CONFIG.PHP:

    // COOKIE SHARING WITH BBPRESS

    define('COOKIE_DOMAIN', 'bakedlog.com');

    ==========********===========

    Thats it I believe, let me know if it works for you or if you see anything I have done that could crash either program.

    -BHensley.com

    -Bakedlog.com

    #52753
    Trent Adams
    Member

    Rod,

    Right now, the integration with wordpress is strictly login related. The plugins for WordPress currently do not work with bbPress because of the differences in how they work with the system. I have requested the YouTube plugin for bbPress from the author of the Anarchy Media Plugin for WP and I hope this gets out there soon! Plugins don’t take too much to convert over to bbPress, but they still have to be converted to work with the system.

    Trent

    #52723

    In reply to: Theme – Bloody Gray

    Trent Adams
    Member

    Very nice job so10! Looks great! Start of WP and bbPress theme release!

    Trent

    #1126

    Topic: My forum

    in forum Themes
    veb
    Member

    This forum I am creating for a small indie game (www.toribash.com) and SMF just didnt cut it. Way too difficult to change core code, and to me, make new plugins!

    This is a temporary link, seeing I’m not anywhere NEAR finnished. As you can see I am using the emotions plugin, avatar plugin, PM plugin and a few of my own.

    http://veb.bounceme.net/bbpress/

    Comments welcome :)

    #51675
    chrishajer
    Participant

    I may have downloaded the wrong version. This is from the file notification_all.php

    * Plugin URI: http://www.la-school.com/2006/bbpress-notification/

    * Version: 1.1

    Oops! “notification all” – haha

    I will download the new version now, with the enhancement on the last poster’s name. Thanks a bunch. Merry Christmas.

    #1128

    Topic: Theme – Bloody Gray

    in forum Themes
    so1o
    Participant

    This is a wordpress/bbpress integrated theme. This theme will work only when you have integrated wordpress and bbpress. for details visit

    http://www.adityanaik.com/blog/bbpress-and-wordpress-integration/

    Screenshots

    http://www.adityanaik.com/projects/themes/bloody-gray-theme/#bbpress-ss

    download the bbpress theme from here

    http://www.adityanaik.com/download/bb-my-template.zip

    download the wordpress theme here

    http://www.adityanaik.com/projects/themes/bloody-gray-theme/

    Note: the header in wordpress will need to be changed to add link to forum

    #51674

    @chrishajer:

    This Plugin doesn’t care if you’re admin or not. So you should only receive emails on your favorite topics.

    Maybe you’ve downloaded the wrong version? There is one, which sends an email on every post!

    You had an great Idea! I just put this into it. Now it displays the last posters name in the mail.

    Download latest Version here:

    http://la-school.com/2006/bbpress-notification/

    #52329
    implicated
    Member

    Your PHP version is rather old, use this:

    if (!function_exists('file_put_contents')) {

    function file_put_contents($filename, $content) {

    if ($fp = fopen($filename, 'w')) {

    $result = fwrite($fp, $content);

    fclose($fp);

    return $result;

    }

    else {

    return false;

    }

    }

    }

    #1127
    ardentfrost
    Member

    New release of my Avatar Plugin (version .73a). Core files no longer have to be adjusted! Just drop the file into your plugins directory, adjust your css file (as shown in the readme) and you’re good to go.

    Get the new release here: http://faq.rayd.org/bbpress_avatar/

    View use of the Avatar Plugin here: http://www.rayd.org/forums/

    #52701

    In reply to: Plugin: Warn users

    ardentfrost
    Member

    veb, I don’t mind hosting your plugins until something on bbpress is made. Just let me know (feel free to go to my forums at http://www.rayd.org/forums/ and send me a pm about it)

    #1125
    Rod
    Member

    BBPress and WordPress = same creators … so a simple question : why, during the install, would be not possible to have 2 buttons radios with …

    Option One : create a new DB users

    Option Two : use the actual WP DB users

    ?!

    #52626
    drtech
    Participant

    Yes it’s working now.

    #52266
    suleiman
    Member

    hmmm…I’m having the same problem, where I get the error about the bbpress database not existing. I’m integrating with WPMU instead of regular wordpress but that shouldn’t really cause an issue should it?

    Is there a place we can hardcode it to wp_ instead of bb_?

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