Search Results for 'buddypress'
-
AuthorSearch Results
-
June 4, 2011 at 1:02 pm #113842
In reply to: Activity posting does not work …
flemmingbjerke
MemberWhen an activity update is posted, the function bp_activity_post_form_action in wp-content/plugins/buddypress/bp-activity/bp-activity-templatetags.php is called. This function sends defines:
function bp_get_activity_post_form_action() {
return apply_filters( ‘bp_get_activity_post_form_action’, site_url( BP_ACTIVITY_SLUG . ‘/post’ ) );BP_ACTIVITY_SLUG is just the url of the activity (http://example.com/activity). To this url I added /post, and I tried it in the browser. I got the extremely informative error: “Are you sure you want to do this?” Now, I guessed, it would work without the /post-ending … and it did. (I had deactivated a number of plugins, but now they are activated again).
June 4, 2011 at 11:08 am #113839In reply to: Bug: BuddyPress to WordPress profile syncing broken
webpagesindiadotnet
Member@paulhastings0 Try this filter, it will sync user name on the fly
just paste this block of code in your template functions.php
`
/////////////////////////
///// To sync user names on the fly, it will show xprofile fullname of user
/////////////////////////
function wpi_sync_member_name($data) {
global $members_template, $bp;#$firstname = xprofile_get_field_data( 1, $members_template->member->id ); // 1 = firstname > wp_bp_xprofile_fields.id
#$lastname = xprofile_get_field_data( 51, $members_template->member->id ); // 51 = lastname > wp_bp_xprofile_fields.id
#$fullname = $firstname .’ ‘.$lastname;
#return $fullname;return bp_core_get_user_displayname( $members_template->member->id );
}
add_filter( ‘bp_get_member_name’, ‘wpi_sync_member_name’ );
`June 4, 2011 at 10:29 am #113837In reply to: Sidebar and page layout when clicking View
Scotty501
MemberThank you for the reply. I’m a little confused though.
I have found the file permalink.php – you say copy to your child theme – would that be /wp-content/themes/fishbook-buddypress-buddypack and paste the file in there?
You mention I should past inside folders/single/activity following directory structure of bp default – I am at complete loss as what is intended here or what is meant – sorry

I am trying to understand the file structures (honest) but it’s taking a while to “go in” my brain!
June 4, 2011 at 10:14 am #113836In reply to: “Create group” returns me to home
@mercime
Participant@athimm could be the permalink structure like this ticket https://buddypress.trac.wordpress.org/ticket/1766
June 4, 2011 at 10:06 am #113835In reply to: Sidebar and page layout when clicking View
@mercime
ParticipantThis is the template which handles the page. Copy over bp-default’s permalink.php to your child theme’s folder, and paste inside folders /members/single/activity/ following directory structure of bp-default
June 4, 2011 at 8:57 am #113834In reply to: “Create group” returns me to home
Doug
Participant@athimm – Thanks for the clarification. Have you done a “tail” on your apache error log? Mine is showing this:
[Sat Jun 04 08:46:13 2011] [error] [client 24.234.182.233] File does not exist: /vol/sites/neoncon.com/dev/groups, referer: http://dev.neoncon.com/groups/
[Sat Jun 04 08:46:21 2011] [error] [client 24.234.182.233] File does not exist: /vol/sites/neoncon.com/dev/groups, referer: http://dev.neoncon.com/groups/create/step/group-details/June 4, 2011 at 7:22 am #113832In reply to: Avatar Img Alt Tags
covandy
MemberI don’t think this is the solution I am looking for? All I am looking to do is change the
``
I want to find the file within buddypress or wordpress that defines the default alt value and change it.
Unless your method does this and I have overlooked it?June 4, 2011 at 7:11 am #113830Marcos Nobre
Participant@hnla its only working on the profile page… but not in the other pages… any idea how to get it to work on all pages?
June 4, 2011 at 1:11 am #113821In reply to: Help! W3 Total Cache broke stuff!
luvs
Memberno, thats not what I mean.
I mean that when I post on the forums on my site, the post takes like 10 minutes to appear on the page. For god knows why.. but I obviously can’t have that…
same with the buddypress avatar I’m trying to upload
June 4, 2011 at 12:13 am #113815In reply to: Avatar Img Alt Tags
aces
Participanthttps://buddypress.org/community/groups/miscellaneous/forum/topic/how-can-i-change-the-text-visit-blog-to-somthing-other-like-visit-post-or-watch-news-in-buddypress-blogs-page#post-89386 is a technique for changing the odd word, but for more intensive changes it might be better to change the language file: https://codex.buddypress.org/extending-buddypress/customizing-labels-messages-and-urls/#poedit
For some language issues (slugs), the following might be useful: https://codex.buddypress.org/extending-buddypress/changing-internal-configuration-settings/June 3, 2011 at 9:56 pm #113810Virtuali
ParticipantIt’s some problems we have been having at buddypress.org, it’s happened to me as well. I think JJJ is upgrading some things on the site.
June 3, 2011 at 9:47 pm #113807In reply to: CSS issue with Activity
Scotty501
MemberJune 3, 2011 at 9:35 pm #113803In reply to: CSS issue with Activity
Virtuali
ParticipantThat’s not the issue he is having. It’s with the avatar and the textarea is colliding.
Find this line in your `wp-content/themes/fishbook-buddypress-buddypack/style.css`
`div.ac-reply-avatar img {
border: 2px solid #FFFFFF !important;`Add this to the bottom:
`width: 33px;
height: 33px;
}`June 3, 2011 at 9:31 pm #113802In reply to: CSS issue with Activity
pcwriter
ParticipantThe problem doesn’t look like it’s the image; rather, there doesn’t seem to be a large enough margin to the left of the comment div. Look for the following in your theme’s style.css file:
`div.activity-comments form div.ac-reply-content`
Add this and adjust to taste:
`margin-left:50px;`June 3, 2011 at 8:25 pm #113795In reply to: How to add Google +1 to the Activity Stream
nicholmikey
ParticipantTo add to the activity stream you call
`
bp_activity_add(array(
‘action’ => ‘I did something awesome’,
‘content’ => ‘more content heret’,
‘component’ => ‘your component’,
‘type’ => ‘activity_thing’
));`If you are calling this from a plug-in, the function that contains this call needs to be hooked into bp_init
Here is a full description of your options from bp-activity.php
`
$defaults = array(
‘id’ => false, // Pass an existing activity ID to update an existing entry.‘action’ => ”, // The activity action – e.g. “Jon Doe posted an update”
‘content’ => ”, // Optional: The content of the activity item e.g. “BuddyPress is awesome guys!”‘component’ => false, // The name/ID of the component e.g. groups, profile, mycomponent
‘type’ => false, // The activity type e.g. activity_update, profile_updated
‘primary_link’ => ”, // Optional: The primary URL for this item in RSS feeds (defaults to activity permalink)‘user_id’ => $bp->loggedin_user->id, // Optional: The user to record the activity for, can be false if this activity is not for a user.
‘item_id’ => false, // Optional: The ID of the specific item being recorded, e.g. a blog_id
‘secondary_item_id’ => false, // Optional: A second ID used to further filter e.g. a comment_id
‘recorded_time’ => bp_core_current_time(), // The GMT time that this activity was recorded
‘hide_sitewide’ => false // Should this be hidden on the sitewide activity stream?
);`June 3, 2011 at 5:12 pm #113782In reply to: Could Buddypress power a Q&A site?
LPH2005
ParticipantMatt,
Yes and No. I have two sites using the Q&A plugin from WPMU Dev. This plugin works great except buddypress integration is not present. If I recall correctly, the dev wrote interest in adding integration (sorry, I cannot find that link). The plugin is quite good.
Another approach is to use a Q&A theme and the BP template pack. I did this prior to switching to the plugin. In this case the integration was fine because the WP posts went to the activity stream.
Hope this helps.
June 3, 2011 at 4:27 pm #113779In reply to: Need Examples
justbishop
MemberHi, I run RiotCart
Just wanted to pop in and say that I’m no longer using the BP groups component for anything but a private group/forum for my vendors. If you’d like to see the working parts of the site (which is in the midst of an overhaul, so be kind), you can do so here: http://www.riotcart.comI personally think that WordPress is a great platform for running an online shop, and have set up many standalone ecommerce sites for individual crafters using it in conjunction with my personal favorite shopping cart plugin, eShop. This is actually what led to the idea for RiotCart, which is more of a venue for crafters to set up a shop/site in the RC network, rather than a shop in itself. The only thing that RC sells is the monthly shop hosting terms. We use Buddypress more for the shoppers themselves, as it gave me a starting point from which I’ve implimented a p2p feedback system, a “wishlist” feature, and more. I’ve tried offering members the BP groups several different times, and the concept never seems to take off.
June 3, 2011 at 4:27 pm #113778In reply to: BuddyPress Template Pack 1.1 upgrade
stevieg
Member@Boone I am using the BP templates as installed in my theme by the new Template Pack. I haven’t amended them.
All I have done is
1. install BP,
2. install template pack,
3. run through BP compatability
4. Create a group
5. as another user, go to mydomain/groupsWhere I would expect to see a link to ‘Join Group’ I get nothing.
This is a fresh install of WP 3.1.3 using twentyten with BP 1.2.8 and template Pack 1.1.1 as the only active plugins. Groups are enabled and the group is Public.
June 3, 2011 at 4:17 pm #113776Philippe Gras
ParticipantIt was only a question, because Google Webmaster Tools tell me I must give the bot only the primary link, and only one, instead of 2. I would be kind with bots, but I don’t want to create a miss in my site. It’s not a trouble in BuddyPress, and a ticket wouldn’t be not justified. Thank’s for your help
!June 3, 2011 at 3:41 pm #113775@mikey3d
Participant`As r-a-y suggests, in my experience at least, that kind of error is almost always malformed PHP files — trailing spaces, unclosed brackets, stuff like that. If you’ve pasted functions into your functions.php or bp-custom.php, look there first, then any other template files you’ve edited.`
There was no error in my functions.php, bp-custom.php and template files. The warning error, above in my first posted, was possible from the core bp-default /registration/activate.php.
June 3, 2011 at 3:32 pm #113774In reply to: Blog posts mixed up
@mercime
ParticipantFirst of all, please keep the bp-default theme where you found it – in buddypress/bp-themes folder, delete the bp-default theme you uploaded to wp-content/themes folder. If you want to use the theme, you should create a child theme instead https://codex.buddypress.org/theme-development/building-a-buddypress-child-theme/
== I could not update the categories in my own blog, nor access the posts through my dashboard ==
BuddyPress doesn’t cause this strange behavior, but other plugins could have done so. Deactivate all other plugins except BuddyPress
June 3, 2011 at 3:11 pm #113771@mikey3d
Participant“Is that a general recommendation?
”
– No! However I have only been using your two codes that works but after awhile when I found the bugs it’s causing of your codes.1. Duplicate Content: Slash and No Slash at the End of URL
2. The page isn’t redirecting properly“I did say it was test code. Looks like you have whitespace issues in your /registration/activate.php. Delete any trailing whitespace from the beginning of that file.”I did put back the
function bp_core_redirect_canonicalin functions.php and deleted redirect trailing slash in .htaccess before process your above posted. It is the same problem I had it before except no warning error show up, only missed a key link in the domain link.I haven’t touch activate.php in bp-default therefore when I looked for trailing space, it looks like this:
`
`If that is what you were talking about I deleted the whole line 1 and I tested it again and result I get when click the activation link in email:
http://www.domain.com/blog/activate/
`Activate your Account
Please provide a valid activation key.
Activation Key:`There is no key link in the domain. e.g.
http://www.domain.com/blog/activate?key=afd7528c3b5664d429f94a2ed59a4c32
The line 1 in activate.php said
“This template is only used on multisite installations.”I have single WordPress. Does it matter? All those error the user still able get in after clicked the activation link in the email. Huh?Is there a fix? What is the solution for Single WP after user completed sign-up?
“Your htaccess rewrite rules look like it will interfere with querystring variables.
eg. example.com/my-page/?variable=my-test”Ha, thanks for noticed.
June 3, 2011 at 2:03 pm #113770Matt
MemberInteresting. I’m with Fasthosts and while they’re fine for most everything what you get is what you get, so I can’t change the memory allocation.
I’m actually thinking of switching to Media Temple – anyone know if Buddypress works on their Grid-Service?
June 3, 2011 at 1:53 pm #113769aces
ParticipantYeah, I’ve had problems – see details of memory usage here: https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/rss-error-in-dashboard#post-88690
If you are on 1and1, then their newer packages may have more memory available….June 3, 2011 at 1:50 pm #113768In reply to: No effective plugins for moderation!
@mikey3d
Participant@psivait What @andrea_r is talking about robots.txt and rel=“nofollow” to noindex the link?
robots.txt
`User-agent: *
Disallow: /register/`rel=“nofollow”
In your child theme: sidebar.php
`<?php printf( __( ' You can also create an account.’, ‘buddypress’ ), site_url( BP_REGISTER_SLUG . ‘/’ ) ) ?>` -
AuthorSearch Results