Forum Replies Created
-
In reply to: Custom topic list
“Hot” would probably actually be “Relplies”
In reply to: Shorter Freshness Titles@thesnowjunkies @johnjamesjacoby @undyingearth @olivier-lettinga So here’s what I did, it looks to work but I haven’t fully put it through its paces. I’m also kind of a n00b with this PHP WordPress thing so hopefully this isn’t a terrible idea. I basically used an add filter on bbp_get_time_since and did a regex string replacement on the output removing anything from the first comma up to ‘ago’.
function short_freshness_time( $output, $older_date, $newer_date ) { $output = preg_replace( '/, .*[^ago]/', ' ', $output ); return $output; } add_filter( 'bbp_get_time_since', 'short_freshness_time' );
In reply to: Resize avatars on forum landing pageIf anyone cares the proper solution is just to copy loop-single-topic.php into your themes dir and edit till your hearts content. The only semi-tricky thing is that it must be in a /bbpress/ dir within your theme. For example:
wp-content/themes/yourtheme/bbpress/loop-single-topic.php
In reply to: Change avatar size@tecca Awesome! Duh! I had tried that but without the /bbpress/ dir. Thanks for the help.
In reply to: Add forum roles@janhoos i just added it to functions.php
However, this didn’t end of completely working for me. I would save and the role would not be saved, i believe.
In reply to: Add forum rolesFor posterities sake, i think i figured this out thanks to this article. I was close just had few things I didn’t know about, hopefully I’m not doing anything too terrible.
function add_custom_role( $bbp_roles ) { $bbp_roles['my_custom_role'] = array( 'name' => 'My Custom User', 'capabilities' => bbp_get_caps_for_role( bbp_get_participant_role() ) // i just want them to have the same capabilities as participants ); return $bbp_roles; } add_filter( 'bbp_get_dynamic_roles', 'add_custom_role', 1 );
In reply to: Add forum roleswondering if anyone has a quick snippet of code that answers @anallabres initial question.
In reply to: Next/Prev Topics in bbpress plugin in for wordpressI would be very interested if you found a solution.
In reply to: Hiddenbump?
In reply to: Redirect after topic replynote: this is only after a reply, not on initial topic creation