Search Results for 'test'
-
Search Results
-
I have bbPress installed in a directory called “forums” on my web server. I have Pretty Permalinks enabled and working. To view the profile of a member, I can go to this URL:
http://www.example.com/forums/profile/membername
However, I would like the url to be:
http://www.example.com/profile/membername
I’ve tried writing a mod_rewrite rule which rewrites the latter to the former. However, instead of rewriting it, it redirect and exposes the URL. For example. Typing this into the browser:
http://www.example.com/profile/membername
Redirects to this, instead of rewriting it:
http://www.example.com/forums/profile/membername
Here is the mod_rewrite I am using:
<IfModule mod_rewrite.c>
RewriteEngine On
Options +FollowSymlinks
RewriteRule ^profile/membername$ /forums/profile/membername [L]
</IfModule>If I change the rule to rewrite the URL to a simple text file, it rewrites properly and masks the URL. For example, this works:
<IfModule mod_rewrite.c>
RewriteEngine On
Options +FollowSymlinks
RewriteRule ^profile/membername$ /forums/textfile.txt[L]
</IfModule>Another example, I wrote this rule, as a test, to rewrite a URL to the rewrite-rules.php file:
<IfModule mod_rewrite.c>
RewriteEngine On
Options +FollowSymlinks
RewriteRule ^profile/membername$ /forums/bb-admin/rewrite-rules.php [L]
</IfModule>I type in this url into my browser:
http://www.example.com/profile/membername
And it redirects to ths instead:
http://test.doublebad.com/forums/
If I replace all the text in the rewrite-rules.php file with “test text”, then the URL rewrites properly.
So it seems that when you are rewriting and URL to a bbPress php file, it will always redirect instead of rewriting, which is quite annoying. I’m trying to trace in the bbPress functions and settings where this is occuring. But I’m having no luck.
Any suggestions?
A few days ago, out of the blue, users of my bbpress forum reported that submitting a new topic/post resulted in an error. Previously, my bbpress forum was working perfectly. However, over the last few days, I have verified that if you submit a new post or leave a comment, the browser takes you to bb-post.php, where the page hangs. You can verify this on my forum using user “testuser” and password “test123”.
There are a few weird things about this:
- I hadn’t touched the server for some time prior to this sudden problem, so it’s weird that the problem started, since I hadn’t changed anything
- I’ve been running two bbpress forums authenticated against the same WP user table. The problem is only with the first bbpress installation, while the second bbpress installation continues to work with no problems.
- When you post, the browser returns a 500 internal server error, and doesn’t display a “die” message, e.g. “You need to actually submit some content!”
- Although the browser returns a 500 internal server error, the posted content does go through.
I’ve hand-inspected http://boards.weddingbee.com/bb-post.php, and it has exactly the same PHP code as http://classifieds.weddingbee.com/bb-post.php. I’ve tried everything I can think of… I disabled plugins and Akismet, and the problem didn’t go away. (I’ve turned them back on.)
I’m using bbPress 0.83, with bb_db_version 788. I haven’t upgraded to bbPress 0.9.0.2 yet because I’ve integrated my WordPress 2.33 install with two bbPress installs and a Mediawiki install, and it will be a ton of work to reintegrate. However, that is the next step…
Does anybody have any ideas?
Hi!
I made a small plugin that lets users show of their latest Tweet on their profile page. The user turns the option on or off as they please.
It’s nothing fancy, but it works.
It has been tested with bbPress 0.9.0.2 and 1.0-dev, but should work on earlier versions.
Regards,
Rune
Topic: bb-avatars (gr)avatar plugin
I’ve made a plugin that lets you set your own default gravatar.
You can also choose to use Identicons, Wavatar or monsterID as the default gravatar.
You set the size and the rating you want.
This plugin overrides the built in Gravatar function, but you still have to choose to show the avatars in the standard options page, but all other gravatar options from that page is ignored.
I’ve tested it on bbPress 0.9.0.2 and 1.0-dev (from trunk), but it should work on all 0.9.x versions.
You can download the plugin from here.
I’ve also submitted it to the plugins list here on bbpress.org, and will (hopefully) show up there to
—
RG
Topic: Troubleshoot integration
I’m using the latest versions of bbpress and WordPress. I intalled bbpress to be integrated with WP. however, when I click over from the WordPress site to the bbpress site I am not already logged in. Is there a list to troubleshoot to see why this happening? I have done as much as I can do so far (eg checking secret words etc).
More irritatingly I find that I’ve been logged out of the WP site when I go back.
Thx.
Hi folks, there seem to be many people out there having similar issues, but I’ve spent all evening looking through for a solution and still no luck.
I’m trying to do a full integration of bbPress 0.219 and WordPress 2.51, full integration meaning that bbPress should load WordPress functions and vice versa.
WordPress appears to be playing very nicely and loading bbPress template tags with no problems at all. I’ve done this using
//BBPress Integration
if ( !defined('BBDB_NAME') )
require_once(ABSPATH.'forum/bb-load.php');
at the very end of my wp-config.php file, as per the tutorial at
http://www.adityanaik.com/integratepress-part-i/ . As I say, no problem so far.
It’s when I try to load WP functions into bbPress that I run into trouble. When I’ve attempted either of the following two mods to bb-config.php, it has disabled user login, as well as blocking me from /bb-admin (which re-directs straight back to home). The two mods to bb-config.php I have tried are:
// WordPress Integration //
define('WP_BB', true);
if ( !defined('DB_NAME') ) {
require_once( dirname(__FILE__) . '/../wp-config.php');
}
// **Wordpress Variables ** //
$bb->wp_table_prefix = 'wp_'; // your wordpress db prefix is
$bb->wp_home = 'http://localhost/bloomag';
$bb->wp_siteurl = 'http://localhost/bloomag';
or simply
require_once( 'C:testingserverwwwbloomagwp-blog-header.php');
With both these mods, the bbPress page loads up with no problems but, as I say, both /bb-admin and any attempt to log-in give no response and just redirect to the hompage.
Has anyone got any suggestions for what might be going wrong and the correct method to call WP functions into bbPress?
Thanks a lot,
>Ben