Search Results for 'buddypress'
-
AuthorSearch Results
-
January 15, 2010 at 1:14 am #60801
In reply to: Broken delete buttons in 1.1.3
peterverkooijen
ParticipantProbably same problem reported at the top of this thread, before I derailed it…
January 14, 2010 at 11:15 pm #60789In reply to: add_submenu_page & __FILE__ problem
transom
MemberFor others who are frustrated by add_submenu_page – using WPMU2.9.1 BP1.13
to BuddyPress menu in WP-admin
function add_menu_link(){
add_submenu_page( 'bp-general-settings', "YOUR MENU", "Your Title ",
'manage_options', 'your-plugin-slug', 'your_function');
}
add_action( 'admin_menu', 'add_menu_link', 20);
// NOTE the addition of a higher priority seems to solve the problems where
// WPMU starts trying to tell you that you don't have access (url is admin.php/?c=1)I can’t take credit for this – the solution was here
http://teleogistic.net/2009/10/group-forum-subscription-for-buddypress-1-1/#comment-4582
January 14, 2010 at 11:10 pm #60788In reply to: How to add a slug to nav and link to a WPMU page
pcwriter
ParticipantJust got a message from jeffreeeeey saying the code isn’t displaying properly. Oops, forgot to enclose it in tags. Here it is (hopefully..):
<li<?php if ( is_page( BP_PAGE_SLUG ) ) : ?> class="selected"<?php endif; ?>>/<?php echo BP_PAGE_SLUG ?>" title="<?php _e( 'Slug Label', 'buddypress' ) ?>"><?php _e( 'Slug Label', 'buddypress' )</li>January 14, 2010 at 10:57 pm #60787dpolant
ParticipantI am running into this same problem in 1.1.3 with the groups extension api. I found a semi-ridiculous work around – name your plugin directory something that comes after “Buddypress” in the alphabet. Does any one know a way of specifying plugin dependencies?
Also, I never had this problem until I upgraded to mu 2.9.1. I can’t reproduce this issue on any of my pre-2.9.1 installations. On the older versions BP plugins always manage to get loaded after Buddypress.
January 14, 2010 at 10:52 pm #60786In reply to: Broken delete buttons in 1.1.3
peterverkooijen
ParticipantI installed the Buddymatic theme, but get exactly the same error. The problem must be in the Buddypress core files somewhere – I had reuploaded those to make sure they are the untouched 1.1.3 files.
Any other suggestions what I could try to fix this or pinpoint the problem? This is driving me nuts…
The delete link looks like this:
<span class="activity-delete-link"><a href="http://mysite.com/activity/delete/20?_wpnonce=0f239e493d" class="item-button delete-activity confirm">Delete</a></span>When I click I get the ‘Are you sure?’ popup and then when I click OK it redirects to ‘Page not found’ with the same wpnonce URL still in the address bar.
Why? Where is it supposed to go? Which piece of code is supposed to handle this wpnonce URL?
The problem is not in the theme. I tested two clean themes, default and buddymatic. Both had the same problem.
The problem has to be in the bp core code…
The delete button is produced by this function in bp-activity-templatetags.php:
function bp_activity_delete_link() {
echo bp_get_activity_delete_link();
}
function bp_get_activity_delete_link() {
global $activities_template, $bp;
return apply_filters( 'bp_get_activity_delete_link', '<a href="' . wp_nonce_url( $bp->root_domain . '/' . $bp->activity->slug . '/delete/' . $activities_template->activity->id, 'bp_activity_delete_link' ) . '" class="item-button delete-activity confirm">' . __( 'Delete', 'buddypress' ) . '</a>' );
}When I remove ‘confirm’ from the class, the annoying ‘Are you sure?’ popup disappears, but the page still redirects to ‘Page not found’ and the unwanted wire item is still on the page.
I assume this function only produces the link; there must be another function somewhere that is supposed to process it. Where?!
ajax.js is loaded – I double-checked… – but what is the connection between the delete link and the javascript? Is that where the processing should take place?
ajax.php has this:
<div class="wire-post-metadata">
<?php bp_wire_post_author_avatar() ?>
<?php _e( 'On', 'buddypress' ) ?> <?php bp_wire_post_date() ?>
<?php bp_wire_post_author_name() ?> <?php _e( 'said:', 'buddypress' ) ?>
<?php bp_wire_delete_link() ?>
</div>bp_wire_delete_link, not bp_activity_delete_link…
January 14, 2010 at 10:16 pm #60783In reply to: Broken delete buttons in 1.1.3
peterverkooijen
ParticipantI installed the Buddymatic theme, but get exactly the same error. The problem must be in the Buddypress core files somewhere – I had reuploaded those to make sure they are the untouched 1.1.3 files.
Any other suggestions what I could try to fix this or pinpoint the problem? This is driving me nuts…
January 14, 2010 at 9:24 pm #60779In reply to: Rename components
mlemberg
ParticipantHmm… Just tried out defining slugs in wp-config.php but it didn’t change anything? Wrote the following at the bottom:
/** Set up Buddypress Slugs */
define ( ‘BP_GROUPS_SLUG’, ‘ideer’ );
define ( ‘BP_FORUMS_SLUG’, ‘debat’ );
define ( ‘BP_MEMBERS_SLUG’, ‘medlemmer’ );
define ( ‘BP_ACTIVITY_SLUG’, ‘aktivitet’ );
define ( ‘BP_GROUPS_SLUG’, ‘clubs’ );
define ( ‘BP_WIRE_SLUG’, ‘vaeg’ );
Also I took a look at bp_page_title() but it seems to me that it only defines titles for the blog area. Not directories, wire etc. Am I misunderstanding anything?
January 14, 2010 at 9:12 pm #60778In reply to: Rename components
mlemberg
ParticipantThanks for the reply. I have translated Buddypress myself to da_DK.
January 14, 2010 at 7:47 pm #60772In reply to: Broken delete buttons in 1.1.3
peterverkooijen
ParticipantIn version 1.0 the delete link was part of a file bp-wire-ajax.php (deprecated in version 1.1.3.), via a bp_wire_delete_link() function in bp-wire-templatetags.php that looked like this:
function bp_wire_delete_link() {
echo bp_get_wire_delete_link();
}
function bp_get_wire_delete_link() {
global $wire_posts_template, $bp;
if ( empty( $bp->current_item ) )
$uri = $bp->current_action;
else
$uri = $bp->current_item;
if ( ( $wire_posts_template->wire_post->user_id == $bp->loggedin_user->id ) || $bp->is_item_admin || is_site_admin() ) {
if ( $bp->wire->slug == $bp->current_component || $bp->profile->slug == $bp->current_component ) {
return apply_filters( 'bp_get_wire_delete_link', '<a href="' . wp_nonce_url( $bp->displayed_user->domain . $bp->wire->slug . '/delete/' . $wire_posts_template->wire_post->id, 'bp_wire_delete_link' ) . '">[' . __('Delete', 'buddypress') . ']</a>' );
} else {
return apply_filters( 'bp_get_wire_delete_link', '<a href="' . wp_nonce_url( site_url( $bp->{$bp->current_component}->slug . '/' . $uri . '/wire/delete/' . $wire_posts_template->wire_post->id ), 'bp_wire_delete_link' ) . '">[' . __('Delete', 'buddypress') . ']</a>' );
}
}
}The same function in version 1.1.3 has some subtle differences:
function bp_wire_delete_link() {
echo bp_get_wire_delete_link();
}
function bp_get_wire_delete_link() {
global $wire_posts_template, $bp;
if ( empty( $bp->current_item ) )
$uri = $bp->current_action;
else
$uri = $bp->current_item;
if ( ( $wire_posts_template->wire_post->user_id == $bp->loggedin_user->id ) || $bp->is_item_admin || is_site_admin() ) {
if ( $bp->wire->slug == $bp->current_component || $bp->profile->slug == $bp->current_component ) {
return apply_filters( 'bp_get_wire_delete_link', '<a class="item-button delete-post confirm" href="' . wp_nonce_url( $bp->displayed_user->domain . $bp->wire->slug . '/delete/' . $wire_posts_template->wire_post->id, 'bp_wire_delete_link' ) . '">' . __('Delete', 'buddypress') . '</a>' );
} else {
return apply_filters( 'bp_get_wire_delete_link', '<a class="item-button delete-post confirm" href="' . wp_nonce_url( site_url( $bp->{$bp->current_component}->slug . '/' . $uri . '/wire/delete/' . $wire_posts_template->wire_post->id ), 'bp_wire_delete_link' ) . '">' . __('Delete', 'buddypress') . '</a>' );
}
}
}I’ll try to replace some code and will report back…
January 14, 2010 at 7:21 pm #60771In reply to: Preferred langauge in user's profile settings
Bowe
ParticipantThere is a multilingual plugin for BP available which does this:
https://wordpress.org/extend/plugins/buddypress-multilingual/
I don’t know if it’s compatible with the BP 1.1 or the upcoming 1.2. I need this as well so we should look into it then

