Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 30,551 through 30,575 (of 32,678 total)
  • Author
    Search Results
  • #6265
    Korhan Ekinci
    Participant

    I had problems auto upgrade my wpmu 2.8.1 to 2.8.4a

    (Ok, I am a brave man upgrading automatically! Just Lazy!)

    I was getting this error:

    Warning: copy(/public_html/wp-content/upgrade/wordpress-mu-2.8.4a/wordpress/wp-admin/includes/update-core.php) [function.copy]: failed to open stream: No such file or directory in /public_html/wp-admin/includes/class-wp-filesystem-direct.php on line 131

    This is how I fixed it after reading this

    http://ocaoimh.ie/wordpress-mu-2-8-3/

    Before upgrading, edit wp-admin/includes/class-wp-upgrader.php and look for line 697.

    if ( !$wp_filesystem->copy($working_dir . ‘/wordpress/wp-admin/includes/update-core.php’, $wp_dir . ‘wp-admin/includes/update-core.php’, true) ) {

    * See the “/wordpress/wp-admin/includes” bit? Change that to “/wordpress-mu/wp-admin/includes”:

    if ( !$wp_filesystem->copy($working_dir . ‘/wordpress-mu/wp-admin/includes/update-core.php’, $wp_dir . ‘wp-admin/includes/update-core.php’, true) ) {

    * Save the file and auto upgrade. I upgraded this afternoon without any problems after making that change.

    You just have to go in and type “-mu” after “wordpress”. No need to copy and paste.

    #51095
    portalsoup
    Participant

    When I create new members their blog theme defaults to the WordPress Default 1.6 by Michael Heilemann. I believe this happens even when that theme is deactivated.

    When this theme is used for the members blog, there is no problem because the blog is the home site located at testmember.portalsoup.com and there is no options bar on this theme.

    When you go to my blogs for the member in bp, the options bring you to the admins site, blog to portalsoup.com/blog, home to portalsoup.com

    I expected the blog button would bring you to blog of who ever is signed in. This is what it is attempting when the member theme is used and is when you get the error.

    peterverkooijen
    Participant

    Mike Pratt, you’re right, that is one way to do it. Then you have the following fields on your registration form: username, name, first name, last name. That is an excellent solution if your aim is to annoy potential members.

    Another option is to use the default “fullname” field for first name and create a second one for last name, but then you’re kinda messing with the system and perhaps causing problems in the future. I have already done this solution in an earlier version. It’s my fallback option.

    But why would I have to create custom fields when WordPress already has the first_name and last_name fields in wp_usermeta? And there is even a ready-to-use Buddypress function that synchronizes the fields in wp_usermeta with the fullname in BP.

    Unfortunately at the moment that function is only run when the user updates his profile, so it’s completely useless. I’m trying to tweak it and make it useful and introduce to Buddypress the wonders of a first_name, last_name in the database. (Wow, I know…)

    Also I’d like to get rid of the username on the form, by autogenerating it from the fullname – make lowercase, take out spaces, store as username. That should be a relatively easy next step once I’ve figured out how to use the fullname input from the registration form in a function.

    Also I wasn’t able to get bp tags working in a plugin, where I had no problem pulling first_name and last_name from wp_usermeta, providing they were available…

    This should be a really easy plugin for any php coder, but as Jeff Sayre has pointed out, having a somewhat clean, professional user registration in Buddypress is reserved for those well-versed in the codebase or with deep-enough pockets.

    @Mariusooms, I need to finish the site before Labor Day, with a related event on September 22nd. When will bp1.0.3 be released?

    I’ll figure it out somehow, with or without the help of WordPress insiders.

    #51087
    davetesh
    Member

    Wait I guess I had to instal WordPress MU but is there a way to convert my wordpress right now on my site to WordPress MU? I don’t really want to delete my posts.

    #6258
    davetesh
    Member

    This is what it says when I login to wordpress on my site

    Fatal error: Call to undefined function get_blog_option() in /home/davetesh/davetesh.com/wp-content/plugins/buddypress/bp-core.php on line 421

    why is this happening?

    #51077
    Jeff Sayre
    Participant

    As r-a-y points put, Mark Jaquith, one of the few lead developers for WordPress, was hired to build a highly-customized version of WPMU + BuddyPress for Gigaom. Mark of course is intimately aware of the intricacies of the WP codebase and I’m sure had an easier time customizing the project than would the vast majority of coders.

    But, the Gigaom site does demonstrate what is possible with WPMU + BP if you are willing to become well-versed in the codebase or have deep-enough pockets to hire out professional talent.

    #51071
    r-a-y
    Keymaster

    @Peter + Roger,

    You might want to pick Mark’s brain as to how he created the registration system and removed the username:

    http://markjaquith.wordpress.com/2009/05/28/gigaom-pro-launches-on-wordpress-and-buddypress/

    #51065
    Jeff Sayre
    Participant

    Once v1.1 comes out in the next couple of weeks, this issue should be moot. There will no longer be bhome and bpmember themes. Instead, BuddyPress will adopt the parent/child theme architecture that WP 2.7 makes possible.

    Backwards compatibility will remain for a while for those that want/need to use the old theming architecture. But it will eventually be phased out.

    Learn more about parent/child themes in WordPress.

    #51061
    Jeff Sayre
    Participant

    This is a WPMU question so it is best to ask in that forum. Please do so.

    In addition, this plugin may be of use: https://wordpress.org/extend/plugins/advanced-export-for-wp-wpmu/

    #51058
    Jeff Sayre
    Participant

    Well, you’ll need some PHP, CSS, and WP theming knowledge to modify WP themes. Here’s a helpful link to get you started with WP theme designing.

    peterverkooijen
    Participant

    Thanks for the additional clues DJPaul!

    In the latest attempt I was going back to my first approach, trying to catch the input straight from the form, so that has to run on initial user registration, not on activation.

    Or is user_register not used in Buddypress at all? Is there a wpmu or bp equivalent I could try? Should I use wpmu_create_user? According to this blog post:

    the do_action for wpmu_new_user is directly at the bottom of wpmu_create_user in the wp-includes/wpmu-functions.php the wpmu_create_user gets sent the username password and email and checks if the username or email exists, if not create the new user in the database and assign a user_id to the return, also assigning capabilities and level … this happens on *all* levels of registration and is the perfect hook point to add them into the database

    the do_action do_action( ‘wpmu_new_user’, $user_id ); so you get the immediate user_id soon as it’s created which you can use in your table

    Apparantly this is like a flowchart of registration events in wpmu (wp-includes/wpmu-default-filters.php):

    add_filter ( 'wpmu_validate_user_signup', 'signup_nonce_check' );
    add_action ( 'init', 'maybe_add_existing_user_to_blog' );
    add_filter ( 'xmlrpc_methods', 'attach_wpmu_xmlrpc' );
    add_filter ( 'wp_authenticate_user', 'wordpressmu_authenticate_siteadmin', 10, 2 );
    add_action ( 'wpmu_new_user', 'newuser_notify_siteadmin' );
    add_action ( 'wpmu_activate_user', 'add_new_user_to_blog', 10, 3 );
    add_action ( 'sanitize_user', 'strtolower_usernames', 10, 3 );

    Should I focus on these wpmu action hooks instead of regular wp hook? Does bp have a list like this somewhere?

    I couldn’t figure out how to serialize that $meta data and extract the fullname from it, so I abandoned the approach hooking into wpmu_activate_user for now. Also when I put in the $user_id and $password arguments I got the error messages about missing arguments. wtf?!

    I think this bit of code grabs the input from the registration form:

    $fields = BP_XProfile_Field::get_signup_fields();

    if ( $fields ) {
    foreach ( $fields as $field ) {

    $value = $_POST['field_' . $field->id];

    fullname is the input from field_1, but I don’t know how to finish the php to get to $fullname = … . The two latest attempts above did not work.

    I have to give up for now. Deadline at my day job coming up…

    Tore
    Participant

    Hi all!

    I want to have specific avatars as defaults when a person hasn’t uploaded his own avatar. I don’t want identicons, monsters, mystery man or the other defaults in Buddypress.

    I’ve tried using the Ravatar plugin for WordPress but it doesn’t override Buddypress it seems.

    I’ve read all the forumposts with avatar mentioned.

    I’m using the latest WP+BP and only events-plugin.

    Any clues?

    peterverkooijen
    Participant

    arezki, there is a Users to CSV plugin. Not sure if it also exports data from Buddypress’ xprofile table, but perhaps you could expand it.

    Getting data from the database is relatively simple. You could just write your own SQL queries as well, if you can figure out how and where the data is stored, which is not at all straightforward in the wp-wpmu-bp patchwork.

    My original question was about something else; how does data move from registration form to the database?

    I’m trying to identify what bit of code “picks up” the input from the ‘* Name’ field, id/name = “field_1”. Is it this function?:

    function xprofile_extract_signup_meta( $user_id, $meta ) {
    // Extract signup meta fields to fill out profile
    $field_ids = $meta['xprofile_field_ids'];
    $field_ids = explode( ',', $field_ids );

    // Loop through each bit of profile data and save it to profile.
    for ( $i = 0; $i < count($field_ids); $i++ ) {
    if ( empty( $field_ids[$i] ) ) continue;

    $field_value = $meta["field_{$field_ids[$i]}"];

    $field = new BP_XProfile_ProfileData();
    $field->user_id = $user_id;
    $field->value = $field_value;
    $field->field_id = $field_ids[$i];
    $field->last_updated = time();

    $field->save();
    }

    update_usermeta( $user_id, 'last_activity', time() );
    }

    For a plugin I need SOMETHING HERE = $fullname. The SOMETHING HERE should be the input value for field_1 from the registration form.

    I get lost in the php in the array stuff. Please help if anyone can give any more clues!

    #51015
    Paul Wong-Gibbs
    Keymaster

    You can use any WordPress theme for the home/blog theme, yes. You’d only need a customised or Buddypress-specific theme for the member pages.

    #6239
    francoislouis
    Participant

    Hi All,

    I just installed buddypress and try to get the navbar at the top of my website:

    http://www.allumette.org

    Can you help me getting it back. It’s there on the dashboard and on the wordpress theme but not on the one I am trying to work with.

    Thanks

    #51009
    r-a-y
    Keymaster

    “themes” is a themes folder for WordPress(MU); whereas “bp-themes” is a themes folder specific to BuddyPress components.

    To be more specific, “themes” styles the blogs; “bp-themes” styles the member profiles and groups.

    ReadWritePoem’s blog posts is from the main, primary blog… it’s a simple template loop from WordPress… nothing elaborate there. In fact, looking into it further, they do not have member blogs! So if you’re familiar with regular WordPress, you’ll know how they placed the blog posts on the front page.

    #6238
    cpkid2
    Participant

    I’m trying to learn how to customize BP but I feel I don’t understand the fundamentals that make BP what it is. Why are there two theme folders (bp-themes and themes) and do I need to edit files in both? How does this site place blog posts on the front page? Looking through the admin panel in widgets, I noticed there wasn’t a drag and drop function for “blog posts”.

    I’m familiar with customizing WordPress themes but Buddypress seems different. I would appreciate some guidance as I feel I’m missing something obvious.

    #6237

    Topic: Multi-thread Wires

    in group forum Requests & Feedback
    firewalker
    Participant

    To build better interactivity and organizations of Wires, I think it is necessary to build threaded Wires just like WordPress multi-threaded comments. It’s good to keep track your replies from friends at their own topic.

    peterverkooijen
    Participant

    Here is a plugin that “forces users to provide first and last name upon registration” and stores them in wp_usermeta.

    Would this plugin be compatible with Buddypress? Looking into it now…

    #6234
    stefk
    Participant

    Hi guys

    I have been running my website on buddypress for a few months and it has been doing very well in my niche market.

    With the further development of Buddypress and WordPress MU i have reached a stage where i HAVE to upgrade to take advantage of the great improvements.

    The dilemma now is that i don’t know how to upgrade and which versions of Buddypress is compatible with which version of WordPress MU? And where do i get these versions and how?

    My site is running on WordPress MU 2.7 and Buddypress 1.0-RC1. and i am using the 1st version of Darkpress by buddydress.

    Can anyone please assist me with this and what steps i need to tae to make this a successful upgrade?

    Regards

    Stef

    ps. the site is http://pokershuffle.co.za

    #50977

    In reply to: Fake IDs?

    A majority of the registration protection you would want to do currently comes from the WordPress side of it; captchya’s and what-not.

    I’ve seen it happen on a few BP sites I’ve done for clients already. Seems to come with the territory unfortunately.

    #50974
    peterverkooijen
    Participant

    Thanks Jeff Sayre!

    The plugin has a very messy structure. I’ve tried with $bp added to global in several functions in the plugin, both in the main file and the file with the form. Nothing has any effect.

    Are there any downsides to adding $bp if it’s not strictly needed? Can you make any plugin “Buddypress ready” by just adding that $bp to global?

    I did get regular wp data working with help from their forum. I had to add this to the php:

    global $current_user;
    get_currentuserinfo();

    Does Buddypress have something like that? Anything else I can try?

    Jeff Sayre
    Participant
    #50956
    Jeff Sayre
    Participant

    General theming guidance is beyond the scope of these forums as it really is more an issue of learning how to use CSS and WordPress/BuddyPress template loops to create the design you are after.

    But, to help get you started, here a few links:

    1. Advice on using the default BP themes or Skeleton Theme that comes with BP
    2. A great tool to use while designing your theme.
    3. Basic how tos on WordPress theme design. NOTE: this link pertains to wordpress themes in general, not BuddyPress themes. But, you should really understand WP theming before you set out to do a BP custom theme.

    Wattskemov
    Participant

    I install BuddyPress and it is wonderful. But I want to show some recent posts on the front page, not just the admin’s post but also some users’ posts.

    I think it will make my WordPress-mu a multi-user CMS site.

    How can I do it? Is there any plugin to use to abstract information from sub blogs?

    Any free theme to study?

Viewing 25 results - 30,551 through 30,575 (of 32,678 total)
Skip to toolbar