Forum Replies Created
-
In reply to: Hello from Japan! How to display day of the week …
great, glad you are fixed !!
In reply to: Newby a little lostIt will almost certainly be your theme.
I had a quick look but couldn’t work out quite what it was doing at that point.
Since I think you have the scope theme, maybe check on their support forum, as have paid for support and access.
http://www.themezilla.com/support/forum/wordpress-themes/scope/
and search for bbpress as a start – there may well be a simple solution.
If not then put a support topic on their site, and come back and tell us what they said
In reply to: Newby a little lostok, so we’re back to setting the default template that bbpress uses, but this time to one with a sidebar
ok, let me know how you get on.
If you’d like specific coding done, then try wordpress jobs
In reply to: Forum images went crazyI presume they used to be ok? or have they never worked?
Since they are images, almost anything in wordpress could have affected.
have you added any plugins, or updated/changed themes?
In reply to: All topics' freshness updates whenever someone postspossibly a conflict
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, switch to a default theme such as twentytwelve, and see if this fixes.
In reply to: Hello from Japan! How to display day of the week …You were very close !
function change_reply_post_date($output) { $day= '('.get_post_time('D').')'; $output = preg_replace( '/at/' , $day , $output ); return $output; } add_filter( 'bbp_get_reply_post_date' , 'change_reply_post_date');the line $day…etc. sets $day equal to an ‘open bracket’, followed by the day, followed by a ‘close bracket’ – the full stops are a concatenate in php.
your original
"<?php echo get_post_time('D'); ?>"does the following
<?php =switch on php – we’re already in php, so not needed
echo= send to screen – but we don’t want that, we want the result to be sent, which will be done by other code
get_post_time= that’s the key part that you had figured
?>= ends php, which we don’t want to do as the rest of the line is phpIn reply to: plugin not working with themeok, no problem !
In reply to: Latest Topics widget wont show categorysorry, but recent replies doesn’t have a category part – which widget exactly do you mean?
In reply to: Only the admin can attachyou could try adding the following to your functions file
add_filter( 'd4p_is_bbpress', '__return_true' );or seeing if your theme or other plugins are affecting
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, switch to a default theme such as twentytwelve, and see if this fixes.
In reply to: Forum styling broken on category viewCan you just eliminate theem or plugin issues, this should show descriptions (content) on the category pages.
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, switch to a default theme such as twentytwelve, and see if this fixes.
In reply to: Only the admin can attachI presume you have read the
In reply to: Only the admin can attachI don’t know, I’ve never used it !
In reply to: Only the admin can attachyes that’s the way it is supposed to work – try the plugin
In reply to: Controlling the number of posts shown in shortcode‘Why is there no way to control this with shortcodes and nobody has found a solution 🙁 ‘
Solutions require problems, and clearly not enough think this a problem. 🙂
There are probably several hundred things that the developers are working on or could work on (I’m not a developer, just a volunteer helping here).
I’m not actually sure what you are saying isn’t there – is this just controlling the numbers, or are you after more functionality.
If you could write a detailed problem definition, I’ll take a look !
In reply to: Is bbpress work with custom post type ?since I don’t know courseware, I can’t directly say.
You could always put in a link
eg http://www.mysite.com/forums/forum1
from somewhere within courseware
great – glad you’re fixed !
In reply to: Is bbpress work with custom post type ?ok, then install the plugin
https://wordpress.org/support/plugin/bbp-private-groups
then each course would have a group, and you would add users to that forum group.
so you’ve put
<?php if ($countr !=0) bbp_reply_author_link( array( ‘sep’ => ‘<br />’, ‘show_role’ => true ) ); ?>on the loop single reply – yes?
Try adding a line before that
<?php echo ‘countr is ‘ . $countr ; ?>
that should then show what the value is somewhere on the page (bottom left of each topic/reply would be my bet), so you can see what’s happening !
If it’s not coming through you might need to declare it before using it in replies
eg new line before line 45 saying
<?php global $countr ; ?>
In reply to: Moving bbPress Edit profile formsDo you have a donation link?
I do, but it’s probably not etiquete to put it on this forum !But when you do find the solution, PLEASE post it back here, so that others searching later can find it !
In reply to: Hello from Japan! How to remove the anchor tag…ok, so
//function to remove the comma
function change_comma_time($output) {
$output = preg_replace( ‘/[,]/’ , ‘ ‘ , $output );
return $output;
}
add_filter( ‘bbp_get_time_since’, ‘change_comma_time’ );
add_filter(‘bp_core_time_since’, ‘change_comma_time’);will take out the commas. You need to add this to your functions file and
‘function custom_get_forum_freshness_link() {
$time_since = bbp_get_forum_last_active_time( $forum_id );
$anchor = $time_since ;
return $anchor ;
}add_filter( ‘bbp_get_forum_freshness_link’, ‘custom_get_forum_freshness_link’ );’
will take out the link
You will need to add these to your functions file.
Come back if you need further help
In reply to: Is bbpress work with custom post type ?‘course are posts for “courses” custom post type.’
That is the part that confuses me.
Bbpress uses three custom post types – forum, topic and reply – none of which would concern you.
If you just want forums for each course, that is out of the box, but a course participant would be able to see other course’s forums – is this an issue?
Otherwise if you want separate private group forums then try adding the following plugin on top of bbpress.
https://wordpress.org/support/plugin/bbp-private-groups
Since I have never used courseware I can’t say how well bbpress would integrate with it
I think you best option is to install bbpress and see how it works for you.
In reply to: Unable to Assign Forum to TopicTry this link and come back if that doesn’t solve it for you
In reply to: bbPress Codexlooks good Stephen, will be interesting to see how that develops !
for plugins, a list of wordpress plugins by what they do rather than what they’re called would be useful, which I’d be happy to work on. At the moment you have to want something and then articulate this in a search. Most newcomers don’t realise what they can do with a few plugins, and a simple list would be great to stimulate the mind.
In reply to: Is bbpress work with custom post type ?I’m not quite sure what you are asking.
do you want a separate forum for each course?
and does each forum need to be private from the others?so
course 1 would have forum 1
course 2 would have forum 2that is do-able, but I am not sure where your question on custom post types comes in?