Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 30,551 through 30,575 (of 32,690 total)
  • Author
    Search Results
  • #6287
    Roy McKenzie
    Participant

    Ok, I made a big mistake. I was testing out the latest trunk about a week ago on my beta site. Well, come to find out I was testing it out on my live site. After switching back to BuddyPress 1.03 on WordPress 2.8.4a my sitewide activity widget stopped updating. In fact, it has no updates what so ever. When I place the widget on the page, it shows, “There is no recent sitewide activity.” However, when I look in the database, activity is being recorded.

    Can anyone help me out?

    cameronbaney
    Participant

    I would like the user to enter their email address twice, and have a script verify it is the same instead of having them “triple check” it. Is there a way to do this? I know there are WordPress plugins that let you do this, but I’m not sure if they will work with BuddyPress.

    Thanks!

    #51156

    In reply to: Help with new function

    tiptap
    Participant

    I had similar that needed that recently.

    Have you tried

    global $wpdb;

    $row = $wpdb->get_results( $wpdb->prepare(“SELECT user_login FROM $wpdb->users WHERE u.ID = %s”, $username) );

    print_r($row);

    I think you access each individual column like this

    $row[“coloumRow”];

    see if this helps https://codex.wordpress.org/Function_Reference/wpdb_Class

    #51148
    peterverkooijen
    Participant

    Here’s one example.

    You probably have to change $ to jQuery for it to work within WordPress, like this:

    //toggle login block horizontally
    jQuery(".login-toggle").click(function(){
    jQuery("#right-ear-inner").slideFadeToggle("slow");
    jQuery(this).toggleClass("login-toggle-close"); return false;
    });

    More examples and info.

    #51135
    peterverkooijen
    Participant

    Probably a jQuery script, perhaps via a plugin, not necessarily. I know there are several WordPress Ajax login plugins.

    I have a similar toggle hide script in my test site, but without the cool jQuery animation effect. They did a very nice job. I should look into that site for “ideas”… ;-)

    #51133
    Roy McKenzie
    Participant

    This sort of functionality would be great! Is their a way to do this with user roles in wordpress?

    #51128
    r-a-y
    Keymaster

    Hey gerikg,

    If you’re using forums separately, I would suggest using the following plugin to output your latest forum discussions:

    https://wordpress.org/extend/plugins/bbpress-latest-discussion/

    #6272
    arezki
    Participant

    I struggled to find an easy plugin to allow members to send invites to their friends. I tested a number of scripts but they either did not work or required expert knowledge to integrate. Solution? meet the “send post card” script from http://www.tuxlog.de/wordpress/2008/ – These guys have done such a good job that integration was seamless, though the plugin required another one, NextGen Gallery, which works fine but always 100%. So I designed postcards as invites and it’s such a helper. I;ve also installed a weather plugin from the same folks.Good one to try. Works nice too.

    #6266
    Jeff Sayre
    Participant

    With BuddyPress version 1.1–which will be officially released in the next several weeks–there will no longer be bhome and bpmember themes. Instead, BuddyPress will adopt the parent/child theme architecture that WP 2.7 made possible.

    Backwards compatibility will remain for a while for those that want/need to use the old theming architecture. To use the old theme architecture, you need to keep the /bp-themes/ directory. Place/keep your old member themes in there. BuddyPress should override the new theme architecture in favor of the old one if you have a /bp-themes/ directory. However, please note that support for the old theme architecture will eventually be phased out. You will eventually need to update your themes to a parent/child architecture.

    Furthermore, once version 1.1 of BuddyPress is released, the Skeleton Theme that is currently bundled with BuddyPress (up to version 1.0.3) will be discontinued.

    Learn more about parent/child themes in WordPress.

    #51102
    Jeff Sayre
    Participant

    Once version 1.1 of BuddyPress is released, the Skeleton Theme that is currently bundled with BuddyPress (up to version 1.0.3) will be discontinued. Instead, BuddyPress will adopt the parent/child theme architecture that WP 2.7 made possible.

    Learn more about parent/child themes in WordPress.

    #51098
    Jeff Sayre
    Participant

    BuddyPress currently only runs on WPMU.

    As far as your question:

    …is there a way to convert my wordpress right now on my site to WordPress MU?

    There are many resources on the WPMU site and threads in their forums that will help you in this regard.

    #51097
    Jeff Sayre
    Participant

    When you run on the bleeding edge, you have to accept the changes!

    The BP themes that WPMU DEV currently provide are are not designed with the parent/child architecture in mind. You need to talk with them to get support.

    Details About the New Theme Architecture

    With BuddyPress version 1.1–which will be officially released in the next several weeks–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. To use the old theme architecture, you need to keep the /bp-themes/ directory. Place your old member themes in there. BuddyPress should override the new theme architecture in favor of the old one if you have a /bp-themes/ directory. However, please note that support for the old theme architecture will eventually be phased out. You will eventually need to update your themes to a parent/child architecture.

    Learn more about parent/child themes in WordPress.

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

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