Search Results for 'buddypress'
-
AuthorSearch Results
-
December 23, 2016 at 8:40 am #262335
In reply to: Accidentally deleted Activation page
Henry Wright
ModeratorIn the WordPress admin area go to Pages and then create the page. Then under BuddyPress you can assign that page as the activation page.
December 23, 2016 at 5:11 am #262331In reply to: Need Advice for Stopping Spam at the Gate
modemlooper
ModeratorMake sure your registration slug is not “registration” or “signup” or any other guessable word. Change the slug frequently.
December 22, 2016 at 2:30 pm #262318In reply to: [Resolved] New Page within Buddypress Profile
pare81
ParticipantI’ve edited the code:
function my_setup_nav() { global $bp; bp_core_new_nav_item( array( 'name' => __( 'My Page', 'buddypress' ), 'slug' => 'my-page', 'position' => 70, 'screen_function' => 'my_page_template' ) ); } add_action( 'bp_setup_nav', 'my_setup_nav' ); function my_page_template() { bp_core_load_template( 'my-page-template.php' ); }Where I have to safe the “my-page-template.php”? I use a wordpress childtheme with included folder buddypress. Do I have to write some special informations within the my-page-template.php or is it enough to insert the shortcode?
actually the link from profile menu “my page” links to members overview page what not should be. it should linked to the my-page-template.php.
thanks
December 22, 2016 at 2:00 pm #262316danbp
Participantplease, never publish username and password or any ftp crendetials when you’re not asked for.
(i removed them)
Have you tested whith Twenty Sixteen ? If you use a child theme (what ever the theme) you must first test with the parent theme and if ok, test with the child.Did you allowed search engines (wp settings) ?
Are users allowed to comment (wp settings) ?
Is activity component enabled (bp settings) ?
Do you have an “activity” page ?
Are pretty permalinks enabled ?More infos ? Read here:
December 20, 2016 at 6:09 pm #262294In reply to: oEmbed video in site-wide activity
danbp
Participant@petervandoorn @henrywright @r-a-y,
Great job guys!
I updated the oembed Codex page accordingly .December 20, 2016 at 5:56 pm #262293In reply to: Custom Messages Panel
danbp
ParticipantHi,
BP has only a few templates who fit with almost any (good) wordpress themes, like BuddyBoss.
Firt you have to read your theme child-theme doc and eventually about BP template hierarchy.December 20, 2016 at 5:47 pm #262292In reply to: oEmbed video in site-wide activity
Henry Wright
ModeratorUpdate from the Trac ticket
BuddyPress uses a different hook name, but it should do the same thing. Try:
bp_embed_oembed_html.Thanks to @r-a-y for the info.
December 20, 2016 at 3:13 pm #262278In reply to: Problem with thumbnails
danbp
ParticipantChange your theme ? Adjust CSS ? Ask the theme author ! It is not a BuddyPress issue.
December 20, 2016 at 3:06 pm #262277In reply to: Problem form – post update
danbp
ParticipantWhen you don’t see a button, first thing to do is to ensure you see it when you use WP+BP+Twenty theme
When the base trio works, you activate your theme and you check again. If it is wrong, you know it is your theme (and not WP or BP or Twenty theme).
If you have plugins, you test’em the same way.
For what is related here, it is a CSS issue, related to your theme… You probably have to adjust the div height containing the form.
The Update form used for Site, Members and Group activities is in
wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/activity/post-form.phpIn this file you can see the div’s name, class, ID. Search for them in your theme style.css.
DEpendingwhat you find or not, you declare (or redeclare the css) in your child theme. Note also that the update is handled by Javascript. This means in particular that you need absolutely to use same div id and classes to get it to work. If your theme is too customized and is changing that, you have to find the difference and adjust it/them eventually.Of course this adjustment vary from one theme to another and it is quite impossible to give you more guidance on how to handle that.
December 20, 2016 at 10:40 am #262271In reply to: Buddypress Cover Photo Does Not Save
pare81
ParticipantIf you use standard buddypress css, you have nothing to do. but if you have create an folder buddypress/css/buddypress.css within your childtheme folder, you have to define some css styles.
Best
PareDecember 20, 2016 at 8:52 am #262267In reply to: How to remove orders tab in profile?
danbp
ParticipantHi,
please read the woocommerce documentation. BuddyPress doesn’t use an “order” tab.
Read here BP’s navigation documentation:December 20, 2016 at 12:11 am #262264In reply to: Log In / Log out Widget Redirection
shanebp
ModeratorThe logout link is created on ~Line 84 of this file:
buddypress\bp-core\classes\class-bp-core-login-widget.phpYou need to change the
bp_get_requested_url()tosite_url()
<a class="logout" href="<?php echo wp_logout_url( bp_get_requested_url() ); ?>">However, hacking core files is not recommended.
The proper approach is to create your own widget and make the changes in your widget.
If you decide to write your own widget, also take a look at this file:
buddypress\bp-core\bp-core-widgets.phpDecember 18, 2016 at 10:45 pm #262245In reply to: Repeatable Field groups required
Paul Wong-Gibbs
KeymasterI looked into this a while ago. I don’t know if any plugins have provided it — if so, the code will be hacky — because achieving this requires changing some data storage we do in BuddyPress, which is a bit of a complicated issue to resolve well.
December 18, 2016 at 10:43 pm #262244In reply to: Fatal error PHP 7.1
Paul Wong-Gibbs
KeymasterThe situation is BuddyPress is incompatible with PHP 7.1 as things stand. One issue means a fix in BuddyPress (which we’ve already fixed, and will have out in a release soon, but probably after Christmas), and the other issue I’ve found (which BP sites have a realistic site of running into) require a fix in WordPress, which I hope that team will get done for WP 4.7.1.
December 18, 2016 at 5:34 pm #262239In reply to: Filter activities
danbp
ParticipantHi,
BuddyPress is a swissknife, when used out of the box, does a lot of things. But like a swissknife, you have to choose the knife or the tool you need precisely at the moment M. And like with the famous knife, you have to do this manually.
Filtering the general activity.
There is a default filter with several options,
You can modify the activity loop display via the template,
You can write some functions for more customization.This is pretty much for a component, and almost available for all BP components. Not exactly what you could qualify as “not built-in”… But you’re right, it is not “ready to use” via a “clickodrome” or a press’n’play customizer (not yet).
If you search the forum, yo’ll find a lot of related topics, and some with working snippets.
On the codex, you have also many information. Ie. :December 18, 2016 at 5:20 pm #262238In reply to: WordPress + BuddyPress = users limited
danbp
ParticipantHi,
It would be interesting to know why [your] developer told [you] that [your] site will not be able to manage more than 70,000 users.
Why precisely 70,000 ?
As @venutius already told you, there is no physical limit. And if you have the necessary cash to buy storage and bandwith, go ahead!
A common example for a large site running BuddyPress, is profiles.wordpress.org mentioned by lead dev John James Jacoby (in 2012). It is still the case in 2016.
Related articles:
https://codex.wordpress.org/High_Traffic_Tips_For_WordPress
https://wordpress.org/showcase/?s=buddypressDecember 18, 2016 at 4:33 pm #262237In reply to: How can I put a message for global advice’s widget
danbp
Participant1) please don’t shout! (i changed your capitalized title)
2) Global Advices is not used in BuddyPressDecember 18, 2016 at 4:29 pm #262236In reply to: WordPress + BuddyPress = users limited
omdisa7
ParticipantThanks for the reply.
BuddyPress + WordPress will work well when there are 500,000 users?
It is important to know before, otherwise I see already now an alternative route.
What important customizations you talking about? I’ve already been working on reducing CPU consumption etc.
December 18, 2016 at 11:40 am #262232In reply to: WordPress + BuddyPress = users limited
Venutius
ModeratorBuddyPress has sites with more users so there is no physical limit, however the number of users a particular installation can support is due to a large number of factors including that actual usage profile of each of those users and how you have chosen t host your install. It’s true that the larger sites often have had to undertake some pretty significant customisations in order to support such a large user base.
December 18, 2016 at 9:14 am #262228danbp
ParticipantYou can modify the pagination (example – not tested). BP use the wordpress function
paginate_link()https://codex.wordpress.org/Function_Reference/paginate_links
December 18, 2016 at 8:57 am #262227In reply to: Shortcodes and Pages
danbp
ParticipantSorry, but you’re on a very specific wordpress plugin support. It is not the place for such basic question (what are the short codes). BuddyPress doesn’t provide shortcodes.
This plugin is not common, and not the most easiest to use. The forum is maintained by volonteers, and unfortunately not by profesional teachers. If you are very new to BuddyPress, and apparently to WordPress too, you have to do your homework.
You can get starter information on both codex. For BuddyPress you get access to appropriate documentation via the above menu bar.
For WordPress, and specifically your question, click here.
Thank you for your understanding.
December 18, 2016 at 2:33 am #262221brunobarros
ParticipantUnfortunately it is hardcoded here: plugins/buddypress/bp-members/classes/class-bp-members-template.php line 193
December 17, 2016 at 9:36 am #262214In reply to: Buddypress Cover Photo Does Not Save
pare81
ParticipantHi Guys,
I’ve found an solution.
For childthemes you have to check the following infos:
Here is what I have paste to my child themes functions.php, and now the cover image works:
function your_theme_cover_image_css( $settings = array() ) { /** * If you are using a child theme, use bp-child-css * as the theme handel */ $theme_handle = 'bp-child-css'; $settings['theme_handle'] = $theme_handle; /** * Then you'll probably also need to use your own callback function * @see the previous snippet */ $settings['callback'] = 'bp_legacy_theme_cover_image'; return $settings; } add_filter( 'bp_before_xprofile_cover_image_settings_parse_args', 'your_theme_cover_image_css', 10, 1 ); add_filter( 'bp_before_groups_cover_image_settings_parse_args', 'your_theme_cover_image_css', 10, 1 );December 17, 2016 at 9:36 am #262213In reply to: Buddypress Cover Photo Does Not Save
danbp
ParticipantOK. Let’s say that the issue is the child theme.
What is a child theme ? An empty style.css containing a header information saying to WP, hey here is a child !
Another file can be there: functions.php. This file is empty and will be filled in the time with custom functions.
With BuddyPress, you can have a “buddypress” folder, containing rewamped templates. For example, the profile header template or your member directory page…
As BP template where recently modified (2.7), you have to verify your template customization (if any). See here if it helps:
If you’re not concerned by templates, you have to check your custom functions or custom JS (if any)
And voila.
December 17, 2016 at 9:18 am #262210In reply to: Repeatable Field groups required
danbp
ParticipantIf you create a field group called Business Details, you simply add as many fields you want!
Let’s say, you want that users can fill about 5 companies or society. In this case, you need to create a field for each input, in other words 5 fields. And if you need more details for each, you add the fields you need, one by one:Business 1: [___]
Address 1: [___]
Office 1 hours: [___]
Business 2: [___]
Address 2: [___]
Office 2 hours: [___]
Or if you use a lot of details, you group each businness separately.
For better clarity of the default profile details output, when you have a lot of information to display, is to use this very handy plugin: buddypress-profile-tabs
-
AuthorSearch Results