Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 5,201 through 5,225 (of 32,690 total)
  • Author
    Search Results
  • #262569
    froshdimeji
    Participant

    First thanks for your awesome plugin.

    Please at the sign up page, I want visitors to be able to use phone instead of email during sign up

    In the email field of the sign up form, is it possible to display email or phone number, so that visitors can use either email or phone number, thank you. Am using the latest WordPress.

    #262566

    In reply to: New Theme for Free

    Henry Wright
    Moderator

    No problem also hosting on GH. I’m actually doing that myself. My approach is GH for dev, wordpress.org for distribution. See here https://github.com/lsquo/octothorpe

    #262563

    In reply to: New Theme for Free

    buddycore
    Participant

    Thanks! Not really sure how to go about that and if it’s on GitHub going against the ToS.

    Originally I did plan but it’s fallen away a little bit, GitHub is just so convenient but I guess more people would see it if it was on wordpress.org.

    Would be cool though.

    #262562

    In reply to: New Theme for Free

    Henry Wright
    Moderator

    Cool theme! Will you be submitting to wordpress.org?

    #262561
    Henry Wright
    Moderator

    BuddyPress is a WordPress plugin so will need a copy of WordPress to run. Does that help?

    #262558

    Topic: New Theme for Free

    in forum Showcase
    buddycore
    Participant

    I’ve been developing a new theme called Centro which supports the core functionality of WordPress & BuddyPress.

    It’s currently still in development but has been released and is available on GitHub.

    You can view a demo on buddycore or here also and a download is available via GitHub.

    Issues will be answered and resolved via GitHub.

    Enjoy! Happy New Year!

    **********************
    Some Features
    **********************
    Colour customizations in wp-admin.
    Support for posts and pages
    Archive pages for search and taxonomies
    Post thumbnails and post formats
    Post comments

    Activity streams
    Member profiles
    – xProfile
    – Settings
    – Friends
    – PMs
    – Notifications
    – Multisite

    Registration
    – Basic member
    — With blog creation

    Responsive
    HTML5
    Cross Browser (IE10+)

    *************************
    Group support will definitely be added in the next updates
    Plan to add support for BBPress and possibly WooCommerce

    All of this depends on how many people are using the theme and feature requests from users.

    BexxBl
    Participant

    The problem:

    I want to display different types of names on the updates in the activity stream like:

    – first name + last name for updates which the user posts on their stream
    – username/display name when there are updates in groups

    i have written the following code:

    /**
     * Get the fullname of the current member in the loop.
     *
     * Full name is, by default, pulled from xprofile's Full Name field.
     * When this field is empty, we try to get an alternative name from the
     * WP users table, in the following order of preference: display_name,
     * user_nicename, user_login.
     *
     * @return string The user's fullname for display.
     */
    function bp_get_member_name_custom() {
    	global $members_template, $bp;
    	// print_r($members_template->member->id);
    	$firstname= bp_get_profile_field_data('field=vorname&user_id='.$members_template->member->id);
    	$lastname= bp_get_profile_field_data('field=nachname&user_id='.$members_template->member->id);		
    	if(!empty($firstname) || !empty($firstname)){
    		$fullname = $firstname.' '.$lastname ;
    		return apply_filters( 'bp_get_member_name_custom',$fullname );
    	}else{
    		$name_stack = array(
    			'display_name',
    			'user_nicename',
    			'user_login'
    		);
    
    		foreach ( $name_stack as $source ) {
    			if ( !empty( $members_template->member->{$source} ) ) {
    				// When a value is found, set it as fullname and be done with it.
    				$members_template->member->fullname = $members_template->member->{$source};
    				break;
    			}
    		}
    		return apply_filters( 'bp_get_member_name_custom', $members_template->member->fullname );
    	}
    	/**
    	 * Filters the display name of current member in the loop.
    	 *
    	 * @since 1.2.0
    	 *
    	 * @param string $fullname Display name for current member.
    	 */		
    }
    
    add_filter( 'bp_get_member_name_custom', 'wp_filter_kses' );
    add_filter( 'bp_get_member_name_custom', 'stripslashes'   );
    add_filter( 'bp_get_member_name_custom', 'strip_tags'     );
    add_filter( 'bp_get_member_name_custom', 'esc_html'       );
    
    // full name to all memebr list
    add_filter('bp_get_member_name','bp_get_member_name_custom');
    	
    	
    // Fullname in group memeber list
    function bp_get_group_member_link_custom() {
    	global $members_template, $bp;
    	
    	$firstname= bp_get_profile_field_data('field=vorname&user_id='.$members_template->member->id);
    	$lastname= bp_get_profile_field_data('field=nachname&user_id='.$members_template->member->id);		
    	if(!empty($firstname) || !empty($firstname)){
    		$fullname = $firstname.' '.$lastname ;
    		return apply_filters( 'bp_get_group_member_link_custom', '<a href="' . bp_core_get_user_domain( $members_template->member->user_id, $members_template->member->user_nicename, $members_template->member->user_login ) . '">' . $fullname . '</a>' );
    	}else{
    		$name_stack = array(
    			'display_name',
    			'user_nicename',
    			'user_login'
    		);
    
    		foreach ( $name_stack as $source ) {
    			if ( !empty( $members_template->member->{$source} ) ) {
    				// When a value is found, set it as fullname and be done with it.
    				$members_template->member->fullname = $members_template->member->{$source};
    				break;
    			}
    		}
    		return apply_filters( 'bp_get_group_member_link_custom', '<a href="' . bp_core_get_user_domain( $members_template->member->user_id, $members_template->member->user_nicename, $members_template->member->user_login ) . '">' . $members_template->member->display_name . '</a>' );
    	}
    	 
    }
    add_filter('bp_get_group_member_link','bp_get_group_member_link_custom');
    
    /**
     * Fetch the display fullname for a user.
     *
     * @param int|string|bool $user_id_or_username User ID or username.
     * @return string|bool The display name for the user in question, or false if
     *                     user not found.
     */
    function bp_core_get_user_displayname_custom( $user_id_or_username ) {
    	if ( empty( $user_id_or_username ) ) {
    		return false;
    	}
    	// return $user_id_or_username;
    	if ( ! is_numeric( $user_id_or_username ) ) {
    		$user_id = bp_core_get_userid( $user_id_or_username );
    	} else {
    		$user_id = $user_id_or_username;
    	}
    	
    	if ( empty( $user_id ) ) {
    		return false;
    	}
    	
    	global $bp;
    	$firstname= bp_get_profile_field_data('field=vorname&user_id='.$user_id);
    	$lastname= bp_get_profile_field_data('field=nachname&user_id='.$user_id);	
    	// return $user_id;
    	if(!empty($firstname) || !empty($firstname)){
    		$fullname = $firstname.' '.$lastname ;
    		return apply_filters( 'bp_core_get_user_displayname_custom', $fullname, $user_id );
    	}else{
    	
    		$display_names = bp_core_get_user_displaynames( array( $user_id ) );
    
    		if ( ! isset( $display_names[ $user_id ] ) ) {
    			$fullname = false;
    		} else {
    			$fullname = $display_names[ $user_id ];
    		}
    		return apply_filters( 'bp_core_get_user_displayname_custom', $fullname, $user_id );
    	}
    	
    }
    add_filter( 'bp_core_get_user_displayname_custom', 'strip_tags', 1 );
    add_filter('bp_core_get_user_displayname_custom');
    add_filter('bp_core_get_user_displayname','bp_core_get_user_displayname_custom');
    
    // Fullname on profile page on other member
    add_filter('bp_displayed_user_fullname','bp_core_get_user_displayname_custom');	
    

    which is creating the following output on my site:

    It was working before updating to WordPress 4.7.

    Can anyone help since i can’t find a solution or error?
    Or am i thinking to complicated?

    i’m currently working on:
    Wordpress Version 4.7.
    Buddypress Version 2.7.4
    BP Xprofile Member Type Field Version 1.0.2

    #262547
    Henry Wright
    Moderator
    #262526
    alghaith
    Participant

    Hello, im using woffice and i want the user to change his password and profile picture only from the front end .

    i dont want him to :

    – change his name

    – edit anything in (Editing ‘Base’ Profile Group)

    – change his email .

    – change anything in (Send an email notice when: )

    i have this link :
    https://buddypress.org/support/topic/dont-allow-users-to-change-some-fields-after-sign-up-hide-those-fields/
    but i don`t know if it will be like my customization
    thanks so much.

    —————————-

    1. Which version of WordPress are you running?
    WordPress 4.7 running Woffice Child theme.

    6. Which version of BP are you running?
    2.7.4

    10. Which theme do you use ?
    woffice

    11. Have you modified the core files in any way?
    yes

    12. Do you have any custom functions in bp-custom.php?
    i dont think so

    13. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
    bult in

    15. Which company provides your hosting?
    siteground

    #262525
    quang134
    Participant

    Version of WordPress: 4.7. Version of BP: 2.7.4.
    Link to site: classroomlink.org

    I use WPML to create a multilangual site along with BuddyPress.
    Here is the problem: when I navigate between pages on Japanese (2nd language)
    – the site loads back to English (main language)
    – users that are logged in keep getting kicked out

    Can you please tell me what possibly makes this happen?
    Thank you

    #262523

    In reply to: pass-strength-result

    metalhead
    Participant

    Thanks very much!

    Is there an easy way to dissuade WordPress functions from Buddypress functions?

    Would we have not had this conversation if I had read up on the WordPress docs more?

    #262511
    shanebp
    Moderator

    Did you try this?
    https://wordpress.org/plugins/appointment-scheduling-and-booking-manager/

    What you need is not a simple plugin.
    You may need a commercial solution or to hire a developer to write custom code.

    #262496
    danbp
    Participant

    If you consider all your users to have the same ability to publish, you can simply setup WP’s default role from subscriber to author. You don’t need a plugin to do that. To allow categories, search on WP codex, as this has nothing to do with the fact you use BuddyPress.

    For customizing the Howdy menu item, use this custom snipet or take one of the existing plugin to do that.

    #262495
    danbp
    Participant

    BuddyPress’s toolbar menu works like any other toolbar sub-menu item.

    See WP codex for details

    Read here for some usage examples explained in details:

    How to hide / remove the General tab under Settings

    #262487
    yadad
    Participant

    I’ve successfully installed BuddyPress and BB Press to create the website I was wanting to achieve.
    I do have 4 questions that I’ve not been able to solve myself.
    I’m using WordPress Version 4.7

    Why isn’t each Profile / Member offered a separate gallery or media library?
    I’ve noticed when a new person joins the site and they go to upload any photos for profile pic or background that they have access to my Media Library. I’ve created a separate profile and was able to see that the gallery’s seemed to be shared with all members.Yes they can add a new gallery but still have access to mine so can this be modified?

    Can you put a cap on how many Mb’s a user is allowed to upload for the total amount of media space allowed.Videos can take up a lot of space.

    Why do all members have to be Authors in order to be able to Post because this was the only method that worked for me.
    Users have privileges that shouldn’t be allowed.

    Last question when using BuddyPress and BB Press how should I set up my .htaccess file

    for robots to crawl as I don’t think they should be able to crawl past the index.php.

    Thanks in advance for any help or suggestions.

    #262473
    wspond
    Participant

    OK, so fresh over-install (copying overtop of running site) of 4.7 and as soon as I turn on buddypress, I loose the admin completely. Take it out of the folder via ftp, then I get admin back. Thoughts.
    New godaddy hosting account
    Wordpress 4.7
    current BuddyPress.

    #262472
    shanebp
    Moderator

    1. Yes

    2. You mean WP posts ? Yes, if you give them permissions.

    3. They can ‘friend’ each other. There is a plugin re ‘Follow’.

    4. Probably – but you’ll need to customize the Follow plugin.

    You should install BP on a test site and start trying different settings and additional plugins.
    After you have done that, you can ask more specific questions here.

    #262470
    jawharmok
    Participant

    Hello BP Team,

    I’m the Founder of MyKenz. We created a website based on your plugin to connect the schools and clubs of the world and teach soft skills to the youth.
    This project is very ambitious but thankfully, we have the support and help of very important international partners. The aim is to help kids and teens around the world to learn what they love but cannot find in school.

    One day before launching the website to the public, we had a issue/bug on the “Post Update” feature. It works for Facebook registered users and also for manually created users (via WordPress admin dashboard), but it doesn’t work for new users who created their account through “Registration” process.
    By ‘not working’ I mean that when a user tries to post an update on the Activity Feed, he sees a message : “There was a problem posting your update. Please try again”.

    Our freelance Dev contacted you to help him but your advices were not enough to solve our issue.
    The website is now blocked for 2 weeks and we really are in a big mess.

    We really need your help to debug this urgently and apparently we cannot do it without you.

    Can you please get inside the site and try to find a solution ? We contacted the devs of the template (Woffice from Alkaweb) and they couldn’t do it… They advised us to get in touch with you.

    I beg you to help us as soon as possible.

    Best regards and wishes for 2017

    #262456

    In reply to: Email Address login

    modemlooper
    Moderator

    There is nothing wrong with using a plugin. Check WordPress .org for a plugin. If you insist and do not want to use a plugin you can check through the code to find out how they accomplished it

    #262455
    danbp
    Participant

    BuddyPress display members, but those members are referenced in WordPress. No idea to share about what you want to do, but have you searched on the plugin repo ?

    https://wordpress.org/plugins/search.php?type=term&q=Amazon+Services

    #262452

    In reply to: Broken after install

    danbp
    Participant

    @baramagnus,

    official requirements for WP (hosters) are given here. Minimum php version for WP is 5.2.4, while most used php version is 5.6
    More WP stats here.

    BuddyPress users use all 5.3 and above (as of preliminary 2016 survey results).
    This means that if you use 5.6, you’re anyway fine.
    And about WP and BP compatibility, you can read here.

    #262446
    empressdianna
    Participant

    Hi, I would like to add a required textbox on the delete account page so that I can capture why someone is leaving the site. Upon completion I would like it to send me an email with the account user’s username (if possible) and reason why he/she deleted his/her account. Help please.

    Buddypress Version 2.7.4. WordPress 4.6.1 running Sweetdate Child theme.

    #262441

    In reply to: delete notifications

    danbp
    Participant

    Hi @mohamedalikortli,

    thank you for the sharing, but I am afraid that your proposal is not acceptable in regard of coding best practice. I let your snippet in place, but i also warn all readers to use it, unless they know what they do.

    This forum is public and most users coming here for help are querying at first for BuddyPress related issues solution, not third party plugin tricks like the one you share here. The majority is also not very comfortable with php or even site development.
    This aspect is one of the main reason to provide usefull and safe code.
    IT IS NOT THE CASE HERE – and i wouldn’t recommand it.

    Not because it doesn’t or wouldn’t work ( and i haven’t tested it), but because it is not correctly written. Allowing such a snippet is like encouraging (and by the way perpetuating) bad practices. Hopefully you understand and agree that we don’t want this on the BuddyPress support forum.

    @sbrajesh ‘s BuddyPress Clear Notification plugin was last updated in march 2016, which is pretty recent. I doubt that the bug is in his plugin and i expect more a menu related issue… but this is only an expectation of mine.

    If you estimate that your workaround is helpfull for that plugin, get in touch with Brajesh or publish it on the plugin support.

    By the way, next time you publish code on this form, use the code button available on the editor toolbar to insert it properly.

    FYI about what you did wrong or not properly:
    – hacking a core file. Notification template should be used, but from inside a child-theme, not directly from bp-legacy).
    – comments should be in english (some in your example are in french)
    – your recommendation is against all WP usage:

    copy this script into ur document root where u have installed ur wordpress

    – you can add custom code via bp-custom.php. There is also no need to go to wp root, when you can do the same thing from within your child-theme.
    – why do you recall jquery ? It is already loaded when you run BP…
    – i’m not a developer, but i’m pretty sure there are other things to mention about coding.

    In regard of the script itself, BP provide much simplier way to delete notification or show a delete button: reference.
    You’re also using french in that script.

    Calling a file “test” is ok, but in that case you should provide some explanation on how to finally use your snippet. As already said, not everybody here is able to understand – and use raw code – when you provide a workaround. Providing code is fine, providing code+tutorial is always better.

    Désolé d’être sévère et rien de personnel, mais juste une mise au point nécessaire.

    [modlook] @jjj, @DJPaul, @boonebgorges, @mercime, @hnla, @shanebp, @henrywright

    #262435
    mohamedalikortli
    Participant

    if buddypress clear notifications plugin does not working for u , this is a solution how to do it ,we will add a button”clear all notifications” in the notifications nav menu , first we will edit a php script called test.php wich contain this code

    <?php
    
    	 function clear_all_notifications() {
    		 require_once( 'wp-load.php' ); //put correct absolute path for this file
    
    $id = get_current_user_id();
    		 
    		 
    		// on se connecte à MySQL 
    $db = mysql_connect('localhost', 'user', 'password'); //replace user and password
    mysql_select_db('name of database',$db); 
    $requete = 'SELECT * FROM prefix_bp_notifications WHERE user_id='. $id ; // verify the name of table here prefix_bp_notifications can be wp_bp_notifications
    $sql = 'DELETE FROM prefix_bp_notifications WHERE user_id ='. $id ; // verify the name of table here prefix_bp_notifications can be wp_bp_notifications
    $reponse = mysql_query($requete);
    $resultat = mysql_num_rows($reponse);
    if($resultat > 0){ 
    $req = mysql_query($sql) or die('Erreur SQL !<br>'.$sql.'<br>'.mysql_error()); 		
    		
         
    	 
    mysql_close(); 	 
    		
    		echo "Notifications supprimees";
    }
    else {
    	echo $resultat ;
    
    		echo "pas de notifications";
    mysql_close();
    }  
        }
    	
    	clear_all_notifications();
    	?>
    
    copy this script into ur document root where u have installed ur wordpress
    
    then add this code to wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/notifications.php  under <?php bp_get_options_nav(); ?> line 13
    
    <li id="notifications-my-notifications-personal-li" class="current selected"> 
    		<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
        <script type = "text/javascript">
    function myAjax () {
    $.ajax( { type : 'POST',
              data : { },
              url  : 'ur website adresse/test.php',              // <=== CALL THE PHP FUNCTION HERE.
              success: function ( data ) {
                return 1;               // <=== VALUE RETURNED FROM FUNCTION.
              },
              error: function (  ) {
                return 1;
              }
            });
    }
    
    //function execute_del(){
    	//myAjax();
    	//window.location.reload();
    	
    //}
        </script>
    	<button onclick="myAjax();window.location.reload();">delete all notifications</button> <!-- BUTTON CALL PHP FUNCTION -->
    	
    	</li>

    that’s all 🙂

    #262434
    empressdianna
    Participant

    WordPress 4.6.1 running Sweetdate Child theme.
    Buddypress Version 2.7.4
    https://www.ambwdate.com.

    I want to make it so that certain wordpress roles have special css styling in the member’s directory to differentiate them from other roles as well as have an image display on their actual profile page. How would I go about doing this? And what pages should I edit to reflect these changes. Thanks for any help you can provide.

Viewing 25 results - 5,201 through 5,225 (of 32,690 total)
Skip to toolbar