Also take a look at this ticket I made today: https://trac.buddypress.org/ticket/1593
If the “supergroup” feature would be implemented it would mean that you could make different “homes” for different countries/regions and still have a central homepage where all sitewide content is shown.
January 14, 2010 at 7:07 pm #60769In reply to: Preferred langauge in user's profile settings
online
ParticipantI think it would be good to set up separate blogs for separate languages — as in: if people don’t want the interface language to be different, then I expect they won’t want the discussions to be in a different language, either.
I tried WPML and it (or my hosting) is simply too slow. I just decided to set up separate blogs instead — and I hope I can install buddypress in 2 (or more) versions … I don’t think there’s an easy way of having 1 instance of buddypress work in English here, in German there, etc., right?
I haven’t been able to find much information about buddypress in German — I think I read the language files need to use the German buddypress (is that right? doesn’t really make sense to me)…
So, yea: I’m quite confused again… O_O
January 14, 2010 at 6:36 pm #60766In reply to: Wire Posts in bp 1.2
David Lewis
ParticipantThe @ thing is a Twitter hack which was came about out of necessity due to Twitter’s limitations. BuddyPress has no such limitations. Let’s not copy Twitter’s @ and # hacks. BuddyPress can do the same thing in a much more user-friendly and intuitive way… by clicking an action link for instance. Relying on raw text strings? Bad idea. I think.
January 14, 2010 at 6:06 pm #60763In reply to: BuddyPress Geo plugin
shaisimchi
ParticipantWell,
I was able to get it to work quite well from its main ‘Events’ page so thats one step.
I just want to use it from another page – just not sure exactly how the calls are being made etc.
January 14, 2010 at 5:04 pm #60761In reply to: BuddyPress Multilingual
nunomorgadinho
ParticipantHey Mariusooms,
Can you share the wpml-auto-settings plugin? I’m in need of something very similar.
Cheers,
Nuno
January 14, 2010 at 2:57 pm #60751In reply to: BuddyPress Links 0.2-RC1 now available
Lsm_267
Participantsalut mr maz
i’m running
wpmu 2.8.6 with bp 1.1.3 and your plugin bp-link
It worked like a charm, could create some links.
but now i’m getting this php erro by creating a link :
Call to undefined function bp_link_creation_tabs() in /homepages/41/d278410228/htdocs/wp-content/themes/bp-default/links/create.php on line 5
any ideas ?
thanks in advance
January 14, 2010 at 2:47 pm #60750In reply to: How to categorize Groups ?
Bowe
ParticipantThere is some functionality written by TravelJunkie which allows you to create group types. Find his post here: https://buddypress.org/forums/topic/soon-to-release-bp-group-control-plugin
@Erich73: Supergroups are similar and could be seen as another group category.. The ideal situation would be if you could create different categories and could also say which category could do what. For instance:
Group Cat 1: Can use forums, activity stream and groupblog plugin
Group Cat 2: Only forums
Group Cat 3: Supergroup which can do all + has an extended activity stream as described in trac: https://trac.buddypress.org/ticket/1593
To make it ever better it would also be cool if you could set up different desciption fields to fill in per group;
category 1 : Info, history, goals
category 2: Name, description, latest news
There must be someone who could help us out with this guys

