Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 5,051 through 5,075 (of 22,651 total)
  • Author
    Search Results
  • danbp
    Participant

    Hi,

    try this snippet (add it to bp-custom.php or child theme’s functions.php):

    function garfrey_widget_title( $title ) {
    if ( $title == "Members") {
    $title = __('Members Translation') ; // foreign char. here
    }
    return $title;
    }
    add_filter ( 'widget_title' , 'garfrey_widget_title', 21 );

    Reference:
    https://codex.wordpress.org/Plugin_API/Filter_Reference/widget_title

    #248421
    Henry Wright
    Moderator

    Welcome Pack allows you to customise templates for emails. Give that plugin a try

    Ref: https://en-gb.wordpress.org/plugins/welcome-pack/

    #248414
    Hugo Ashmore
    Participant

    It’s by design:
    https://buddypress.trac.wordpress.org/browser/trunk/src/bp-templates/bp-legacy/buddypress/members/single/messages.php

    Closing php tags shouldn’t be necessary, WP instructs not to close out files in this way. If you’re having issues they must lie with the custom templates?

    #248399

    In reply to: Private Pages Glitch?

    shanebp
    Moderator

    With the WordPress 4.4/BuddyPress 2.4.3/bbPress 2.5.8, if you set any of the BuddyPress pages set to private you get the following error “The following active BuddyPress Components do not have associated WordPress Pages: Activity Streams. Repair”

    True – If you set Visibility to Private!
    Not true if you set the ‘Public or Private’ checkbox provided by the BP Simple Private.

    I want people to be able to register as Subscribers but Subscribers should not see any of the BuddyPress/bbPress stuff, only the Contributors and above should be part of the BuddyPress/bbPress community.

    So you want to limit access to BP content based on a user’s role.
    That is a different issue from the original poster’s issue.
    You should create a new topic.
    The BP Simple Private plugin discussed above is not applicable to your issue.

    #248397

    In reply to: Private Pages Glitch?

    fscbmwcca
    Participant

    With the WordPress 4.4/BuddyPress 2.4.3/bbPress 2.5.8, if you set any of the BuddyPress pages set to private you get the following error “The following active BuddyPress Components do not have associated WordPress Pages: Activity Streams. Repair”

    I tried the https://wordpress.org/plugins/buddypress-members-only/ and that didn’t seem to do what I wanted. I want people to be able to register as Subscribers but Subscribers should not see any of the BuddyPress/bbPress stuff, only the Contributors and above should be part of the BuddyPress/bbPress community. So I need to be able to exclude Subscribers from BuddyPress/bbPress. I have looked and there is some code out there that seems pretty old so I don’t know if it would work and I am not so great with php so I am a little hesitant. I am also new to BuddyPress so I’m not sure of all the ins and outs.

    I tested the plugin and it’s working, in the settings there are two areas [edited – please do not copy & paste such data ]
    I hope I am being clear.

    #248396

    In reply to: Private Pages Glitch?

    shanebp
    Moderator

    …is a bit irritating, finally that feature exists already in a standard BP wordpress version.

    If you’re referring to the Visibility checkbox feature – Private means only viewable by admins and editors.
    https://en.support.wordpress.com/post-visibility/

    #248394

    In reply to: Private Pages Glitch?

    burger0815
    Participant

    @fscbmwcca

    thanks for the comment. If I understand correctly then the option:
    allows an admin to select which Post types and BuddyPress Components are private
    seems to indicate that things like the activity component or the member community component
    could be set private.
    Did you test the plugin?

    The sentence:
    provides a Private checkbox in the upper right corner of every page, post, and custom post type selected in Settings

    is a bit irritating, finally that feature exists already in a standard BP wordpress version.
    That is at least in my BP wordpress version you can already mark
    pages as private (i.e. non accessible to non-logged-in members),
    i.e. there is already a checkbox. And if there wouldn’t be the bug then
    setting the member page and activity to private would have set “the component” to
    private, if I understood correctly.
    Is the plugin checkbox another checkbox?

    There is a plugin which, by its description, seems to set everything private:
    https://wordpress.org/plugins/buddypress-members-only/
    and which lets you specify which subadresses should be open.
    But in my case this is not so helpful because
    I want the blog to be public and the blog is not behind a /blog/ adress
    but behind the year /2015/… etc.
    so I would need to set each year adress open, which seems OK but not really
    straightforward.

    shanebp
    Moderator

    By ‘private’, you mean only visible to logged-in users?

    If so, this may solve your issue:

    http://www.philopress.com/products/bp-simple-private/

    or

    https://wordpress.org/plugins/bp-simple-private/

    #248349
    shanebp
    Moderator

    You are using a theme or a another plugin to create the ‘wall’, correct?
    Have you asked the author of that theme or plugin?

    You can use a plugin like https://wordpress.org/plugins/theme-my-login/ to change the login page.

    #248337
    kostasbarkas30
    Participant

    Hello guys,

    One question about bp checkins. this is a fantastic plugin but bpci_activity_address not showing greek characters. any idea how to make the code to use utf-8 so as to play the greek characters?

    thanks

    i am using buddypress 2.3.5 and wordpress 4.3.1

    #248326

    In reply to: Private Pages Glitch?

    fscbmwcca
    Participant

    I installed BP Simple Private it seems to let you mark pages as private and if not logged in it redirects the page. I am only testing now and seems to be working. What I ultimately want to do is exclude “Subscribers” from BuddyPress and bbPress. Haven’t found how to do that yet.

    #248325
    ying-sun
    Participant

    sorry. right now the page with the list of all the members uses a wordpress page called ‘Members’. a page showing an individual member’s information draws on the same wordpress page.

    is it possible to have one wordpress pag (say, ‘Member Directory’) and a different one (‘Member Profile’) that dynamically shows an individual member’s information?

    does that make sense?

    #248322

    In reply to: About bp-custom

    Joshua Blevins
    Participant

    Okay, I did those changes (shown below). I still see no additional role added to the WordPress extended profile. I should be able to see it there. Correct?

    <?php
    
    /*
    *
    */
    function custom_member_types(){
    	bp_register_member_type('role', array('labels' => array('name' => 'role', 'singular_name' => 'role')));
    }
    
    add_action('bp_init', 'custom_member_types');
    
    ?>
    #248318
    danbp
    Participant

    Hi,

    consider https://wordpress.org/plugins/buddypress-like/

    Notification likes will be implemented in next update (dixit author)

    #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

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