Forum Replies Created
-
In reply to: signature separator
bbpress doesn’t have a signature field. Are you using another plugin to do this ?
this is a conditional statement
basically it has 3 parts
test
?
true
:
falseeach in this case is a function
so the test is bbp_show_lead_topic() – This will return false by default, but if you set it using a filter, then it would be true
if this returns true then the ‘?’ function is executed which will show the reply count (just the number of replies)
if false then the ‘:’ statement is executed which shows then post count (the count of topic + replies ie replies +1)
In reply to: Threaded Replies not workingok, so
1. Save the attached code to your pc, as a new file called reply.js
2. Create a directory on your theme called ‘js’, and copy the renamed file reply.js to it, so that you end up with wp-content/themes/%my-theme%/js/reply.jswhere %my-theme% is the name of your theme
Let me know if this works
addReply = { moveForm : function(replyId, parentId, respondId, postId) { var t = this, div, reply = t.I(replyId), respond = t.I(respondId), cancel = t.I('bbp-cancel-reply-to-link'), parent = t.I('bbp_reply_to'), post = t.I('bbp_topic_id'); if ( ! reply || ! respond || ! cancel || ! parent ) return; t.respondId = respondId; postId = postId || false; if ( ! t.I('bbp-temp-form-div') ) { div = document.createElement('div'); div.id = 'bbp-temp-form-div'; div.style.display = 'none'; respond.parentNode.insertBefore(div, respond); } reply.parentNode.insertBefore(respond, reply); if ( post && postId ) post.value = postId; parent.value = parentId; cancel.style.display = ''; cancel.onclick = function() { var t = addReply, temp = t.I('bbp-temp-form-div'), respond = t.I(t.respondId); if ( ! temp || ! respond ) return; t.I('bbp_reply_to').value = '0'; temp.parentNode.insertBefore(respond, temp); temp.parentNode.removeChild(temp); this.style.display = 'none'; this.onclick = null; return false; } try { t.I('bbp_reply_content').focus(); } catch(e) { } return false; }, I : function(e) { tinymce.execCommand('mceFocus',false,'bbp_reply_content'); } }In reply to: Nested replies not workingok, so
1. Save the attached code to your pc, as a new file called reply.js
2. Create a directory on your theme called ‘js’, and copy the renamed file reply.js to it, so that you end up with wp-content/themes/%my-theme%/js/reply.jswhere %my-theme% is the name of your theme
Let me know if this works
addReply = { moveForm : function(replyId, parentId, respondId, postId) { var t = this, div, reply = t.I(replyId), respond = t.I(respondId), cancel = t.I('bbp-cancel-reply-to-link'), parent = t.I('bbp_reply_to'), post = t.I('bbp_topic_id'); if ( ! reply || ! respond || ! cancel || ! parent ) return; t.respondId = respondId; postId = postId || false; if ( ! t.I('bbp-temp-form-div') ) { div = document.createElement('div'); div.id = 'bbp-temp-form-div'; div.style.display = 'none'; respond.parentNode.insertBefore(div, respond); } reply.parentNode.insertBefore(respond, reply); if ( post && postId ) post.value = postId; parent.value = parentId; cancel.style.display = ''; cancel.onclick = function() { var t = addReply, temp = t.I('bbp-temp-form-div'), respond = t.I(t.respondId); if ( ! temp || ! respond ) return; t.I('bbp_reply_to').value = '0'; temp.parentNode.insertBefore(respond, temp); temp.parentNode.removeChild(temp); this.style.display = 'none'; this.onclick = null; return false; } try { t.I('bbp_reply_content').focus(); } catch(e) { } return false; }, I : function(e) { tinymce.execCommand('mceFocus',false,'bbp_reply_content'); } }In reply to: Only social login membersno problem, glad to have helped !
In reply to: Forum sending email notifications to itselfyes add this to your child theme function file
add_filter ('bbp_get_do_not_reply_address', 'rew_no_reply') ; function rew_no_reply () { Return 'xxx@yyy.com' ; }changing xxx@yyy.com to wehatever address you want
the bbpress theme is here
In reply to: Forum sending email notifications to itselfbbpress changed from sending individual subscription updates to sending a bulk one, by sending an email to no-reply@site-name and then bcc’ing in all the people due to get an email.
This is why you are seeing this.
In reply to: Only social login membersI think it is
add_action( 'bbp_template_before_replies_loop', 'rew_shortcode' ) ;In reply to: Private Threads?It wouldn’t be the same ticket thread. Perhaps I’m not explaining myself clearly.
The previous comment was spam promoting a dentist site which I have deleted, so ignore that.
On private groups.
You would set up a group say called ‘users’
You would set up two forums – one public where public posts can be posted as per standard bbpress, and then one that belongs to the private group ‘users’ which you set up above.
Users are joined to users group either manually or by default.
You then enable topic permissions opn the private forum, and set the topic permisisons for that group to Create/edit OWN topics. Users will only see their own topics and any replies posted.
If just keymasters are responding, then they will see all topics on that forum. If others will be responding, then set up another group and make them able to see the whole forum.
In reply to: Changing Display Namelooks like you theme is doing that.
If a paid theme, try the theme author
else let us know what theme it is
In reply to: Private Threads?my private groups plugin will allow you to set up forum where users can post threads, but not be seen by others
and look at topic permissions
In reply to: Forum sending email notifications to itselfsorry, I will come back on this, but weekend here, so fitting in between family !
In reply to: Only social login membersok, I need to know when this page is displayed – from doing what would you get to it?
for example ‘I go into forums, and select x and then click y and this page comes up’
That will let me find the right action for you to link to.
I haven’t use it myself, but lots do.
In reply to: HistoryI do have a plugin ‘bbp evergreen’ which removes all dates from bbpress
In reply to: Historycan you please rephrase this question, I do not understand what you are asking
the wordpress forums run on bbpress, for instance
https://wordpress.org/support/forum/how-to-and-troubleshooting/
this one has 39,000 pages of 15 topics per page, so maybe give it a speed test !
No reason why you shouldn’t just run a forum on a site – up to you
great – glad you are fixed !
ok, if I understand the issue this should fix
install and activate
then go to
dashboard>settings>bbp style pack>breadcrumbs
and you will see options to specify where the home and forum root breadcrumbs go to
so is this on the breadcrumbs – yes ?
In reply to: Forum Creation Issuehey great, glad you are fixed !!
In reply to: Forum Creation Issuesorry – but it’s most likely a theme or plugin upgrade, and ‘those suggestions’ are the way to find out which 🙂
In reply to: Breadcrumbs not workingno problem !
In reply to: Breadcrumbs not workingok, I’ve also added breadcrumb navigation to my style pack plugin
go to
dashboard>settings>bbp style pack>breadcrumbs and you can select where the home and forum breadcrumbs take you to.