Search Results for 'forum'
-
AuthorSearch Results
-
January 13, 2016 at 4:41 pm #248673
In reply to: how can i change word Forums?
danbp
ParticipantHi,
you need to use bbpress.po translation file, even if your site is in default english language.
Or if you only want to modify one word, you can use this snippet from inside your child-theme’s functions.php (will also work in bp-custom.php)function bruce_change_name( $translated, $original_text, $domain ) { if ( 'bbpress' !== $domain ) return $translated; switch ( $original_text ) { case 'Forums': // original word return 'Four Rhum'; // your custom word default: return $translated; } } add_filter( 'gettext', 'bruce_change_name', 10, 3 );WP reference: https://developer.wordpress.org/reference/hooks/gettext/
January 13, 2016 at 9:36 am #248659In reply to: how can i change word Forums?
bruce30
Participanti think mine really change the slug, but i did not notice it because im looking at the nav menu if the word Forums changes. im not looking in the URL.
January 13, 2016 at 6:33 am #248654In reply to: how can i change word Forums?
Henry Wright
ModeratorI think so with the use of a language file.
Ref: https://codex.buddypress.org/getting-started/customizing/customizing-labels-messages-and-urls/
Also, according to the Customizable Slugs in BuddyPress article, you should be able to add this to your wp-config.php file to change your slug:
define ( 'BP_FORUMS_SLUG', 'discussions' );Ref: https://buddypress.org/2009/05/customizable-slugs-in-buddypress/
January 13, 2016 at 5:04 am #248652In reply to: how can i change word Forums?
Henry Wright
ModeratorDo you mean change the wording of the navigation tab that reads Forums?
January 13, 2016 at 4:27 am #248650In reply to: how can i change word Forums?
bruce30
ParticipantHi @henrywright,
Hello @casiepa, 🙂
i link an image here, (i hope this likk will work :))to show what it looks like. that’s how it looks like, the personal profile of each user, if you observe the menu below the cover photo. together with the notification and messages, there is a “Forums” i what to change it, the same with The Group page after the home button, i hope you can help me, 🙂Bruce.
January 12, 2016 at 7:29 pm #248640In reply to: Redirect After “Join Group” Continued
Henry Wright
ModeratorThe code you’ve posted gets the current group and first compares that group’s slug to social-group-547668396. If a match occurs, the default tab is set to calendar. If no match occurs then the group’s slug is compared to husbands-out. If a match occurs, the default tab is set to forum. If the group’s slug doesn’t match any of those, the default tab is set to home.
I don’t think any of this will happen at the point a join group button is clicked.
My thinking is you will need to hook to an action such as
groups_join_group(which will fire immediately after a user joins a group) and then perform a direct to the forum tab (or to the default tab if that is set to forum).I think something like this:
function my_redirect_after_join_group( $group_id, $user_id ) { $group = groups_get_group( array( 'group_id' => $group_id ) ); bp_core_redirect( bp_get_groups_directory_permalink() . $group->slug . '/forum/' ); } add_action( 'groups_join_group', 'my_redirect_after_join_group', 10, 2 );Please note I haven’t tested.
January 12, 2016 at 1:20 pm #248630In reply to: Redirect After “Join Group” Continued
ma3ry
ParticipantThank you. Could you please be more explicit.
Do I need the above code PLUS redirect plugin or should I be able to do it with just plugin?
Can you give me an idea of the URL “in” to accomplish this please.
The URL “out” will be https://christiangayschat.com/bpgroups/social-group-547668396/forum/
But I can’t figure out what the “in” URL would be for Join Group and Leave Group.
January 12, 2016 at 1:04 pm #248628In reply to: how can i change word Forums?
Pascal Casier
Participant@henrywright,
Are you sure this is a bbPress thing ? In the profile of a standard WordPress/bbPress install, I don’t seem to have a ‘Forum’ button in my profile.
Pascal.January 12, 2016 at 11:25 am #248626In reply to: how can i change word Forums?
Henry Wright
ModeratorJanuary 12, 2016 at 12:28 am #248606In reply to: moderator disappeared from users
Ben Hansen
Participantso the moderator user role is actually a function of bbpress not buddypress so you may have more luck on that forum than here but have you run the the bbpress repair scripts?
January 11, 2016 at 6:27 am #248589In reply to: Redirect After “Join Group” Continued
Henry Wright
ModeratorRegarding your original question:
Is there a way to redirect to forum from “Join Group” button please.
The code you’ve posted here won’t perform a redirect; instead, it filters the default groups tab. I would imagine you’d also need a redirect put in place (which might explain why you see no change when you add the code snippet).
January 11, 2016 at 12:37 am #248587In reply to: Redirect After “Join Group” Continued
ma3ry
ParticipantThis is some code that I got from another page. Is there any chance that you could adapt it?
/* Redirect to Forum after Join Group. */
function bpfr_custom_group_default_tab($default_tab){
/**
* class_exists() is recommanded to avoid problems during updates
* or when Groups Component is deactivated
*/
if ( class_exists( ‘BP_Group_Extension’ ) ) : //$group=groups_get_current_group();//get the current group
if(empty($group))
return $default_tab;switch($group->slug){
case ‘social-group-547668396′: // group name (slug format)
$default_tab=’calendar’;
break;case ‘husbands-out’: // another group
$default_tab=’forum’; // goes on a different tab
break;// case etc, etc…
default:
$default_tab=’home’;// the default landing tab
break;}
return $default_tab;
endif; // class end
}add_filter(‘bp_groups_default_extension’,’bpfr_custom_group_default_tab’);
Sat Jan 9 2016, 9:03:59 PM
(0) ReplyAdd file
January 7, 2016 at 4:00 am #248473markc
ParticipantThanks again for your help. I think I have it working now. What confused me is when creating a Group and selecting “create forum” that it created an empty one with the same name so in the admin area for the Group I have to select the OTHER forum topic with the same name and then delete the empty same-named forum. Whew! 🙂
And doubly confused with users. The topics and replies do have the correct user but it was the creator of the Forums and Groups that is (obviously) admin. Also the post with single Voices and Posts are indeed unanswered topics best I can determine, so maybe all is well.
January 7, 2016 at 3:45 am #248472Ben Hansen
Participanthmm not sure think that’s above my pay grade might want to ask in the bbpress forums if nobody else here can help.
January 7, 2016 at 3:42 am #248471markc
ParticipantRight, so it is that simple!
I must have a borked the initial import because now I only have a single “Voices” and “Posts” per topic whereas there should be 25,000 Posts in one particular topic. Maybe I was too eager trying to rebuild forums and topics.
Also the the users that previously created and belonged to each Post are missing entirely. All Forums and Topics are “owned” only by admin. Any hint as how to “reattach” users to the topics and replies by any chance?
January 7, 2016 at 3:32 am #248470Ben Hansen
Participantbuddypress used to have its own group based forums now what you do is when you create the group there is an option to also create a forum topic. you can also associate an already existing forum using the manage option on the group page as an admin.
January 7, 2016 at 3:17 am #248468markc
ParticipantThanks @ubernaut. I have a forum topic called “General” so I create a Group also called “General” but I can’t figure out how to enable the imported General topic to become THE forum for the newly created General Group. I found these vague old instructions but no luck so far. Would you have any clues how I could link the imported forum topic to the group?
Set up a new group for each forum (a “Help” forum might get a “Help” group, for example), make sure the group has discussion forums enabled, and then find the line in table wp_bp_groups_groupmeta corresponding to the group_id of the new group and meta key
forum_id, and change the meta_value to match the forum number of the orphan group. Rinse and repeat.January 7, 2016 at 1:58 am #248466Ben Hansen
Participantthere’s no need actually the user list is the same (wordpress’) and buddypress does not have any forum functionality other than compatibility with what bbpress provides.
January 6, 2016 at 12:02 am #248415In reply to: Admin screen goes white on BuddyPress activation
Paul-tCGs
ParticipantWell @shanebp, the call to GoDaddy didn’t go so well: they basically wanted to turn on the WP debug log which I’d enabled last two weeks ago.
In the meantime, with things somewhat stable, we’ve been turning the BuddyPress plugin on and off to add the functionality on the backend or the user profiles on the front end as one need
Clearly we are having trouble with the Kami theme update, and we’ve emailed the developers for the theme to get them working on that part of the issues we’re having. Yet there are lots of other updates are occurring all the time too, and clearly BuddyPress is the one sticking me in the side.
When BuddyPress is activated, the WP Dashboard goes white, but functionality of the plugin comes back along with all the data. When BP is deactivated (removed via sftp, actually) the functionality is lost, but the Dashboard comes back to online mode.
I’m wondering now if there is any better support than these forums.. cuz i can’t see this being more than running blind right now.
January 5, 2016 at 3:13 pm #248389In reply to: Custom signup form displaying wrong data in backend
VersGemerkt
ParticipantIf you are interested: i posted the question here: https://thimpress.com/forums/topic/how-to-call-the-user-id/
January 5, 2016 at 2:59 pm #248387In reply to: Custom signup form displaying wrong data in backend
shanebp
ModeratorYou are asking LearnDash questions on a BP support forum.
Please ask LearnDash.January 3, 2016 at 3:12 pm #248321In reply to: Working with BuddPress Login(redirects to wp-admin)
shanebp
ModeratorHave you tried deactivating other plugins to see if there is a conflict?
Have you tried switching to a WP theme like 2013 to see if there is an issue in your current theme?
How can i PM an expert each time i run into something i don’t know?
These forums are run by volunteers.
If you want access to an expert, you can create a listing on the jobs forum.January 3, 2016 at 1:01 pm #248314In reply to: I need your help.,
danbp
ParticipantHi,
group forums are part of bbPress, so you’ve better to ask on bbPress support forum.
On bbPress Codex, you’ll find a page related to some plugins who may fit or approach what you’re looking for. See https://codex.bbpress.org/feature-plugins-tracking/
January 2, 2016 at 2:45 pm #248282In reply to: Protected Forums
tammy1999
ParticipantNo I haven’t. I am doing some research first before I decide which plugins to use on a new site. I posted at the bbPress forum, but not getting any responses.
January 2, 2016 at 2:03 pm #248277In reply to: Protected Forums
shanebp
ModeratorSince it has not been updated for a couple years, that plugin may or may not work.
Did you try it? -
AuthorSearch Results