Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 14,051 through 14,075 (of 22,624 total)
  • Author
    Search Results
  • #120099
    @mercime
    Participant

    Open up activity/index.php and replace at the top:
    `

    `

    with
    `

     

    `

    at the bottom of activity/index.php, replace the bottom part
    `

    `

    with
    `

     

     


    `

    Note: You would also want to change header tag in activity/index.php from
    `

    `
    with your theme’s header tag for seamless look
    `

    `

    Save activity/index.php and upload to server. Then do this for the remaining 12 files as indicated in Step Three of this codex page https://codex.buddypress.org/theme-development/wordpress-to-buddypress-theme/

    #120079
    valuser
    Participant

    Copied from https://plugins.svn.wordpress.org/buddybar-widget/trunk/buddybar-widget.php

    `<a href="”>Messages`
    or
    `<a href="”>Inbox`

    `<a href="/sentbox”>Sent`

    and so on

    #120071
    Paul Wong-Gibbs
    Keymaster

    The blogs loop (best called the “site” loop nowadays) just iterates through your sites. You need to do regular WordPress post loops or functions to get those sites’ data. This is of course going to be awfully slow on page load, so I’d cache it somewhere, too.

    #120060
    rahul.dev
    Member

    Yes there is a better solution to this problem i am code savvy and i have myself invented this solution
    Step:1:
    The solution is copy the content all content of file wp-load.php which you will find in the root of wordpress installation directory root directory. Then create a new file rahuldev.php paste all the code in wp-load.php to rahuldev.php file plus at the end of that rahuldev.php file add this small code as below
    ?php
    $resultrah = mysql_query(“select user_login, user_nicename from wb_users where user_login like ‘%”.$_POST.”%’ or user_nicename like ‘%”.$_POST.”%'”);
    while($row = mysql_fetch_array($resultrah))
    {
    ?>
    ?php echo $row;?>

    ?php
    }
    ?>
    replace ?php with <? php
    make sure the name of the table if it is not default set during installation then that should be the name of the table as the name is in your installation
    once the above code is added to the bottom of the new file then save the new file to the root of your wordpress application ie where there is wp-load.php there along with it should be our new file rahuldev.php

    Step:2:
    Open wp-content/plugins/buddypress/bp-messages/bp-messages-cssjs.php file

    replace
    var acfb =
    jQuery(“ul.first”).autoCompletefb({urlLookup:’root_domain . str_replace( ‘index.php’, ‘/wp-load.php’, $_SERVER ) ?>’});
    with
    var acfb =
    jQuery(“ul.first”).autoCompletefb({urlLookup:’root_domain . ‘/rahuldev.php’ ?>’});

    And now enjoy my magic

    Thanks
    Take care

    #120059
    rahul.dev
    Member

    Yes there is a better solution to this problem i am code savvy and i have myself invented this solution
    Step:1:
    The solution is copy the content all content of file wp-load.php which you will find in the root of wordpress installation directory root directory. Then create a new file rahuldev.php paste all the code in wp-load.php to rahuldev.php file plus at the end of that rahuldev.php file add this small code as below
    <?php
    $resultrah = mysql_query(“select user_login, user_nicename from wb_users where user_login like ‘%”.$_POST.”%’ or user_nicename like ‘%”.$_POST.”%'”);
    while($row = mysql_fetch_array($resultrah))
    {
    ?>

    <?php
    }
    ?>

    make sure the name of the table if it is not default set during installation then that should be the name of the table as the name is in your installation
    once the above code is added to the bottom of the new file then save the new file to the root of your wordpress application ie where there is wp-load.php there along with it should be our new file rahuldev.php

    Step:2:
    Open wp-content/plugins/buddypress/bp-messages/bp-messages-cssjs.php file

    replace
    var acfb =
    jQuery(“ul.first”).autoCompletefb({urlLookup:’root_domain . str_replace( ‘index.php’, ‘/wp-load.php’, $_SERVER ) ?>’});
    with
    var acfb =
    jQuery(“ul.first”).autoCompletefb({urlLookup:’root_domain . ‘/rahuldev.php’ ?>’});

    And now enjoy my magic

    Take care

    I should have looked at the error log before! Errors were (lots of them, all for the same bp core file):

    With BP 1.2.10 – PHP Fatal error: Cannot access empty property in /var/www/wordpress/wp-content/plugins/buddypress/bp-core/bp-core-notifications.php on line 63, referer: some web page etc.

    Seems to me that when bp-core-notifications.php queried the db for notification data it somehow broke and stopped outputting. The last word of the HTML output of the page was ‘Notifications’.

    BTW: Can’t edit post here, have to delete and add another!

    After I updated to BP 1.5 RC1 error were from ” /var/www/wordpress/wp-content/plugins/buddypress/bp-members/bp-members-notifications.php”

    #120041
    Jenny Beaumont
    Participant

    @Meini, just tried to download your files, link is not working.

    Anyone else made progess on this? Seems like such a fundamental idea, can’t believe it doesn’t exist already! Am hoping future version of Buddypress work to add a more seamless interface btwn WordPress and Buddypress.

    cheers!
    -jennyb

    #120037
    ewebber
    Participant
    #120017
    aces
    Participant

    If you have never received an email (and it’s not stuck in a spam or junk folder) then your web host may need an extra plugin to use email with WordPress.

    https://wordpress.org/extend/plugins/wp-mail-smtp/ ( http://www.callum-macdonald.com/code/wp-mail-smtp/ ) adds extra email settings to wordpress and has a tool to debug smtp / php mail. This plugin has previously been discussed: https://buddypress.org/?s=wp-mail-smtp ….

    Alternatively the codex has another suggestion.

    #120007

    In reply to: Theme out of line

    Mike84
    Member

    If you can copy and paste your wordpress themes page.php file here, ill see if I can help.

    Figured this out. The admin bar was broken at “Notifications”, this stopped the page from loading fully and some JS for wordpress was not loaded. The data in the database looked ok, but there was a lot of notifications in the table as I deleted a lot of content/posts recently. Anyway I emptied the wp_bp_notifications table and it’s working now. Great!

    #119990

    In reply to: Theme out of line

    aces
    Participant
    #119978
    @mercime
    Participant
    #119976
    @mercime
    Participant

    == if BuddyPress can be easily integrated into an existing membership site community of over 100 people ==
    Curious since you mentioned Joomla, is your current installation a Joomla site with WordPress integrated for the blogging portion? Or are you referring to a WordPress install with 100 users? If it’s a WP install, then BP addition is not going to be a problem. The WP user would be recognized when he/she next logs in.

    #119970

    In reply to: where is the code?

    pcwriter
    Participant

    Seems that JS is messed up on the wordpress admin interface, along with the issues above the editor doesn’t show content and I can’t switch between Visual and HTML view.

    I’m using the default buddypress theme and I now have no other plugins active. I also reset the plugins (active_plugins field) in wp-options table and then only turned on buddypress. I have not customised core code.

    Was previously running 3.2.1 and 1.2.9. I’ve upload/installed the plugin in various ways to make sure nothing went wrong.

    Seems a JS issue to me? As if wordpress required functionality has been overwritten. The buddypress admin bar dropdowns work.

    Is anyone else having this issues?

    Regards,

    Express

    Paul Wong-Gibbs
    Keymaster
    #119922
    wendymerritt
    Participant

    1. WordPress v. 3.2.1
    2. WordPress is the root install of my shared hosting package with Hostgator
    3. If a directory install, is it in root or in a subdirectory?
    4. I was already running the current version of WordPress
    5. Yes, everything was functioning correctly before the upgrade
    6. BuddyPress v. 1.2.10
    7. I think I was previously using BuddyPress v. 1.2.9
    8. The plugins that are currently active on the domain are:
    BuddyPress Announce Group
    E-Newsletter
    Social Profiles Widget
    WordPress Amazon Associate
    WP-Cycle
    The plugins that are currently active on the network are:
    Akismet
    BackupBuddy
    Biblefox for WordPress
    BP Groupblog
    BuddyPress
    BuddyPress Badge
    BuddyPress Classifieds
    BUddyPress Mobile
    BuddyPress Sitemap Generator
    Flexi Pages Widget
    Genesis Connect
    Genesis Favicon uploader
    Genesis Simple Edits
    Genesis Simple Menus
    Google Calendar Events
    Membership Premium
    Multisite User Management
    Tiny MCE Advanced
    WPMU DEV Update Notifications
    9. Genesis theme with the GenesisBuddy Add-on
    10. Have you modified the core files in any way? No
    11. Do you have any custom functions in bp-custom.php? No
    12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in? We don’t use bbPress
    13. Please provide a list of any errors in your server’s log files. My server Error Log file is empty
    14. Which company provides your hosting? Hostgator
    15. Is your server running Windows, or if Linux; Apache, nginx or something else? Linux

    aces
    Participant

    You should start a new topic!

    Some web hosts require extra configuration to work with wordpress email.

    wp-mail-smtp also provides a testing mode to help debug php and smtp mail.

    Previous discussions about it can be found by searching buddypress.org for WP-Mail-SMTP

    #119902
    Mike84
    Member

    I should add that wordpress is installed in a development folder, /web. BuddyPress is located in /web/wp-content/plugins.

    #119898
    acurran
    Member

    My 3 step solution to this problem is as follows:

    1. Install plugin – BuddyPress Pending Activations (https://wordpress.org/extend/plugins/buddypress-pending-activations/)
    2. Make hack to plugin function bp_pending_activations_admin() so that it sends an email when a user is activated:
    $resendusers = $wpdb->get_results( $wpdb->prepare( “SELECT u.ID, u.user_login, u.user_email, m.meta_value FROM ” . CUSTOM_USER_META_TABLE . ” m, “. CUSTOM_USER_TABLE .” u WHERE u.ID = m.user_id AND m.meta_key = ‘activation_key’ AND u.ID IN ({$userids})” ) );

    foreach ( $resendusers as $resend ) {

    /* Activate the signup */
    $user = apply_filters( ‘bp_core_activate_account’, bp_core_activate_signup( $resend->meta_value ) );

    /* If there was errors, add a message and redirect */
    if ( $user->errors ) {
    echo ‘There was an error activating this account, please try again: ‘. $resend->user_login;
    } else {
    $to = $resend->user_email;
    $subject = “Your ?????? Account Has Been Activated!”;
    $message = “Your account has been activated. Go to http://??????/ and sign in with the username and password that you created when you signed up.nnWelcome to ?????!”;
    $admin_email = get_site_option( “admin_email” );
    $from_name = “??????????”;
    $message_headers = “MIME-Version: 1.0n” . “From: “{$from_name}” n” . “Content-Type: text/plain; charset=”” . get_option( ‘blog_charset’ ) . “”n”;
    wp_mail( $to, $subject, $message, $message_headers );
    }
    3. Redirect activation email to admin (to use as a noitification for admin instead of automatically sending activition key to user) by adding this to functions.php:
    function change_activation_email_to($content) {
    return get_site_option( “admin_email” );
    }
    add_filter( ‘bp_core_activation_signup_user_notification_to’, ‘change_activation_email_to’);

    So the when a new user signs up, they do not get any activation email. That goes to the admin instead. You will need to change the wording in your template to let the user know that they have to wait for manual approval. Admin logs in to WP admin and goes to Pending Activitations and activates the user. An email is sent to user to let them know they have been activated.

    #119888
    Boone Gorges
    Keymaster

    @mercime ‘s method will work correctly. But, as of https://buddypress.trac.wordpress.org/changeset/5124, it shouldn’t be necessary. The method that @alanchrishughes suggests should work properly. Please ensure that you’re running 1.5-rc-1, or an svn checkout of at least r5124.

    #119885
    Sami kamal
    Participant
    #119867
    @mercime
    Participant

    @kkradel if you used BP template pack plugin, check out the selectors used in bp.css file as a guide to start you off – https://plugins.svn.wordpress.org/bp-template-pack/tags/1.1.4/bp.css

    side note: nope, your site url didn’t show up in update

Viewing 25 results - 14,051 through 14,075 (of 22,624 total)
Skip to toolbar