Search Results for 'buddypress'
-
AuthorSearch Results
-
January 9, 2013 at 2:52 pm #150084
In reply to: [Resolved] Copying functions.php to child theme
mrjarbenne
ParticipantUnlike CSS, which a child theme will override the parent theme files, a child theme will utilize both functions.php files.
See the WordPress Codex: https://codex.wordpress.org/Child_Themes#Using_functions.php
And the Buddypress Codex: https://codex.buddypress.org/legacy/building-a-buddypress-child-theme/So don’t copy it over. The functions are being applied in your child theme already. If there are additional functions you want to add in your child theme, add them to the child theme functions.php file.
January 9, 2013 at 1:56 pm #150080In reply to: Installation on Multisite
andaluzo
ParticipantHi,
thanks a lot.
We already installed the WP Multisite and we are working with Multisite language switcher.
So far everything is working fine.
I just wonder if I do the installation process for Buddypress
‘BuddyPress was successfully activated! Please run the installation wizard.’
For each individual site or network wide, just don´t want to srew it 🙂
Thanks for your input !
January 9, 2013 at 11:08 am #150075In reply to: Installation on Multisite
Tim Hyde
ParticipantWe have just set up a multisite with BuddyPress and have each sub-site as the different languages. At present we just have French and English but the there will be more to come. (See it in action at http://artgrove.com/)
Enable WordPress in network directory mode. You will create a site for each language required. In the settings for each site you can choose a language.
For BuddyPress to work in this environment, you need to add the following line to wp-config:
define( ‘BP_ENABLE_MULTIBLOG’, true);
This makes the same single BuddyPress run across the whole wordpress network.
We also used Multilingual press (https://wordpress.org/extend/plugins/multilingual-press/) to help with the switching between languages and for syncing translated content.
The Codestyling Localization plugin is also very useful for translating plugins, themes and core components into target languages (https://wordpress.org/extend/plugins/codestyling-localization/).
Of course BuddyPress user generated content will always be in the language they input in. So as pointed out above, you may wish to set up groups/forums that are targeted to specifc languages.
January 9, 2013 at 10:31 am #150071In reply to: Menu tab issue
Versipellis
ParticipantAll I want to do is add a new tab to the menu, the code I’m going to be using to define what is displayed I can include elsewhere. The idea is this tab literally adds a single radio option for a user to choose an option from, then saves to a table I’ve created in my database.
However, the skeleton component seems overly complicated for this, and the bp-custom.php way of doing things does nothing.
No matter which example code I try, the only way I can get a tab to display is by putting:
`bp_core_new_nav_item( array(
‘name’ => __( ‘Media Privacy’, ‘bp-media-privacy’ ),
‘slug’ => ‘media-privacy’,
‘position’ => 80,
‘show_for_displayed_user’ => false,
‘screen_function’ => ‘bp_media_privacy’,
‘default_subnav_slug’ => ‘media-privacy’
) );`By putting the above code directly into an included page it displays but doesn’t go to the said page. When I put it in a function and add it using add_action( ‘bp_setup_nav’, ‘my_bp_nav_adder’, 100 ); nothing happens at all.
I’m seriously confused at this point but it is vital to have this additional tab in the front end for users to be able to change this setting. I’m using a clean install of the latest Buddypress on my wamp (not putting this on my live site until it works.)
@chouf1 and @modemlooper, could someone possibly do a pastebin of an example, working, bp-custom.php as I cannot find one? Thank you for your help before.
January 9, 2013 at 4:01 am #150062In reply to: Filtering activity stream
mrjarbenne
ParticipantIf you want to block them entirely, you could use something like this:
https://wordpress.org/extend/plugins/buddypress-block-activity-stream-types/
January 9, 2013 at 3:37 am #150061mrjarbenne
ParticipantI had r-a-y develop this for our site. It’s not in the repo, but it’s a thing of beauty.
January 9, 2013 at 3:23 am #150059In reply to: How to remove BP Links
mrjarbenne
ParticipantBuddypress doesn’t edit any of your templates. If you have deactivated the Buddypress Plugin, and deleted it from your plugins menu, and you still see a link, it’s in your theme. Not knowing where the link is that you are referring to, it’s difficult to tell you where it might be coming from, but I would suggest checking the footer.php file.
January 9, 2013 at 3:19 am #150058In reply to: /members/ show member list
mrjarbenne
ParticipantThat would be the default behaviour of that particular URL, as you’ll see from the test BP site: http://testbp.org/members
If you aren’t seeing that, perhaps something isn’t set up correctly. In the Buddypress Admin page, have you associated all of the components with WordPress pages?
January 9, 2013 at 2:22 am #150052In reply to: How to allow guest access to groups/forums
yidamweb
ParticipantHello Ben,
Thank you for the insight given.
I also await advice on how to be able to continue using the “BuddyPress Registration Options” plugin – it is currently disabled because it was not allowing the public to access/read the groups/forums of the site.
Thanks again.
January 9, 2013 at 1:44 am #150051In reply to: Comments are not working!
leonardoarias
ParticipantHi, I know you posted this long ago but I just faced the same issue, and was able to come up with a temporal fix.
As you mentioned, there is a limit of 5 posts there, to get displayed. just change them to a bigger number. i changed to 50 so the site works, until i can find a better solution.
To maje the change, just go to:
wp-content/plugins/buddypress/bp-themes/bp-default/_inc/global.js
then edit this code, to be 50:
/* Hide long lists of activity comments, only show the latest five root comments. */ function bp_dtheme_hide_comments() { var comments_divs = jq('div.activity-comments'); if ( !comments_divs.length ) return false; comments_divs.each( function() { if ( jq(this).children('ul').children('li').length li'); var comment_lis = jq(this).children('ul').children('li'); var comment_count = ' '; if ( jq('li#' + parent_li.attr('id') + ' a.acomment-reply span').length ) var comment_count = jq('li#' + parent_li.attr('id') + ' a.acomment-reply span').html(); comment_lis.each( function(i) { /* Show the latest 50 root comments */ if ( i < comment_lis.length - 50 ) { jq(this).addClass('hidden'); jq(this).toggle(); if ( !i ) jq(this).before( '- ' + BP_DTheme.show_all + ' ' + comment_count + ' ' + BP_DTheme.comments + '
' ); } }); }); }Hope its not too late to help! 🙂
Best,
Leo
January 9, 2013 at 1:29 am #150049In reply to: Not exactly "a few easy clicks"
modemlooper
ModeratorIf you are serious about running your own hosted site then you will need to have a local install to do all your hacking/testing. If a plugin has not been updated to your install version DO NOT USE it unless you can code and fix problems. WordPress and BuddyPress works together OOTB but when you start adding in unknown code it can and will break.
Why do you think ning charges? They host it and make sure the features work. That’s the price. WordPress.com same thing. You pay a small fee to not have to deal with hosting and features breaking.
BuddyPress currently has no hosted solution so my comment about having a local test environment is they way to make sure new features/plugins wont kill your site.
Also, you need to protect user data and having bad plugins that could leak user data is a site killer. They will loose trust, delete and never return.
January 8, 2013 at 11:42 pm #150041In reply to: How do I uninstall Buddypress on standard WP blog
Ben Hansen
Participantit sounds like you would need to undo any theme modifications you made to make your theme compatible with BP.
January 8, 2013 at 10:46 pm #150038In reply to: Can't unpack/install Buddypress
sn0zb0z
ParticipantHugo, in that case what is the reason for it not installing properly and what can I do about it?
January 8, 2013 at 10:42 pm #150036In reply to: Can't unpack/install Buddypress
Hugo Ashmore
Participant5.2.17 means that your php version is not good for WP 3.5/BP 1.6.2
5.2.17 is a later release than 5.2.4 which was – last I checked – the minimum requirement for WP/PHP
Better to be on the 3.3 release stream though if possible.
January 8, 2013 at 10:21 pm #150031In reply to: Can't unpack/install Buddypress
sn0zb0z
ParticipantThanks for your help. The host, I believe, did update PHP recently, but they refuse to update it to the latest.
For now I am using a free host to make sure I can do the website I want and then I plan to move it to a paid service. So there won’t be any members or anything like that for now.
Do you know of any plugins that do a similar thing to BuddyPress so I can at least get a good idea of what will work with my site and how I can set things up? Then when I move it I’ll be able to just use BuddyPress.
January 8, 2013 at 9:59 pm #150029In reply to: Can't unpack/install Buddypress
danbpfr
Participant5.2.17 means that your php version is not good for WP 3.5/BP 1.6.2
2 solutions: ask your host for a greater version or go to another host.
A free hosting service is anyway not recommended for a plain usage of BP.January 8, 2013 at 9:53 pm #150028In reply to: Only LEFT half of avatar cropper showing in BP 1.6.2
danbpfr
ParticipantBuddypress is installed on a folder “social” and not to the website root. Is this a problem?
Maybe…. BP is only a WP plugin. But if your WP is in the social folder too, there should not be the problem.
Sorry can’t help more.January 8, 2013 at 9:50 pm #150027In reply to: How do I resize comment and activity avatar size!?
danbpfr
Participanthi,
see at the bottom of this page how to change avatar size
https://codex.buddypress.org/developer/customizing/changing-internal-configuration-settings/January 8, 2013 at 9:41 pm #150025In reply to: Need users to get discussion notifications
danbpfr
ParticipantHi,
try the plugin group email notification subscription
https://wordpress.org/extend/plugins/buddypress-group-email-subscription/January 8, 2013 at 9:16 pm #150023In reply to: How do I uninstall Buddypress on standard WP blog
Mr Faust
Participantsame here i have groups and members links that i would like gone, how do i do this??
January 8, 2013 at 9:10 pm #150021Mr Faust
Participanthow do i remove all the buddypress links from my site? i deleted everything from server but it still adds Activate,groups etc to my themes.. HELP !!
January 8, 2013 at 8:38 pm #150015In reply to: Registration Reload Error: Lets Get This Solved
Baconbits
Participant@modemlooper I ditched as many of the option tables as I could find, it didn’t solve the problem. I was wrong about it being a database problem it seems. Thank you — I found a solution for me; hopefully it hepls other users
@valuser – I figured out a very simple solution that completely saved my website this morning, try it out: on the sidebar where buddypress came with the built in login widget (top right of your sidebar), you’ll notice “Please create an account to get started”.. For me, this link takes you to yoursite.com/register-2/
-
register-2 being the slug for my registration page
.. If you try to sign up in here there are 0 issues across the board.
So I went into my wordpress – settings – reading and removed “registration” from my homepage and instead made a static homepage “start” which contains a brief about my website, a link (Sign Up Here) that takes you to yoursite.com/register-2. and the shortcode for login
(I found the login shortcode can be found here http://justintadlock.com/archives/2011/08/30/adding-a-login-form-to-a-page).
You don’t have to go about it the same route I did, but short and sweet do not use the registration page you created for buddypress as your home page.. add the SLUG to your website url.. yoursite.com/slug (probably register or registration). problem solved.
Let me know how that goes.
January 8, 2013 at 7:59 pm #150010In reply to: Removing database info
ThorHammer
ParticipantHello, thanks for fast reply. Yes, I know, but there appear to be many buddypress settings left. If they don’t have any effect on the site performance or roles, I’ll let them be, but I don’t know, and that is why I am asking.
January 8, 2013 at 7:52 pm #150007In reply to: Upgraded and now nav and sidebar is responsive?????
aces
ParticipantYou could try putting the following in you child theme functions.php file
`function bbg_enqueue_styles() {
remove_theme_support( ‘bp-default-responsive’ );
}
add_action( ‘wp_enqueue_scripts’, ‘bbg_enqueue_styles’, 5 );`For more info see: https://buddypress.trac.wordpress.org/ticket/3881#comment:2
January 8, 2013 at 7:48 pm #150005aces
ParticipantYou could try putting the following in you child theme functions.php file
`function bbg_enqueue_styles() {
remove_theme_support( ‘bp-default-responsive’ );
}
add_action( ‘wp_enqueue_scripts’, ‘bbg_enqueue_styles’, 5 );`For more info see: https://buddypress.trac.wordpress.org/ticket/3881#comment:2
-
AuthorSearch Results