Forum Replies Created
-
In reply to: How to add user profile link to specific menu?
I am sure the profile menu link has a class in it that you can find in the source code using the dev tools, and from there you can just float it to the left with CSS.
something like
.class { float: left; }
In reply to: css advice needed for forum posts on mobile deviceGive me a minute to finish creating some trac tickets for a mobile layout in bbPress. I am trying not to include everything one single trac ticket.
The mobile layout I was working on long ago was never really that great from what I can see now. It does take some points from other forum software though, but in just some areas it didn’t stay tidy well enough without causing a mess at 320px.
Just a sidenote this topic from what I can tell, the user I think enabled threaded replies which doesn’t have a responsive styles in the bbpress plugin. And what is already there for responsive styles for the replies do not work because of some markup bug caused by the threaded replies feature and possibly its walker code.
In reply to: How to add user profile link to specific menu?The code I just gave you is not the same. I changed the theme location from primary to top menu. Did you try it??
If you link me to your site and use the code you just posted, I can probably make it where the profile link only shows on the top menu using CSS.
In reply to: How to add user profile link to specific menu?Try this.
add_filter('wp_nav_menu_items','rk_bbp_menu_profile_link', 10, 2); function rk_bbp_menu_profile_link( $items, $args ) { if( is_user_logged_in() && $args->theme_location == 'top-menu') { $current_user = wp_get_current_user(); $user = $current_user->user_nicename; $profilelink = '<a href="/forums/users/' . $user . '/">Your Profile</a>'; $items .= '<li>' . $profilelink . '</li>'; } return $items; }
In reply to: How to add user profile link to specific menu?You find this in your theme, most likely in the functions.php file, but it could be different depending on the theme. You would spot by the register nav menu function like what is listed in this page.
https://codex.wordpress.org/Function_Reference/register_nav_menus
If you have a free theme I could check it out and get the arguments you need.
If not there may be some arguments like menu slug that could help, but I need the name of the menu you are wanting to put the profile link in.
In reply to: Results of the 2015 bbPress SurveyInteresting survey results!! I keep forgetting to comment my thoughts on this!!
I am surprised that theming bbPress is split between all three of the choices listed, I expected most people to rely on their custom built themes and theme compatibility of bbPress like last year. So it seems not just developers/knowledgeable coders know how to use bbPress with any theme.
I can see there is a small increase of developers creating sites with bbPress forums for others, but a decrease in users creating themes and plugins. So at least more developers are interested in bbPress, but I bet once the plugin and theme development guides are finally up, that there will be an increase in plugin and theme development.
There is an increase in multisite usage of bbPress, which is good to see.
I believe Gaming, Academic, and Music site types could possibly use an increase in site types using bbPress.
Users contributing to bbPress has seem to have lowered quite a bit, which is not good. Hopefully there are a few things that can change that. People are joining slack though, so there is that.
Desktop and Laptop is being mostly used by users, while they seem to want a better mobile experience. I will keep that definitely in mind as times are changing, and people browse while on mobile more than in the past.
I am surprised unread replies and quotes have dropped a tad for being a requested feature, but there are some great plugins that can add that functionality.
People want bbPress topics to replace WordPress comments more than ever.
There is a lot more positive feedback on the comments left in the survey listed at the very bottom on this. Which is very good. I also think these comments are one of the most important parts to pay attention to of the survey.
http://mercime.github.io/bbPress-2015-survey-results/
@mercime thanks for doing a wonderful job with the survey. πIn reply to: Move Sticky Topic to Original Date?Hmm, the repair tools should have fixed it. There is even a repair tool named
Recalculate the sticky relationship of each topic
There is not really a setting for sticky topics, it is basically a post status similar to sticky posts in WordPress. The query for topics just displays sticky posts first then the rest of the topics after that.
Did you sort the topics differently by using a code snippet from this website, like sort topics by date or something different??
In reply to: bbp_add_user_subscription helpI am glad that you seem to have this working now. π
In reply to: Right align the top menu itemsLink to exactly what you are talking about. What menu items?? I think this is also something in your theme, unless your are talking about the profile menu items on the users profile.
In reply to: Remove underline in forum display pageI think that is inherited from your theme. Link to exactly what you are talking about though.
In reply to: Forum notification extractI think this plugin will allow you to customize how the notifications look in Settings > Forums. There might be shortcodes to change the content to use excerpt instead.
https://wordpress.org/plugins/bbpress-custom-reply-notifications/
In reply to: A big problem, all people inside…They shouldn’t be able to create blog posts in the WordPress backend by default.
Make sure that you have the New User Default Role set to Subscriber in Settings > General in the WordPress backend. Make sure to also set the default forum role in Settings > Forums to Participant for any new users to get for the bbPress forums on your site.
If the social login plugin/or any other plugin you are using has a setting to configure the default role make sure to check on that.
Also know that the SUbscriber role can go into the WordPress backend, but since they have low level capabilities compared to an Admin or an Author, they can only edit their profile in the WordPress backend.
If you need to disallow users from the backend entirely by user role, install a plugin like WP No Admin.
In reply to: Facebook Meta DataWell it might depend on what SEO plugin you are using. Most of them do offer a fallback image if there is no featured image on a post if not it will just pull whatever images are in the post.
It might be best to contact the SEO plugin you are using support forum to know how to set a fallback image. It may be best to just use a site logo for a fallback image.
In reply to: Remove "teletype" tags from shortcodeI just fixed the page so other users directly copying from the page will not get the tt tags.
In reply to: Compatibility problem (textdomain)Why did you contact bbPress support??
I think that plugin is for WordPress themes??
Also links to that plugin are quite about 5 years old, and it is not on the wordpress.org repository.
You may need to contact the plugin author, if it is still supported.
In reply to: How to add user profile link to specific menu?There is a way to put it into a specific menu if you know exactly what the theme location or any additional menu arguments of a specific menu are.
Here is an example if the theme location is primary.
add_filter('wp_nav_menu_items','rk_bbp_menu_profile_link', 10, 2); function rk_bbp_menu_profile_link( $items, $args ) { if( is_user_logged_in() && $args->theme_location == 'primary') { $current_user = wp_get_current_user(); $user = $current_user->user_nicename; $profilelink = '<a href="/forums/users/' . $user . '/">Your Profile</a>'; $items .= '<li>' . $profilelink . '</li>'; } return $items; }
In reply to: Typo on the bbPress website…Haha! I did not even edit/create this page before. π
Alright, thanks for pointing that out. I just now changed the errors you pointed out for now, but this guide might be completely rewritten later because it does contain information that is similar to/that should be in the theme compatibility guide.
And it kind of has information that might be in this guide later when it is finished.
The amending templates guide might be a comprehensive guide all about customizing the templates/creating custom templates/customizing how theme compatibility works, and not necessarily about just copying the templates in your theme and knowing that you can customize it.
In reply to: Typo on the bbPress website…I am sure it was me π
Tell me what and where the typo is and I will fix it.
If you find more, just update this topic and I will fix it.
In reply to: Change meta/page title for user pagesIt is weird that you got this new issue. I just tested the snippet again on my WAMP server to check with the latest version of WordPress, switched to German again, and also see if it conflicts with the last code snippet I gave you, but I do not see an issue on my side.
In reply to: Groups and Forums[bbp-topic-form forum_id=$forum_id] β Display the βNew Topic Formβ for a specific forum ID.
In reply to: My replies and my topics: Detected by the user’s IP?Try the above edited function again to see if it works.
In reply to: Random html characters in emailsI think it is how the subscriptions work, this might be a reason TinyMCE was disabled by default too, and also for security reasons.
There may not be an easy way to fix this without editing the core files of bbPress.
Like I said I created this trac ticket awhile ago that is about this issue. It might take awhile before a patch is made into the bbPress plugin update though.
In reply to: Need to export all forum Topics and Replies to PDFThis might do it since it says it works with custom post types.
In reply to: CommentsMoved your reply to here since it is related to the topic you created earlier.
You cannot move additional replies to a subforum by default or with a plugin I know. You may need to consider hiring a developer for to create this for you.
Since I think you basically said the topic gets hidden in all the replies. You can use this function to always display the topic no matter what page you are on like how these forums have by default.
function custom_bbp_show_lead_topic( $show_lead ) { $show_lead[] = 'true'; return $show_lead; } add_filter('bbp_show_lead_topic', 'custom_bbp_show_lead_topic' );
Closing in favor of your other topic.
Please do not create duplicate topics.