Search Results for 'forum'
-
AuthorSearch Results
-
April 11, 2015 at 8:19 pm #237707
In reply to: Help editing BP Column theme
Henry Wright
ModeratorHi @daethian
Have you tried asking on the theme’s support forum?
April 11, 2015 at 6:24 pm #237694In reply to: [Resolved] PHP Fatal Error?
danbp
ParticipantReading at least today’s topics before asking on forum is an elementary rule. 😉
See: https://buddypress.org/support/topic/fatal-error-after-update/
Hugo Ashmore
ParticipantTechnically you’re on the wrong forum, you have no instance of BuddyPress running only bbPress and they are two different plugins.
You might try any of the Title tag plugins out there such as Yoast WP SEO also look at how your theme is handling the title tag in the header and search the WP codex for any guides on filtering the WP title tag to modify the title strings.
Atilla
ParticipantThanks for your answer.
http://www.ekademik.com/forum/There is no any plugin or 3. part app. but title is not good for us.
wp: 4.1.1
bbpress: 2.5.6April 10, 2015 at 11:41 am #237607In reply to: Setting User Role During Custom Registration
ch1n3s3b0y
ParticipantOk, I have this working! For anyone else struggling with this, these are the steps I took:
1. I created a custom registration form ( I needed more than one form for my setup) using the tutorial from Brajesh Singh http://buddydev.com/buddypress/show-buddypress-user-registration-form-everywhere-buddypress-site/
2. I added a hidden input field to my form:
<input type="hidden" name="user_type" id="user_type" value="your_role" />3. I added a user_meta during the registration to store the role for later use during the activation process:
function store_user_role($user_id) { $user_type = $_POST['user_type']; $user_role = $user_type; switch($user_role) { case "your_role": add_user_meta( $user_id, '_member_role', 'yourrole'); break; case "my_role": add_user_meta( $user_id, '_member_role', 'myrole'); break; default: add_user_meta( $user_id, '_member_role', 'defaultrole'); } } add_action( 'bp_core_signup_user', 'store_user_role', 20, 1);4. Then during the activation process you check to see which user role is stored in the user_meta, and assign that as the actual WP user role:
add_action('bp_core_activated_user', 'bp_custom_registration_role',10 , 3); function bp_custom_registration_role($user_id, $key, $user) { $userdata = array(); $userdata['ID'] = $user_id; $key = '_member_role'; $single = 'true'; $userRole = get_user_meta( $user_id, $key, $single ); if ($userRole == 'yourrole') $userdata['role'] = 'yourrole'; if ($userRole == 'myrole') $userdata['role'] = 'myrole'; if (($userdata['role'] == "yourrole") or ($userdata['role'] == "myrole")) wp_update_user($userdata); }That’s it. I used a few different examples from these support forums so credit goes out to those who got this stuff working in the first place. Hope this helps someone else.
April 10, 2015 at 8:01 am #237598In reply to: Registration redirects to home page.
danbp
ParticipantMany topics about this where already answered on the forum.
https://buddypress.org/support/search/Registration+redirects+to+home+page/
April 9, 2015 at 7:45 pm #237584danbp
ParticipantWelcome on BuddyPress !
You’re on the wrong forum.
bbPress has it own support forum.April 9, 2015 at 7:19 pm #237580danbp
Participanthi @mrgiblets,
what about a show/hide toggle comment button ?
https://buddypress.org/support/topic/how-to-show-comments-only-when-i-click-on-comment-button/Or disabling comments selectively ?
https://buddypress.org/support/topic/blog-forum-comments/See this filter
bp_activity_can_commentin:
bp-activity-template.php
bp-blogs-activity.phpApril 9, 2015 at 1:34 pm #237559Svend Rugaard
ParticipantApril 9, 2015 at 12:10 pm #237552In reply to: @mention autolink to profile
Matthias
ParticipantHi danbp,
I can not find a setting to allow explicit @mention. I allowed the activity stream in buddypress. And @mentions are working fine in there.
The notifications if someone is mentioned in the bbpress forums are working fine, too. I even have a dropdown field with suggestions for @mention in bbpress.The only thing is the missing link to the profile behind the @mention in replies…
forums and buddypress sites are exluded from caching…Thanks
MatthiasApril 9, 2015 at 2:08 am #237537In reply to: [Resolved] Mention tag in forum how to get it ?
Svend Rugaard
ParticipantLook here ? http://www.playstationforum.dk/topic/opdatering-a-forum/
My bp-custom.php is looking like this
<?php // hacks and mods will go here ?> function abc() { $user = get_userdata( bbp_get_reply_author_id() ); if ( !empty( $user->user_nicename ) ) { $user_nicename = $user->user_nicename; echo '@'.$user_nicename; } } add_filter( 'bbp_theme_after_reply_author_details', 'abc' )April 9, 2015 at 12:58 am #237530In reply to: @mention autolink to profile
danbp
ParticipantKeine ahnung ! It works on my forum… Do you use a cache or clear your browser history and cookies.
Aside, did you allowed mention in BP settings ?
April 9, 2015 at 12:45 am #237528In reply to: [Resolved] Mention tag in forum how to get it ?
danbp
ParticipantNothing happen ? Where do you try to use this function ?
And No you haven’t to use another snippet.The snippet is not correct as it ouput the display name. We need nicename.
Use this instead
function abc() { $user = get_userdata( bbp_get_reply_author_id() ); if ( !empty( $user->user_nicename ) ) { $user_nicename = $user->user_nicename; echo '@'.$user_nicename; } } add_filter( 'bbp_theme_after_reply_author_details', 'abc' );This will only show up in a bbpress forum. Like here, that’s what you asked for.
April 8, 2015 at 10:55 pm #237521In reply to: @mention autolink to profile
Matthias
ParticipantHi @danpb,
now I’m using your code and the plugin, but my forum still shows no links in @mention
I just was searching in the bbpress support forum and it seems that it is a built in feature. But I don’t know why it is not working on my install?
Here is how @mention are shown in my forum. No link to the user profile at all

