Search Results for ' . default . '
-
Search Results
-
Hi there,
I understand from this threat that the layout of search results or topic-tag pages can be customized based on the template files stored in the bbpress/templates/default/bbpress folder.
In order to retain the customization during updates of the bbpress plugin, I have created the same folder structure inside the directory of my child theme (see screenshot).
The only change I’d like to make is for the topic-tag page to look exactly like the search-result page (see screenshot) –> list of forum threats in full length rather than list of titles only.
In order to realize that I need to…
1) copy a ?-search.php file from the plugin directory into the respective subfolder of the child theme and
2) rename it into a ?-topic-tag.php file.Is this correct? If so, which ?-search and ?-topic-tag file do I need to consider?
Many thanks for your support in advance.
Best regards,
JanTopic: Change Default Display Name
Hello
I am aware I can change the display name for each user manually by navigating to dashboard>users>all users>edit user and change “Display name publicly as” but I was hoping there was a way I could change the default “Display name publicly as” to first name only so all existing forum topics/ users change to first name only and future users also only show first name only. Is this possible?
I suppose this isn’t WordPress or BBPress specific, but trying to figure out if there is a WordPress way of doing this.
I am using BBPress, and on some page, such as
https://somesite.com/lesson/some-lesson/, I have a block with a link to a discussion topic. That link is of form<a href="javascript:void(0);" data-target="#myModal" data-href="somesite.com/forums/topic/required-discussion-1/" data-toggle="modal" class="openPopup"><h3 class="topictype-title">required discussion 1</h3></a>The modal popup is handled in bootstrap via
<div class="modal fade" id="myModal" role="dialog"> <div class="modal-dialog modal-xl"> <div class="modal-content"> <div class="modal-header"><button type="button" class="close" data-dismiss="modal">×</button><h4 class="modal-title">Class Discussion</h4> </div> <div class="modal-body"></div><div class="modal-footer"><button type="button" class="btn btn-default" data-dismiss="modal">Close</button> </div> </div> </div> </div>And with jQuery
$('body').on('click', '[data-toggle="modal"]', function(){ $($(this).data("target")+' .modal-body').load($(this).data("href")); });What happens now, is after hitting submit, the modal goes away, and the forum topic page with the submitted reply is loaded: url
https://somesite.com/forums/topic/required-discussion-1/#post-25847The thing is, after user submits from the modal, I want either
**1) the refresh (so, going to
https://somesite.com/forums/topic/required-discussion-1/#post-25847) to happen in the modal, or****2) for the modal to simply close and user is returned to exactly as they were prior to modal popping up, that is, to
https://somesite.com/lesson/some-lesson/**Ideas on how to ideally achieve these two behaviors? I have never worked with modals before, so curious what are some best practices here to get the desired behavior.
Thanks!
Hi,
I’m experiencing some really odd behaviour when trying to change the slug for my Buddypress group directory (under which all my BBpress forums are housed) and redirect traffic.
My set-up is: BP 9.1.1; BBp 2.6.6, WP 5.8.1
Short explanation:
- traffic to a pre-change (/[old]/[groupname]) group url is being redirected to (/[new]/[groupname]/forum)
- This happens regardless of whether:
- There is a specific redirect in place
- There is a regex redirect in place (/[old]/(.*) to /[new]/$1/)
- There is no redirect at all
- My redirect provider – Rank Math – can’t explain this.
I’ve not modified my hta, and the only other redirect rules in page on the site relate to post-login behaviour. It seems there’s something deep within Buddypress, BBpress or WordPress which is driving this, but I have no idea what.
Does anyone have any idea what might be causing this abd how to address it? I dare not make this change on my live site without resolving and having a clear idea what’s behind it.
Appreciate any suggestions…
How can I restrict all forum content to members only?
I know that this is an oft-discussed topic, but I have yet to find a satisfactory solution.I want to have a website that has public content and a private forum.
All posts and pages will be private – except for all forum content.‘bbPress Members Only’is a great and mature solution, but it bars access to all posts and pages except for a few defaults.
Many membership plugins exist, including free ones. I could use one of those, but they not designed for this specific purpose. As such they require configuration for this specific case. This could work, but there are risks to privacy when configuring and updating a general-purpose plugin.
I found a plugin (sorry, can’t remember the name) that does most of what I want, but it leaves topic archives exposed. I think the point of that was that it allows a forum to advertise its content. This is the opposite of what I want.
The approach that I’m about to experiment with will be a programmatic one:
In PHP I will parse the URL. If the URL contains the string ‘forums’, then I’ll redirect the request to a gatekeeping page.In the meantime, if anyone can tell me about an approach or a plugin that I’ve missed, then please let me know.
Topic: Topic Sidebar