Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '\"wordpress\'

Viewing 25 results - 26,251 through 26,275 (of 26,705 total)
  • Author
    Search Results
  • #49550
    chrishajer
    Participant

    I think if your blog is at dearauthor.com/wordpress, then

    $bb->wp_home and $bb->wp_siteurl are both wrong – they don’t point to the blog but just the domain name. I think they should be:

    $bb->wp_home = 'http://dearauthor.com/wordpress'; //

    $bb->wp_siteurl = 'http://dearauthor.com/wordpress'; //

    Also, your require once is different than mine, but that might be unrelated. This is the only one I have in my config.php:

    require_once( BBPATH . 'bb-settings.php' );

    I think the wp_home and wp_siteurl might be wrong. Did you go to WordPress – Options->General: Blog address (URL) and WordPress – Options->General: WordPress address (URL) and verify that the settings are the same there?

    #49549
    JaneLitte
    Member

    I am having problems with the integration. I installed the bbpress_integration on my wordpress blog which is installed at dearauthor.com/wordpress.

    I have a redirect that makes the blog address dearauthor.com

    I then installed the bb forum at dearauthor.com/forum.

    I set the bbPress Integration as bb_

    I have this in the config.php file for bbPress

    $bb->wp_table_prefix = 'wp_'; //

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

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

    $bb->cookiedomain = ‘dearauthor.com’;

    $bb->cookiepath = ‘/’;

    require_once(‘http://dearauthor.com/wordpress/wp-config.php’);

    I am getting this error.

    bbPress database error: [Table ‘dearauth_bbdb.wp_users’ doesn’t exist]

    SELECT * FROM wp_users WHERE ID = 1 AND user_status % 2 = 0

    Anonymous`

    Thanks.

    #1149
    kensav
    Member

    After I installed and got into the first page I noticed there was no styles.

    Seems every link points to: http://www.kensavage.com/forums/forums/

    I figured I added a trailing slash or something but it seems ok. When I take the extra forums/ out of any link it works fine including the css. Any ideas?

    My config file:

    // 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.kensavage.com/forums’; // Example: ‘http://bbpress.example.com’

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

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

    // What are you going to call me?

    $bb->name = ‘Making IT in Massachusetts Forums’;

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

    $bb->admin_email = ‘ken@kensavage.com’;

    // Set to true if you want pretty permalinks.

    $bb->mod_rewrite = ‘true’;

    // 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 = ‘-5’;

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

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

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

    /* Stop editing */

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

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

    #52812
    chrishajer
    Participant

    Works for me too. Now to do something like “WP Since Last Visit” from Alex King.

    Also, I made the same change in forum.php on lines 16 and 25 for consistency.

    edit: Oops, just looked through the files and that need to be changed in lots of places. I lost track already…

    #52833

    In reply to: tpl..?

    Trent Adams
    Member

    Customization is really not bad once you get the hang of it. All the template files are in /bb-templates/ and the main ones you will most likely want to change will be:

    header.php

    footer.php

    front-page.php

    style.css

    There are other ones, but with header.php you can put in your links to other parts of your site or anything else you want displayed on every page. This can include your images. Footer.php is where you will put in more information on closing your style tags you opened in header.php and your footer information. Front-page.php is where the meat of your forum is, whether you want to move around the hot tags or just want to add in a link to a plugin off the main page.

    The real meat and potatoes of customization is done through CSS in style.css. That is where you can tweak where you want things placed and what colors you use. If someone knows CSS, you will find it not so bad!

    Once you change a file, what you want to do is create a folder called /my-templates/ and add the edited files there. That way, if you make a mistake, you can delete the file off the server to fix it and bbPress will go back to using the one in /bb-templates/ until you upload to /my-templates/ again.

    The future will have a system much like WordPress, a kind of drop and drag themes approach, but we have this for now!

    The starting point would be to read:

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

    Trent

    That should get you going. Once you understand changing around the stylesheet in style.php, it doesn’t seem so bad!

    #52725

    In reply to: Theme – Bloody Gray

    so1o
    Participant

    if you go to http://themes.wordpress.net/columns/2-columns/1303/bloody-gray-10/

    you’ll see a link for try it.. there you can see it in action

    #1142

    Basically I’m working on a plugin for bbpress that will skip wordpress all together ( no offense wordpress :-) )

    Frankly I think wordpress is too advanced for the average “myspace” type user / target visitor. And, I want to have a community like system like myspace or livejournal.

    So I want to basically add a blog section to bbpress where you can keep a private journal… with privacy options on each blog entry to either Private or Public, and if you select Public it will put it in a Forum as a new topic for people to discuss.

    I was hoping to get a few pointers as to what functions to look at to help me achieve this through bbpress or if I should even continue doing this and try to customize wordpress-mu instead to fit the visitor

    Heres what I have looked at so far:

    1) Add new topic / Write blog

    bb-templates/post-form.php

    ......

    <label for=”forum_id”><?php _e(‘Pick a section:’); ?>

    <?php forum_dropdown(); ?>

    </label>

    <!– DIRT_PRIVACY –>

    Set the privacy:

    <select name=”dirt_privacy” id=”dirt_privacy” tabindex=”6″>

    <option value=”public” selected>Public</option>

    <option value=”private”>Private</option>

    </select>

    <small>**Choose ‘Private’ if you want this to be a blog only readable by you</small>

    <!– END DIRT_PRIVACY –>

    <?php endif; ?>

    <p class=”submit”>

    <input type=”submit” id=”postformsub” name=”Submit” value=”<?php _e(‘Send Post’); ?> »” tabindex=”4″ />

    bb-includes/functions.php -> bb_new_topic();

    function bb_new_topic( $title, $forum, $tags = '' ) {

    // function bb_new_topic( $title, $forum, $tags, $dirt_privacy = ” ) {

    global $bbdb, $bb_cache, $bb_current_user;

    $title = apply_filters(‘pre_topic_title’, $title, false);

    $forum = (int) $forum;

    $now = bb_current_time(‘mysql’);

    if ( $forum && $title ) {

    // if ($dirt_privacy==’public’){

    // ADD AS NORMAL TOPIC HERE (depending on whether ‘adding new topic’ or ‘writting new blog’, determine whether to add as default normal Forum Topic (public) or include in users blog but also as public Blog Forum Topic

    $bbdb->query(“INSERT INTO $bbdb->topics

    (topic_title, topic_poster, topic_poster_name, topic_last_poster, topic_last_poster_name, topic_start_time, topic_time, forum_id)

    VALUES

    (‘$title’, $bb_current_user->ID, ‘{$bb_current_user->data->user_login}’, $bb_current_user->ID, ‘{$bb_current_user->data->user_login}’, ‘$now’, ‘$now’, $forum)”);

    $topic_id = $bbdb->insert_id;

    if ( !empty( $tags ) )

    add_topic_tags( $topic_id, $tags );

    $bbdb->query(“UPDATE $bbdb->forums SET topics = topics + 1 WHERE forum_id = $forum”);

    $bb_cache->flush_many( ‘forum’, $forum_id );

    do_action(‘bb_new_topic’, $topic_id);

    return $topic_id;

    //} elseif ($dirt_privacy == ‘private’) {

    // ADD TO DB AS PRIVATE BLOG HERE

    //}

    } else {

    return false;

    }

    }

    Sorry if I’m a bit confusing as I am a bit confused right now :-)

    Again, any functions/documentation/help I should look at would be appreciated.

    -BHensley.com

    -Bakedlog.com

    #50206

    In reply to: About Freshness

    ryuuguu
    Member

    I wrote a quick plugin to correct this it is at

    http://www.ryuuguu.com/wordpress/2006/12/22/correcting-bbpress-freshness-1/

    you will need to edit

    $hours=-18;
    [code]
    to find the right number for your offset

    [code]

    $hours=-18;

    to find the right number for your offset

    [code]

    to find the right number for your offset

    #52785
    cgavin
    Member

    Right, cant fix the timezone as I have no idea what time zone it is in. Its 3000 miles away.

    Cant be bothered with this – clicking a topic redirects me to my WordPress homepage? Eh?

    Then it says the admin user I created and logged in as 10 mins ago doesnt exhist anymore. Riight.

    Think I’ll stick with something more mature.

    See you when bbpress gets there init. ;)

    Thanks again, but I dont have anymore time to waste ..

    I just spunked 3 hrs on this! Thats more than enough ..

    #1140
    #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&#8217;; // 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&#8217;;

    $bb->;wp_siteurl = ‘http://www.cjgavin.com&#8217;;

    #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.

    #52762
    Trent Adams
    Member

    You can login to trac using a login from wordpress.org as that is the only login system. Once logged in, then you will see the link for submission.

    Trent

    #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

    #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

    #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_?

    #1123
    Trent Adams
    Member

    I have been using Alex King’s Mobile edition for WordPress for quite some time and love it! I was wondering if someone would like to look at the plugin and see how it could work with bbPress. It seems pretty straight forward.

    http://alexking.org/projects/wordpress/plugins/wp-mobile.zip

    Another plugin called WordPress PDA is similar and might be easy as well.

    http://imthi.com/wp-pda/

    Interesting stuff! Any takers?

    Trent

    #52625
    Trent Adams
    Member

    So it is working the way you want now?

    Trent

    #52613
    Trent Adams
    Member

    In terms of integrating site with calling WP functions, it is a little out of my realm. If you search this site and can’t find anything useful, you can always head over to the forums with massive information!

    https://wordpress.org/tags/bbpress

    Trent

    #52624
    drtech
    Participant

    I think i have it. By removing the www from the wordpress link fixed it . (http://koma-inu.org/bbpress) Now comes up with welcome header if you are logged in.

    #1121
Viewing 25 results - 26,251 through 26,275 (of 26,705 total)
Skip to toolbar