Forum Replies Created
-
Sadly I had to publish my site with the old 2.5.x I’ve managed this by changing the version number of the plugin in
bbpress.php
andreadme.txt
to some insane version number which will never be hit in the near future.I would still love some pointers on how to implement the pagination of treaded replies, which works with the hack for 2.5.x version of bbpress.
@johnjamesjacoby everything alright? Haven’t heared from you in a while.
@johnjamesjacoby do you have any tips on where to start tweaking? You’ve said that it’s almost correct, but I’ve no idea where to start with this code.
@johnjamesjacoby I’ve created a Gist of the code that we currently have which is working on version 2.5.x, this way everyone has easy access to everything needed.
https://gist.github.com/mvaneijgen/6437dc91d2778ec6fb9f2eb579756bd7
Now I would love to know where to start thinkering to get this working for version 2.6.x and hopefully get it implemented in version 2.7.x
@johnjamesjacoby that sounds amazing! I’ve did some digging already, but I couldn’t find an easy fix to get it working again.
If you’ve some pointers to get the code from
Sven (https://wpup.co/bbpress-threaded-nested-replies-with-paging/) working with the latest version, I’ll gladly do some testing.@johnjamesjacoby thank you! This was what I was looking for. I think I’ll keep running 2.5.x for the mean time and keep an eye out on changes in the future.
There just has been a major release, which means that has been meetings and things have been set in motion.
This particular ticket has not been updated in some time, so getting it under peoples attention is the best that anyone can do đ
Not asking for commitment, just a simple no would suffice.
This issue has been open for 19 months, so asking for a update on the status would be greatly appreciated.
Yes a simple, no where are not going to fix it or this will be on the road map, but not before 2021 is still fine. Just let us know.
In reply to: bbPress 2.6 Release Candidate 3Any news on 2.6 it’s on RC 7 now.
In reply to: How to change `bp_topic_last_active_time` formatHey @casiepa thanks, it works.
PS. Nee en ziet er uit of je er alleen in kan met een invite?
In reply to: Custom Query to display sticky posts onlyDid you found anything?
Amazing thanks this works.
In reply to: New Topic Form Shortcode IssueThanks that works.
In reply to: New Topic Form Shortcode IssueHey,
I have edit the
feedback-no-search.php
inside my child theme stored in child-theme > bbpress
This is what the file looks like:
https://gist.github.com/mvaneijgen/83b2bdf325172ae1536bNo permission changes.
Yes they can and if I change the short code to [bbp-topic-form forum_id=221] everything works fine
Don’t know what troubleshooting to try.In reply to: New Topic Form Shortcode IssueGood to know that the spambot does care about my post.
In reply to: New Topic Form Shortcode IssueI still have this problem on the latest bbpress and wordpress. Im trying to embed the shortcode on the
feedback-no-search.php
so that it displays when there is no search result and the user can ask the question on the forum. For admins it works fine but for non-admins get the message âYou cannot create new topics.âThe fix that @satrya and @robin-w posted also doesn’t work on this version of bbpress, but again thats ia comment from a year ago.
In reply to: New Topic Form Shortcode IssueI do and admins and moderators will see the form and can work with it, but users/subscribers will see the message âYou cannot create new topics.â as described here https://bbpress.org/forums/topic/new-topic-form-shortcode-issue/ a topic from almost 3 years ago.
I place the shortcode in the search result page if there are no instances found of what they are trying to look for, so they can ask that question on the forums.
In reply to: New Topic Form Shortcode IssueBump, nobody any solution for this?
In reply to: Keep users from /wp-adminHave even more code to also redirect them to a page if a users fills in nothing
add_action( 'wp_authenticate', '_catch_empty_user', 1, 2 ); function _catch_empty_user( $username, $pwd ) { if ( empty( $username ) && empty( $pwd )) { wp_redirect($referrer . 'http://yourdomain.nl/aanmelden'); exit(); } } add_action('wp_login_failed', 'my_front_end_login_fail'); function my_front_end_login_fail($username){ // Get the reffering page, where did the post submission come from? $referrer = $_SERVER['HTTP_REFERER']; // if there's a valid referrer, and it's not the default log-in screen if(!empty($referrer) && !strstr($referrer,'wp-login') && !strstr($referrer,'wp-admin')){ // let's append some information (login=failed) to the URL for the theme to use wp_redirect($referrer . 'http://yourdomain.nl/aanmelden'); exit; } }
Not my code this is all scattered from around the web
In reply to: Better WYSIWYG text editor?I just copied text from another website and paste it in the visual editor and the message will have html tags in te text (not rendered html)
<h2 style=âcolor: #00bbaa; margin: 0px; font-family: âOpen Sansâ, sans-serif; line-height: normal;â>SVG for web</h2> <p style=âmargin: 15px 0px; color: #000000; font-family: âOpen Sansâ, sans-serif; font-size: medium; line-height: normal;â></p> <p style=âmargin: 15px 0px; color: #000000; font-family: âOpen Sansâ, sans-serif; font-size: medium; line-height: normal;â>Twee jaar geleden dachten wij een goed idee te hebben, een HTML app m....
This is what it looks like.
In reply to: Better WYSIWYG text editor?How do you handle the html injection when text is copied from a source?
In reply to: Keep users from /wp-adminThis works
// hook failed login add_action('wp_login_failed', 'my_front_end_login_fail'); function my_front_end_login_fail($username){ // Get the reffering page, where did the post submission come from? $referrer = $_SERVER['HTTP_REFERER']; // if there's a valid referrer, and it's not the default log-in screen if(!empty($referrer) && !strstr($referrer,'wp-login') && !strstr($referrer,'wp-admin')){ // let's append some information (login=failed) to the URL for the theme to use wp_redirect($referrer . '?login=failed'); exit; } }
http://www.wpinsite.com/code-snippets/how-to-redirect-wordpress-failed-logins
In reply to: Limit tags to a pre-defined list?@3sixty would really like to see the code you made 4 years ago.
In reply to: User role upgradeIm designing a forum with users, panel users and expert users.
I want users to be able to ‘upgrade’ there account. All they have to do to make this happen is provide the website with extra information. (this sounds to me like a “buy a subscription” function and have them pick a Bronze, Silver or Gold subscription, so im looking in to bbpress/wordpress membership plugins, but there doesn’t seem to be one that suits me)
I don’t need paid subscriptions, I just want to change there forum role. It would be nice to intergrade this with something like a form plugin, so I can intergrade that with mailchimp so i can make lists based on there ‘subscription’
Another method would be have different sign up form on the website, before they become member and have them fill out the information I need based on the Role they want to become.