Search Results for '"wordpress"'
-
AuthorSearch Results
-
October 31, 2006 at 4:24 pm #49980
In reply to: Login Issues – Can’t figure out…
mozeyMembersuleiman,
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.
AphelionZParticipantThat’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
October 31, 2006 at 1:52 pm #50799In reply to: Adding bbPress as a WordPress Page
andyroMemberSounds 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!
October 31, 2006 at 11:52 am #49867In reply to: loading wordpress with bbpress
AtsutaneMemberFatal 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?
October 31, 2006 at 5:41 am #49866In reply to: loading wordpress with bbpress
peiqinglongMemberdoubter:
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/
October 31, 2006 at 4:53 am #49865In reply to: loading wordpress with bbpress
doubterMemberthanks 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
October 31, 2006 at 4:44 am #49864In reply to: loading wordpress with bbpress
Michael Adams (mdawaffe)Memberdoubter,
$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
October 31, 2006 at 4:36 am #49863In reply to: loading wordpress with bbpress
doubterMemberhey 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’; // 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 = ‘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’; // WordPress – Options->General: WordPress address (URL) // No trailing slash
/* Stop editing */
define(‘BBPATH’, dirname(__FILE__) . ‘/’ );
require_once( BBPATH . ‘bb-settings.php’ );
?>
October 31, 2006 at 4:35 am #50727In reply to: Installed, but can’t view posts
Michael Adams (mdawaffe)Memberjessind,
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?
October 30, 2006 at 11:38 pm #49862In reply to: loading wordpress with bbpress
Michael Adams (mdawaffe)Membermokona,
The error is actually caused by the line above that on. Delete the line that says:
define(WPp_BB', true);
October 30, 2006 at 11:31 pm #50055In reply to: Can’t Login…
Michael Adams (mdawaffe)Membercvanp, if it’s not a subdirectory, it isn’t as easy. You’ll have to change WordPress’ cookies and bbPress’.
October 30, 2006 at 11:20 pm #49750In reply to: Using WP template tags
Michael Adams (mdawaffe)MemberAfther 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.
October 30, 2006 at 11:18 pm #50573In reply to: Cannot login, Hide forum
Michael Adams (mdawaffe)Memberzapata,
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).
October 30, 2006 at 8:55 pm #49861In reply to: loading wordpress with bbpress
peiqinglongMemberIf 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/
October 30, 2006 at 7:56 pm #49860In reply to: loading wordpress with bbpress
mokonaMemberHi, 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.
October 30, 2006 at 5:24 pm #50798In reply to: Adding bbPress as a WordPress Page
peiqinglongMembermrjain,
Of course, I would be glad to help.
October 30, 2006 at 12:48 pm #50054In reply to: Can’t Login…
cvanpMemberNope, my layout is as follows:
All three share the same database, with the prefixes
wp1_
,wp2_
, andbb_
. I have the second WordPress (wp2_
) hacked up a bit so it useswp1_users
andwp1_usermeta
, enabling me to have a Gawker Media style Blog Network (multiple blogs, single logins). I was hoping to share thatwp1_
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.
October 30, 2006 at 9:59 am #50797In reply to: Adding bbPress as a WordPress Page
mrjainMemberdude,
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
October 30, 2006 at 7:21 am #50052In reply to: Can’t Login…
Michael Adams (mdawaffe)Memberwhitelion, 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.
October 30, 2006 at 3:29 am #50796In reply to: Adding bbPress as a WordPress Page
peiqinglongMemberThe 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.
October 30, 2006 at 12:12 am #50235In reply to: Cookies and WPMU
mozeyMembersuleinman, 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,
October 29, 2006 at 11:23 pm #840Topic: Adding bbPress as a WordPress Page
in forum InstallationandyroMemberI 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?
October 29, 2006 at 11:19 pm #50094In reply to: Load Bbpress into WordPress
andyroMemberOK, 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!
October 29, 2006 at 11:18 pm #50051In reply to: Can’t Login…
cvanpMemberI 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.October 29, 2006 at 6:34 pm #50093In reply to: Load Bbpress into WordPress
andyroMemberThanks, I will try this (first need to figure out how to access .htaccess – reading about this now!
-
AuthorSearch Results