Search Results for 'bbpress'
-
Search Results
-
Hi,
I am about to migrate my current bbpress site over to a new server and would like to freeze posting and registration so that the databases don’t get out of sync. I don’t really want to take the whole forum offline, though.. I’d like visitors to still be able to read through the existing posts. Does anyone know of a quick way to do this?
TIA
I set up an integrated BBPress and MU WordPress on Nginx. There may be a better way of doing the rewrites but these work well for me.
Here are the BBPress Nginx rewrites:
location /forums/ {
root /home/YOURDIRECTORY/public_html/forums;
index index.php;
if (!-e $request_filename) {
rewrite ^/forums/topic/(.*)$ /forums/topic.php?q=$1 last;
rewrite ^/forums/forum/(.*)$ /forums/forum.php?q=$1 last;
rewrite ^/forums/profile/(.*)$ /forums/profile.php?q=$1 last;
rewrite ^/forums/view/(.*)$ /forums/view.php?q=$1 last;
rewrite ^/forums/tags/(.*)$ /forums/tags.php?q=$1 last;
rewrite ^/forums/rss/(.*)$ /forums/rss.php?q=$1 last;
rewrite ^/forums/bb-admin/ /forums/bb-admin/index.php last;
rewrite ^/forums/ /forums/index.php last;
break;
}
}
Here’s a full write up here:
http://dev.honewatson.com/bbpress-wordress-mu-integration-nginx-pretty-urls-rewrites/
This is a regular problem on my forum. bbpress seems to remove the image part of the banner as there is missing code. Usually I can work out where the missing tag goes. In the case of the following TradeDoubler code, I can’t! Any suggestions much appreciated.
<script type=”text/javascript”>
var uri = ‘http://impgb.tradedoubler.com/imp?type(img)g(16463372)a(1422608)’ + new String (Math.random()).substring (2, 11);
document.write(‘<img src=”‘+uri+'” border=0>‘);
</script>
This plugin can validate more deeper. Not only the HTML tag’s attributes, but also the contents of attributes. You can set your own regular expression for attributes. For example, you want limit users to post Flash videos only from YouTube or Google, then you can restrain the
src
attribute.Sample posts: This post shows you an embedded YouTube video and this has a image floating at right side.
Visit Plugin page or directly download HTMLTagAttributesValidator.php.
Any comments on this plugin are very welcome.
I’ve tried editing usernames in the db to no avail.
How can I have users like $tevie show the “$” on their posts in topic.php — just show the whole name. Out of the box, bbPress simply ignores the funny chars, so we see “tevie” as the post’s author.
ASCII equivalents too, like the copyright symbol (damn phpBB loose username validation).
I’m willing and able to edit the few usernames in the db by hand. I have a few of these funny char names from my port from phpBB.
Topic: No New posts for members
Hello!
I want to restrict new posts in bbpress only to moderators and admins. What is the best way to do it?
I’ve found a very simple way editing capabilities.php but I would like to avoid editing the source code.
'member' => array(
'name' => __('Member'),
'capabilities' => array(
(...)
'write_posts' => false,Thanks.
Topic: Upgrade problems
I upgraded as instructed on bbpress’ upgrade page, but received the following errors:
Warning: main(/home/pinewood/public_html/bbpress/bb-includes/db.php) [function.main]: failed to open stream: No such file or directory in /home/pinewood/public_html/bbpress/bb-settings.php on line 93
Warning: main(/home/pinewood/public_html/bbpress/bb-includes/db.php) [function.main]: failed to open stream: No such file or directory in /home/pinewood/public_html/bbpress/bb-settings.php on line 93
Fatal error: main() [function.require]: Failed opening required ‘/home/pinewood/public_html/bbpress/bb-includes/db.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/pinewood/public_html/bbpress/bb-settings.php on line 93
I used my old config file, templates, and plug-ins (I never had an htaccess file though?). Any thoughts?