Search Results for 'buddypress'
-
AuthorSearch Results
-
October 6, 2016 at 8:14 pm #259553
danbp
ParticipantHi,
by reading the first topic, it sounds like you try to use more than one child theme !
I already have activated my other child theme
If it is the case, it’s not the way to proceed. 😉
1) You should have only one child-theme activated.
2) in this child, you add a folder called buddypress.
3) if you need to modify some BP templates, you copy the original fromwp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/into the child BP folder.Example of what you should have:
wp-content/themes/XYZ theme
wp-content/themes/XYZ-child/Let’s say you want to modify BP’s register page.
wp-content/themes/XYZ-child/buddypress/members/register.php
or you want to modify the profile header template
wp-content/themes/XYZ-child/buddypress/members/single/member-header.phpAnd that’s it ! The only thing you have to do is to pick the right file and add it to the child by respecting the original path who starts at:
/buddypress/path/to/file.phpInside the template file, yo can manipulate html tags and find different action hooks (
do_action( 'something' );). Take care to not rename or remove the existing class/ID names whithout knowing what you do.In bp-custom.php, you can manipulate BP’s behave by adding custom functions.
In the child-theme style.css, you manipulate whatever related to your theme layout – for the entire site, including BP or other plugins.
And as all this is done via the child, anything will remain after any update of BuddyPress, your original theme, WordPress or plugins.
Reading actively the forum will bring you other answers, tips and tricks.
October 6, 2016 at 7:38 pm #259551insearchofasolution
ParticipantThanks @r-a-y. I need to do a little bit of both. I have tried to do it the way as in the article, unfortunately that doesn’t work for me. I do everything as described and tried it with and without placing add_theme_support( ‘buddypress’ ); in functions.php and nothing. I am using a child theme, can it have to do something with that?
If you are talking about code snippets, you can use your theme’s functions.php file or wp-content/plugins/bp-custom.php.
Thanks for the above!!
October 6, 2016 at 7:01 pm #259548In reply to: change profile picture stopped to work
danbp
Participant[Mod] changed title to something more explicit as a useless “Please Help…….Urgent !!!!” on a support forum.
https://buddypress.org/support/topic/when-asking-for-support-2/
The urgent is done, the indispensable is under way. For miracles, allow time.
Please wait, I think.
October 6, 2016 at 6:51 pm #259547In reply to: [Resolved] Registration Not Saving
October 6, 2016 at 5:09 pm #259540In reply to: Registration page Font style and size
Slava Abakumov
ModeratorThe only option is to use CSS (in
style.css) in your child theme to modify that. Or some plugins, that give ability to apply styles without modifying files (Siteorigin CSS).#buddypress #register-page label { font-size:120%; }October 6, 2016 at 5:04 pm #259539In reply to: Moderator add users to group
Slava Abakumov
ModeratorSo far there is no such plugin.
You can try to dive into
bp_get_new_group_invite_friend_listfilter, and you will need to rewrite/buddypress/groups/single/send-invites.phptemplate.So quite a lot of work.
October 6, 2016 at 4:57 pm #259537In reply to: How to allow html tags
danbp
ParticipantYou already got an answer to this question here:
https://buddypress.org/support/topic/tinymce-for-replying-to-messages/#post-259368Check
$allowedtagsand add$allowedtags['span'] = array( 'style' => array () );May work…or not.
Closing this topic as unavailing.
October 6, 2016 at 4:43 pm #259534In reply to: Moderator add users to group
danbp
ParticipantNo, nothing like that. This can only be achieved within site admin. And by default a group mod is a simple subscriber which has no access to group members administration.
The first option is to promote mods to group admin, and in this case he can from front-end, kick/ban user, promote or remove users and nothing else.
The other option would be to give them a WP role who let them access to group members admin and evtl. using a plugin to block their access to all other admin parts… (ie. user role editor)
In addition, you could also get some dev’s opinion to this…
https://buddypress.trac.wordpress.org/ticket/5543
https://buddypress.org/support/topic/how-could-a-group-moderator-edit-group-details/October 6, 2016 at 4:18 pm #259531In reply to: [Resolved] Changing from a slug to a dynamic url
danbp
ParticipantPerhaps this one may work:
<a href="'. bp_get_loggedin_user_link() .'">View my profile</a>October 6, 2016 at 8:54 am #259525bermudastream
ParticipantI would like to keep the activity stream short – 7-10 updates only. Where can I set the number of activities to return?
Thanks
Mark M.Buddypress Version 2.6.2
WordPress 4.6.1October 6, 2016 at 7:29 am #259520In reply to: [Resolved] Changing from a slug to a dynamic url
danbp
ParticipantHi,
Shane’s answer is related to the BP way to get a user name inside a redirection. wpF use probably a similar method, but certainly also his own function(s) for that. You have to find out how it does. Unfortunately, this plugin doesn’t provide documentation at the moment.Accordingly to wpForum support, there is still a button to wpforum on each profile. If you have difficulties to tweak the default behave, you have to ask for on their support.
https://wordpress.org/support/topic/buddypress-compatibility-plans/
October 6, 2016 at 12:07 am #259508In reply to: Adding LMS plugin to BP (Learning Management System)
Renato Alves
ModeratorI’d say the answer to this question lies in the LMS plugins out there… Each one has its own approach to integrate BuddyPress with them.
Also you will be able to get a look at how the pieces integrate together.
October 5, 2016 at 2:15 pm #259422In reply to: Page not found message
danbp
ParticipantAfter you setup BP pages, you should activate pretty permalinks.
All BP pages should be empty. Just a title and no associated template or model.
October 5, 2016 at 2:10 pm #259421danbp
ParticipantYou need to specify the object.
$attachment = bp_attachments_get_attachment( 'url', array( 'object_dir' => 'groups', 'item_id' => $group_id, ) );Reference
October 5, 2016 at 5:38 am #259415In reply to: Why are my topcis not posted?
danbp
ParticipantHi,
what do you get when you use the Topics filter on profile ?
Activate wp_debug in wp_config.php, and post here the error message (if exist).And read this please
https://buddypress.org/support/topic/when-asking-for-support-2/October 5, 2016 at 5:25 am #259414In reply to: Buddypress PM Message from Post
danbp
ParticipantHi @koded1999,
please, use the
<code>button to insert snippets. Also avoid double posting.
Closing this topic as duplicate.
Conversation goes ahead here:October 4, 2016 at 6:02 pm #259394In reply to: [Resolved] Registration Not Saving
metalhead
ParticipantThanks, and I went through the process, and then I re-installed Buddypress, but I’m still having the same problem. It’s when I click the button to save the new user info, and instead of proceeding to the next step (“Check your email for verification,” it’s just refreshing the new user registration form. It won’t let a new user get passed that screen.
I read about someone else having the same problem, in this forum, but he never did describe how he overcame the problem. I’ve tried deactivating all buddypress related plugins, but no luck.
I think the best thing for me to do is going to be to re-install WordPress from scratch, but do you have any other recommendations before I do that?
Thanks.
October 4, 2016 at 8:46 am #259388danbp
ParticipantIt is possible because it doesn’t exist and you never noticed his mention in many topics of this forum, and perhaps never read the codex. 🙂
Read here please:
October 3, 2016 at 11:29 pm #259383In reply to: Open Source Theme: Surface
buddycore
ParticipantBumping this, for those looking to test drive BuddyPress with a custom theme and maybe take it a bit further and customize for core WordPress and BuddyPress features.
There is no support for BBPress in this theme at the moment, but if there are enough people wanting this I will bring it in the future.
October 3, 2016 at 11:27 pm #259382In reply to: [Resolved] Registration Not Saving
Henry Wright
ModeratorCheck out this article:
October 3, 2016 at 11:13 pm #259381In reply to: [Resolved] Registration Not Saving
metalhead
ParticipantYes, I’ve tried that, but with no luck. Do you know if there’s a way to delete buddypress & all settings so that when I re-install it will be like a fresh install? I’m asking because typically when I re-install a plugin, it always remembers the previous settings.
October 3, 2016 at 5:13 pm #259372In reply to: BuddyPress Components
mikke1978
ParticipantThank you @danbp for replying. For the past month, I have been trying to get BuddyPress to work for me on Yahoo’s hosting server. Yahoo has been offering me no help to resolve the issue. They keep telling to contact buddypress. org or wordpress.org. Basically, they got the money for one year, and they don’t care if the problem is resolved or not. They don’t even seem to understand the problem.
Everything is configured according to the required settings for BuddyPress to supposedly work. I have custom permalinks, each component has its own page etc.. I am not sure what you meant by WordPress doesn’t use www by default, but the way Yahoo host is set up for WordPress, we have to install WordPress in a default folder called “blog” (http://www.site.com/blog) or any name we choose. And I think this is what is causing the problem. BuddyPress components don’t know where WordPress is installed. Under the Dashboard-General Settings, both the WordPress Address (URL) and Site Address (URL) show the correct path (http://www.site.com/blog). I think it is a matter of telling BuddyPress components where to look for the WordPress installation.And this is where I lack experience and knowledge. I tried every possible solution I found online, especially on the WordPress site regarding installs in own directory: https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory
Nothing worked for me. Yahoo told me they do not support the .htaccess file, they don’t seem to have a web.config file. I am sure there is a solution where a certain file(S) can be edited and all would be resolved, but I need someone to point them out to me since I can’t browse the hundreds of installed BuddyPress files looking for the ones that point to the WordPress installation location. I would really appreciate anyone’s help to resolve this issue.
Currently, I installed WordPress locally on my laptop, I set up BuddyPress plugin and it works like a charm. Yahoo suggested I uploaded it to the root of my host account, but I am have issues with the data base set up.
If I can get a solution for the default install that I get with Yahoo host set up, I would really appreciate it.
Thanks!
Mikke1978
October 3, 2016 at 4:11 pm #259369In reply to: Private message from student only for teacher
Venutius
ModeratorFor the second part of your ask there are a couple of mass messaging plugins that allow only certain roles to send messages to everyone.
one does it from the front end, the other from the backend.
https://wordpress.org/plugins/mass-messaging-in-buddypress/
https://wordpress.org/plugins/mass-messaging-for-buddypress-by-alkaweb/
October 3, 2016 at 4:09 pm #259368In reply to: TinyMCE for replying to messages
danbp
ParticipantHi guys,
you should read topics completely! 👿
In one of my answer to the above mentionned, you have the necessary information to get it to work for replies. I tested it today and it works for me.Now I repeat it again, it’s not done to add wp_editor to a textarea which was never intented to be a post editor. It’s a simple message composer ! Do you write MMS with Word ?
By adding wp_editor to this composer, you can only add the the HTML editor, like the one you have on this forum. The visual tab won’t work because of numerous filters and the way wp_editor is working. Activating the visual tab on the compose screen will also break your theme, in 99% of cases.
Once you have it correctly displayed, you will see that most of the tags will be striped. This can be avoided by defining $allowedtags in wp_kses filter. The inconvenient of this is that it will also be available on what’s new form and any other form you use on your site. So, you’re warned.
The code i used today, including allowed tags i had to activate.
function bpfr_compose_msg_tiny_editor() { add_filter ( 'user_can_richedit' , create_function ( '$a' , 'return false;' ) , 50 ); $content = ""; if ( isset( $_GET['r'] ) ) : $content = esc_textarea( $_GET['r'] ); endif; $editor_settings = array( 'content' => bp_messages_content_value(), 'textarea_name' => 'content', 'editor_id' => 'message_content', 'teeny'=>true, 'media_buttons'=>false, 'quicktags' => array( 'buttons' => 'strong,em,link,img,block,del,ul,ol,li,code,close' ) ); wp_editor( bp_messages_content_value(), 'message_content', $editor_settings); } add_action( 'compose_edit_tools', 'bpfr_compose_msg_tiny_editor' ); function bpex_allowed_tags() { global $allowedtags; $allowedtags['img'] = array( 'src' => array () ); $allowedtags['ul'] = array(); $allowedtags['ol'] = array(); $allowedtags['li'] = array(); } add_action('init', 'bpex_allowed_tags', 10);How-to is explained on the other topic.
October 3, 2016 at 12:44 pm #259359In reply to: connections
Henry Wright
ModeratorThis isn’t possible by default. You will need to find a plugin or add some custom code to get this done. Try looking here first to see if something is already available:
-
AuthorSearch Results