Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 66,226 through 66,250 (of 69,016 total)
  • Author
    Search Results
  • #42459
    peterverkooijen
    Participant

    There’s a member access plugin here, but it has no settings for the members and groups sections in Buddypress.

    This plugin only works for “pages”.

    Is there a way to extend one of these plugins?

    Anointed
    Participant

    I am talking about wpmu and buddypress.

    Sorry if I made it confusing by mentioning vb, as I was only using it as an example of what I was trying to explain.

    #42455
    peterverkooijen
    Participant

    So, unless you hack the wp-signup.php or register.php files, and require that a full name be provided when registering…

    That’s what I want then. I thought it already was a required field in the Buddypress registration. Anyway ‘Dear User’ is not acceptable. There must be a way to get the full name from sign-up in there. That’s how most professional sites do it.

    I’ll look into profile-loop.php. Thanks for that pointer.

    Buddypress/WPMU just makes it really hard for someone who’s not a real PHP-programmer to add/retrieve additional member data. In my old home-baked site there’s one table with all member data (name, company, city, etc.) and straightforward queries.

    Where should I start when I want replicate something like that in Buddypress?

    Any piece of stored data can be accessed and spit out in any number of ways.

    How? Is it all hardcore PHP programming from scratch? Are there code examples anywhere? Documentation that explains how to do it?

    #42454
    peterverkooijen
    Participant

    Has this been resolved? Is there now a working plugin based on the code above?

    In my site the members and groups sections should definitely be members-only. This is essential stuff that should be a default part of the Buddypress package imho. What’s the point of signing up for a network if everybody has access anyway?

    #42452
    Jeff Sayre
    Participant

    I assume you’re specifically talking about customizing a BuddyPress template. If so, then you need to look in the BuddyPress profiles tables in MySQL.

    For instance, the field definition for the “Full Name” field is stored in the wp_bp_xprofile_fields table and any corresponding datum is stored in the wp_bp_xprofile_data table.

    With respect to this:

    At the moment Buddypress/WP MU makes it very hard, perhaps impossible, to flexibly use member’s real names or other data (companyname, city) in the site or have something like ‘Hello John’ in email notifications.

    That is not true. Any piece of stored data can be accessed and spit out in any number of ways. It just must first be in the database. Look in the bp-xprofile.php file and the bp-xprofile subdirectory for a number of functions that can be called to extract a user’s data.

    By the way, I did see your other post about this topic and it was answered appropriately. With the default WPMU and BuddyPress setup, you will not be able to use a user’s full name until they’ve entered that data. They will not be able to enter their full name until after they register.

    So, unless you hack the wp-signup.php or register.php files, and require that a full name be provided when registering, you will not be able to send them a welcome email with their full name since that piece of data does not yet exist.

    All of what you are asking is possible but requires either a pre-existing plugin, a custom hack, or your ability in customizing and coding a BuddyPress template.

    #42451

    In reply to: Add fields to wp_users

    peterverkooijen
    Participant

    I know that’s not default WordPress MU+Buddypress. That’s why I ask, in the ‘Creating & Extending’ section. I understand it would require hacking.

    It’s not impossible to add fields to the wp_users table. My question then is, where can I add corresponding fields to the form and where is the query that puts the data in the fields.

    That’s should be hackable somehow. Don’t tell me there are Natural Laws against it.

    If there’s really no way to achieve this kind of thing, I can’t use WPMU/Buddypress and should get out now while I still can.

    #42450
    Jeff Sayre
    Participant

    I assume you’re using the Recent Comments widget. That is a WPMU widget and not specifically a BuddyPress Widget.

    You have three options:

    • Search the WordPress plugin repository to see if someone has created a plugin to do just that
    • Search the forums on the WPMU site for an answer. If you don’t find one, then post a question.
    • Hack WPMU’s widgets.php file yourself to provide the necessary functionality

    #42448

    In reply to: PHP-Error

    Jeff Sayre
    Participant

    There 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.

    #42447
    peterverkooijen
    Participant

    I 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.]

    #42446

    In reply to: Wildcard DNS and SVN

    Trent Adams
    Participant

    SVN 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

    #42443
    nightstalker101
    Participant

    Thanks 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

    #42438

    In reply to: Add fields to wp_users

    Paul Wong-Gibbs
    Keymaster

    This 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.

    #42436
    Paul Wong-Gibbs
    Keymaster

    Hmm 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.

    #42433
    archik100
    Participant

    try 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

    #42431
    Burt Adsit
    Participant

    I 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.

    Anointed
    Participant

    It’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.

    #42424
    modemlooper
    Moderator

    isn’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.

    #42422
    peterverkooijen
    Participant

    I 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…

    #42415
    Burt 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.

    peterverkooijen
    Participant

    I 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?

    dainismichel
    Participant

    From my perspective, this thread continues the topics brought up here nicely:

    https://buddypress.org/forums/topic.php?id=1632&replies=4#post-10361

    dainismichel
    Participant

    @Wildrot

    and @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

    #42411

    In reply to: Changing the word blog

    Paul Wong-Gibbs
    Keymaster

    Or 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');
    ?>

    #42408
    Paul Wong-Gibbs
    Keymaster

    Nicola I think the correct approach would be to implement this into the Buddypress core code and submit patches for Andy’s review.

    #42407
    wildchild
    Participant

    The 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!

Viewing 25 results - 66,226 through 66,250 (of 69,016 total)
Skip to toolbar