hi! i need a plugin, file or script for insert image, youtube video, avi etc into my bbpress post. I try with fckeditor but i have problem when i insert youtube video. How i can do? Help me!
8-BitBrother,
I think this plugin will help you:
https://bbpress.org/plugins/topic/15?replies=1
It allows you to have non-english characters in your name, as well as spaces, dashes, underscores, etc.
This code is written for PHP5. It works perfectly.
PHP4 users will need an extra piece of code, however, because the function file_put_contents does not come with PHP4.
So copy this piece of code and paste it on the bottom of the php file, but before the ?> tag
if (!function_exists('file_put_contents')) {
function file_put_contents($file, $contents = '', $method = 'a+') {
$file_handle = fopen($file, $method);
fwrite($file_handle, $contents);
fclose($file_handle);
return true;
}
}
Not sure if this helps, but mdawaffe (head cheese) put this up a few months ago:
https://bbpress.org/forums/topic/4?replies=3#post-16
Trent
I’m having a problem with my integrated bbpress install. Word Press allows users to create names that include spaces in their names
(ex: “Mr Happy”)
But these users cannot log into bbpress because it does not allow for names with spaces. After the log in it removes the space so that “Mr Happy” now reads “MrHappy”.
If there a way to fix this so that bbpress will let these users login other than changing their names? Thanks!
Nothing automatic, but you could create the users yourself as an admin with this plugin:
https://bbpress.org/plugins/topic/29?replies=4
Trent
This thread makes it sound like the category feature will be added into the core? Any idea when will this plugin stop working?
I really do not understand,
http://www.dfur.com/designer_furniture/page/2 redirects 301 to http://www.dfur.com/designer_furniture.
Why is this? I have no 301 in htaccess!!! Is this a bbPress thing?
URL=http://www.dfur.com/designer_furniture/page/2
Result code: 301 (MovedPermanently / Moved Permanently)
I wouldn’t really expect this Forum Category hack/enhancement to last too much longer though… Read from here down:
https://bbpress.org/forums/topic/698/page/2?replies=39#post-5087
spencerp
/Currently running Trunk 1.0-alpha, and the Forum Cat hack just doesn’t play nice with it. Also, like it says there, sounds like something similar is being implemented into core. I don’t know for positive, but, I uninstalled the Forum Cat hack though..
Is there a way to have bbpress automatically issue a username and password that is not sent via email. I’m trying to setup an anonymous discussion board so I don’t want any way that the users could be identified. Thanks for the help!
My WP cookies have a hash added to the end of their name (using WP 2.1), this hash is the same as the password hash. Did you delete this/edit it in WP?
diff is your friend to find the differences. You might want to diff the original and your modified version, then once you see what you changed, diff the .8.1 files with the originals and see what changed there. Then you’ll need to reconcile all the changes.
This is the sort of thing that prompted me to ask about using svn to take care of the changes.
https://bbpress.org/forums/topic/797
I noticed there are a lot of changes to the default theme in this security update. My custom theme was heavily based on the default; will I somehow have to locate and propagate these changes to my custom theme? Or were the changes merely cosmetic?
Maker, Yes indeedy…this is definitely SamBauers plugin being used. It’s great. Be sure to read the whole thread, because if you don’t update every forum by adding it to a category, then you WILL suffer the consequences! (you’ll get some nifty mysql errors until you fix it).
Also, my suggestion to ANYONE using this patch…use it BEFORE you implement your design. I had quite a few things that had to change when I implemented it, as the post/category/forum hierarchy was quite a bit different from teh standard install. My CSS classes got ALL out of whack.
Good luck!
Well, I got it working, but it uses a hack rather than a plugin. It wasn’t too hard, I guess I could document the hack until such time as I work out how to make it a plugin.
The thing I don’t quite ‘get’ yet (not having made a plugin for either WordPress or bbPress before) is how to modify the behaviour of an existing function. If I write my own version of a function, will it overwrite the existing function?
Yeah. Request already
waiting for approval.
Do you have a URL where this can be seen in action? Sounds like the posts are being caught as spam or the users are being marked as bozos. I haven’t heard of this specific problem, although this might be close:
https://bbpress.org/forums/topic/643
There was a plugin created recently that dealt with the bozo issue:
https://bbpress.org/plugins/topic/37
Not a patch, not a new release, a plugin. You need to drop it into a my-plugins folder, which you might need to create first if you do not already have one. It goes in your forum root and you just create a folder called my-plugins, then put this plugin into that folder.
I’ve just installed the 0.8.1, every time a write a new post with an Administrator or a normal account my post is marked as Deleted (DB > post_status = 2) and in fact bbPress won’t show nothing but the first post after installation (First Post! w00t).
Sometimes when i push the Delete link the post will turn on and finally appear.
I use 2 different installations and got the same problem.
I don’t use both permalink and Wordpres integration, no plugins, the only basic installation.
Glad you got it working! Marking the topic as resolved!
Trent
I fixed it! o/
Remember how the cookies “looked” identical?
Well they weren’t.
The cookies created by bbpress added the hash to the end of the cookie name.
Both Safari and Camino didn’t reveal this, but Flock did. I was using these other browsers as a testing platform because I needed to clear cookies in between each test.
I added:
$bb->usercookie = 'wordpressuser';
$bb->passcookie = 'wordpresspass';
To my bbpress config to solve the problem. (which I found on one of the links you sent me)
I actually like the idea of the cookie name including the hash. Isn’t this more secure? Correct me if I’m wrong, but wouldn’t this make it near impossible for another site to read that cookie?
Thanks for your help Trent!
It will still let different cookies if you don’t have them ‘integrated’ for the login from the config.php. That is why I was leading you towards those articles. I am sure being an WPMU user you are fully aware of working with complex issues and I didn’t want to try and ‘dumb it down’ too much. In terms of the cookies issue, I have had plenty of problems moving things around and changing structures to know that the ‘WordPress Integration’ under the bbPress Documentation is the best when bbPress is in a directory inside WordPress, but not always!
If you let me know how you have it setup and what you have in your wp-config.php and config.php for cookie and integration stuff, I might be able to assist more. I just know that if you already installed bbPress and it is using bb_users versus wp_users, it might be harder to get the cookies working (at least in my experience)..
Trent
Thanks for the heads up Trent. Unfortunately those mostly focus integration of user databases etc. Which I have already done.
Perhaps I’ll take a look at how each application is looking for the cookies. There might be a clue in there.
It seems most people have the forum in a sub directory of wp,.. which makes things much easier.
But what I don’t understand is,.. the cookies are IDENTICAL… why doesn’t it work?
Done. I’m glad to help bbPress.
You can define the parameters like the cookie name and domain, so you should be able to do what you want here. There is already functions though that can do things if a user is logged in. For example:
<?php if (bb_current_user_can('write_posts')) : ?>
DO SOMETHING
<?php endif; ?>
This has it so if the user is logged in and can write posts (default member) then do something or put in a piece of code.
Hope that helps.
Trent
That would be great if you could do that Atsutane as it allows you to have the ‘working’ code up and the ‘work in progress’ code as well! Just a thought!
Trent