Search Results for '+.+default+.+'
-
Search Results
-
Topic: How to shorten default URL?
So I just got bbPress installed and working on getting it setup.
I noticed the URL being a bit long and redundant:
.com/forums/forum/ohio-medical/
Is it possible in setting to pull one of those “forums” out of the URL?
Thanks!
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-25847
The 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!