Forum Replies Created
Curiously, I have exactly the same problem with the Messages inbox
Setup WP 3.5.1, BP 1.6.4 theme is slight mod. child of bp-default.
The details are as above :
A user goes to Profile. Selects Messages -> Inbox. Enters a search term in the inbox search field. Results are shown fine, but clicking to go to page 2 results in blank page only with a ‘0’ on.
The URL for this blank page is `/wp-admin/admin-ajax.php?mpage=2`
I’m guessing it’s related to the move from wp-load to admin-ajax. But how?
I have the same problem on the same setup and have conducted the same test.
I thought it was a problem with W3TC as this has had some instabilities over the last few releases, but not so.
I suspect that the cause of this is also the cause of Activity stream updates not working on my site.
Am sooo looking forward to 1.7
First of all, my comment above about `split()` is obviously wrong since this is JS `split()`, not PHP
Anyway, having looked a bit deeper it is exactly the (JS ) `split()` is the culprit.
The id being `split()` contains the string
The code will split this on `-` and return the second part. This works great, as long as
has no `-`.
The site where I have seen this error uses user names of the form `john-doe`. The code therefore splits the `id` into three parts `un`, `john`, `doe` and returns the second part, `john`. Then it tries to remove class `john` which fails since the class to be removed is `john-doe`.
As far as I can see `-` is allowed in user names https://codex.wordpress.org/Function_Reference/sanitize_user
Any ideas for a workaround?
Thanks for chiming in!
Good point about bp-custom, will use that instead.
Indeed, the child-theme functions php is called before the parent-theme functions php
The function `bp_dtheme_setup()` where the button is added in bp-default is made pluggable as I’ve just learned that it should be
Therefore, the solution is to override the function in child-theme functions php.
That is, copy the function `bp_dtheme_setup()` from bp-default/functions php to child-theme/functions php and comment out the lines
if ( bp_is_active( ‘activity’ ) )
add_action( ‘bp_member_header_actions’, ‘bp_send_public_message_button’, 20 );
Hope it helps someone!
Ohh, I should add that this plays nicely with tinyMCE advanced and probably also with Ultimate tinyMCE and other editors.
The user should be allowed to use the editor as per the setting Users -> user -> Personal Settings -> Visual editor in the Dashboard.
I was sooo looking forward to this, but now I can’t seem to find it
Setup WP 3.4.1, BP 1.6.
Upgraded an existing BP installation with group forums only.
Used to achieve this functionality with plugins Ultimate TinyMCE and U BuddyPress Forum Editor. Doesn’t work on my new setup.
Any help much appreciated!