Search Results for 'code'
-
Search Results
-
I have added this code to my functions.php file
function mycustom_breadcrumb_options() { // Home - default = true $args['include_home'] = false; // Forum root - default = true $args['include_root'] = true; // Current - default = true $args['include_current'] = false; return $args; } add_filter('bbp_before_get_breadcrumb_parse_args', 'mycustom_breadcrumb_options' );… but that last argument only works for the original post, which returns something like this:
Forums › Assignment Submissions ›
On the replies underneath it includes the current location, something like this:
Forums › Assignment Submissions › Assignment 24: 1st 24 hours in Crown Point, Tobago
You can see this in action here.
How do I remove that last part in the replies?
I want the users to get email alerts every time their forum role changes to a specific role.
Namely, I have to notify them only if their role has changed from Spectator to Participant.
I found a way to do this with standard WordPress roles, but it doesn’t work with bbPress roles.
I tried changing
if ($new_role == 'contributor')toif ($new_role == 'participant')and even to this if($new_role == 'bbp_participant')– nothing worked.Perhaps someone knows the solution?
WordPress version: 3.8.2
bbPress version: 2.5.3Using this code I have made it to where only updates and rtmedia posts show up on my activity stream
/** * Activity Stream Default Updates */ function make_swa_show_notice_only( $retval ) { if ( bp_is_page( 'activity' ) ) { $retval['action'] = 'activity_update, rtmedia_update'; } return $retval; } add_filter( 'bp_after_has_activities_parse_args', 'make_swa_show_notice_only' );I would like bbpress forum posts to show up on my wall as well. What would i put next to
‘activity_update, rtmedia_update’
in my code to make that happen? Thanks!
This is regarding http://saveourgrace.com/forums/
I believe I followed all the instructions properly. However, initially, my WordPress “Page” with link above was blank. I found advice at http://bbpress.org/forums/topic/bbpress-forum-blank-pages/ that it may be a theme issue, so I simply added the short code [bbp-forum-index].
This got the page working as you can see it now. It properly shows the “Fundraising” forum. However, the number of topics is listed as 0, and when I click on the forum name, I get the otherwise blank page at http://saveourgrace.com/forums/forum/fundraising/ .
I did add a topic per the instructions, and confirmed on the topics list page that my topic belongs to the fundraising forum.
I am using the theme “Academica” version 1.2.2. I changed to “Twenty Thirteen” temporarily, and things seemed much better. I could see and get into the topic. If I figure out how to make the topic show with “Academica”, am I nevertheless going to find myself fighting an endless battle with this theme? Or should one more fix take care of it? (Of course, if it is just one more fix, what might that fix be?)
Note I’m using WordPress 3.9.1.
Thanks very much,
HelmutI’m using an Avada child theme and have inserted the search shortcode. Unfortunately it is showing two forms. I’m sure I could get rid of one by doing a display:none on the relevant div but I’d like to know why this is happening. You can see the page here, whilst the code is here:
[one_half last="no"]Welcome to the Itinerant Writers Club. This is a closed group but anyone interested in discussing travel writing is invited to join. It is a dedicated group where, each month, every essay written by the members is critiqued by the others. Here's why you should join: [checklist icon="pencil" iconcolor="#6dd622" circle="yes"] <ul> <li>High rate of published members</li> <li>Dedicated, monthly critique of your work</li> </ul> [/checklist] [bbp-search] [/one_half] [one_half last="yes"]<tt>[bbp-forum-index]</tt>[/one_half]Hello
I am quite a newbie in regards to web design/development, especially wordpress and bbpress are quite tricky to learn when not knowing anything about php etc.
For about 5 months i have been hacking away and pasting existing code to create what I hope to be a nice allround bbpress/buddypress theme.
It is still being worked on but I would love some feedback on my progress.
Thanks in advance
Peter Hamilton