I’ve translated bbPress in to the Dutch language, no problem at all. I just found a old translation file, and edited a bit. So, evry thing just works just fine
Hi _ck_,
Ugh– I am looking but I really have no clue about this or what I am looking for.
I did check the table and analyze the table but it came up all clear.
I don’t suppose I can hire you for a small job?
So first off I’d like to thank those involved for building such a great tool. I’ve enjoyed tweaking and expanding on whats currently offered… Now I’m a little hesitant to post this yet but I’m going to anyway 
http://saintseanzys.com/boards/
Ofcourse I need to rub out few minor bugs but other then that i think she looks pretty damn skippy.. I’d really appreciate a sign up or two.. I’d gladly wander over to yours and give a post or two
I’m having the same issue it seems line 212 of functions.bb-topics.php is where things go south. I am running bbPress is 1.0-Alpha-6 and WPMU 2.7.
Effectively bbPress tries to insert an empty string into the topic_id field, which is an INT with auto increment and of course MY SQL returns in error “Incorrect integer value: ” for column ‘topic_id’ at row 1″.
Digging into the code further the defaults array is setting topic_id = false on line 151, remove topic_id from the defaults and things work fine. Looking at trac it seems this was fixed in r2014. I’m going to install and see what happens.
At least the system can find the file now.
The Cannot redeclare errors are usually because a function of the same name has already been declared, thus it can’t be redeclared.
What versions did you integrate?
hey chris, thanks i just did that.. but i still get an error, it some what smaller though but its this:-
Fatal error: Cannot redeclare _http_build_query() (previously declared in /home/eraxeco1/public_html/massbase.com/community/bb-includes/backpress/functions.compat.php:21) in /home/eraxeco1/public_html/massbase.com/wp-includes/compat.php on line 45
now i haven’t touched any other file, i havent touched compat.php either.
Try using the file path to the file rather than a relative path. The system is telling you it can’t find the file in that location. Try this:
require_once('/home/eraxeco1/public_html/massbase.com/community/bb-load.php');
Wow, thanks for that. Any specific action or filter you’d recommend I attach this to so I can insert it without modifying template code? Like the sidebar? I’m new to bbPress and I don’t know what all the plugin API’s are. If I attach it to the sidebar, do you want the code?
Im using the latest alpha version, My wordpress is on root, and my forum is on a folder called /community.
I put this on wp-config.php :-
require_once('/community/bb-load.php');
im getting this error:-
Warning: require_once(/community/bb-load.php) [function.require-once]: failed to open stream: No such file or directory in /home/eraxeco1/public_html/massbase.com/wp-config.php on line 2
Fatal error: require_once() [function.require]: Failed opening required '/community/bb-load.php' (include_path='.:/usr/lib/php') in /home/eraxeco1/public_html/massbase.com/wp-config.php on line 2
First: Thanks to all developers and coders for coding and working on bbpress and specially to ck for great plugins.
So, I have installed bbpress 0.9.0.2 installed (http://spinus.info/forum) and Topic Icons plugin 0.0.5
Trouble: sticky topics are displayed only on front page in “latest discussions” field. If I try to open a sub-forum, where sticky topic is situated in separate window, a topic is not visible.
So, there is a sticky topic: http://spinus.info/forum/topic.php?id=102&replies=1
You can see it in a latest discussions field as sticky.
But if you would open its parent forum http://spinus.info/forum/forum.php?id=30
Sticky topic is not shown
what’s a matter? Please, HELP!!!
Just install my bbpress theme switcher plugin, disable the dropdown.
Then replace function bb_ts_get_theme() {
with something like this (untested, will need some editing)
function bb_ts_get_theme() {
$theme="kakumei"; // default fallback
$domain=strtolower($_SERVER['HTTP_HOST']);
if (strpos($domain,"first-domain.com")!==false) {$theme="1st-theme";}
if (strpos($domain,"second-domain.com")!==false) {$theme="2nd-theme";}
return $theme;
}
bbxf came out of last year’s summer of code so hopefully this year will be as good.
You can set a cookie and make it semi-permanent.
Because there is also a filter in that function, you do not need to hack the core.
$locale = apply_filters('locale', $locale);
You would make a mini-plugin something like this
add_filter('locale', 'language_switcher');
function language_switcher($locale) {
if (!empty($_REQUEST['lang'])) {$locale=substr(strip_tags(stripslashes($_REQUEST['lang'])),0,30);}
return $locale;
}
You still have to write the code to make some kind of pulldown/menu to select the language and set the cookie.
There is a language switcher for wordpress that could be ported to bbPress, I think there was some talk about it around here and someone else made their own too.
Oh here it is:
https://bbpress.org/plugins/topic/user-languages
There is a mini-plugin for i18n usersnames.
https://bbpress.org/forums/topic/diacritic-letters-i-username-like-goran#post-14205
But there are fundamental flaws in how bbPress uses usernames and unicode characters might interfere with proper operation.
I also don’t see any real attempt to sanitize in there, so there might be security risks.
According to Sam, bbPress supports unicode display names, not unicode usernames:
https://bbpress.org/forums/topic/check-out-this-very-nice-r-t-l-arabic-bbpress
Not sure about future versions, but it sounds like version 1 isn’t gonna support unicode usernames…
There is no such plugin or ability yet (or any expression of need for such an ability).
If you know how to code in PHP you might look at the experimental tag filter I made inside of the Hidden-Forums plugin to see how such a query would be done. You could then use the query to create a custom view for the topic results.
Hey _ck_,
Well I threw both files into diffmerge. The ‘do_action and apply_filter’ code is there. My file was missing ‘php echo $key’ – but I really don’t know if that matters or not.
I think I might give it a while and see how it goes without the plugin. If I find I can’t live without it I may be back!
BTW, I spent some time on your site last night. The top 100 list was very interesting and inspiring!
Thanks for the hard work!
Whew! Clearing cookies did it. Thanks
I just upgraded to WP 2.71 also, should have mentioned that.
It’s possible because I was testing it on 1.0 that 1.0 automatically escapes the mysql values passed and that 0.9 does not. I can’t remember.
Try adding this before the $bbdb->query
$pmtitle=mysql_real_escape_string($pmtitle);
$message=mysql_real_escape_string($message);
and see if it helps or if it just add slashes to your text instead and breaks it.
It may also be a quote problem but I thought the bbpress pre/post text filters should encode quote or any other problematic characters.
Try this one
<?php echo ( get_topic_author());?>
Something I just realized and I should have noticed / asked sooner.
You are using a custom template. A very common problem with plugins when you use custom templates is they have accidentally removed some critical actions / filters.
Open up your register.php template and open up the original bb-templates/kakumei/register.php template.
Compare the two, specifically looking for any do_action or apply_filter that you are missing.
In your case, specifically
<?php do_action('extra_profile_info', $user); ?>
but I suspect you have that, or you’d see nothing from the plugin.
So to be clear, it’s happening after you successfully submit it, not the message on the same page you type in the password right?
The password error only happens for two reasons, either the primary password doesn’t match the confirmation or the password is less than 6 characters.
The $_POST data must be making it through because you’d get a different error.
I assume you tried various passwords and aren’t using multibyte (unicode) password or with slashes in them.
I guess it would be a good alternative to akismet (or even in addition to).
Your code can be cleaned up and condensed considerably.
It also could benefit from some security checks on the $_POST data being injected into the url.
Here is an untested, condensed version with some mild security checks on the $_POST
http://pastebin.com/f7a50d82a
(there is also an alternative to curl in there for the 50% that don’t have it on their server)
I took out some of the extended manipulation of the returned data that you didn’t need.
Sorry, looks like I left some customized leftovers in there.
Simply remove line 5 entirely or comment it out like this
<?php // my_views_header(); ?>