If you put something out there as free, you should still manage its viability otherwise the end result will be wasting people’s time.
agree – the issue is with time – ie for how long? No-one can do forever, and no-one can do everything for free. So do I never release code as I am not immortal? I have no-one to take over the code. I have limited time to offer to support. I reckon in 3-5 years time I’ll not want to do the stuff I do now. I s’pose my point is that the user community needs to judge ‘free’ as not meaning ‘free for life with a right to free support for every issue’ I suspect that a lot of this comes from FB, youtube, instagram being seen as ‘free’, and the ability to share files, songs, books, images without paying the source. But maybe that’s just because I’m a grumpy old man 🙂
@xprojectsx good contribution – and I don’t think there is a perfect solution. I am Never quite sure what people expect from ‘community’ software. As an author of 6 plugins, the thought that when releasing these as free code for others to use and adapt, I am expected to respond to every query on the code for evermore, would make me never do it. I enjoy the challenge of support, but there will come a time when I tire of doing this for no money, and expectation that I fix issues I had not considered and that I had never planned only strengthens this. Bbpress was written as lite forum software, allowing others to extend it. It started over 15 years ago as a geek who like writing code (as I do). Then is response to requests it was added as a plugin to WordPress. The authors have I suspect many other priorities now in their lives, they are 15 years older. Their choices are 1. To close the plugin, and make many forums redundant. 2. To devote vast chunks of their free time to continue supporting 3. To do key code as their time permits 4. Just to hope that other people do this for free.
Against this there are paid products, but yes they cost or are used (I think quite justifiably) as a sales tool to produce income to pay the developers. Someone has to pay the bills.
just to try and help the codex seems to suggest a ? is needed
paginate_links()
and drop down to user contributed notes
'format' => '?paged=%#%',
Hello Robin,
Thank you for the help you offer.
I tried the code in the child theme’s function file and it works fine to re-order the replies… BUT I have 3 issues :
– The link given in the recent activity widget leads to the last page of the topic… now being the beginning, so not the last reply
– Same problem for the link in the email notification
– and when we post a reply, the page refresh leads to the beginning of the topic too so you don’t see you answer published unless you click on the right page number or scroll back to the top.
These 3 situations imply too much confusion for the users so I choose to not use the code but don’t find another solution.
I’m surprised no plugin exists for this ( part from “bbPress – Sort topic replies ” which is not maintained so I didn’t try it worried to get security problems).
Do you think of a way to fit the issues generated with the descending order or do you consider it is too much of “torsion” of the system ?
Thanks again.
Sophie
Thanks!
I implemented this in my code.
add_filter( 'bbp_bypass_check_for_moderation', '__return_true' );
Comments are without moderation.
The problem is happening intermittently, a user sends a topic or reply and this action may or may not wait for moderation, is there anything in the code that I can adjust?
ok, without site access all I can suggest is
.bbp-forum-freshness {
display : none !important ;
width : 0px !important;
}
li.bbp-forum-reply-count, li.bbp-forum-topic-count, li.bbp-topic-reply-count, li.bbp-topic-voice-count {
width: 20% !important;
}
li.bbp-forum-info, li.bbp-topic-title {
float: left;
text-align: left;
width: 55% !important;
}
I’m having trouble getting shortcodes for a picture gallery to work in topics. Did some looking around here and it seems I may need a shortcode plug in and also possibly a shortcode whitelist plugin to go with it. I looked at this one bbPress2 shortcode whitelist, but it is a bit old and hasn’t been tested with 5.5.1. I’m running 7.4.10 PHP, LiteSpeed webserver, 2.6.5 bbpress.
The shortcode for a photo gallery shows up in the post as text but that is all. https://transmissiontuner.com/blog/forums/topic/allison-bellhousing-types/
I asked for support on this from the photogallery plugin and they said it was a bbpress problem.
thanks!
Hi There,
I have created a template for the forum and add the shortcode for the forum into it which works. However when you click on the topics within that forum, it takes you to a separate page where it is displayed. How do I put the topics onto a template and redirect it to that template when a user clicks on the topic.
Thank you
Hello,
I’m having a problem when I try to edit a post the textarea called by
bbp_the_content( array( 'context' => 'topic' ) );
The textarea is not respecting the line breaks.
On my DB the content looks like:
text text text text
text text text
text text text
text text text
But on the textarea it looks like:
text text text
text text text
text text text
text text text
Somebody have a clue of how to solve this? 🤔
Thanks for any help : )
Hi, I solved this problem by adding this to my bbpress-functions.php
add_filter( 'bbp_bypass_check_for_moderation', '__return_true' );
The problem is that bbpress is sending the posts to moderation but it doesn’t show any advice to the user or admins. I don’t know why 🤷♂️
Hope it helps
ok, thanks I now understand.
Sorry, that’s the way WordPress works – not a loot I can do to help.
The shortcode is rendered when you publish, and when you edit I think it does not like that you ared using html – maybe a permission issue.
I cannot really help further
ok, thanks I now understand.
Sorry, that’s the way WordPress works – not a loot I can do to help.
The shortcode is rendered when you publish, and when you edit I think it does not like that you ared using html – maybe a permission issue.
I cannot really help further
if you can wait until next week, I’ll come back with some code
the code should work – try form a PC/phone that has never accessed the site
Thanks for this, Robin. I’ll play around with it; for some reason, it’s not changing anything at the moment when I insert the code above (none of the columns or titles in those columns shift) but I’m sure I can play with it a little to see what might be happening. 🙂
Thank you so much for your help with solving the biggest issue! I am sure your fix will help our nonprofit encourage people to connect. So appreciated!
this should hide it, but test to make sure you don’t find any exceptions !
add_filter ('bbp_get_author_link' , 'rew_hide_author', 30 , 3 ) ;
add_filter ('bbp_get_reply_author_link' , 'rew_hide_author', 30 , 3 ) ;
add_filter ('bbp_get_topic_author_link' , 'rew_hide_author', 30 , 3 ) ;
function rew_hide_author($author_link, $r, $args) {
if (!is_user_logged_in()) $author_link='' ;
return $author_link ;
}
Put this in your child theme’s function file –
ie wp-content/themes/%your-theme-name%/functions.php
where %your-theme-name% is the name of your theme
or use
Code Snippets
from your image, it is because you have not use the CODE in your post.
so you show
[model_viewer...etc]
when if you do not want wordpress to translate this you should have
`[model_viewer…etc] with a second tick at the end, then when you edit it will stay as the code
no need to edit files, you can do all that with css
so
.bbp-forum-freshness {
display : none !important ;
width : 0px ;
}
li.bbp-forum-reply-count, li.bbp-forum-topic-count, li.bbp-topic-reply-count, li.bbp-topic-voice-count {
width: 20%;
}
li.bbp-forum-info, li.bbp-topic-title {
float: left;
text-align: left;
width: 55%;
}
will fill the freshness space up.
you can play with the percentages, above is 20% + 20% + 55%
just make sure they don’t go over 95% total
Yes, I’m inserting the shortcode, but when editing the topic, bbpress converts the shortcode to HTML, see the images, I don’t know why that happens.
put this is the custom css section of your theme
.bbp-forum-freshness {
display : none !important ;
}
um…that’s what shortcodes are for ???
if you just want the shortcode displayed without bbpress interpreting it, then use the ‘code’
eg
[model_viewer ID'...']
Hi Robin W.
This solution allow Model Viewer Tag, but bbpress editor keeps converting my shortcode to html, how to solve this?
Thanks.