Forum Replies Created
-
In reply to: Links in new topic
I’m pretty sue that you code is suffering from apostrophe differences.
When you copy code differ3ent editors change the ‘ !
so your code has for instance
(‘bbp_before_has_replies_parse_args’,
suggest you remove the start and end apostrophies and replace eg
('bbp_before_has_replies_parse_args',
In reply to: bbp-messages message box sizingThat looks like an issue with the bbp-messages plugin, which is not part of bbpress, you’ll need to post on their forum
In reply to: Links in new topichmmm…
1. did you leave in the code, from what you say that is needed as well
function custom_bbp_show_lead_topic( $show_lead ) { $show_lead[] = ‘true’; return $show_lead; } add_filter(‘bbp_show_lead_topic’, ‘custom_bbp_show_lead_topic’ );
on your other errors, can you post lines from say 615-630 from your functions file
In reply to: Links in new topicyour first bit of code should be
function custom_bbp_has_replies($args) { $args[‘order’] = ‘DESC’; // ‘ASC’ (Ascending, Default), ‘DESC’ (Descending) return $args; } add_filter(‘bbp_before_has_replies_parse_args’, ‘custom_bbp_has_replies’ );
The ($args) brings in all the existing args and then your next line modifies just the ‘order’ arg. Otherwise the only argument passed to the query is the ‘order’ arg, so there is nothing to display.
In reply to: email notification to “noreply”Great – glad you are fixed, and for anyone reading this later the code should be
add_filter ('bbp_get_do_not_reply_address', 'rew_no_reply') ; function rew_no_reply ($no_reply) { $no_reply = 'abc@def.com' ; return $no_reply ; }
In reply to: email notification to “noreply”yes
In reply to: email notification to “noreply”by default bbpress send one email to the noreply address and bcc’s in the subscibers, so only one email sent.
code to change
add_filter ('bbp_get_do_not_reply_address', 'rew_no_reply') ; function rew_no_reply ($no_reply) { $no_reply = abc@def.com ; return $no_reply ; }
You’d think the bbpress coders would have created setting for this by now
the bbpress coders are busy people who can code what they wish to. Not up to us to criticise free software
In reply to: Possible to setup “Master Forums”?too longer a list for free help from me I’m afraid, but you will probably need my private groups plugin
briefly – for master think category, then forums as ‘sub forums’ , threads (nested) are in the bbpress plugin, email per forum post – yes the rest is a mixture of easily doable and a some custom work.
contact me via
http://www.rewweb.co.uk/contact-me/ if you want further help
In reply to: email notification to “noreply”bbpress sends an email to the noreply address and bcc’s in the intended recipients.
2 solutions
1. my style pack plugin lets you amend the ‘to’ address (see email subscriptions tab), or you can do this with code, and amend it to a real address on your website.
2.switch to individual emails – this plugin does that https://wordpress.org/plugins/asyncronous-bbpress-subscriptionsIn reply to: All Forums not showingput this in your functions file, or code snippets
//Number of forums per page
add_filter (‘bbp_before_has_forums_parse_args’, ‘rew_number_of_forums’) ;#function rew_number_of_forums ($args) {
$args[‘posts_per_page’] = 100 ;
return $args ;
}In reply to: All Forums not showingforums per page uses one of these settings
In reply to: All Forums not showingdashboard>settings>forums>topics and replies per page – forums uses one of these, can’t remember which
In reply to: bbpress moderation – word blocking or flaggingbbpress uses the wordpress moderation and blacklists
dashboard>settings>discussion
In reply to: Certain User Cannot Create Topic or Reply to Topicthis crops up occasionally and has proved difficult to fault find.
I’ve just written a small plugin that will check what is set in the blacklist, but also let you skip that check.
can you give it a try, and let me know if it helps
1. go to
and download and save, and make a note of where it is saved.
2. Then go to dashboard>plugins>add new> upload and upload the plugin you saved in 1. above
3. then activate
4. go to dashboard>tools>bbp blacklist checker and it will confirm whether data is held, and let you skip the check
In reply to: increase font sizeor install
In reply to: increase font sizeas per op
What I did,
1. installed Simple Custom CSS plugin – all ok
2. insert the below code. and changed the font-size: 1.1em; to 1.6emIn reply to: Custom Breadcrumbs (what URL to use for forum)great – glad you are fixed
In reply to: Help with installationIn reply to: Custom Breadcrumbs (what URL to use for forum)I’d suggest you do this as follows:
there is a ‘hook’ that you show above called ‘<?php do_action( ‘bbp_template_before_single_topic’ ); ?>’
This tells bbpress to do any action that is added at that point.
so adding a hook will mean that the function is called at that point.
The following code should go in your child theme functions file, or use the code snippets plugin
add_action ( 'bbp_template_before_single_topic' , 'rew_back' ); function rew_back () { $text = 'click to go back' ; if (bbp_get_topic_forum_id() == '25') $href = home_url( '/forum/domestics/' ) ; if (bbp_get_topic_forum_id() == '33') $href = home_url( '/forum/commercial/' ) ; //where to go if page not there else $href = home_url( '/login/' ) ; echo '<a class="button" href ="'.$href.'">'.$text.'</a>' ; }
so each forum will need a line.
In reply to: How to let user publish the post right away?you must have an additional plugin that is moderating posts, bbpress just publishes
In reply to: Topic Viewhey great – glad you’re fixed, and thanks for posting your solution to help others
In reply to: Topic Viewthe problem is that modern themes ignore what wordpress expects and do all sorts of clever stuff.
yes copy page.php and rename it to bbpress.php
then post a copy of the file here, and I’ll try and help further
so what is the post publication schedule ? wordpress delayed publishing or a plugin?
is this related to bbpress ?
In reply to: Topic View