Search Results for 'buddypress'
-
AuthorSearch Results
-
November 12, 2009 at 1:54 pm #56543
In reply to: Editing Navigation
Anonymous User 96400
InactiveThis is being handled with functions like these:
bp_core_new_nav_itembp_core_new_subnav_itembp_core_remove_nav_itembp_core_remove_subnav_itemAll of these functions (and a lot more) can be found in buddypress/bp-core.php. They are well documented and you can always have a look at the various core component how they use these functions.
To the admin bar you can add links like so:
function sv_add_link()
{
global $bp;
$link = '<li><a href="'. $bp->loggedin_user->domain . 'my-page" title="'. __( 'My Page') .'">'. __( 'My Page') .'</a></li>';
echo $link;
}
}
add_action( 'bp_adminbar_menus', 'sv_add_link' );Removing links also works with actions. Using the example from above you’d have to put this into your functions.php file:
remove_action( 'bp_adminbar_menus', 'sv_add_link' )You have to remove an action at the same priority as it has been added, so if you find an add_action call like this:
add_action( 'bp_adminbar_menus', 'sv_add_link' , 7 );you’d have to remove it with this:
remove_action( 'bp_adminbar_menus', 'sv_add_link' , 7 );Otherwise it won’t work.
Hope this helps you along a bit.
November 12, 2009 at 10:06 am #56534In reply to: Installed a theme error
5339130
InactiveI’m using the latest version available on site to download WordPress MU and buddypress.
WordPress MU 2.8.5.2
Buddypress 1.1.2
November 12, 2009 at 7:22 am #56524In reply to: What do your spam signups look like?
Mariusooms
ParticipantSame problem,started about a few days ago. Bots are signing up a few times a day, firstnamelastname19xx.
Interesting is that I notice in my stats some ip found my site by searching for “proudly powered by WordPress MU and BuddyPress”.That could be a reason that this particular bot is finding and attacking bussypress installs.
If this bot is getting past Captcha, I would recommend applying a reverse Captcha technique. Just do a bit of Googling on this, it uses a hidden field as a honey pot which bots will fill in, but normal users will not. When filled in you can redirect them to a page of your choosing.
Please report your findings and how you deal with this as it would be very helpful.
November 12, 2009 at 6:47 am #56523In reply to: Register vs wp-signup : passwords vs signup question
stwc
ParticipantOK, so I used the code from Xevo in this thread in a custom functions.php in my child theme. It redirects all calls throughout all the WPMU blogs to signup.php to the BP register page, which should help you do what you want, if I understand correctly.
One thing this hack doesn’t do is to pick up any changes to the register slug in wp-config, though, so you’ve got to remember that if you change it.
November 12, 2009 at 1:13 am #56512In reply to: Register vs wp-signup : passwords vs signup question
stripedsquirrel
ParticipantI have never received any answer on teh original questions and I am getting really tired of deleting the splogs that happened only after installing Buddypress.
Just the last few hours 5 splogs registered, all with name-surname19xx as username, all from different email domains.
I know it is not too much to check every blog, check every user, mark him as a spammer and add the email domain to the sh*tlist under options.
But the point is that before BP I had to do this less than once per month. So I repeat, hopefully somebody wil;l at least answer the2nd question (hopefully the first as well, but I fear a standard ‘ask the plugin-author’ reply):
“So my questions to determine the best action to make sign ups easy but splogs difficult:
– why won’t the WPMU sign-up question plugin work on the BP register page? Is there a way to fix that?
– More importantly: Can the register page be renamed? If so, which file(s) and what other (internal) links?”
Many thanks,
Cheers, Harry
November 12, 2009 at 12:11 am #56510In reply to: Error in bp_field_has_public_data
stoppays
ParticipantI am running buddypress 1.1.2
Viewing the code I downloaded for buddypress downloads.wordpress.org, if you start at line 236 is the only place the word public appears… the code is still the same:
function bp_field_has_public_data() {
global $profile_template;
if ( $profile_template->field_has_data )
return true;
return false;
}
November 11, 2009 at 11:17 pm #56509takuya
Participantandrepan and levin, please also check out other multi byte issues. You two seem to be fluent in programming, perhaps you can solve them.
November 11, 2009 at 10:21 pm #56505In reply to: Limit Blog Creation to Admins
John James Jacoby
KeymasterThis is more a limitation of WPMU than it is a core BuddyPress feature. This could also easily be addressed in a plugin.
I’ll take a look at #1251 soon…
November 11, 2009 at 10:13 pm #56504In reply to: New Plugin – BuddyPress Links – Beta Support
Squashroby
ParticipantAh, that’ll be it. Just found out my host is running php 4.4.8. I’ve another server running php 5.2.6, I’ll move everything accross.
Thanks for you help.
November 11, 2009 at 9:31 pm #56499In reply to: Saving translation gives errors
Xevo
ParticipantFound the buggy lines, kind of weird because poEdit said that I was done translating. Anyway, edited them and now I can easily open it.
Now just finding out why buddypress doesnt copy the wpmu language setting.
November 11, 2009 at 9:22 pm #56497John James Jacoby
KeymasterPart of the problem could be that the textdomain is set to ‘buddypress’ for all links in the filters.
ucwords( __( $component_name, 'buddypress' ) )..so if your plugin uses its own textdomain everywhere AND needs to tap into this list, it will need to use the ‘buddypress’ textdomain somewhere too.
November 11, 2009 at 9:15 pm #56495In reply to: Error in bp_field_has_public_data
Jeff Sayre
ParticipantI’m using the facebuddy theme which I migrated over to the new template system
So, you’ve updated your theme to the new parent/child theme architecture but you have not yet upgraded BuddyPress.
Why do I say this? Because the line numbers for the code you list above are for BP version 1.0.x and not for the new version 1.1.x. In the current v1.1 series, that function you refer to starts on line 236.
You need to upgrade BuddyPress to the newest version before you can use the new theme architecture.
November 11, 2009 at 9:01 pm #56489John James Jacoby
KeymasterI reopened and updated the ticket. Leave them open until one of us can confirm the issue is not a BuddyPress core problem.
November 11, 2009 at 8:18 pm #56485In reply to: Forum – cannot post in old groups
Jeff Sayre
ParticipantJohn-
That’s a great suggestion. However, I would have thought that when Michael tried using the “re-install” link in “BuddyPress > Forums Setup”, that the proper bb-config.php location would have been saved.
Perhaps there are two–or more–conflicting meta data entries for the location of a bb-config.php. That’s what I’m now guessing.
Delete all the “bb-config-location” entries except for the proper one and it should work. Although, it might require starting the install process over once again. This means deleting all the bb tables and the config file AND any and all entries for “bb-config-location”.
November 11, 2009 at 6:28 pm #56481In reply to: New Plugin – BuddyPress Links – Beta Support
MrMaz
ParticipantI just created a group for BuddyPress Links where I will be posting the latest news about the plugin’s development. Joining this group will be the best way to make sure you stay up to date!
November 11, 2009 at 5:57 pm #56477Jeff Sayre
ParticipantThis is a free, open source project primarily powered by volunteers’ efforts. So don’t expect to get instant results.
As r-a-y has stated, there used to be several pre-built fields and site developers also had the option to create their own pre-built fields by importing their list via a .cvs file. But, as Andy states in this thread, that feature is no longer available:
https://buddypress.org/forums/topic/making-prebuilt-profile-fields
So, you either have to code a solution yourself or hire a developer to do it.
By the way, up until two-weeks ago, there was only one official BuddyPress developer. Now there are two. The rest of us are unpaid volunteers–some of us with coding experience, some of us with design experience, and some of us just interested in running social networking sites.
You can ask for additonal insights on the #buddypress-dev IRC channel. But even there, it is simply a group of developers with their own projects and responsibilities. Only Andy and jjj are the official voices of BuddyPress development.
November 11, 2009 at 5:32 pm #56475Jeff Sayre
ParticipantWell, you need to go through the steps of the section you’re reading, “I’ve used a WordPress theme for my blog with the default BuddyPress member themeâ€. In essence, you are adapting a non-BP theme to be useable by BP. Your other option is to do what it suggests at the end of that section.
If you need to grab the old default theme files, they can be found here:
November 11, 2009 at 5:02 pm #56472Jeff Sayre
ParticipantDid you have a previous installation of BuddyPress? It seems from your thread title that you did.
The old two-theme system relied on the bphome theme residing in /wp-content/themes/ and the bpmember theme residing in /wp-content/bp-themes/. If you had BuddyPress working before, this is where those two themes had to live.
November 11, 2009 at 4:51 pm #56471In reply to: New Plugin – BuddyPress Links – Beta Support
MrMaz
ParticipantIs it possible that you are running PHP4? BuddyPress-Links requires PHP5. I guess I should add that to the requirements.
November 11, 2009 at 4:50 pm #564705348648
InactiveThank you Jeff for the fast response. I was not able to find that documentation before…
I am caught up on one step. I am in the section “I’ve used a WordPress theme for my blog with the default BuddyPress member theme” I have backed up my WP theme and copied over the folders/files from bp-sn-parent.
The next step instucts me to “Make sure you have backed up your “/wp-content/bp-themes/” directory (this is important for the last step), then delete it.”
I do not have a bp-themes folder in wp-content. Should I? Is it just located elsewhere? Will I still need to delete it?
Folders I do have: blogs.dir, mu-plugins, plugins, themes
November 11, 2009 at 4:38 pm #56468In reply to: surprising avatar behavior
Michael Berra
ParticipantI think I saw a ticket referring to something similar: https://trac.buddypress.org/ticket/1179
November 11, 2009 at 4:21 pm #56466Jeff Sayre
ParticipantRead this Codex article and see if it helps:
https://codex.buddypress.org/how-to-guides/upgrading-a-buddypress-1-0-theme-for-buddypress-1-1/
November 11, 2009 at 2:59 pm #56461In reply to: custom button in buddy-bar
circuit
Participantto be fair to the OP, i think the buddypress admin bar documentation is quite difficult to follow. i imagine that it would be even more difficult for anyone whose first language is not english.
(for example: “To change a function that is triggered by an action you have to unhook the current function that responds to the action and supply your own function that replaces the core function and then replace the add_action() call with one that responds to the same hook as the original function.”…)
November 11, 2009 at 2:29 pm #56456In reply to: Installed a theme error
Jeff Sayre
ParticipantWhich version of WordPress MU and BuddyPress are you using? From where did you download the Avenue K9 theme?
Have you seen this BP thread?
https://buddypress.org/forums/topic/new-avenue-k9-bp-11-theme-released
November 11, 2009 at 2:17 pm #56453In reply to: Forum – cannot post in old groups
Jeff Sayre
ParticipantOkay, we can rule out some strange server configuration issue.
If I remember correctly, you used to have bbPress running via deep integration but did not need any of that old data. The very first time you tried using the new one-click forum setup, did you choose the “Existing bbPress Installation” or the “New bbPress Installation” option?
Do you still have a backup copy of your old bb-config file? If so, then delete the current bb-config.php file by replacing it with your old bb-config.php file. Then go to the WPMU backend and visit “BuddyPress > Forums Setup” and click the “re-install” link. At this stage, it is worth a try.
Please note, using an “Existing bbPress Installation” does not really mean using the old bbPress files. It means use an existing bb-config file to setup bbPress with the bbPress files located in the new location. You will see this text at some point in the process:
BuddyPress will now use its internal copy of bbPress to run the forums on your site. If you wish, you can remove your old bbPress installation files, as long as you keep the bb-config.php file in the same location. -
AuthorSearch Results