Forum Replies Created
-
In reply to: Search only topics not forum / replies
no, you just put the templates in your child theme
You can copy all the templates across, but you only need to copy those that you want to change, and it is better just to do this, as then you know which you have altered.
so if you wanted to amend loop-single-forum you would do the following
create a directory on your theme called ‘bbpress’
ie wp-content/themes/%your-theme-name%/bbpresswhere %your-theme-name% is the name of your theme
find
wp-content/plugins/bbpress/templates/default/bbpress/loop-single-forum.php
Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
wp-content/themes/%your-theme-name%/bbpress/loop-single-forum.php
bbPress will now use this template instead of the original
and you can amend thisIn reply to: Search only topics not forum / replieshmmm. can’t say why, but if you have the template solution, not worth me working out why
In reply to: Search only topics not forum / repliesthe function should still work – it just searches topic.
when you say ‘The above solution does not work in 2019’ – what exactly do you mean, it errors, it display what ?
to get rid of that bit, put this in your custom css part fo your theme
div.bbp-template-notice.info { border : none !important ; display: none; }you might also want
.bbp-pagination { display: none; }In reply to: Replace bbP Manage SubscriptionsIt is not being maintained, but I presume it still works?
Wordpress removes plugins that are not maintained, but most continue to work and are based on stable code.
or is this one now not working ?
In reply to: Replace bbP Manage SubscriptionsI’m not sure what bbP Manage Subscriptions did, so hard to say what will replace
try
that has some subscription management stuff
In reply to: Customized Translation filesgreat – not an issue that WordPress seems to have considered – I did try and see if there was an easy way to bypass, but could not find one 🙂
In reply to: Customized Translation fileshmmm… quite a puzzle
so you could try putting your customised file here
wp-content/languages/plugins/bbpress-fr_FR.mo
plugins load code from only two places, but no idea which loads first, but looks like that location loads last, so it might work. but again might be overwritten by WordPress updates
In reply to: Custom Topic Sortingdepends on how you define complicated – solutions are frequently only a few lines of code, but getting there takes the time 🙂
In reply to: Remove in first forum onlyyou need to pick up the forum id
so
$forum_id = bbp_get_forum_id(); if (( $forum_id == 123) or ( $forum_id == 456)){etc…
and then you would add the
Custom action hook to add in the template file where the div shall be displayed: <?php do_action( 'different_div' ); ?>in the appropriate forum template
In reply to: Remove in first forum onlygiven the speed of most servers, I doubt that you would notice any time delay in processing the code in is a few lines of many thousand that get processed on each page load and one DB call.
best solution would be to time with and without and see if you can spot anything – but run it many times to get an average
In reply to: Changing order of forum displays.it would not be done in a template, in essence you would need to filter
add_filter(‘bbp_before_has_topics_parse_args’
but this runs before the template loads, so would be a large coding task.
In reply to: Change comment date?or if you mean the actual date, then
dashboard>topics>edit topic and change it there
In reply to: Change comment date?the date format is usually the one set in WordPress, so would be common to your site
bashboard>settings>general
In reply to: Very simple forum Signature with Xprofilegreat! thanks for posting
In reply to: Settingit will show the content and profiles, if these contain personal information, then yes it will show that.
In reply to: Formatting my landing pageIn reply to: Replies to my posts are not being received via emailsorry – nothing I know that does that
In reply to: Replies to my posts are not being received via emailyes users can subscribe to both topics and forums in bbpress
In reply to: Replies to my posts are not being received via emailyou will need to do some testing to understand how subscriptions work, but in essence if you subscribe to a forum or thread, then you receive updates to that thread that do indeed contain the content.
In reply to: Replies to my posts are not being received via emailpresume you are ticking the box on the form?
In reply to: Changing Permalinks Rootsdashboard>forums and look at the roots/slugs
In reply to: Importing BBPress Records from Rainmakerapart from some setup stuff in wp_options, the forums, topics and replies are held in wp_posts and wp_postmeta
Is there an API that I can call when a user registers on our product website?
If they are logged in to our product and click on SUPPORT/Forums, how do I go about having them automatically logged in?
mzybe
And my last question is if I can create new topics and replies to them with custom dates/times? For example, I want to create a new post with a date of a week ago, and then reply with a date from 6 days ago?
Just add/edit the topics and replies from the back end – there you can changed then publish date
In reply to: Importing BBPress Records from Rainmakerok, the problem is that bbpress stores topic and reply authors as their WordPress ID, so unless the new sites WordPress ID’s match the old site’s then they won’t match.
are the old authors all on the new site ?