Search Results for 'buddypress'
-
AuthorSearch Results
-
Jeff Sayre
ParticipantThere were some changes to the header.php file. Off the top of my head, I cannot remember if both the buddypress-home and buddypress-member themes had changes. Or, if only one of them had changes.
Either way, the best thing to do is open your header.php file and compare it to the new header.php file of the respective BuddyPress theme.
If I have the Blog-Menu in my theme – the bp_home_slug doest point to the right page (the home-blog) but to an article in another blog…
It should be BP_HOME_BLOG_SLUG, not BP_HOME_SLUG.
April 12, 2009 at 2:46 pm #42447In reply to: Use full name in confirmation emails
peterverkooijen
ParticipantI know. My question is which files to hack and how, specifically how to get the member’s name from the form or database. Or how to get the full name of the logged-in member from the database in general for other situations.
I’ve already tried editing the email text in wpmu-functions.php, replaced ‘User’ with ‘DISPLAYNAME’ and added this line:
‘$welcome_email = str_replace(\”DISPLAYNAME\”, $user->display_name, $welcome_email ); ‘
That kinda works, but the display_name in my new installation is the same as the username, not the full name. Not sure if that’s how it’s supposed to be. The full name is stored elsewhere, with two tables involved. I have no clue how to retrieve that data.
Or if anyone can tell me how to get the full name in the display_name field, that would fix the problem as well.
The default emails are really unacceptable. I\’m trying to move to Buddypress from a home-baked system where this kind of thing was easy. Can anyone give any pointers on how to retrieve basic logged-in member data with custom php/mysql?
Thanks!
[BTW, this comment system is going crazy with the escapes. You probably already knew.]
April 12, 2009 at 1:40 pm #42446In reply to: Wildcard DNS and SVN
Trent Adams
ParticipantSVN aka Subversion is a program that is installed on your host so that you can install programs that have their code repositories online easily. Any program (terminal on mac, putty on windows) can connect to your server through SSH. I don\’t know of anyway of installing SVN versions without SSH.
For example, if you have an install like /var/www/html/ for an install, and wanted WPMU as the root domain in that folder, you would do something like the following:
svn co http://svn.automattic.com/wordpress-mu/branches/2.7/ /var/www/html/then if you wanted to install buddypress from SVN into your WPMU install:
svn co https://svn.buddypress.org/trunk/ /var/www/html/wp-content/plugins/buddypress/That just installs everything in the /wp-content/plugins/buddypress/ folder like the latest SVN requires. It doesn\’t mean you are finished. You still have to read the README file about the specifics, especially copying the themes to the correct locations. Reason I say this is because at this point, it would be like having all files including the buddypress themes in /wp-content/plugins/buddypress/ which obviously isn’t complete. Imagine at this point you downloaded BP and just uploaded the entire thing to that location. It is a matter of copying around the themes to where they are supposed to be.
Trent
April 12, 2009 at 12:27 pm #42443In reply to: Excerpt function in RC2
nightstalker101
ParticipantThanks again for your help. Oh, no, this time, I´m gonna tell you something
:´
<li class=”group-box”>
<div class=”left”>
“><?php bp_the_site_group_avatar_thumb() ?>
<?php $member_count = groups_get_groupmeta( $group->id, ‘total_member_count’ ) ?>
<?php echo ucwords($group->status) ?> <?php _e( ‘Group’, ‘buddypress’ ) ?>
<?php if ( $member_count == 1 ) : ?>
<?php printf( __( ‘%d member’, ‘buddypress’ ), $member_count ) ?>
<?php else : ?>
<?php printf( __( ‘%d members’, ‘buddypress’ ), $member_count ) ?>
<?php endif; ?>
</div>
<div class=”right”>
<div class=”group-top”>“><?php bp_the_site_group_name() ?><?php bp_group_join_button( $group ) ?>
<div class=”clear”></div>
</div>
<span class=”activity”><?php echo bp_core_get_last_activity( groups_get_groupmeta( $group->id, ‘last_activity’ ), __(‘active %s ago’) ) ?></span>
<div class=”excerpt”>
<?php // echo bp_create_excerpt( $group->description ) ?>
<?php bp_the_site_group_description() ?>
</div>
</div>
<div class=”clear”></div>
´
thsi is the code from my custom theme file. And here the Css, maybe there is a better solution, but it works:
´
.group-box{margin:15px auto 10px -30px;height:80px;width:800px;background: url(../images/group_list_item.jpg);
padding:10px 20px 25px 15px;list-style:none;text-align:justify }
.left{float:left;width:65px;height:82px;font-size:9px;color:#686868;line-height:11px;text-align:right}
.group-avatar img{border:1px solid #686868;height:60px;width:60px}
.right{float:left;height:82px;margin-left:5px;width:725px}
ul#letter-list li {float: left;height:25px; width:27px;margin-right:5px}
.group-top{height:20px;}
.group-link{text-decoration:none;font-size:16px;color: #ff7f00;float:left}
.group-link:hover{text-decoration:underline}
.excerpt{color:#1a1a1a;font-size:12px;}
.activity{font-size:11px;color:#686868; font-style:italic;display:block;margin:0;padding:0}
.leave_group, .join_group{float:right;display:block;padding:4px 0 0 24px;margin:0;font-size:10px;text-decoration:none;
color:#bd2100;height:21px;width:96px;background: url(../../bp-groups/images/leave_group.png);font-weight:bold}
.leave_group:hover, .join_group:hover{text-decoration:underline}
.join_group{color:green}
#group-dir-count{margin:0 0 5px 2px;font-size:12px;color:#686868}
´
Can you still tell me, how I get the recent activities that happened on the page?
I tried to call the function, but all I got, was the time.
Thanks
April 12, 2009 at 8:47 am #42438In reply to: Add fields to wp_users
Paul Wong-Gibbs
KeymasterThis is just not the way that WordPress MU works. Buddypress is a plugin for WordPress MU and therefore uses the standard functions that WPMU provides to store and retrieve custom database information.
April 12, 2009 at 8:26 am #42436In reply to: Can I replace bp_create_excerpt with the_excerpt?
Paul Wong-Gibbs
KeymasterHmm bp_create_excerpt fakes an excerpt on any content, whereas the_excerpt pulls the excerpt from a blog post. I don’t think you can except to change any/all of the calls and expect them to work.
I suggest you visit https://trac.buddypress.org/newticket and submit this as a bug report. I think it would be a good idea if you attach perhaps a text file or similar to the post with an example of non-English content that triggers this error on your system, so when Andy fixes it, he has a test case.
April 12, 2009 at 5:47 am #42433In reply to: Admin Bar Logo Transparency
archik100
Participanttry using that on a BP installation.l I have a feeling it won’t come out as nice as this:
https://buddypress.org/wp-content/plugins/bp/bp-core/images/admin_bar_logo.gif
April 12, 2009 at 5:23 am #42431In reply to: Excerpt function in RC2
Burt Adsit
ParticipantI see what you are saying. You want to be able to display an excerpt of the group description in the group directory. The best way I can recommend to you is to create a filter in bp-custom.php. Create one if it doesn’t exist in the bp /plugins/buddypress directory. This is a file where you can put all your custom mods for bp. In there, stick the following code:
function my_group_directory_description($text){
global $site_groups_template;
// only filter the description in the groups directory
if ($site_groups_template)
return bp_create_excerpt($text, 50);
else
return $text;
}
add_filter(‘bp_group_description’,’my_group_directory_description’)
That hooks a filter for the group description only when in the group directory and limits the work count to 50. You can modify the number of words limit by changing ’50’ to whatever word count you want.
The number of lines can’t be calculated easily. Too many variables. The bp_create_excerpt() function works by word count.
April 12, 2009 at 3:49 am #42427Anointed
ParticipantIt’s that exact .jpg above as to why I even got interested in buddypress in the first place. It looked very similar to another program I use, only cleaner.
Needless to say I was more than a little dismayed to find out it is not included in buddypress. I sure wish I knew what happened to that file as I would have loved to use it for my ‘basic’ members. I could then provide ‘real’ themes for premium members.
Another nice aspect to that layout is it’s hard to mess up or not understand for a newbie wordpress user.
Add me to the list of those that really wish it would be released, especially since that theme is now depreciated compared to the new theme on this site.
April 12, 2009 at 2:47 am #42424In reply to: Change blog indenticon to user avatar
modemlooper
Moderatorisn’t the person who created the blog the admin? I tried to get the profile avatar but the problem is each profile is considered a blog so to get using the bp avatar does not work just shows the default grey man.
My site only has one writer per blog. This seems like the right way to go for buddypress. Since it’s a social platform having a blog connected to the users profile makes the most sense. Or, just getting rid of extra blogs and incorporate one blog per user inside profile.
April 12, 2009 at 1:43 am #42422In reply to: We really need a required full name?
peterverkooijen
ParticipantI only want real full names in my site. I want to eliminate the anonymous \”username\” as much as possible.
This excellent plugin makes it possible to login with just email address and password, but you still get that stupid username in activation emails etc. At the moment I\’m struggling to find out how to replace it.
Just my 2 cents. Please don’t make Buddypress entirely username centric. They’re childish…
April 12, 2009 at 12:14 am #42415Burt Adsit
Participant– It is possible, in the profile, to show the posts list and favorite topics that the user added of the blog and forum
Everything except the above is a standard part of bp.
April 11, 2009 at 11:55 pm #42414peterverkooijen
ParticipantI guess I need the exact opposite. I only want full real names in the site, if possible entered as seperate first name + last name at sign-up.
I just reinstallend WordPress MU+Buddypress and now when I sign up test users, only the user_login gets copied to the display_name field in wp_users.
How can I force it to put the real full name in display_name?
April 11, 2009 at 11:19 pm #42413dainismichel
ParticipantFrom my perspective, this thread continues the topics brought up here nicely:
https://buddypress.org/forums/topic.php?id=1632&replies=4#post-10361
April 11, 2009 at 11:11 pm #42412dainismichel
Participantand @apeatling of https://apeatling.files.wordpress.com/2008/06/blog.jpg
is there a downloadable way to do what you guys have done and make it the default for user blogs (no user set up required, just automatic)?
Can you guys make your user templates available to the BuddyPress community?
Best,
Dainis
April 11, 2009 at 10:58 pm #42411In reply to: Changing the word blog
Paul Wong-Gibbs
KeymasterOr make bp-custom.php into your /plugins/buddypress/ folder, and put the following code in. This way saves you messing with the default themes and also having to re-do work if you change themes in future.
<?php
define('BP_BLOGS_SLUG', 'Diary');
?>April 11, 2009 at 10:56 pm #42408In reply to: XMLRPC support in BuddyPress with BPDEV XMLRPC
Paul Wong-Gibbs
KeymasterNicola I think the correct approach would be to implement this into the Buddypress core code and submit patches for Andy’s review.
April 11, 2009 at 10:56 pm #42407In reply to: BuddyPress Showoff: Post your links
wildchild
ParticipantThe ArtistPlug.NET social blogging network has got it’s first big change which is visible at http://blog.gowildchild.com and http://artistblog.me ; it’s also allowing 5 artistic users to it’s network till the beta period.
http://visualsound.be has a buddypress compatible plug-in which allows soundcloud to implemented (also written for the network).
Be sure to checkout this network for the common artist around the block!
April 11, 2009 at 9:48 pm #42404In reply to: XMLRPC support in BuddyPress with BPDEV XMLRPC
nicolagreco
ParticipantIf someone know something about might help the community
April 11, 2009 at 9:42 pm #42402In reply to: Changing the word blog
felix2009
ParticipantIn youre: “header.php”
<?php if ( function_exists( ‘bp_blogs_install’ ) ) { ?>
<li<?php if ( bp_is_page( BP_BLOGS_SLUG ) ) {?> class=”selected”<?php } ?>>/<?php echo BP_BLOGS_SLUG ?>” title=”<?php _e( ‘Blogs’, ‘buddypress’ ) ?>”><?php _e( ‘Blogs’, ‘buddypress’ ) ?>
<?php } ?>
Changes the phrase: “Blogs” into: “what ever you want” …
April 11, 2009 at 8:16 pm #42396adv_user
ParticipantOk Burtadsit, thanks for your information.
And you know if the BP to WP will have features that I mentioned in the first topic?
April 11, 2009 at 6:39 pm #42393Burt Adsit
Participantadv_user, sometime in the next several months. There isn’t any specific *public* timeline for releasing a version of bp that works on regular wp. Only automattic knows.
April 11, 2009 at 6:13 pm #42392In reply to: BuddyPress Showoff: Post your links
2414806
Inactive*gulp*
April 11, 2009 at 4:36 pm #42391adv_user
ParticipantAnd there is a plugin for wordpress to makes these activities do I need?
Because I need to do that “community integrated” with some urgency, and don’t I know if you have estimates of when the BP will be distributed to the WP?
April 11, 2009 at 2:25 pm #42386In reply to: How to install bleeding edge
Jeff Sayre
Participant@Famous-
Once you’ve updated to the latest BP trunk following the instructions in Burt’s link, BuddyPress components live in /plugins/. You can keep all your other non-BP WPMU plugins in /mu-plugins/.
Tip: Make sure you read the entire thread Burt linked to at least twice before starting your upgrade. For detailed instructions on upgrading WPMU, visit the WPMU site.
-
AuthorSearch Results