Search Results for '+.+default+.+'
-
AuthorSearch Results
-
November 4, 2018 at 6:26 pm #195989
lookingahead
Participant@robin-w oh no worries on this being a ‘new’ thing for you to hear — as someone who does not work with buddypress like yourself you’re never going to hear this. it’s because it is a way that bbpress sends information to buddypress when buddypress pulls info from bbpress into it, when it uses bbpress programming to create ‘group forums.’
it’s not a bug; it’s how the interface between bbpress and buddypress works.
at least, that’s what i’m gathering now, after reading other people’s posts with the same issue in forums all over the web.
so my question to you now: what is the file that bbpress uses to say what the slug is — the URL name, which in this case is just ‘forum’….not ‘forums’ but ‘forum’ — so i can alter that?
i HHAAAATE altering core files, but in this case it’s likely needed.
whatever ‘default URL/slug’ command is used when buddypress pulls in forum creation/function into bbpress……chances are, that is the file i will (gulp!) need to modify.
i’m guessing that the same code/file is used to be the ‘default slug name’ in bbpress. which is….’forum’
what file does that? creates a default ‘forum’ in the URL/slug when a forum is created?
November 4, 2018 at 5:35 pm #195982Robin W
Moderatorwhat is confusing me is that in
dashboard>settings>forums>single forum slug you have
discussion where I have forum, and it is this slug that is the extra one showing in the url.
Why you have discussion, I have no idea, I have not seen this before
all I can suggest is that it could be a theme or plugin issue issue, so you’ll need to test to find out which
Themes
As a test switch to a default theme such as twentyfifteen, and see if this fixes.
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.
and see what is setting this to discussion
Then come back
November 3, 2018 at 3:03 pm #195940lookingahead
Participant@robin-w LOLOLOL — ‘the work of the devil’ hahaha….yeah it’s pretty messed up as a program goes at times, hahaha…. 😀
disabled, did not fix
the buddypress people said on another thread to someone else asking the same question to ask it here, because it was a bbpress issue….now you tell me to go ask it there, because it might be a buddypress issue LOL
i even tried modifying the ‘bp-custom.php’ file for setting the name of the default URL slug; nada (tho that is a buddypress thing, figured i’d mention it here to show you how long i’ve been trying to solve this)
isn’t there a plugin out there that can accomplish the ‘change the default URL slug for forums’ issue?
November 3, 2018 at 11:16 am #195921lookingahead
ParticipantHi!
So….aaaallll I really want to do is change the default URL path for each new forum.
I do not want the word ‘forum’ to be in any URL, not ever. I want the word ‘forum’ to be ‘chat’ — not ‘forum’….
Example:
– current default URL path: https://sitename.com/interaction/talk-name/forum/
– desired default URL path: https://sitename.com/interaction/talk-name/chat/No matter what I do to set it up in the ‘settings’ area in WordPress, ‘forum’ is tacked on to the end of the URL….I don’t want the term, ‘forum’ to be ANYWHERE — I want ‘chat’ to be there instead.
Suggestions?
October 31, 2018 at 2:49 pm #195865In reply to: Spam Forum Topics
Robin W
ModeratorIf you do not have caching software that might be not accepting the change to the settings, then
It could be a theme or plugin issue issue, so you’ll need to test to find out which
Themes
As a test switch to a default theme such as twentyfifteen, and see if this fixes.
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.
Then come back
October 31, 2018 at 3:39 am #195847In reply to: 404 error with hierarchy roles
Robin W
Moderatoryou’ll need to do some fault finding
It could be a theme or plugin issue issue, so you’ll need to test to find out which
Themes
As a test switch to a default theme such as twentyfifteen, and see if this fixes.
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.
Then come back
October 22, 2018 at 3:14 am #195609In reply to: Problem with registration
ljubomir69
ParticipantOne more question, if I switch to default theme will I lost all settings in the theme currently activated on site? Same question for plugins..
October 21, 2018 at 1:27 pm #195602In reply to: Can’t give users custom roles.
Robin W
Moderatorok, I presume you meant this code
//code to add tutor role function add_new_roles( $bbp_roles ) { /* Add a role called tutor */ $bbp_roles['bbp_tutor'] = array( 'name' => 'Tutor', 'capabilities' => custom_capabilities( 'bbp_tutor' ) ); return $bbp_roles; } add_filter( 'bbp_get_dynamic_roles', 'add_new_roles', 1 ); function add_role_caps_filter( $caps, $role ) { /* Only filter for roles we are interested in! */ if( $role == 'bbp_tutor' ) $caps = custom_capabilities( $role ); return $caps; } add_filter( 'bbp_get_caps_for_role', 'add_role_caps_filter', 10, 2 ); function custom_capabilities( $role ) { switch ( $role ) { /* Capabilities for 'tutor' role */ case 'bbp_tutor': return array( // Primary caps 'spectate' => true, 'participate' => true, 'moderate' => false, 'throttle' => false, 'view_trash' => false, // Forum caps 'publish_forums' => false, 'edit_forums' => false, 'edit_others_forums' => false, 'delete_forums' => false, 'delete_others_forums' => false, 'read_private_forums' => true, 'read_hidden_forums' => false, // Topic caps 'publish_topics' => true, 'edit_topics' => true, 'edit_others_topics' => false, 'delete_topics' => false, 'delete_others_topics' => false, 'read_private_topics' => true, // Reply caps 'publish_replies' => true, 'edit_replies' => true, 'edit_others_replies' => false, 'delete_replies' => false, 'delete_others_replies' => false, 'read_private_replies' => true, // Topic tag caps 'manage_topic_tags' => false, 'edit_topic_tags' => false, 'delete_topic_tags' => false, 'assign_topic_tags' => true, ); break; default : return $role; } }so with that code loaded to my site, if I go to
dashboard>users>all users and edit a user, I can change them to the tutor role, and back again and it saves.
Can you confirm you are using the above code, and that it does not save if you perform the above ?
October 21, 2018 at 7:24 am #195599In reply to: Problem with registration
Robin W
Moderatorif you actually posted ‘After clicking on register button wp shows wp-login.php page but without login form. Only -1 in upper left corner.’ on a wordpress forum, why would they even mention bbpress? Youy must have asked a question mentioning bbpress.
I have looked at the issue and it is a wordpress issue, but general advice
It could be a theme or plugin issue issue, so you’ll need to test to find out which
Themes
As a test switch to a default theme such as twentyfifteen, and see if this fixes.
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.
Then come back
October 20, 2018 at 6:49 am #195585In reply to: Integration with WP
liyacaty
ParticipantWhen u load wordpress function inside bbpress. U already integrate both design point and database point. You only need to add WP template tags inside bbpress template.and mostly use wp default functons.
October 19, 2018 at 2:49 am #195561In reply to: Topic order not changing with new post
Robin W
ModeratorIt could be a theme or plugin issue issue, so you’ll need to test to find out which
Themes
As a test switch to a default theme such as twentyfifteen, and see if this fixes.
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.
Then come back
October 12, 2018 at 12:34 pm #195460In reply to: sticking a reply at the top of the repies
Robin W
ModeratorIf you fine with code, then this is how I would go about it
1. create a split in topic & replies, so you have a place to put the ‘featured reply’
Use this piece of code in your functions file2. then you’ll need a flag for the featured reply.
This code does an ‘advert’ flag for a topic, but has much of the code you’d need to do a flag for a reply to show it is featured – I’ll leave you to work out which bits you’ll need, but the key is the hook to
add_action( 'bbp_theme_before_topic_form_submit_wrapper', 'at_checkbox' );change this to
add_action( 'bbp_theme_before_reply_form_submit_wrapper', 'at_checkbox' );amend the references from topic to reply
and add some if(bbp_keymaster() ) to make it only show for you, and you will be most of the way there
// show the "Mark if it is an advert" checkbox on topic form add_action( 'bbp_theme_before_topic_form_submit_wrapper', 'at_checkbox' ); function at_checkbox() { // Text for the topic form global $topic_advert_text ; ?> <p> <input name="at_advert" id="at_advert" type="checkbox"<?php checked( '1', at_is_advert( bbp_get_topic_id() ) ); ?> value="1" tabindex="<?php bbp_tab_index(); ?>" /> <?php if ( bbp_is_topic_edit() && ( get_the_author_meta( 'ID' ) != bbp_get_current_user_id() ) ) : ?> <label for="at_advert"><?php echo '<span class="dashicons dashicons-awards"></span>'.$topic_advert_text.'</label>' ;?> <?php else : ?> <label for="at_advert"><?php echo '<span class="dashicons dashicons-awards"></span>'.$topic_advert_text.'</label>' ;?> <?php endif; ?> </p> <?php } //check if topic is advert function at_is_advert( $topic_id = 0 ) { $retval = false; if ( ! empty( $topic_id ) ) { $retval = get_post_meta( $topic_id, 'at_topic_is_advert', true ); } return (bool) apply_filters( 'at_is_advert', (bool) $retval, $topic_id ); } // save the advert state add_action( 'bbp_new_topic', 'at_update_topic' ); add_action( 'bbp_edit_topic', 'at_update_topic' ); //update topic function at_update_topic( $topic_id = 0 ) { if( isset( $_POST['at_advert'] ) ) update_post_meta( $topic_id, 'at_topic_is_advert', '1' ); else delete_post_meta( $topic_id, 'at_topic_is_advert' ); }3. amend content-single-topic-lead.php in your child theme’s bbpress directory.
by
create a directory on your theme called ‘bbpress’
ie wp-content/themes/%your-theme-name%/bbpresswhere %your-theme-name% is the name of your theme
find
wp-content/plugins/bbpress/templates/default/bbpress/content-single-topic-lead.php
Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
wp-content/themes/%your-theme-name%/bbpress/content-single-topic-lead.phpbbPress will now use this template instead of the original and you can amend thisThis then you can use to add some code
if (at_is_advert( $reply_id )) then….. display this reply
and you should be there
so
the reply form will show a checkbox to make a reply featured available only to say keymaster, and as keymaster you can edit a topic to make it a featured
the content_single_topic_lead will check if a reply is featured and then show it if it isI wish I had the time to code this all for you, but please if you do work oyt some code, post back here for other to benefit
October 11, 2018 at 4:30 pm #195425In reply to: Unable to edit/add to my forums
Robin W
Moderatorok, I would strongly suspect you membership wall, presumably a plugin – not a lot we can do if it is.
This generic help should let you define where the issue is
It could be a theme or plugin issue issue, so you’ll need to test to find out which
Themes
As a test switch to a default theme such as twentyfifteen, and see if this fixes.
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.
Then come back
October 11, 2018 at 1:26 pm #195418In reply to: Double avatar
Robin W
ModeratorIt could be a theme or plugin issue issue, so you’ll need to test to find out which
Themes
As a test switch to a default theme such as twentyfifteen, and see if this fixes.
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.
Then come back
October 9, 2018 at 4:29 pm #195377In reply to: Subscribe – Post Author Not Receiving Email
Robin W
Moderatoryes, that is the default position, I’ll try and work out some code in the next few days.
If I have not come back in 3 days time, post again to remind me !
October 9, 2018 at 4:27 pm #195376In reply to: bbpress user roles
Robin W
Moderator
in bbpress plugin in my site the moderator roles the forum is not showing in dashboard,
It could be a theme or plugin issue issue, so you’ll need to test to find out which
Themes
As a test switch to a default theme such as twentyfifteen, and see if this fixes.
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.
Then come back
October 9, 2018 at 4:26 pm #195375In reply to: Message on the text editor: CONTENT string (0)
Robin W
Moderatorsomething is putting that code there, you will need to work out what
It could be a theme or plugin issue issue, so you’ll need to test to find out which
Themes
As a test switch to a default theme such as twentyfifteen, and see if this fixes.
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.
Then come back
October 6, 2018 at 4:43 pm #195310In reply to: Changing the first item on a topic list
Robin W
Moderatorok, so concentrating on a topic and it’s reply list and ignoring forums, you are saying that you would like
from clicking a topic in the forum list (a list of topics in the forum) you are taken to a page which displays
- the topic name
- some content/info but styled and controlled by you
- the replies as per normal
- the reply form
If so I suspect you need to do two things
1. use this piece of code in your functions file
2. amend content-single-topic-lead.php in your child theme’s bbpress directory.
by
create a directory on your theme called ‘bbpress’
ie wp-content/themes/%your-theme-name%/bbpresswhere %your-theme-name% is the name of your theme
find
wp-content/plugins/bbpress/templates/default/bbpress/content-single-topic-lead.php
Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
wp-content/themes/%your-theme-name%/bbpress/content-single-topic-lead.phpbbPress will now use this template instead of the original and you can amend thisI have no idea how technical you are and whether that gives you enough to go ahead and fix, or if you need further help – let me know
October 5, 2018 at 4:46 pm #195244In reply to: Recurring “No topics found” message
Robin W
ModeratorIt could be a theme or plugin issue issue, so you’ll need to test to find out which
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, as a test switch to a default theme such as twentyfifteen, and see if this fixes.
Then come back
October 5, 2018 at 4:18 pm #195240In reply to: Messages are stacking
Robin W
Moderator1. bbpress is free software offered under OSF. There is no guarantee of support. If I gave you a free car, would you also expect me to service it for you for free?
2. BBpress is supported by volunteers (mainly me) who do so in their free time for no payment, so you expect someone to reply within 7 hours is frankly being a bit hopeful.
3. If you have followed the troubleshooting information in ‘before posting’ before er.. posting then you would probably have an answer without involving me, but to save you reading it…the most relevant part for you is
It could be a theme or plugin issue issue, so you’ll need to test to find out which
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, as a test switch to a default theme such as twentyfifteen, and see if this fixes.
Then come back
October 5, 2018 at 3:32 am #195218In reply to: WP User(subscribers) Not able to Post Reply
Robin W
ModeratorIt could be a theme or plugin issue issue, so you’ll need to test to find out which
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, as a test switch to a default theme such as twentyfifteen, and see if this fixes.
Then come back
September 28, 2018 at 9:50 pm #195082In reply to: Change forum role of more than one user
skylabb
ParticipantI came across this same issue and found this thread.
“bbpress default role is only allocated on first user login, so users who register but haven’t yet logged in will show as having no role.”
If this is how it works, how anyone is supposed to know? Naturally you would think you can change user roles by multiple select and assign them a role when they don’t have one yet. Maybe a popup message would help when the admin attempts such action.
September 24, 2018 at 7:38 am #195014In reply to: Learndash and Bbpress plugin issue
Robin W
ModeratorAs far as I know the two work together
bbPress is tested with wordpress default themes. It maybe a conflict – you need to check plugins and themes
It could be a theme or plugin issue
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, as a test switch to a default theme such as twentyfifteen, and see if this fixes.
Then come back
September 22, 2018 at 10:18 am #194983In reply to: Setting User Forum Role By Code
Robin W
ModeratorI’ve just done some testing
this code :
function test_set_user () { $user_id = 1223 ; bbp_set_user_role( $user_id, 'bbp_participant' ); } add_action ('init' , 'test_set_user' ) ;changes user 1223 on site load, so the code is fine.
I think it is a timing issue – ie when you are doing this. It may well be that even if this fires, a ‘create user’ firing after will overwrite this – eg this may set for pending, but then be overwritten by the final user creation.
Of course if it is always going to be participant, then bbpress allocates the user to the default role (as set in settings>forums>default role) if no bbpress role is set on first login, so you could just set up the user, and bbpress will take care of giving them a role when they first log in!
September 13, 2018 at 4:13 am #194822Topic: New plugin: GD Power Search Pro for bbPress
in forum PluginsMilan Petrovic
ParticipantFew days ago I have released new plugin for bbPress to add advanced search form to replace bbPress default search page. More information about the plugin is available here:
GD Power Search Pro for bbPress

-
AuthorSearch Results