Search Results for '\"wordpress\'
-
AuthorSearch Results
-
December 8, 2006 at 1:54 am #49540
In reply to: Plugins for WordPress integration
Trent Adams
MemberI have no trouble logging in and out of bbPress, just not integrated with the wp_users table. You are using Wp 2.05 as well?
Trent
December 8, 2006 at 1:45 am #49539In reply to: Plugins for WordPress integration
Trent Adams
MemberI would imagine that you need to check the database and see if bbpress has it’s own bb_users table or if it doesn’t exist. I created a user in bbPress and it didn’t move over to WP. That would mean that the cookies are not moving right and the plugin isn’t working. If it was working, WP would know that I exist. When I went to ‘forgot password’ in WP, the user didn’t even exist. That would mean that users are being created in bbPress.
I would check the database and see what tables exist for bbPress and report back.
Trent
December 8, 2006 at 12:25 am #49538In reply to: Plugins for WordPress integration
pilkster
MemberHi Trent
I tried this, one additonal problem is that the logout function on the forums doesn’t work now, I have to log out from a WP page. Other than that, nothing has changed! Would it be easier if I were to delete the account from my server and try again, or do you enjoy the challenge?
<?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’, ‘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!
$bb->cookiedomain = ‘.awspress.com’; // Thanks Trent! https://bbpress.org/forums/topic/12?replies=10
$bb->cookiepath = ‘/’; // Thanks Trent! https://bbpress.org/forums/topic/12?replies=10
// 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://awspress.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 = ‘Amazon plugin for WordPress’;
// This must be set before running the install script.
$bb->admin_email = ”;
// 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 = 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 = ”;
// 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://awspress.com’; // WordPress – Options->General: Blog address (URL) // No trailing slash
$bb->wp_siteurl = ‘http://awspress.com’; // WordPress – Options->General: WordPress address (URL) // No trailing slash
/* Stop editing */
define(‘BBPATH’, dirname(__FILE__) . ‘/’ );
require_once( BBPATH . ‘bb-settings.php’ );
?>
December 7, 2006 at 9:52 pm #51467In reply to: Integration problems
Trent Adams
MemberThe plugins, especially bbpress-integration (goes in WP plugins and has option page once installed to choose bb_ as database prefix), tells bbPress to use the WordPress users. Therefore, if you login to each program (either/or), it uses the WP users. All registrations in bbPress make users in WP users. It is simple.
As for the login working in both, the settings in config.php in bbPress tells bbPress to use the WP cookies so they share the same one. Therefore, both programs know to use the same user without having to login again.
Trent
December 7, 2006 at 7:50 am #49537In reply to: Plugins for WordPress integration
Trent Adams
MemberPilks,
Just looking through the config file, everything looks good. I may try adding some cookie information into config.php
$bb->cookiedomain = '.awspress.com';
$bb->cookiepath = '/';
As well, if you are not trying to load WP functions in bbPress, you probably can do without the:
define('WP_BB', true);
require_once('/home/xxxxxxx/public_html/wp-config.php');
Maybe take it out and see if you can get it going and then add it in later. Let’s try it at the lowest common denominator….
Trent
December 7, 2006 at 7:38 am #49536In reply to: Plugins for WordPress integration
pilkster
MemberHi Trent, thanks for the response
After installing WP (via fantastico) I uploaded the bbpress files to /forums/, set up database&user, ran the bbpress install script.
I then added the WP plugin as described above, activated it and configured it with bb_ (taken from my config.php).
I added a directory /forums/my-plugins/ and put the described bbpress plugin in there (although I probably didnt need to as it is a fresh install)
Below is my config.php that I edited as described (maybe I misunderstood somthing here?)
Thanks again for your help…
code
<?php
// ** MySQL settings ** //
define(‘BBDB_NAME’, ‘xxxxxx_xxxx’); // The name of the database
define(‘BBDB_USER’, ‘xxxxxxx_xxxxx’); // Your MySQL username
define(‘BBDB_PASSWORD’, ‘xxxxx’); // …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://awspress.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 = ‘Amazon plugin for WordPress’;
// This must be set before running the install script.
$bb->admin_email = ‘simon@xxxx.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 = 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 = ‘xxxx’;
// 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://awspress.com’; // WordPress – Options->General: Blog address (URL) // No trailing slash
$bb->wp_siteurl = ‘http://awspress.com’; // WordPress – Options->General: WordPress address (URL) // No trailing slash
define(‘WP_BB’, true);
require_once(‘/home/xxxxxxx/public_html/wp-config.php’);
/* Stop editing */
define(‘BBPATH’, dirname(__FILE__) . ‘/’ );
require_once( BBPATH . ‘bb-settings.php’ );
?>
/code
December 7, 2006 at 5:47 am #50953In reply to: How do I create new themes (not topics)?
Trent Adams
MemberWe hope to have a template system (like WordPress) in future versions, but until then we have to make changes using the system described in previous posts. This is something that may help out:
https://bbpress.org/documentation/customization/
As well, here is my little workaround for themes.
1) If you change templates files out of bb-templates/ folder, make sure you save the changes into the my-templates folder. That way, you can delete the file in the my-templates folder and bbPress will go back to working with the original file out of the bb-templates folder.
2) If you are not sure what style tags are being used on a page, I like to look at the ‘source’ of the page in my browser. Gives great clues on what you should be looking for when later editing the global stylesheet.
3) header.php includes all the information for calling meta information, CSS sheets, javascript scripts, etc.
4) footer.php has the information for credits, ending style tags from above, etc.
5) front-page.php is where the bulk of information that is produced on the main page is. This is where you can arrange what information is shown and where
6) style.css is the main stylesheet for how bbPress looks on every single page. It is actually layed out pretty well in terms of how each page is in bbPress
7) post.php is for individual posts and reply forms for those posts.
When we have a better and easier template system, it will be much simple for the end users, but please be patient as we try and get it working for you!
Trent
December 7, 2006 at 5:33 am #51232In reply to: Anonymous post
Trent Adams
MemberCurrently, bbPress is built so that all users must be registered to post. I have heard talk of a plugin for anonymous posting, but nothing in development to my understanding.
So far, registration on the bbPress side is wide open, but if you are integrated with WordPress there are hacks in WordPress to have admin approval for registration, but only if you change all registration for the forums to the WordPress side versus bbPress.
Trent
December 7, 2006 at 5:26 am #52084Trent Adams
MemberIn terms of integrating completely with WordPress, you need a couple more plugins and information. You should find everything that you need in the following post Ron. If you have any questions about it, please let me know.
https://bbpress.org/forums/topic/12?replies=12
Trent
December 7, 2006 at 5:22 am #52157In reply to: Post-install login not working, grrrrr
Trent Adams
MemberMatt I am glad you got this going. Installing bbPress inside of WordPress makes the cookie sharing easier, but the link I provided above for integration with WordPress out of the bbPress documentation. It has great information on cookie domains and WP sharing.
Trent
December 7, 2006 at 3:30 am #52155In reply to: Post-install login not working, grrrrr
Trent Adams
MemberTake a look at a post like:
https://bbpress.org/forums/topic/345?replies=4
As well, make sure you have the plugins for integration loaded. One in WordPress and the other in bbPress.
Also, it integrates well if you have bbpress in a subdirectory of your blog. If it resides somewhere else on the server, you might have to also take a look at:
https://bbpress.org/documentation/integration-with-wordpress/
Start there and if you have more issues, please post more details on what you have and have not tried because there are many different things that could have went wrong for you.
Trent
December 7, 2006 at 3:03 am #49535In reply to: Plugins for WordPress integration
Trent Adams
MemberCould you describe what steps you took to integrate, what you are seeing when you move between the two programs and possibly post an edited (no password, username info) config.php to compare against.
Trent
December 6, 2006 at 6:39 am #52158In reply to: require_once does not see ‘../config.php”
andrabr
MemberRESOLVED.
I am not sure what I did to fix it:
1) i renamed my config.php to config1.php (to get it out of the way);
2) copied config-sample.php to config.php
3) re-entered all the vaues, differences from the first time:
- I put in the API key
- I did not put in the time zone
- I put the quotation marks around wordpress URLs
December 6, 2006 at 6:39 am #49534In reply to: Plugins for WordPress integration
pilkster
MemberI have done a fresh install of the latest WP (2.0.5) and latest bbPress (0.73) earlier today and installed the WordPress plugin as described. I have also added the code described above to bbPress’s config.php.
Wordpress is installed on my root domain, and bbPress in a folder named /forums/
User registration integration is not working, is there something I have missed?
Thanks – pilks (AWSpress.com)
December 5, 2006 at 5:36 pm #1052Topic: Post Moderation
in forum Requests & Feedbackarrariv
MemberHi there all,
I have to moderate posts!
Is it possible to do in bbPress, I have no idea. I found out that vBulletin does that, but I use WordPress on my blog, don’t need any other php script interfere with my blog. I just add a simple forum in it. Not a shiny thing!
Anything will be too helpful.
Thanks in Advance!
December 5, 2006 at 9:20 am #51877In reply to: Problem with my Domain
benebomber
MemberThanks a lot, Trent!
But I did it like You told me, loaded it up once again with another table prefix and when I tried to start the install, there was an empty page.
Do You have an idea what I did wrong?
Here’s my config.php:
`<?php
// ** MySQL settings ** //
define(‘BBDB_NAME’, ‘xxxxxxx’); // The name of the database
define(‘BBDB_USER’, ‘xxxxxxx’); // Your MySQL username
define(‘BBDB_PASSWORD’, ‘xxxxxxx’); // …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 = ‘pfeilfor_’; // 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.fh-augsburg.de/~steinle/Pfeil’; // 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 = ‘/Forum/’; // Example: ‘/forums/’
// What are you going to call me?
$bb->name = ‘Das Forum zum Pfeil’;
// This must be set before running the install script.
$bb->admin_email = ‘benedikt.steinle@fh-augsburg.de’;
// 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 = +1;
// 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 = 40b50b4582b5;
// 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 = pfeil_; // WordPress table prefix. Example: ‘wp_’;
$bb->wp_home = ‘http://www.fh-augsburg.de/~steinle/Pfeil’; // WordPress – Options->General: Blog address (URL) // No trailing slash
$bb->wp_siteurl = ‘http://www.fh-augsburg.de/~steinle/Pfeil’; // WordPress – Options->General: WordPress address (URL) // No trailing slash
/* Stop editing */
define(‘BBPATH’, dirname(__FILE__) . ‘/’ );
require_once( BBPATH . ‘bb-settings.php’ );
?>
… I’ve got no idea what’s going wrong.
Thanks.
Bene
December 4, 2006 at 9:46 am #50949In reply to: How do I create new themes (not topics)?
Jakey
MemberI believe he’s referring to themes as in separate forums within the forum. Not template or CSS themes like wordpress themes. Kind of a silly naming convention if you ask me.
December 3, 2006 at 9:42 pm #50642In reply to: rawurlencode() Error
plognark
MemberWell, I came up with an ugly fix, especially since I don’t actually know what I’m doing.
I’ve been trying to integrate the BBpress forum right inside my WP theme, which is what I imagine you were trying to do.
To fix it I added this switch right at the top of my bbpress template header:
$bbpressswitch = 1;
unset($_SERVER);
Then I went into classes.php for wordpress and put an if/else ‘switch’, basically:
The first line there is 1645 in my file
function build_query_string() {
$this->query_string = ”;
foreach ($this->public_query_vars as $wpvar) {
if (isset($this->query_vars[$wpvar]) && ” != $this->query_vars[$wpvar]) {
$this->query_string .= (strlen($this->query_string) < 1) ? ” : ‘&’;
// bug fix for BBpress integration
if ($bbpressswitch == 1) {
// $this->query_string .= $wpvar . ‘=’ . rawurlencode($this->query_vars[$wpvar]);
// if the url is being accessed from a page outside of WP that is using the header
// or other data, turn off this URL encoding.
} else {
$this->query_string .= $wpvar . ‘=’ . rawurlencode($this->query_vars[$wpvar]);
}
// end of bug fix
}
}
It’s ugly, and I’m a n00b at this stuff, but it does seem to have cleaned up my error. I guess the bbpress URL’s don’t work so good when sent through the WP URLencode setup, so turning them off when going into a BBpress page seemed like it might work.
I don’t know if there are any other repurcussions from this change, but again, it turned off the error, and I haven’t seen any fallout…yet.
There are other sites online that seem to offer a fix for the same issue, like this:
But the fix they suggest kills all of your static pages or category links and always sends you to the main blog page.
December 3, 2006 at 12:24 am #1056Topic: Role-based forums plugin?
in forum Pluginsnickbouton
MemberHey all,
I just started using bbPress yesterday, and as a WordPress and longtime phpBB user I’m pretty happy with it.
The only drawback I see as a critical flaw right now is the lack of any kind of security / role-based restrictions on specific forums. I’d like to be able to pull over a phpBB2-based forum that I run, and using the phpbb2bbpress migration script another poster wrote, I was able to migrate all of the content over perfectly. However, I had at least a couple of private forums that are access-restricted based on user permissions, and I can’t really complete the migration until I can lock those forums down.
Has anyone written a plugin (or does anyone know if this feature is coming soon?) that will allow role-based access to a specific number of forums in a bbPress installation? I don’t want to lock down the whole app (which I’ve seen a couple of threads about), just a couple of forums within the install.
Thanks in advance-
December 2, 2006 at 9:40 pm #52040In reply to: integrate to a different WordPress
Trent Adams
MemberIt can be done, because wordpress, bbpress and wordpress MU all use the same user table because you can login to all 3 sites with the same information and user table (3 different bbpress installs).
Trent
December 2, 2006 at 9:39 pm #52039In reply to: integrate to a different WordPress
Trent Adams
MemberWhat I would try is getting bbpress site 2 using the WP 1 users directly. Try using the cookie information from the docs:
If bbPress is not installed in a subdirectory of your WordPress install, you’ll probably need to adjust both bbPress’ and WordPress’ cookies to meet your specific requirements. Below is a brief outline of the variables and constants that control the cookie behavior in the two programs.
PHP bbPress WordPress
name $bb->usercookie USER_COOKIE
name $bb->passcookie PASS_COOKIE
path $bb->cookiepath COOKIEPATH
path $bb->sitecookiepath SITECOOKIEPATH
domain $bb->cookiedomain COOKIE_DOMAIN
Trent
December 2, 2006 at 9:02 pm #1053Topic: integrate to a different WordPress
in forum Troubleshootingpapercuts3
MemberMy situation is this: I have two WP installations both oıf which require BBPRESS. So I installed bbpress_1 on WP_1 and did the integration. Everything works fine. My second WordPress installation WP_2 takes its users from WP_1. So in the config.php file for bbpress_2 I gave the info for WP_1. I installed the integration plugin to WP_2. But the integration does not work with bbpress_2.
My guess about what’s going on is this. WP_2 bbpress integration uses the user table from WP_2 as well (as could be expected) But since WP_2 uses the table from WP_1, its own user table which bbpress_2 uses to integrate is empty, hence no integration.
Could this be the problem and how do I get around it?
December 2, 2006 at 4:45 pm #1051Topic: bbpress-integration Bozos
in forum PluginsTrent Adams
MemberIt would be great if I could stop “bozos” that register in my bbPress forum from being moved over to WordPress when using the bbpress-integration plugin located at:
http://trac.bbpress.org/ticket/438
Anyone have an idea how to put a check in for Bozo users not being added?
Trent
December 1, 2006 at 7:43 pm #1046Topic: Adding Custom Profile Fields
in forum Requests & FeedbackM
MemberI’m trying to add custom fields to my bbPress profile page, like deviantArt username, real name, etc. How would I go about doing this?
I was checking out some WordPress custom meta plugins, but they weren’t really cutting it.
I’m running bbPress alongside WordPress, and I’ve got the integration running just fine.
My guess is that there’s an easy way of doing this. I was picking through the bbPress functions, and there’s all kinds of good stuff available.
Thank you in advance… I must run, I have class to get to.
December 1, 2006 at 4:10 pm #51985In reply to: Possible bug with deleting users
Trent Adams
MemberI haven’t had a problem because I delete users in WP since the integration. Are you integrated? If yes, does the error disappear if you delete the user in WordPress. If not, do you mean the error is on the users page of the admin area or certain places on the main site?
Trent
-
AuthorSearch Results