Search Results for 'bbpress'
-
AuthorSearch Results
-
June 3, 2014 at 7:08 pm #147379
In reply to: Multi Assign/ Edit Forum Parents
Stephen Edgar
KeymasterYou got caught by the Akismet spam filter π
Anyways to answer your question, no, at this stage this cannot be done.
We have a few areas in bbPress we would like to be able to add ‘Bulk Edit’ to in the backend but we need some enhancements to WordPress be implemented upstream first.
June 3, 2014 at 6:24 pm #147377In reply to: Can't see any topics
Stephen Edgar
KeymasterRun the ‘Reset Forums’ tool which will delete all bbPress content, forums, topics, replies, settings, everything will be deleted.
Tools -> Forums -> Reset bbPress
June 3, 2014 at 6:17 pm #147375In reply to: This user has not created any topics
Stephen Edgar
KeymasterIt is not helpful, there have been vast changes to bbPress codebase since those posts and will only further confuse things.
June 3, 2014 at 6:12 pm #147373In reply to: This user has not created any topics
Stephen Edgar
KeymasterRyan, firstly please stop bumping old topics, create a new topics please.
I would first try running the bbPress repair tools to see if that fixes it (Tools -> Forums)
June 3, 2014 at 5:34 pm #147371Stephen Edgar
KeymasterHere is Robin’s code updated to only show the website if it is not blank:
function user_profile_bbp_website_information() { //this function adds the website to the profile display menu $url=bbp_get_displayed_user_field( 'user_url' ) ; if ( ! empty($url) ) { $label1 = $rpi_options['item1_label'] ; echo "<p>" ; printf ( __( 'Website : ', 'bbpress' )); $url='<a href="'.$url.'">'.$url.'</a>'; echo $url; echo"</p>" ; } } add_action ('bbp_template_after_user_profile', 'user_profile_bbp_website_information') ;To add the location you want to add this, this will add the field to their profile so they can edit and update it, you then just duplicate the code from either Robin’s or mine and replace
$urlwith$locationanduser_urlwithlocation:function ntwb_user_contact_methods_location( $user_contact ){ /* Add user contact methods */ $user_contact['location'] = __('Location'); return $user_contact; } add_filter('user_contactmethods', 'ntwb_user_contact_methods_location');June 3, 2014 at 5:32 pm #147370In reply to: Moderators Disappearing
John James Jacoby
KeymasterAdd some debug logging to
bbp_set_current_user_default_role()to narrow down the cause,(likely with dumping out the call stack.)You should be able to cowboy code something if you’re able to reproduce the issue with a test user account. If you’re able to come up with explicit instructions on how to duplicate this on an installation that only has bbPress running, I’d love to fix anything that isn’t behaving correctly.
June 3, 2014 at 5:18 pm #147369In reply to: Can't see any topics
ubicray
ParticipantRan all the repair tools one by one
Tried default theme, deactivating plugins … no result
Do you know how can I delete bbpress with all its settings? So i can install again and try
Now when I uninstall and install again, settings are preservedJune 3, 2014 at 5:11 pm #147367In reply to: Moderators Disappearing
JosiahW
ParticipantIt is a new multisite. We do not have any role editing software installed at this time. Here is the list of all plugins/theme we are using:
Theme
InspireBook by rtCampPlugins
bbPress
BuddyPress
rtMedia Pro
rtMedia for WordPress, BuddyPress and bbPress
WooDojoJune 3, 2014 at 4:15 pm #147366In reply to: Moderators Disappearing
John James Jacoby
KeymasterI see two possible ways this *might* fail:
* Multisite & calls to
switch_to_blog
*bbp_get_user_role()is returning multiple bbPress roles (either because some third party role editor plugin was used to manipulate things, or there’s some crusty old role data somewhere in there.)June 3, 2014 at 1:43 pm #147359ryan360
ParticipantI was able to accomplish this by writing a custom query. I was unable to find a solution ANYWHERE else on this forum despite numerous people asking the same question so I’m hoping this will help everyone out until the bbpress team fixes the bbp_get_template_part functions.
<?php $args = array( 'post_type' => 'reply', 'post_status' => 'publish', 'orderby' => 'title', 'order' => 'ASC', 'author' => $curauth->ID, ); $bbpressquery = new WP_Query($args); while ($bbpressquery->have_posts()) : $bbpressquery->the_post(); ?> <?php the_content(); ?> <?php endwhile; ?>Obviously you can modify the code above to show topics created, I was just trying to return all the forum posts created by a user.
June 3, 2014 at 12:45 pm #147354In reply to: MODIFY: Topic/Reply Author’s Profile Link
ryan360
ParticipantBump. I just copied that function into my functions.php file and it’s still linking to the default bbPress forum user page.
June 3, 2014 at 10:57 am #147349In reply to: Moderators Disappearing
Robin W
Moderatorsuspect this is a theme or plugin issue
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, switch to a default theme such as twentytwelve, and see if this fixes.
June 3, 2014 at 7:20 am #147346In reply to: Show pagination in single topic
Stephen Edgar
KeymasterI should have said the ‘bbPress templates’ in your Twenty Eleven theme
<link rel="stylesheet" id="bbp-child-bbpress-css" href="http://www.assorpas.it/wp-content/themes/twentyeleven/css/bbpress.css?ver=2.3.2" type="text/css" media="screen">June 3, 2014 at 7:17 am #147345In reply to: Newby a little lost
kowarler
ParticipantI added the bbPress attachments plugin, but does this store images on my domain?
I’d rather users were able to paste their photobucket ‘img’ links – how do I get that to work though?
June 3, 2014 at 6:42 am #147341In reply to: Show pagination in single topic
Stephen Edgar
KeymasterOK, I am with you now and by the way there is no such thing as a stupid question π
You should see a ‘reply’ link but when I look at your forum you are using WordPress 3.5.1, Twenty Eleven theme, a Twenty Eleven bbPress child theme and bbPress v 2.3.2. You also have other plugins modifying/extending the Twenty Eleven theme.
Why are you using old versions? Many of these modifications will be the primary cause of your issues and upgrading all of these and even a newer theme would fix most of your issues.
That is the first thing I would do, update to WordPress 3.9.1 and bbPress 2.5.3
June 3, 2014 at 6:06 am #147340Topic: Stopping Login and Register jumping to wp-admin page?
in forum Troubleshootingmorgykat
ParticipantHI,
I have added the bbPress Login widget to the side column of a /forums page, and set up a register page linked to from this widget at /register with [bbp-register]
Both the login and register functions work okay, but both jump to /wp-admin.php if a user enters the wrong details, e.g. a wrong password or a username already in use.
The question is how to make the forms post to the same page so that the error messages appear neatly on the login form on the /forums page and on the /register page.Is this possible?
wp version 3.9.1
bbpress version 2.5.3many thanks
Ian.
June 3, 2014 at 5:55 am #147339In reply to: Show pagination in single topic
aborruso
ParticipantHi Stephen I appreciate a lot your kindness and I’m sorry for my (a little) stupid request.
In this topic you have a the top the pagination of replies, and for every message the possibility to reply (I have highlighted these in the below image).
To have pagination replies with reply button, do I must use bbp_show_lead_topic?
Thank you
June 3, 2014 at 5:27 am #147338In reply to: Show pagination in single topic
Stephen Edgar
KeymasterNo, we use the same version, I think we may have our terminology crossed.
If you want the topic displayed at the top of every page like we do here so that you can still see the original topic when you are page 3 for example you want to use
bbp_show_lead_topicSee the following article and add that code to your themes
functions.phpfile.
(I think this is what you are after π )June 3, 2014 at 5:23 am #147337In reply to: Show pagination in single topic
aborruso
ParticipantThen here you use customized version of bbpress.
Am I right?
Thank you again
June 3, 2014 at 4:08 am #147333In reply to: Show pagination in single topic
aborruso
ParticipantHi Stephen Edgar,
sorry again, I’m not lucky with URLs πThank you very much, if I disable βThreaded Repliesβ I have pagination.
But I would like to have something similar to this topic https://bbpress.org/forums/topic/user-profile-pages-not-displaying-correctly/Pagination and reply enableb per post. How is it possibile to enable it?
Best regards
June 3, 2014 at 3:38 am #147332Stephen Edgar
KeymasterHa! Lets not hijack this topic any further, I updated my stance (or lack of) here π
June 3, 2014 at 3:23 am #147330Robin W
Moderator‘a big pet peeve of my mine’
and also of mine for exactly the opposite reason !!
Where I want the user to go down a route and not have to backtrack through 10 pages they have subsequently looked at, then your logic is fine, they will go that way.
Where clearly you want them to be able to take a look, but not lose where they are, then a new window is logical.
Finally I dislike the ‘thought police’ making up a standard and then trying to tell us what we should do. I thought the internet was about freedom of expression !
So taking the last sentence I wrote, then I have absolutely no issue with bbpress not coding for new window, but I would π
June 3, 2014 at 3:09 am #147327In reply to: Links not showing in Forum
Robin W
Moderatoryes the links are set as white in the display
try adding this to your style.css
#bbpress-forums .reply a { color : blue !important ; } #bbpress-forums .reply a:hover { color : green !important ; }I haven’t tested, but should work, come back if you need more help !
June 3, 2014 at 2:53 am #147322Stephen Edgar
KeymasterThere is actually a patch to add this permanently to bbPress 2.6
https://bbpress.trac.wordpress.org/ticket/2570
Do you think this is a good idea?
Should it be an active hyperlink or plain text? (I just realised my patch is only plain text)
Anyway, for now here is the patch as a plugin https://gist.github.com/ntwb/a19b187f2170235f16bf
(The extra HTML markup should match it to the existing profile fields for most themes)Note: If this is shipped with bbPress 2.6 you will then see two profile fields π
June 3, 2014 at 2:34 am #147321Robin W
ModeratorOk, this is what you wanted
function user_profile_bbp_website_information() //this function adds the website to the profile display menu { $label1 = $rpi_options['item1_label'] ; echo "<p>" ; printf ( __( 'website : ', 'bbpress' )); $url=bbp_get_displayed_user_field( 'user_url' ) ; $url='<a href="'.$url.'">'.$url.'</a>'; echo $url; echo"</p>" ; } add_action ('bbp_template_after_user_profile', 'user_profile_bbp_website_information') ; -
AuthorSearch Results