edit: I am willing to pay for this plugin to be developed. Might not be the only one I think?!
January 14, 2010 at 2:44 pm #60748In reply to: BuddyPress Geo plugin
Mike Pratt
ParticipantGiven all the problems listed on this thread, the utter lack of responsiveness and vague claims on the plugin site, why even bother trying?
January 14, 2010 at 12:03 pm #60736In reply to: BuddyPress Links 0.2-RC1 now available
jamesjones
Participant** Ignore the previous post **
I had the links folder in the parent not the default. My bad. Now your plugin is totally filled with awesomeness
January 14, 2010 at 12:01 pm #60735In reply to: Should I still use bp_custom.php in BP 1.1.x?
Roger Coathup
Participant@sven. I had this problem in the past, because my mods in bp-custom.php were being overwritten when bp loaded itself.
The details on how to get them to occur after bp has loaded, are in this thread:
https://buddypress.org/forums/topic/remove-menu-from-admin-bar#post-22856
or, as John points out above, they can go in functions.php which is called afterwards.
January 14, 2010 at 11:11 am #60733In reply to: BuddyPress Links 0.2-RC1 now available
jamesjones
ParticipantHey MrMaz,
Sorry to hear about the drive

I am failrly new to bp and your plugin looks to be a winner. I am however encountering a few issues – mainly with the display of the links.
The site can be seen – http://6×9.co.za/
Specifically – the voting options don’t appear to show or work.
On the Admin options under Edit Details –
Edit Avatar Options
Edit Advanced Settings
Do nothing for me

