Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 5,101 through 5,125 (of 22,687 total)
  • Author
    Search Results
  • #248287
    Henry Wright
    Moderator

    If you’re not comfortable with code, then try searching for a plugin. I’m not aware of one but that doesn’t mean there isn’t one out there šŸ™‚

    Ref: https://wordpress.org/plugins/

    #248272
    peter-hamilton
    Participant

    lol…. you need to copy the folder “buddypress” to your root folder.

    Find “buddypress” folder here.

    plugins/buddypress/bp-templates/bp-legacy/buddypress

    Now you need to read up on how to change these template files for your need, only these files inside this folder should be changed.

    There is no buddypress theme, all wordpress themes are buddypress themes, and the only way to make something unique is through making a child theme of a wordpress site first, then adding buddypress css code and templates etc.

    Good luck mate, here is a sample of what I am doing with buddypress…
    My Buddypress site | Onlijn.com

    #248267
    Xtremefaith
    Participant

    So does this mean you cannot use standard WordPress First & Last name fields, that if I want them accessible on their profile I have to use the xprofile component? Seems either redundant to keep them in both or a waste to not use the WP standard fields.

    Is there not an easy easy way to modify the profile form to make standard fields visible and editable?

    #248253
    convictedvapour
    Participant

    UPDATE:

    I have created a plugin so when I add <div id="hollysage" style="padding-bottom:10px;"></div> within my sites template it track the age and shows Holly Willoughby is 34 years 10 months and 19 days old. as text anywhere I chose to place it.

    What I need now is so it automatically post on all users activity feeds. Happy Birthday Holly. on every 10th of February regardless of the year. This date and only on this date. Any help would be appreciated! The plugin I have is housed in a folder called hollysage The following files are in there.

    Config.php

    <?php
    
    // Language file
    if (defined('WPLANG') && WPLANG == 'zh_CN')
    {
    	require_once(CURRENTDIR . '/language_cn.php');
    }
    else
    {
    	require_once(CURRENTDIR . '/language_en.php');
    }
    
    // Time Zone
    define('TIMEZONE', get_option('gmt_offset'));
    
    // Holly Willoughbys Date of birth
    $bornYear = 1981;
    $bornMonth = 2;
    $bornDay = 10;
    
    ?>

    hollysage.php

    <?php
    /*
    Plugin Name: Hollys Willoughbys Age
    Plugin URI: http://www.willoughbooby.com
    Description: Show Hollys Willoughbys in your wordpress site.
    Version: 0.1
    Author: Willoughbooby
    Author URI: http://www.willoughbooby.com
    */
    
    define('CURRENTDIR', dirname(__FILE__));
    
    // Make string
    function hollysage()
    {
        // System config
        require_once(CURRENTDIR . '/config.php');
    
        // Prepare vars
        $bornMonthLeftDays = intval(date('t', mktime(0, 0 , 0, $bornMonth, $bornDay, $bornYear))) - $bornDay;
        $bornYearLeftMonths = 12 -$bornMonth ;
    
        // Baby age
        $age_year = 0;
        $age_month = 0;
        $age_day = 0;
    
        // Output string
        $baby_age_str = "";
    
        // Process
        $today = getdate(time() + TIMEZONE * 60 * 60);
        if ($today['year'] >= $bornYear)
        {
            // 2008-8-18 or 2008-7-17 or 2008-7-18 or 2008-8-17
            if ($today['mon'] >= $bornMonth and $today['mday'] >= $bornDay)
            {
                $age_year = $today['year'] - $bornYear;
                $age_month = $today['mon'] - $bornMonth;
                $age_day = $today['mday'] - $bornDay;
            }
            // 2008-8-15 or 2008-7-15
            else if ($today['mon'] >= $bornMonth and $today['mday'] < $bornDay)
            {
                $age_day = $bornMonthLeftDays + $today['mday'];
                // 2008-8-15
                if ($today['mon'] > $bornMonth)
                {
                    $age_year = $today['year'] - $bornYear;
                    $age_month = $today['mon'] - $bornMonth - 1;
                }
                // 2008-7-15
                else if ($today['mon'] = $bornMonth)
                {
                    $age_year = $today['year'] - $bornYear - 1;
                    $age_month = 11;
                }
            }
            // 2008-6-18 or 2008-6-17
            else if ($today['mon'] < $bornMonth and $today['mday'] >= $bornDay)
            {
                $age_year = $today['year'] - $bornYear - 1;
                $age_month = $bornYearLeftMonths + $today['mon'];
                $age_day = $today['mday'] - $bornDay;
            }
            // 2008-6-15
            else if ($today['mon'] < $bornMonth and $today['mday'] < $bornDay)
            {
                $age_year = $today['year'] - $bornYear - 1;
                $age_month = $bornYearLeftMonths + $today['mon'] - 1;
                $age_day = $bornMonthLeftDays + $today['mday'];
            }
    
            if ($age_year ==0 and $age_month == 0 and $age_day == 0)
            {
                $baby_age_str = $lang['birthday'];
            }
            else
            {
                $baby_age_str = $lang['hollysage'];
                if ($age_year)
                {
                    $baby_age_str .= $age_year . $lang['yearsold'];
                }
                if ($age_month)
                {
                    $baby_age_str .= $age_month . $lang['month'];
                }
                if ($age_day)
                {
                    $baby_age_str .= $lang['and'] . $age_day . $lang['day'];
                }
                $baby_age_str .= $lang['fullstop'];
    
                if ($age_month == 0 and $age_day == 0)
                {
                    $baby_age_str .= $lang['happybirthday'];
                }
            }
    
        }
        echo "\n<script type=\"text/javascript\">\n<!--\n    document.getElementById('hollysage').innerHTML = \"<img src='wp-includes/images/smilies/icon_idea.gif' border='0'> $baby_age_str\";\n//-->\n</script>\n\n";
    }
    
    function addhollysageDiv()
    {
    	echo '<div id="hollysage" style="padding-bottom:10px;"></div>';
    }
    
    // Do it.
    add_action('before_sidebar', 'addhollysageDiv');
    add_action('wp_footer', 'hollysage');
    ?>

    language_en.php

    <?php
    
    // English language
    $lang['babyage'] = "Holly Willoughby is ";
    $lang['birthday'] = "Today is Holly Willoughbys birthday.";
    $lang['yearsold'] = " years ";
    $lang['month'] = " months ";
    $lang['day'] = " days";
    $lang['and'] = " and ";
    $lang['fullstop'] = " old.";
    $lang['happybirthday'] = "Happy Birthday Holly Willoughby.";
    
    ?>

    To use it currently I add

    <div id="hollysage" style="padding-bottom:10px;"></div>

    Can someone help me with adding a status update as detailed above at the start of this support topic request?

    Thanks!

    Regards,

    Gareth

    #248245
    shanebp
    Moderator

    I’m not aware of a plugin that does what you want.
    You might try https://wordpress.org/plugins/members-import/ as a starting place.
    You would need to modify the code to handle profile fields like postal codes.

    The search function would be separate.
    There are plugins that search profile fields, such as https://wordpress.org/plugins/bp-profile-search/

    #248215
    awpt
    Participant

    I just tried your function and its working fine but the only problem is that its adding menu items in all wordpress menus.

    Is there anyway to add only in a specific menu instead of all menus?

    Tesekkurler!

    #248205
    shanebp
    Moderator

    There is no ‘core’ set of shortcodes.
    You can write your own.
    https://codex.wordpress.org/Function_Reference/add_shortcode

    Or perhaps search here for an existing plugin:
    https://wordpress.org/plugins/

    #248196
    danbp
    Participant

    Hi,

    not tested, but seems to be very configurable:
    https://wordpress.org/plugins/wordpress-popular-posts/

    #248189
    jscmal
    Participant

    @Mark … I tested it with Twenty Fifteen WordPress Standard Theme and the problem happens. Then it is not properly a theme problem

    I use the woothemes Canvas Theme release 5.9.3 and 5.9.15 (the latest).

    To make work properly rtmedia was necessary add a fixing in the child theme functions.php and it worked properly:

    // BuddyPress - Fixing for rtMedia
    function rtmedia_main_template_include($template, $new_rt_template) { 
    	global $wp_query; 
    	$wp_query->is_singular = true; 
    	return get_page_template(); 
    } 
    add_filter('rtmedia_main_template_include', 'rtmedia_main_template_include', 20, 2);

    In any case, if with the standard wordpress theme the problem happens and then it could not be a theme problem, then rtmedia could have some conflict with another module.

    Anyway, I will open an account on the rtmedia website and i will open a ticket, adding screenshots of the problem.

    Kind regards

    G. Aloe

    #248188
    Mark
    Participant

    @jscmal Do you by chance have any theme customizations via custom functions that you’ve added to your child theme’s function.php or your bp-custom.php file? I have a lot and noticed some weird things happening after upgrade, albeit unrelated to your issue. You may want to activate and test your site on a WordPress default theme if you have custom functions and haven’t already tested on the default theme. Turned out I had some custom functions that weren’t optimally coded and I have since replaced them with new ones. Just a thought. Hope this helps. If not, be sure to submit a ticket at https://rtcamp.com/my-account/.

    #248180

    In reply to: Group Navigation

    shanebp
    Moderator

    I’m using the ā€œBuddyPress Group Extras – Extend Your Groups pluginā€.

    Therefore you should submit your question to the creator of that plugin:
    https://wordpress.org/support/plugin/buddypress-groups-extras

    #248164
    shanebp
    Moderator

    … a limit to the number of groups & users that BuddyPress can manage; something like 20k users

    There is no limit – provided you have the necessary server resources available.
    There is a difference between total users and # of concurrent users – meaning the # of users that are performing operations at any one time.

    It’s impossible to diag your issue without access to your server.
    Some suggestions:

    • Turn on wp-debug and then check error logs.
    • Deactivate bbPress and all related plugins.
    • Test with ONLY a WP theme like 2013 and BP

    White screens can be tricky to diagnose – but a decent developer can at least narrow down the possible factors.

    #248160
    jscmal
    Participant

    @shanebp .. I have found something.

    I have seen just now that deactivating this plugin, the problem is no more present:

    “rtMedia for WordPress, BuddyPress and bbPress”.

    Then, the latest release of the rtMedia Plugin to upload and manage images introduced new problems.

    #248159
    shanebp
    Moderator

    What is the reason that make you think that can be a plugin?

    Your issues may not be due to a plugin, but your error log shows entries that are usually caused by a theme or other plugins.

    Start by deactivating plugins related to activity.

    If all else fails, delete BP 2.4.3 and install BP 2.4.2
    You can download prior versions of BP here.

    If the problems go away, you may have found a bug in 2.4.3
    You can submit a ticket here with the same user/pw you use for these forums.

    #248158

    In reply to: User profile filtering

    shanebp
    Moderator
    #248156
    jscmal
    Participant

    @shanebp

    Here the list of plugins installed in this moment:

    advanced-lazy-load
    advanced-recent-posts
    affiliates-manager
    affiliates-manager-simple-membership-integration
    akismet
    bp-activity-autoloader
    bp-activity-comment-notifier
    bp-activity-shortcode
    buddypress
    buddypress-cover-photo
    buddypress-first-letter-avatar
    buddypress-followers
    buddypress-media
    buddypress-members-only
    buddypress-sticker
    cookie-law-info
    ewww-image-optimizer
    eyes-only-user-access-shortcode
    favorites
    fb-like-notification-for-buddypress
    google-analytics-dashboard-for-wp
    hashbuddy
    invite-anyone
    jetpack
    mailchimp-for-wp
    options-importer
    options-optimizer
    redirection
    simple-ajax-chat
    simple-membership
    simple-membership-after-login-redirection
    simple-membership-custom-messages
    simple-membership-form-shortcode
    simple-membership-mailchimp-integration
    simple-membership-menu
    simple-membership-wp-user-import
    stream
    testimonials-by-woothemes
    user-role-editor
    user-switching
    woosidebars
    wordpress-database-reset
    wordpress-importer
    wordpress-seo
    wp-optimize
    wp-postviews
    wp-super-cache
    wp-sweep
    wp-symposium-toolbar
    wp-useronline
    wp-video-lightbox

    #248155
    jscmal
    Participant

    Hi,
    – WordPress 4.4 – Upgraded from the previous release
    – BuddyPress 2.4.3 – Upgraded from the previous release
    – No customization in buddypress core

    I have added a new post where I explained all the things in a better way, giving all the details about wordpress, buddypress and the plugins. But I added it 2 times but in both cases it was not published, I don’t know why.

    In practice is the Filtering that is not working for any user that is not admin. My admin account works properly.

    Another thing that happens is that keeping the Activity Stream page opened, the bar that says “Load Newest” appear also if there is no new post in the stream.

    I tested using the default WordPress Theme Tweenty Fifteen but the problem happens also there.

    About the theme used. It is Woothemes Canvas 5.9.3 and 5.9.15 . Never had problems with these themes using BuddyPress.

    The only customization that I did for BuddyPress are just CSS tags and when I upgraded to the new wordpress release and to the buddypress latest release, everything worked properly between buddypress, wordpress and the theme.

    About the plugins, I didn’t changed them until now. I will make a test deactivating some plugins.

    What is the reason that make you think that can be a plugin?

    Kind regards.

    G.Aloe

    #248152
    shanebp
    Moderator

    For friend request emails, use the filter hooks in function friends_notification_new_request
    located in this file: buddypress\bp-friends\bp-friends-notifications.php

    For example:

    function panda_friend_request_message( $message, $initiator_name, $initiator_link, $all_requests_link, $settings_link ) {
    
        $message = 'This will completely replace the message';
    
        return $message;
    }
    add_filter( 'friends_notification_new_request_message', 'panda_friend_request_message', 15, 5 );

    Not that easy, but currently the only available method.
    There is a new method being developed and scheduled for BP 2.4.5 which has a target release date of March 2016.
    https://buddypress.trac.wordpress.org/ticket/6592

    #248129

    In reply to: Group Type Development

    @mercime
    Participant

    >> I need suggestions for how best to proceed as well on any thoughts about this feature becoming part of core.
    Thank you. There’s a ticket for that https://buddypress.trac.wordpress.org/ticket/4017 and yes, I am also interested about this getting in core šŸ™‚ You can cc yourself in that ticket to get updated.

    #248125
    name
    Participant

    Hey all,
    After a few weeks of searching I found the solution to this – it’s a beautiful plugin called Plugin Organizer

    You can use it to disable Yoast on buddypress pages and viola!
    Just create a plugin filter for site.com/members/*, /groups/*, etc. and you’re golden.

    #248123
    jscmal
    Participant

    About the WordPress Debug, the log track always these errors:

    [27-Dec-2015 03:30:31 UTC] PHP Notice:  bp_setup_current_user was called <strong>incorrectly</strong>. The current user is being initialized without using $wp->init(). Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 1.7.) in /home/xxxxx/wp-includes/functions.php on line 3787
    [27-Dec-2015 03:30:31 UTC] PHP Notice:  The called constructor method for WP_Widget is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in /home/xxxxx/wp-includes/functions.php on line 3619
    [27-Dec-2015 03:30:31 UTC] PHP Notice:  bp_core_get_notifications_for_user is <strong>deprecated</strong> since version 1.9! Use bp_notifications_get_notifications_for_user() instead. in /home/xxxxx/wp-includes/functions.php on line 3568

    What can I do to manage this situation?

    Please, help me!

    Buzztwitter Creator
    Participant

    Oh and before you think of going for the new peepso platform its exactly the same I had it today and configured it and thought right here we go the button and hey presto exactly the same thing with their new version of a plugin that is meant to be able to share uploaded media straight to facebook…. I saw the networking site for the first time today and just the way the woman who created it delivered her speech was a dead give away, she knows she selling something that is not as functional as she is making out, lost a lot of respect for wordpress over this. You think they are there to help but they are just out to make money, and wont answer questions like yours, just dont care… and thats why they dont like people diving in on others topics because they dont want people getting on the same wave length… if i get this plug in sorted though am a happy man

    Buzztwitter Creator
    Participant

    Sharing files is not a very good topic on here…. I personally don’t think facebook want people to have the tools to share too much to their site. I’ve been looking right into this. It’s funny how facebook have been able to share to other platforms for a number of years, but Buddypress can’t even put together a simple plugin to allow you to share from the activity stream. there are many out there but they dont work, I’ve been on this for 3 days now, no sleep … I’ve also just seen a plugin for say with a demo and I checked it and it doesnt work, wont upload images but it’s from facebooks end, the app needs to be confirmed with them or the debugging software stops it picking up media… so you end up with a blank page. There are ways around it, I’ve slated buddypress past couple of days, but to be fair its a really decent platform and I now know that facebook are the culprits, though wordpress should not be letting individuals promote plugins that clearly don’t work. I havent seen one yet that does, but I think I know a fix that will get it sorted, but it’s if the programmer who created it wants to play ball…. it’s really wierd to be honest, they know they aren’t working but they are still promoting it… crazy… be suprised if you get any reply with anything to do with the scary word ‘sharing’ lol

    #248067
    @mercime
    Participant

    @danbp thumbs up! šŸ™‚

    I guess I’m not going to pursue getting a forum on my site.


    @ldesherl
    You do not need to install BuddyPress in order to get a forum. You only need to install bbPress forums plugin https://wordpress.org/plugins/bbpress/ which works perfectly without BuddyPress.

    #248052
    VersGemerkt
    Participant

    Ah, thanks! That works great!

    Now I’m running in a more serious issue… I discovered that all the code is working, but I’m using it to display data filled in by users in the backend of WordPress (order.php). BUT the code is only showing the filled in data from the user that is logged, while I need to be able to see the data filled in by every individual user that filled in the form.

    I hope you understand what I’m aiming for!

    David

    EDIT: I think it has something to do with this line:
    $user_id = bp_loggedin_user_id();

Viewing 25 results - 5,101 through 5,125 (of 22,687 total)
Skip to toolbar