Search Results for '\"wordpress\'
-
AuthorSearch Results
-
March 27, 2010 at 8:09 pm #85701
kevinjohngallagher
MemberThis is fairly simple to do, but you have to define exactly what you want it to do.
i.e. Are you looking for forum topics that include any of the Tags in the blog post? This means that there will be no ordering or weighting on relavancy.
This line of WP code will help you on your way too:
$tags = wp_get_post_tags($post->ID);
March 27, 2010 at 6:10 pm #8570056alifar
Blockedanyone?
March 27, 2010 at 4:45 pm #86105In reply to: https problem?
royho
ParticipantAlthough this is the code for WordPress it might be universal to BB Press as well. Open up your bb-config.php and add this line:
define('FORCE_SSL_ADMIN', true);March 26, 2010 at 5:21 am #86094In reply to: Private Access to Forum Only?
Alex Luft
ParticipantDuane,
I think you’re better off using an installation of WordPress with the awesome P2 theme. It may suit your needs better.
http://en.blog.wordpress.com/2009/03/11/p2-the-new-prologue/
March 26, 2010 at 2:57 am #33845Topic: Can't get it to work :Could not establish a database
in forum Troubleshootingabsolutex
MemberI have changed server
ERROR: Could not establish a database connection
problem with
define( ‘BBDB_USER’, ‘user_bbpress’ ); ?
i have underscore in BBDB_USER and i get this error
ERROR: Could not establish a database connection
my old server is
define( ‘BBDB_USER’, ‘bbpress’ ); is work!
….
BBpress Latest Discussions (1.7.2) in wordpress could connect this database with Bbpress DB User: user_bbpress
March 25, 2010 at 5:17 pm #86129In reply to: integrating BBpress as a WP page
gerikg
MemberP.S. not all wordpress plugins work on the bbpress side, especially ones that involve user input. example (sidebar login ones)
March 25, 2010 at 4:57 pm #86128In reply to: integrating BBpress as a WP page
gerikg
Member“manage the bbpress forum via the same admin login as the primary WP install.”
https://wordpress.org/extend/plugins/bbpress-admin/
“…main wp widgetized sidebar”
If you did the deep integration you just have to stick
<?php getsidebar() ?;>somewhere in you bbpress theme file then mess with you bbpress css to make it fit.“..same sort of functionality with editing php and css templates, etc. in bbpress as with WP”
no such thing
March 24, 2010 at 3:51 pm #33830Topic: WP BBpress Synchronization
in forum PluginsMarch 24, 2010 at 2:03 am #33824Topic: https problem?
in forum Troubleshootingrdalton
MemberI have a fresh install of wordpress on a secured site. The default is https so cant use http when accessing. I’ve installed bb press on a subdirectory of the main site, hoping to integrate so members of the wordpress site could access the forum and vice versa, but after installing the bb press, I can’t log into admin to do anything in bb press. It doesnt give an error message, it just recycles to the login page. The server tech support guys havent a clue. I’ve seen that bb press works on https but what the heck? any clues? I would pay someone to get this up and integrated as needed.
March 23, 2010 at 11:15 pm #86080In reply to: Umlaut in member name
Dailytalker
MemberI looked a bit around and found a peace of code with which I was able to create a plugin.
<?php/*
Plugin Name: UTF-8 usernames
Description: This plugin enables utf-8 characters in usernames. Mbstring must be enabled in the php.ini.
*/
function sanitize_user_mbstring( $raw_username, $username, $strict = false ) {
$raw_username = $username;
$username = strip_tags($username);
// Kill octets
$username = preg_replace(‘|%([a-fA-F0-9][a-fA-F0-9])|’, ”, $username);
$username = preg_replace(‘/&.+?;/’, ”, $username); // Kill entities
// Usage of ‘mb_ereg_replace’ instead of ‘preg_replace’ to preserve accents.
if ( $strict )
$username = mb_ereg_replace(‘|[^a-z0-9 _.-@]|i’, ”, $username);
return apply_filters(‘sanitize_user_mbstring’, $username, $raw_username, $strict);
}
add_action(‘sanitize_user’, ‘sanitize_user_mbstring’, 0, 3);
?>
Unfortunately it doesn’t work properly. When it displays correctly in bbpress it doesn’t in wordpress and reverse. I don’t have access to the php.ini. Could it be, that the thing with “mbstring” is the problem?
March 23, 2010 at 11:07 pm #86026In reply to: Lost All Users (Including ME!)
cloner
Participantchrishajer,
I don’t know how to thank you enough for your patience and your help. I’ve just learned more than I EVER wanted to know about the interaction between bbPress and WordPress. I’ve changed the status of this thread to “resolved”, as all that was required to make this problem go away was to change the user_bbdb_password to the new WordPress database password. Voila.
Now I just need to figure out how to develop exactly the theme I want and I’ll be in tall cotton.
Cheers,
Cloner
ABQ, NM
March 23, 2010 at 7:50 pm #86077In reply to: Umlaut in member name
Dailytalker
MemberStrange is that this problem occurs only with member names. In the forum posts the umlauts are displayed correctly.
I use wordpress integration…in wordpress the member names are displayed correctly. Only in bbpress the umlauts are not displayed correctly in the member names.
March 23, 2010 at 3:56 pm #86023In reply to: Lost All Users (Including ME!)
cloner
ParticipantChris,
The forum was set up and functoned for years with the split databases. Posts are saved in the bbPress db, whilst users are saved in the WordPress db. Now, for some reason, bbPress cannot read the user info from the WordPress db. I’ve tried to reinstall, but once I’ve completed “Step 1” and click the button to move to “Step 2”, the page is redirected to the forum homepage and I never get an opportunity to get to “Step 2”. I assume the installation script realized that there is already an installation of bbPress present and refuses to go further.
My questions is, how (in the code) are bbPress and WordPress tied together? What could be fouled up that makes it impossible for bbPress to read the existing user data from WordPress?
March 23, 2010 at 10:54 am #33813Macmenddotcom
ParticipantSo a while ago now I moved my SMF site to bbpress and very successful it has been however I have only recently properly integrated my WP blog and bbpress. This now leaves me 15 WP members and the 3 or 400 forum members are gone. How do I import these BB press members and their meta data into WP. There is some talk o fthis on the forums but it is incoherent (for me). Is there a simple way to import them. Or to make the bbpress user table the default on instead of the WP user table.
March 23, 2010 at 5:10 am #86021In reply to: Lost All Users (Including ME!)
johnhiler
MemberWhat do you mean about the bbPress querying the WordPress database for user data? I thought most posts are showing up as Anonymous?
If they are different database, then that explains the problem. You want to install both WordPress and bbPress inside of a single database, if they are going to share users. This guide to integration might be useful.
https://bbpress.org/forums/topic/wordpress-and-bbpress-integration-101
It’s a bit outdated, but I’m guessing it will give you a nice lay of the land.
March 23, 2010 at 5:04 am #86020In reply to: Lost All Users (Including ME!)
cloner
ParticipantThey do not have the same dbname or dbusername. They are different databases, but somehow all of the user data is stored in the WordPress database and was (but isn’t now) accessed by the bbPress database.
In all this mess, the dbpassword for the WordPress database changed, and I was wondering if the bbPress install has a refugee outdated password for the WordPress database stored somewhere within its directory. Either this is true, or there is some other method by which bbPress queries the WordPress database for user data.
How do they link to share the user info in WordPress? I have a SQLdump of both databases, and only the WordPress one has user info in it.
March 23, 2010 at 4:40 am #86019In reply to: Lost All Users (Including ME!)
johnhiler
MemberWhen I integrate a WordPress and a bbPress install, I use a single database to hold both installs… that way, they can share the same users table.
Is your WordPress and bbPress data stored within the same database? One quick way to check that is to compare the config files for both: do they refer to the same database name/username/pw?
March 23, 2010 at 4:21 am #86017In reply to: Lost All Users (Including ME!)
cloner
ParticipantI have a valid dbname, dbusername, dbpassword, and dblocation in the bb-config.php file in the directory of the bbPress install. That seems to be correct, as bbpress now displays all of the posts from that database. Go to http://www.mh900e.org/parlare to see for yourself what I mean.
However, there is another database, used by WordPress, that I believe has all of the user info in it that is shared by both bbPress and WordPress. Does bbPress store information on the WordPress database somewhere so that it can retrieve user information and credentials? If not, how does it go to that database to get the user info? I think the “link” between bbPress and the user information in the WordPress database is what’s damaged or missing.
Any thoughts?
March 23, 2010 at 2:41 am #86014In reply to: Lost All Users (Including ME!)
cloner
ParticipantI’ve changed both keys to a much simpler phrase and things still don’t work.
Anyone know where bbPress gets it’s keys to query the WordPress database?
March 23, 2010 at 1:43 am #86013In reply to: Lost All Users (Including ME!)
cloner
ParticipantMoving along with my understanding of this system, I hope.
If I understand this correctly, somewhere in bbPress there is an area where the information for the WordPress database is stored so that bbPress can get the user table from it. Where is it stored?
I believe the password for the WordPress database changed and I need to change it where ever it is. I thought maybe it was in bb-config or bb-settings, but I don’t see the correct db name and username there anywhere.
Does anyone know where bbPress stores WordPress database info?
March 23, 2010 at 12:29 am #86012In reply to: Lost All Users (Including ME!)
chrishajer
ParticipantMake the keys the same, whatever you have to do to make it work. Remove any “special” characters because bbPress did not handle those correctly for a while, while WordPress did. So, I would remove single and double quotes and slashes and make them both identical. The actual key does not matter too much, and changing keys just invalidates existing login cookies. It’s more important to make sure they’re identical.
March 23, 2010 at 12:12 am #86011In reply to: Lost All Users (Including ME!)
cloner
ParticipantOK…..in bb-config.php, there is a line that reads:
// of the “SECRET_KEY” in the WordPress file wp-config.php
define(‘BB_SECRET_KEY’, ‘6koHWRD9d{XOEQ-S5+T[Or|TK[at.G8Qo~s,Z$]n:Yt:Ts%+uVpO.]MI3$’); // Change this to a unique phrase.
Then, in wp-config.php, there’s a line that reads:
define(‘LOGGED_IN_KEY’, ‘6koHWRD9d{XOEQ-S5+T[Or|TK[at.G8Qo~s,Z$]n:Yt:Ts%+uVpO.]MI3$’|P]tL’);
Notice the line in bbpress is missing the characters: ‘|P]tL’
I don’t know if the ‘ between and | is the end of the phrase and the P[tl is code, or if the whole ‘|P]tL should be added, but it seems odd that they don’t match EXACTLY.
Reckon this is an issue? I don’t know why it would have changed, but something’s askew.
March 22, 2010 at 10:11 pm #86007In reply to: Lost All Users (Including ME!)
cloner
ParticipantJohn,
I’m having trouble connecting to the databases at all. The previous admin says he’s checked the db and it’s intact.
I’m trying to get “back to stable” by reinstalling the site as I originally inhereted it. I deleted everything via ftp, then put back everything exactly as I inhereted it. No joy. I deleted wp-config.php to initiate the install program so that I could see whether or not the program is even trying to connect to the database. When I run install, I type in the original database metrics (database name, username, password, location) and after it generates a new wp-config.php (that looks exactly like the old wp-config.php) I get:
Error establishing a database connection
This either means that the username and password information in your wp-config.php file is incorrect or we can’t contact the database server at db1573.perfora.net. This could mean your host’s database server is down.
Are you sure you have the correct username and password?
Are you sure that you have typed the correct hostname?
Are you sure that the database server is running?
If you’re unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.
Is there anything that might have changed on either end that would change db user info (name, pw, etc.)? Why won’t this thing “hook up”? I’m REALLY lost. Has upgrading the database to a later WP made it unreadable to this older version?
March 22, 2010 at 5:24 pm #86003In reply to: Lost All Users (Including ME!)
cloner
ParticipantJohn,
It’s rather an odd situation, as I just took over administration of this board, so I’m not really familiar with the interactions of bbPress and WordPress. The WordPress installation had only one user (the original admin), and as part of the transition we intended to upgrade both utilities to their latest, greatest versions to leave me with a “clean slate” to work from. Our intended first step was to upgrade WordPress, which the original admin hadn’t updated in some time. I had, and still have, no credentials in WordPress.
Our intent was to simply delete the original install of WordPress and install the latest version. I took care of the file end, but upon install the program told me that there was already an installation in place that had to be deleted first. The previous admin then wiped the WP database. I believe this began our problem. Upon installing the latest verison of bbP, I discovered that bbP stores it’s user info in the WP database, so I think that killed us. I think that if the orignial admin restores that db we should be able to salvage our installs.
I don’t know the release of the original WP install, but if you’ll tell me where to look I have a local backup of the original site on my harddrive. Ditto bbP, though I think it was 0.8.3.
The discussion forums (the only really relevant part of the site, to my way of thinking) is at http://www.mh900e.org/parlare. I’ve installed 1.1.11 at the root (I was thinking about removing WP, anyway) and put up a single message telling users that we’re working on resolving other issues.
March 22, 2010 at 5:44 am #85996In reply to: BBPress Login Redirection
K. Adam White
MemberUpdate: I seem to have gotten it working, by inserting the following code directly to function
bb_safe_redirectwithinfunctions.bb-pluggable.php, right before the line checking against $allowed_hosts:$allowed_redirects = array();$allowed_redirects[] = 'offsite-feedback-forum.com';
$allowed_redirects[] = 'base-blog-url.com';
$allowed_redirects[] = 'base-blog-url.com/wordpress-installed-directory';
add_filter('allowed_redirect_hosts', 'add_allowed_redirect_hosts');
I originally tried to do this from a plugin, as the code above is copied from a handy WordPress plugin, but I was not able to get it to work without sticking it right within the pluggable.php file. If anybody has a better suggestion, I’d love to avoid editing the core files if possible!
-
AuthorSearch Results
Hello,
wp/bb sync used to work very well for me but all of a sudden i’ve got this problem:
the comment from bbpress to wordpress appears blank, no words in it. There is the name of the author, comment isnt in approval but is published on the site, counted in bbpress… just EMPTY, lol.
Plugin works perfectly the other way round, from wp to bb.
I am using WP version 2.9.2. and BBpress Version 1.0.2.
Does anyone has any advice, please? I really dont know how to get it back to work, i have tried and failed so many times, already.
Thank you very much.