Currently running on WordPress MU 2.8.6 and the latest BP release.
ANyways keep up the excellent work. This looks to be an awesome plugin.
January 14, 2010 at 11:00 am #60731In reply to: Feature Request: Hastags
Bowe
ParticipantYou can easily implement hashtags by making all words with # before it a “tag” in the main blog where BuddyPress is installed. Then you would automatically have a popular subjects cloud (by using the cloud widget).
January 14, 2010 at 10:47 am #60730In reply to: Cannot post new topic on forum
Bowe
ParticipantHi Michelle,
I think I know where the problem lies.. BuddyPress 1.1 does not need the BPPress integration plugin and it might actually cause problems. So I would advise you to uninstall BuddyPress completely remove buddypress (also remove the BuddyPress tables from the database) and disable and delete the BB integration. Then install BP again and activate the forum component on your BuddyPress admin page.
Let me know if this helps
January 14, 2010 at 10:43 am #60729In reply to: What if I'm not running WordPress MU?
D Cartwright
ParticipantSome pointers (check the other two threads in the forum directory 1st page for more info):
1) BP supports single WP in the latest trunk – http://trac.buddypress.org. Currently still in development but is due out fairly soon.
2) BP uses bbpress forums internally. If you don’t require the extra features of BP I’d suggest just using bbpress
January 14, 2010 at 9:11 am #60726In reply to: Feature Request: Hastags
idotter
Participantit would be great to have hastags … and it would also be great to have all tags available in one search (e.g. klick on tag ‘buddypress’ in blogpost will show a site where messages, forumposts, blogarticels are listed).
and of course: go for 1.2 i just installed it and it’s great!
January 14, 2010 at 5:32 am #60721In reply to: BuddyPress Geo plugin
shaisimchi
ParticipantDoes anyone have an experience of running this plugin but not from its main page?
I want to run a search from another of my pages but not sure how to use the capabilities of this plugin.
Would appreciate some help with that.
Thanks,
Shai
-
AuthorSearch Results