Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '"wordpress"'

Viewing 25 results - 26,501 through 26,525 (of 26,668 total)
  • Author
    Search Results
  • #49980
    mozey
    Member

    suleiman,

    https://bbpress.org/documentation/integration-with-wordpress/

    CTRL^f “We have a WordPress plugin to”

    right after that, there are two wp plugins that I BELIEVE gets around this. give them a try. let us know if it works.

    #50820

    In reply to: Avatars

    AphelionZ
    Participant

    That’s pretty cool, but the plugin is only available for WordPress. That means you’d have to call the wordpress tag within bbPress, and I dont load wordpress with my forum (way too complicated for what i need)

    However, somebody could take the wordpress code and customize it for bbPress :)

    #50799
    andyro
    Member

    Sounds like more work than I can get into right now…the integrations on abunchofcars looks great btw. Would you be willing to post your mods somewhere? It may be handy to have something like this with a little instruction so others can integrate, and just edit a single variable, such as width, to accomodate different wp templates…..thanks!

    #49867
    Atsutane
    Member

    Fatal error: Cannot redeclare widget_akismet() (previously declared in /path/to/wp-content/plugins/akismet/akismet.php:376) in /path/to/wp-content/plugins/akismet/akismet.php on line 376

    I dont know what went wrong, but this happen when i try to loading wordpress 2.0.5 using bbpress 0.73. Before when i using wordpress 2.0.4 and bbpress 0.72 on my another blog, i dont have such problem. Is it because i have update my akismet plugin or i did something wrong in the config? I only put this on the top of my config.php

    require_once(‘/path/to/wp-blog-header.php’);

    define(‘WP_BB’, true);

    I also have the same problem with Ultimate tag warrior but i can disable that plugin, but i dont want to disable akismet. Anyone got any good suggestion?

    #49866
    peiqinglong
    Member

    doubter:

    Are you trying to incorporate the look of your main site into bbpress or functions of WP into bbpress? If you are looking to make bbpress look a part of your site, I highly recommend that you remove all the WP code from config.php. Then make a my-templates directory inside bbpress directory, make a copy of the contents of bb-templates and drop it in there. Then modify the files to match your existing site. See an example here: http://www.abunchofcars.com/forum/

    #49865
    doubter
    Member

    thanks so much for the quick reply, but sadly i am now getting this error

    Warning: constant() [function.constant]: Couldn’t find constant **moderated** in /home/captvan4/public_html/bb-includes/db-mysqli.php on line 51

    Warning: constant() [function.constant]: Couldn’t find constant *moderated** in /home/captvan4/public_html/bb-includes/db-mysqli.php on line 52

    Warning: constant() [function.constant]: Couldn’t find constant *moderated**in /home/captvan4/public_html/bb-includes/db-mysqli.php on line 53

    Warning: constant() [function.constant]: Couldn’t find constant *moderated** in /home/captvan4/public_html/bb-includes/db-mysqli.php on line 54

    Cannot select DB.

    wow, i have no idea whats going wrong here. as above, i appreciate any help.

    thanks

    greg

    #49864

    doubter,

    $bb->wp_home = 'http://www.captainsdead.com';

    That line in the code you pasted is missing a single quote at the end (before the semi colon).

    Hope that works :)

    #49863
    doubter
    Member

    hey gang. i typically can figure stuff out on my own, but after a week of trying to install this i have hit a wall. i am sure i am missing something fairly stupid, but any help at this point would be very helpful. i am trying to incorporate bbpress with my wp blog @ captainsdead.com. I am currently receiving this error.

    arse error: syntax error, unexpected T_STRING in /home/captvan4/public_html/config.php on line 55

    thanks in advance, very much.

    Greg

    <?php

    // ** MySQL settings ** //

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

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

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

    define(‘BBDB_HOST’, ‘///’); // 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->wp_table_prefix’; // 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://captainsdead.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 = ‘/forums/’; // Example: ‘/forums/’

    // What are you going to call me?

    $bb->name = ‘captainsdead forums’;

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

    $bb->admin_email = ‘gregor@captainsdead.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 = ‘wp_’; // WordPress table prefix. Example: ‘wp_’;

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

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

    /* Stop editing */

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

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

    ?>

    #50727

    jessind,

    I tried your site in firefox and http://jessanastasia.com/forums/topic/1 gave a 404 not found reply (which was then caught by your WordPress for some reason and I ended up at your blog).

    Which method did you use to set up permalinks? MultiViews or the rewrite stuff? Did you put the .htaccess file in the forums directory?

    #49862

    mokona,

    The error is actually caused by the line above that on. Delete the line that says:

    define(WPp_BB', true);

    #50055

    In reply to: Can’t Login…

    cvanp, if it’s not a subdirectory, it isn’t as easy. You’ll have to change WordPress’ cookies and bbPress’.

    See https://bbpress.org/forums/topic/113

    #49750

    In reply to: Using WP template tags

    Afther bbPress is installed, if you wish to use WordPress’ template tags, you will need to include a line like the above in bbPress’ config.php.

    #50573

    zapata,

    That is a bbPress plugin, not a WordPress plugin. It should be installed in bbPress’ my-plugins/ directory. See https://bbpress.org/documentation/faq/#customization-folders (the bottom of that page).

    #49861
    peiqinglong
    Member

    If you want it to have the same look as your site, don’t edit the config.php like that. Create a folder inside bbpress directory called my-templates and make a copy of all the files in bb-templates and paste it into my-templates and edit those files. Example: http://www.abunchofcars.com/forum/

    #49860
    mokona
    Member

    Hi, I think I’ve got the same problem.

    I’m trying to install bbPress into a subdirectory of wordPress and I want it to have the same template of my main site.

    I’ve looked this topic and I’ve uninstalled bbPress and made some changes to my config.php, that now looks like:

    <?php

    require_once('/home/wererabbit/demon.wererabbit.net/wp-blog-header.php');

    define('WP_BB', true);

    define('BBDB_NAME', '*****');

    define('BBDB_USER', '*****');

    define('BBDB_PASSWORD', '******');

    define('BBDB_HOST', 'mysql.wererabbit.net');

    $bb_table_prefix = 'bb_';

    $bb->domain = 'http://demon.wererabbit.net/';

    $bb->path = '/forum/';

    $bb->name = 'Forum';

    $bb->admin_email = 'lum@wererabbit.net';

    $bb->mod_rewrite = true;

    $bb->page_topics = 30;

    $bb->edit_lock = 60;

    $bb->gmt_offset = 0;

    $bb->akismet_key = false;

    $bb->wp_table_prefix = 'wp_';

    $bb->wp_home = 'http://demon.wererabbit.net';

    $bb->wp_siteurl = 'http://demon.wererabbit.net';

    define(WPp_BB', true);

    define('BBPATH', dirname(__FILE__) . '/' );

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

    ?>

    Now when I try to install I get a parse error:

    Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/.nevermore/wererabbit/demon.wererabbit.net/forum/config.php on line 57

    line 57 is:

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

    I think there’s something missing but I do not catch it.

    #50798
    peiqinglong
    Member

    mrjain,

    Of course, I would be glad to help.

    #50054

    In reply to: Can’t Login…

    cvanp
    Member

    Nope, my layout is as follows:

    http://localhost/wordpress

    http://localhost/wordpress2

    http://localhost/bbpress

    All three share the same database, with the prefixes wp1_, wp2_, and bb_. I have the second WordPress (wp2_) hacked up a bit so it uses wp1_users and wp1_usermeta, enabling me to have a Gawker Media style Blog Network (multiple blogs, single logins). I was hoping to share that wp1_ table with bbPress, and it appears to have done so, just didn’t let me log in.

    Also, I don’t get an error message, I just get directed back to the homepage as if I had done nothing.

    #50797
    mrjain
    Member

    dude,

    that is a great site, i’m actually working a car site as well called BombayBling.com, so i might be pinging you for some feedback.

    later,

    mrj

    #50052

    In reply to: Can’t Login…

    whitelion, If you’re logged in, but can’t admin, it may be that there are no users with admin capabilities. This can happen if you install bbPress and then later intograte it with WordPress.

    To fix this, try setting $bb->new_keymaster = true; in bbPress config.php and then re-running /bb-admin/install.php.

    You should be able to type in your username if there are not any keymasters already. Delete that new line in config.php once you’re done.

    #50796
    peiqinglong
    Member

    The page you refer to is one of my sites: http://www.abunchofcars.com/forum and it took a bit of playing to get it “integrated”, but its easy now.

    Basically when you go to http://www.abunchofcars.com/forum , you’re not going to a page called forum, you’re actually loading the bbpress directory. I created a folder called “my-templates” and began warping the standard layout to match my layout. It involved some heavy modification of the bbpress layout files. The main files I tweaked with are: headers.php, front-page.php, footer.php, and style.css. I also did some slight tweaking with the login-form.php also.

    #50235

    In reply to: Cookies and WPMU

    mozey
    Member

    suleinman, sure thing,

    okay, first of all, my bb and my mu are sharing ONLY the usertable and the login sessions. THATS IT, no common functions, nothing like that.

    and in order to do that, i added the following lines to my config.php on my bb.

    __________________________________________________

    //These are for the information about the database into which bbPress should store its content

    // ** MySQL settings ** //

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

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

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

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

    // This is the information about mu’s database. bbPress will look for users in this database

    define(‘USER_BBDB_NAME’, ‘mudbname’);

    define(‘USER_BBDB_USER’, ‘mudbuser’);

    define(‘USER_BBDB_PASSWORD’, ‘mudbpass’);

    define(‘USER_BBDB_HOST’, ‘127.0.0.1’);

    //if your using one database, its cool, just replicate the mu/bb data!

    //now your about to tell bb to look for users in the wp table

    define(‘CUSTOM_USER_TABLE’, ‘wp_users’);

    define(‘CUSTOM_USER_META_TABLE’, ‘wp_usermeta’);

    //and now, your about to tell bb to user the same sessions as wp

    $bb->usercookie = ‘wordpressuser’;

    $bb->passcookie = ‘wordpresspass’;

    $bb->cookiedomain = ‘localgigs.fm’; // or .example.com if there was a . above

    $bb->cookiepath = ‘/’;

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

    __________________________________________________

    i hope this helps. do reply back with questions, :)

    #840
    andyro
    Member

    I noticed someone had done this (lotsofcars blog??), where bbPress loads into a standard static wordpress page. I have the ‘execphp.php’ plugin installed, should this be as simple as copy-pasting the index code into the body of the page text (using html view), and making sure the paths to the rest of bbPress files are correct?? Or is there another, smarter method?

    #50094
    andyro
    Member

    OK, it totally works now. Thank-you. I didn’t realize I had to CREATE a .htaccess file under my ‘/www’ folder, I somehow assumed it would already be there in the installation package, and I only needed to add the MultiViews line to allow pretty permalinks – perhaps this could be clarified in the installation instructions? I am a complete ignoramus regarding all of this stuff, so the fact that I even got it working is a testament to its simplicity. The creation of the .htaccess file had me hung for several hours though. Otherwise, great work, I am looking forward to trying this out now!

    #50051

    In reply to: Can’t Login…

    cvanp
    Member

    I have two WordPress blogs (2.0.5) sharing a user database and attempted to get bbPress to share that user db as well. It installed successfully, but I can’t log in either!

    I know it’s pulling the info though from my User Database, because the username in the sample post is linked to the same site I’ve set in WordPress. I checked my config.php values, and I know the syntax is correct based on the comments in config.php and the comments above, so I’m a bit confused.

    I should note that I’m attempting this on a local test server, so all my config.php values are “localhost” values (such as $bb->domain = 'http://localhost';), I don’t know if this would throw things off at all.

    #50093
    andyro
    Member

    Thanks, I will try this (first need to figure out how to access .htaccess – reading about this now! :)

Viewing 25 results - 26,501 through 26,525 (of 26,668 total)
Skip to toolbar