Any suggestions to solve the problem?
Thanks
MatthiasApril 8, 2015 at 9:21 pm #237516In reply to: broken links in activity stream
danbp
ParticipantActivities prior to your slug modification are not modified recursively. That’s normal behave.
The only way i know to do that is to change the slug manually in the activity table.
If you have many forum related activities, use a mysql script.April 8, 2015 at 7:11 pm #237512In reply to: @mention autolink to profile
Matthias
ParticipantApril 8, 2015 at 1:56 pm #237483In reply to: Extraordinary amount of spammers signing up
danbp
ParticipantWide subject and several answered on this forum.
Askimet covers comment spam and doesn’t avoid clever spam bots to hit directly the DB.
Basic recommandation is to use table prefix different of the classic wp_. This calms down most bots.
A closed door is always a challenge for any spammer. WP is not fort Knox and depending your host, what YOU did and many other security details, this has no end in fact. If your site is Facebook, you’ll probably receive more spam than if it would be mykittycat homepage. Glory has a price ! 😉
Some htaccess rules against reputated spam server and one or to plugins aside what exist natively in WP should be enough to protect you a little from massive spam.
For example: buddypress honeypot + ban hammer for BP
or more simple and rought
http://mattts.net/development-stuff/web-development-stuff/wordpress/buddypress/anti-spam-techniques/registration-honeypot/… + searching this forum, maybe you can find more tips. 😉
April 8, 2015 at 12:14 am #237430shaquana_folks
ParticipantThe only reason why I started this topic was because I spoke to a WordPress representative and as I’ve done here, after explaining the issues to the rep, they said for me to get in contact with the creators of the plugin that allows me to do all of these news feed configurations so I assumed it was through here, BuddyPress. And I already was reading through the Codex, videos tutorials, support forums and speaking to numerous amounts of representatives and didn’t get anywhere. But okay, I will try reaching out to the creator of the Vipress theme and hopefully get my questions answered. Thank you.
April 7, 2015 at 3:59 pm #237387In reply to: "Friends Only" custom filter – codex incomplete?
danbp
ParticipantThe codex is maintained and written by volonteers since BP exist. (2007)
Codex explains principaly how BP works. It is not the place to get some ready to use tips or code for special cases.For such things you have the forum where you can search or ask for.
If you have ideas or enhancement request, you can open a ticket for this on Trac.
The standard (members)activity loop action is not random, but current_action (depending if you’re on the SWA, your profile or in a group activity) and chronological to any activity, in order they came up (again in the limit of previous mentionned tabs).
Yes BP has “6 years old code” in it which is already working ! 😉 What would you say if BP code changed every week !
Now to your question. You have several option to do that, which needs you to be confirmed.
Only the activity directory should show Friends activities by default ?
All activity walls should show friends activities by default ?In the first case, only logged in user will then see something, and only if they have friends. Else they’ll see nothing !
In the second case, you’ll get the same behave on All mentionned places.
If a friends activity filter is not implemented there, it’s because it’s more logical that users can get this information from within a profile. It’s not very pertinent on the main activity page.
But you can anyway code it, as explained in your first link.
Or much simplier, by using this way:April 7, 2015 at 1:04 pm #237380In reply to: Chat plugin?
cometchat
ParticipantHello,
I am Andrew from the CometChat team. Please email us at help@cometchat.com and we would be happy to assist you with a custom solution.
Warm Regards,
Andew
CometChat TeamPlease note that we do not actively monitor these forums, so for a speedy response, please email us at the above address.
April 7, 2015 at 7:27 am #237366In reply to: Volunteer for BuddyPress
Hugo Ashmore
Participant@ripozzo The best approach is to get as familiar with BP as possible, running local development installs of BP that you can play around with, reading the current codex guides, then helping out on the forum answering any questions you can. Answering forum questions is a great way to get really familiar with BP as it gets you rooting around in BP seeing what the solutions might be.
When you feel you’re ready to add documentation or see a need and benefit to edit/update existing codex articles drop am @mention to myself @hnla or mercime @mercime and we’ll happily set you up with access on the codex.
April 6, 2015 at 5:33 pm #237343In reply to: Volunteer for BuddyPress
Mac
Participant@bphelp as for expertise, there is none! I’m here because I’d like to learn BuddyPress, and I figured by helping, preferably by documenting, I’d learn, and possibly even help.
@danbp I’ve visited the Codex Standards & Guidelines. However, one issue I’m immediately finding is that I don’t have the ability to create or modify.The reason I dropped the request in this forum is because I read the topic This is why we can’t have nice things @johnjamesjacoby. I figured this was the current SOP for volunteering.
Thanks to all, and I’m looking forward becoming and active member of the community.
April 6, 2015 at 2:17 pm #237329In reply to: forum and group notification
dingxiaohan
ParticipantI’m still floundering here. Is there any way that subscribers to forums and groups can get notification of _all_ contributions to those forums/groups?
April 5, 2015 at 7:48 am #237299In reply to: turn off email notifictions in functions.php
5high
ParticipantBrilliant! It worked a treat, and I used the ‘user_register’ as suggested. So for anyone else looking for this solution, this is the code i used to turn some on and some off by default on new user registration:
add_action( 'user_register', 'bpdev_set_email_notifications_preference'); function bpdev_set_email_notifications_preference( $user_id ) { //I am putting some notifications to no by default and the common ones to yes to enable it. //ref. https://bp-tricks.com/snippets/changing-default-buddypress-notifications-settings and BP forum $settings_keys = array( 'notification_activity_new_mention' => 'yes', 'notification_activity_new_reply' => 'yes', 'notification_friends_friendship_request' => 'no', 'notification_friends_friendship_accepted' => 'no', 'notification_groups_invite' => 'no', 'notification_groups_group_updated' => 'no', 'notification_groups_admin_promotion' => 'no', 'notification_groups_membership_request' => 'no', 'notification_messages_new_message' => 'yes', ); foreach( $settings_keys as $setting => $preference ) { bp_update_user_meta( $user_id, $setting, $preference ); } }and this went in my child theme functions.php file.
Hooray! Thanks so much again – it will make a big different to our users experience.
Cheers 🙂April 4, 2015 at 9:39 pm #237295In reply to: Displaying Notifications Tab out of admin bar
nh123
ParticipantHi, why is this the wrong forum ? I am also very interested in what could be the solution.
-
AuthorSearch Results
