I want to use for my class BBPRESS. I installed the forum here:
http://ftp.itcs.tsinghua.edu.cn/papakons/teaching/gradcomplexity10/bbpress/
However, I’m getting the following message:
“
Deprecated: Assigning the return value of new by reference is deprecated in /home/apache/www/ftp/papakons/teaching/gradcomplexity10/bbpress/bb-settings.php on line 186
…
“
I sent an email to the sys-admin and he replied that this is a problem with bbpress, since he has installed php 5.3.3 and the bbpress code is not compatible. In fact, what he says makes sense to me, since the use of an instruction becomes deprecated later in time and bbpress 1.0 was developed before php 533.
any suggestions of how to correct this?
thanks!
Periklis
Hi everyone. Can anyone advise what code or command may be required here? The BBpress Forum has a nice slim width which would allow us to place it inside a WP site but there are nop instructions on how to do this.
Thanks very much in advance.
Check your usermeta table for correct capabilities.
wp_usermeta if you are sharing user tables, otherwise bb_usermeta
Check this http://img101.imageshack.us/img101/8122/killl.png
The entry for your user ID (most probably 1) should be a:1:{s:9:"keymaster";b:1;}
Check your usermeta table for correct capabilities.
wp_usermeta if you are sharing user tables, otherwise bb_usermeta
Check this http://img101.imageshack.us/img101/8122/killl.png
The entry for your user ID (most probably 1) should be a:1:{s:9:"keymaster";b:1;}
The solution will be to dig into the code, add an extra field to the table, and set this field with the real password (encrypted with a workable encryption routine) the next time a forum user logs on.
After a reasonable length of time all users should have logged back on and an accessible copy of the password obtained.
As said I still don’t understand why the md5(‘mypass’) does not match the one in the table – there must be a comparison made at some stage or no one would ever get logged in.
The solution will be to dig into the code, add an extra field to the table, and set this field with the real password (encrypted with a workable encryption routine) the next time a forum user logs on.
After a reasonable length of time all users should have logged back on and an accessible copy of the password obtained.
As said I still don’t understand why the md5(‘mypass’) does not match the one in the table – there must be a comparison made at some stage or no one would ever get logged in.
I made a blog post on how I did the sitemap using the existing plugin:
How to create a Google XML Sitemap bbPress
It works for me 
Regards
@Gautam: right. So weird… If you have the default Permalinks and you change them it doesn’t work. But if you save again it does 
I guess the plugin will flush it itself in the future, right?
Just registered a project on LaunchPad. Browser the source for index.php and tell me what you think 
https://launchpad.net/bbpress-mobile
Just registered a project on LaunchPad. Browser the source for index.php and tell me what you think 
https://launchpad.net/bbpress-mobile
@alexvorn2 No but like @Gautam said I thought was not necesary
@quicoto did you add the code
add_filter(‘init’,’flushRules’);
function flushRules(){
global $wp_rewrite;
$wp_rewrite->flush_rules();
}
in the bbp-functions.php ?
@Gautam yeap, I like to see a Month and name permalink instead of the Default, by Default it’s ok but if I choose other, without the code I mentioned in the previous message it doesn’t work.
hi everybody!
I downloaded the pre-alpha bbPress plugin and it doesn’t work 
I added some codes to bbpres-functions to make it work:
add_filter(‘init’,’flushRules’);
function flushRules(){
global $wp_rewrite;
$wp_rewrite->flush_rules();
}
and then I realized that the plugin is useless at this stage
)))
OK… Here is my workaround for this problem:
1. In functions.bp-pluggable.php, under:
if ( !bb_get_option( 'email_login' ) || false === strpos( $user, '@' ) ) { // user_login
Add:
$user = strtolower($user);
2. In class.wp-user.php, under:
$display_name = $user_login;
Add:
$user_login = strtolower($user_login);
Voila – CaSe InseNSitIvity! Note that the placement of the strtolower() functions is important and allows the user to retain Case Sensitivity in their display_name (while changing their user_login to lowercase). I haven’t seen any untoward side effects yet, but will let you know.
Nice talking to me!
OK… Here is my workaround for this problem:
1. In functions.bp-pluggable.php, under:
if ( !bb_get_option( 'email_login' ) || false === strpos( $user, '@' ) ) { // user_login
Add:
$user = strtolower($user);
2. In class.wp-user.php, under:
$display_name = $user_login;
Add:
$user_login = strtolower($user_login);
Voila – CaSe InseNSitIvity! Note that the placement of the strtolower() functions is important and allows the user to retain Case Sensitivity in their display_name (while changing their user_login to lowercase). I haven’t seen any untoward side effects yet, but will let you know.
Nice talking to me!
Perhaps the only solution to this is to replace all the hashing code and store a retrievable passford in the field.
It is going to really upset the users having to go through registration again but it is far better getting one hit of all the frustrated users while I can blame it on the dumb software rather than being hit by the same problem time and time again as new users forget their passwords, we integrate other systems, etc.
I still don’t get why md5(mypass) doesn’t give the same as in the database and I really cannot be bothered unraveling all the code to find out what is not obvious.
Perhaps the only solution to this is to replace all the hashing code and store a retrievable passford in the field.
It is going to really upset the users having to go through registration again but it is far better getting one hit of all the frustrated users while I can blame it on the dumb software rather than being hit by the same problem time and time again as new users forget their passwords, we integrate other systems, etc.
I still don’t get why md5(mypass) doesn’t give the same as in the database and I really cannot be bothered unraveling all the code to find out what is not obvious.
OK. I’m thinking that I could somehow modify this function in functions.bb-users.php:
function bb_get_user( $user_id, $args = null ) {
global $wp_users_object;
$user = $wp_users_object->get_user( $user_id, $args );
if ( is_wp_error($user) )
return false;
return $user;
}
OK. I’m thinking that I could somehow modify this function in functions.bb-users.php:
function bb_get_user( $user_id, $args = null ) {
global $wp_users_object;
$user = $wp_users_object->get_user( $user_id, $args );
if ( is_wp_error($user) )
return false;
return $user;
}
To put it simply I need to unhash / decrypt the password to reveal the current password in the database.
I have found this topic http://bbpress.org/forums/topic/cant-administer-my-site#post-73724
which indicates the password is md5 encoded
However testing md5(‘mypass’) in mysql5 produces a value quite different from the ‘mypass’ used in the bbPress table.
Don’t know what seems to be the problem.
I am trying to have a non-english language on the front side by keeping the admin panel in English only.
I defined the BB_LANG in config file and now I can’t get the filter to work.
add_filter('locale', 'bb_language_switcher_filter');
function bb_language_switcher_filter( $locale )
{
if ( bb_is_admin() )
$locale = 'en_US';
return $locale;
}
Even this doesn’t work
add_filter('locale', 'bb_language_switcher_filter');
function bb_language_switcher_filter( $locale )
{
$locale = 'en_US';
return $locale;
}
So I guess I am doing something wrong here.
The filter is in bb_get_locale() located at line 41 in bb-includes/functions.bb-l10n.php
Tried downloading the latest from Trac but I got the “invalid header” error. I don’t think I’m gonna bother asking for support about these things, so I’d rather wait for an official alpha release that’s got the bare basics put together. Great job though