Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 29,301 through 29,325 (of 94,565 total)
  • Author
    Search Results
  • #171403
    @mercime
    Participant

    edit – closing this topic – issue is resolved at https://buddypress.org/support/topic/how-to-change-group-avatar/#post-171367

    #171401
    Ünsal Korkmaz
    Participant

    Soon, i will release my theme’s commercial version which lets you create custom BuddyPress profiles! Example:
    http://theme.firmasite.com/members/unsalkorkmaz/profile/

    What do you think? What type of content you want to add to profiles?

    #171400
    @mercime
    Participant

    @anamassien WP/BP versions? Have you tried changing to BP Default theme to see if issue persists? Have you tried deactivating plugins except BuddyPress to check for any conflicts?

    Check Settings > BuddyPress > Pages if you assigned a page to Activate

    #171399
    @mercime
    Participant

    @jhvaletaolcom This is mostly a server issue. Looks like you have a multisite installation where you allow users to create blog sites. Where are you hosted? There are hosting plans which limit execution time to 30 seconds only. You can increase max_execution_time in php.ini from 30 to 60 if you have access to it. Do also search for alternative ways to increase max_execution_time in your WP install or contact your host’s tech support about this issue.

    Beyond that, search online for ways to optimize your WP site and consider using a cache plugin like W3TC or the simpler one WP Super Cache.

    #171395
    Ben Hansen
    Participant

    it can definitely do the items you listed out specifically.

    #171394
    jhvalet
    Participant

    Hi! I am having a major problem with my web site. My web site is wordpress version 3.4.2. I have been unable to access the back end of my web site. I received the following error message when trying to log in to the admin panel:

    Fatal error: Maximum execution time of 30 seconds exceeded in /home/content/43/4658543/html/wp-content/plugins/buddypress/bp-blogs/bp-blogs-functions.php on line 65

    I went in to the file manager and labeled the buddypress file as “disabled.” This allows me to get in to the back end but, my web site is down. I have tried to reinstall the buddypress plug in but, this just locks up the system and kicks me out of the back end again. Then, I have to go back and label the file “disabled.”

    Please help!! Thanks!

    Jody

    #171392

    Topic: BPAZ

    in group forum Requests & Feedback
    Martyn_
    Participant

    I get the feeling this may be a touchy subject…

    Buddypress privacy seems to be abandonware from what I read. My site is rather predicated on it, and its starting to be fragile in recent bp releases.

    Is anyone taking it on? Is the bp team not keen (it looks like at one time it was aiming for core)? Does anyone want to revive it?

    Personally I think the functionality it provides is immensely good!

    #171390
    bvirkus
    Participant

    We are looking to start a website where people create a detailed personal profile, allow people to search them out and exchange confidential information. The site is business in nature, but I’d say it’s similar to match.com in formate. Is BuddyPress the right solution for us?

    #171384
    modemlooper
    Moderator

    You still need to use a maxlength on input for the user. If you want to block a bypass then you can filter

    http://etivite.com/api-hooks/buddypress/trigger/apply_filters/xprofile_data_value_before_save/

    #171383
    sbahns
    Participant

    I have this exact same issue and need to fix it ASAP. Anyone have a solution?

    #171380
    dmpastuf
    Participant

    I added a printout to see what nonce was failing in the wp_nonce_ays function to display what action was giving me the error; it was failing on checking “bp_group_extension_bpcivi-groupedit_edit”; it looks like its some sort of combination nonce from the extension and function. At any rate, I added the the following to the form and it is still failing; could the nonce be being deleted by buddypress before being read?

    #171379
    mayabi
    Participant

    Hi everyone,

    i’m using Buddypress as an alumni where the username is the person’s ID number. The problem is that i don’t want ANYONE but the administrator to see someone’s ID (username).

    Is there a way to hide this information from members? The username is showing on the profile pages (i managed to remove it from the display, but it stays at the permalink).

    I thought about adding a field to the users form called “id number” but the problem is that i want to register everyone upfront with their ID’s so they don’t have to register, just login with their ID and password, which means the username would have to be the id number…

    Any suggestions would be much appreciated!

    Thank you,
    Maya.

    #171378
    dmpastuf
    Participant

    When I post my custom form on a custom tab, I get a wordpress “Are you sure?” page (i.e. a wp_nonce_ays). Not so much an error as a failure (i.e. I’d expect nonce to be causing what its causing, but have no idea what field is doing so).

    Here’s the code I’m using for one of the two form tabs:

    
    add_action('bp_init', 'bpcivi_addgroupeditnav1');
    
    function bpcivi_addgroupeditnav1() {
    if ( class_exists( 'BP_Group_Extension' ) ) { // Recommended, to prevent problems during upgrade or when Groups are disabled
      //Run to find out if a chapter
     	global $wpdb;
    	global $bp;
     	$bpcivi_ck_currgroup = $bp->groups->current_group->id;
     	if(is_numeric($bpcivi_ck_currgroup)) { //Check if the group is set
     		$bpcivi_ck_querytext = 'SELECT * FROM <code>wp_bpcivi_groupsync</code> WHERE <code>buddypress_group</code> =' . $bpcivi_ck_currgroup;
    		$bpcivi_ck_settinggroups = $wpdb->get_results($bpcivi_ck_querytext);
     	}
        class BPCivigroupedit extends BP_Group_Extension {
     		 function __construct() {
            	$this->name = 'Edit Chapter Info';
                $this->slug = 'bpcivi-groupedit';
                $this->nav_item_position = 2;
                $this->visibility = 'private';
                $this->enable_nav_item = false;
                $this->enable_create_step = false;
    		}
            /**
             * The content of the My Group Extension tab of the group admin
             */
    	function edit_screen() {
    	    if ( !bp_is_group_admin_screen( $this->slug ) )
    			return false;
        //Include Files
    	include_once(ABSPATH  . '/wp-blog-header.php');
    	include_once(ABSPATH  . 'wp-content/plugins/civicrm/civicrm.settings.php');
    	include_once(ABSPATH  . 'wp-content/plugins/civicrm/civicrm/CRM/Core/Config.php');
    	include_once(ABSPATH  . 'wp-content/plugins/civicrm/civicrm/civicrm.config.php');
    	$config = CRM_Core_Config::singleton();
    	global $wpdb;
    	global $bp;
    	//Current Buddypress Group
    		$bpcivi_currgroup = $bp->groups->current_group->id;
    	//Run Query on DB
    		$bpvivi_querytext = 'SELECT * FROM <code>wp_bpcivi_groupsync</code> WHERE <code>buddypress_group</code> =' . $bpcivi_currgroup;
    		$bpcivisync_settinggroups = $wpdb->get_results($bpvivi_querytext);
    	//Assign to array from first membership found - oldest set effectively
    		$bpcivi_groupsettings = get_object_vars($bpcivisync_settinggroups[0]);
    	//Form Reaction TODO
    		if (isset($_POST['groupeditsubmit'])) {
    		//Contact Update
    		$bpcivi_groupupdateparams = array('version' => 3,'page' => 'CiviCRM','q' => 'civicrm/ajax/rest','sequential' => 1,
    		'id' => $bpcivi_groupsettings['orgid'],
    		'organization_name' => $_POST['orgname'],
    		'legal_name' => $_POST['legalname'],
    		'nick_name' =>$_POST['nickname'],
    		);
    		$bpcivi_groupeditpostresult = civicrm_api('Contact', 'create', $bpcivi_groupupdateparams);
    		//Address Update 
    		$bpcivi_groupaddressupdateparams = array('version' => 3,'page' => 'CiviCRM','q' => 'civicrm/ajax/rest','sequential' => 1,
    		'id' => $_POST['addressid'],
    		'street_address' => $_POST['street1'],
    		'supplemental_address_1' => $_POST['street2'],
    		'supplemental_address_2' => $_POST['street3'],
    		'city' => $_POST['city1'],
    		'geo_code_1' => $_POST['latitude'],
    		'geo_code_2' => $_POST['longitude'],
    		'state_province_id' => $_POST['state'],
    		);
    		$bpcivi_groupaddresseditpostresult = civicrm_api('Address', 'create', $bpcivi_groupaddressupdateparams);
    		//Website Update
    		$bpcivi_groupwebupdateparams = array('version' => 3,'page' => 'CiviCRM','q' => 'civicrm/ajax/rest','sequential' => 1,
    		'id' => $_POST['webid'],
    		'url' => $_POST['website1'],
    		);
    		$bpcivi_groupwebupdateresult = civicrm_api('Website', 'create', $bpcivi_groupwebupdateparams);
    		
    		/*//Diagnostics
    		echo "Being Sent to API - Address: <pre>";
    		print_r($bpcivi_groupwebupdateresult);
    		echo "<pre>";*/
    		}
    	
    	
    	
    	//Run Query API Against Group
    		$bpcivi_groupeditparams = array('version' => 3,'page' => 'CiviCRM','q' => 'civicrm/ajax/rest','sequential' => 1,
    			'contact_id' => $bpcivi_groupsettings['orgid'],);
    		$bpcivi_groupeditresult = civicrm_api('Contact', 'get', $bpcivi_groupeditparams);
    		 //Array of assignments	
    			$bpcivi_groupedit_orgname = $bpcivi_groupeditresult['values'][0]['organization_name'];
    			$bpcivi_groupedit_legalname = $bpcivi_groupeditresult['values'][0]['legal_name'];
    			$bpcivi_groupedit_nickname = $bpcivi_groupeditresult['values'][0]['nick_name'];
    			$bpcivi_groupedit_streetaddress = $bpcivi_groupeditresult['values'][0]['street_address'];
    			$bpcivi_groupedit_supplemental_address_1 = $bpcivi_groupeditresult['values'][0]['supplemental_address_1'];
    			$bpcivi_groupedit_supplemental_address_2 = $bpcivi_groupeditresult['values'][0]['supplemental_address_2'];
    			$bpcivi_groupedit_city = $bpcivi_groupeditresult['values'][0]['city'];
    			$bpcivi_groupedit_geo_code_1 = $bpcivi_groupeditresult['values'][0]['geo_code_1'];
    			$bpcivi_groupedit_geo_code_2 = $bpcivi_groupeditresult['values'][0]['geo_code_2'];
    			$bpcivi_groupedit_state_province_id = $bpcivi_groupeditresult['values'][0]['state_province_id'];
    			$bpcivi_groupedit_country_id = $bpcivi_groupeditresult['values'][0]['country_id'];
    			
    	//Organization Website Query
    		$bpcivi_groupeditwebsiteparams = array('version' => 3,'page' => 'CiviCRM','q' => 'civicrm/ajax/rest','sequential' => 1,
    			'contact_id' => $bpcivi_groupsettings['orgid'],);
    		$bpcivi_groupeditwebsiteresult = civicrm_api('Website', 'get', $bpcivi_groupeditwebsiteparams);
    		$bpcivi_groupedit_website1 = $bpcivi_groupeditwebsiteresult['values'][0]['url'];
    	//Get the states list
    		$bpcivi_statesparams = array('version' => 3,'page' => 'CiviCRM','q' => 'civicrm/ajax/rest','name' => 'stateProvince',);
    		$bpcivi_statesresult = civicrm_api('Constant', 'get', $bpcivi_statesparams);
    		$bpcivi_statesresultarr = $bpcivi_statesresult['values'];
    		$bpcivi_statesresultarrkeyd = array_values($bpcivi_statesresultarr);
    		$bpcivi_statesresultarrkeys = array_keys($bpcivi_statesresultarr);
    	//Get the Countries list
    		$bpcivi_countriesparams = array('version' => 3,'page' => 'CiviCRM','q' => 'civicrm/ajax/rest','name' => 'country',);
    		$bpcivi_countriesresult = civicrm_api('Constant', 'get', $bpcivi_countriesparams);
    		$bpcivi_countriesresultarr = $bpcivi_countriesresult['values'];
    		$bpcivi_countriesresultarrkeyd = array_values($bpcivi_countriesresultarr);
    		$bpcivi_countriesresultarrkeys = array_keys($bpcivi_countriesresultarr);
    	//Display Form
    		echo '<div id="bpcivigroupeditform">';
    		echo '<form action="" method="post">';
    		echo '<input type="hidden" name="addressid" value="' . $bpcivi_groupeditresult['values'][0]['address_id'] . '">';
    		echo '<input type="hidden" name="webid" value="' . $bpcivi_groupeditwebsiteresult['values'][0]['id'] . '">';
    		echo '<table border=1>';
    		echo "<tr><td>" . "Organization Name" . "</td><td>" . '<input type="text" name="orgname" value="' .$bpcivi_groupedit_orgname  . '"></td><tr>';
    		echo "<tr><td>" . "Legal Name" . "</td><td>" . '<input type="text" name="legalname" value="' .$bpcivi_groupedit_legalname  . '"></td><tr>';
    		echo "<tr><td>" . "Nickname" . "</td><td>" . '<input type="text" name="nickname" value="' .$bpcivi_groupedit_nickname  . '"></td><tr>';
    		echo "<tr><td>" . "Website" . "</td><td>" . '<input type="url" name="website1" value="' .$bpcivi_groupedit_website1  . '"></td><tr>';
    		echo "<tr><td>" . "Street Address" . "</td><td>" . '<input type="text" name="street1" value="' .$bpcivi_groupedit_streetaddress  . '"></td><tr>';
    		echo "<tr><td>" . "Street Address 2" . "</td><td>" . '<input type="text" name="street2" value="' .$bpcivi_groupedit_supplemental_address_1  . '"></td><tr>';
    		echo "<tr><td>" . "Street Address 3" . "</td><td>" . '<input type="text" name="street3" value="' .$bpcivi_groupedit_supplemental_address_2  . '"></td><tr>';
    		echo "<tr><td>" . "City" . "</td><td>" . '<input type="text" name="city1" value="' .$bpcivi_groupedit_city  . '"></td><tr>';
    		echo "<tr><td>" . "Latitude" . "</td><td>" . '<input type="text" name="latitude" value="' .$bpcivi_groupedit_geo_code_1  . '"></td><tr>';
    		echo "<tr><td>" . "Longitude" . "</td><td>" . '<input type="text" name="longitude" value="' .$bpcivi_groupedit_geo_code_2  . '"></td><tr>';
    		echo "<tr><td>" . "State" . "</td><td>" . '<select name="state">';
    		for ($i=0;$i<count($bpcivi_statesresultarr);$i++) {
    			if ($bpcivi_statesresultarrkeys[$i] == $bpcivi_groupedit_state_province_id) {
    			echo '<option value="' . $bpcivi_statesresultarrkeys[$i] . '" selected>' . $bpcivi_statesresultarrkeyd[$i] . '</option>';	
    			} else {
    			echo '<option value="' . $bpcivi_statesresultarrkeys[$i] . '">' . $bpcivi_statesresultarrkeyd[$i] . '</option>';
    			}
    		}
    		echo '</select></td><tr>';
    		//value="' .$bpcivi_groupedit_state_province_id  . '"
    		echo "<tr><td>" . "Country" . "</td><td>" . '<input type="text" name="orgname" disabled value="' .$bpcivi_countriesresultarr[$bpcivi_groupedit_country_id]  . '"></td><tr>';
    		echo '<tr><td colspan="2">' . '<input id="bpedit_submit" type="submit" name="groupeditsubmit" value="Submit">' . '</td></tr>';
    		echo "</table></form>";
    		echo "</div>";
    	//Diagnostics
    	/*
    		echo "<br>Post: <pre>";
    		print_r($_POST);
    		echo "</pre>";
            echo "<br>API Call: <pre>";
    		print_r($bpcivi_groupeditwebsiteresult);
    		echo "</pre>";        
    		*/
            }
    
    }
    if(count($bpcivi_ck_settinggroups) > 0) { //Make it so that the group exension is only used for chapter
    	bp_register_group_extension( 'BPCivigroupedit' );
    }
    }
    }
    

    This code is the initial code before I started adding the nonces to see if the problem could be resolved.

    #171377
    montaya
    Participant

    Hi
    Url—-groupsoz.com
    I have created the above site using a Directorypress theme with buddypress and s2member. Russell Island Groups is a category and Russell Cycling Group is a group in that category. Now, when a new member wants to register for the cycling group, how does he/she register for the Russell Island Cycling Group only and not for the whole site. Can Buddypress help in this ?
    How do I do that???
    Regards and thanks
    Bryan

    turleybw
    Participant

    I’m working on a custom members page, and I’m trying to display thumbnails of each member’s recent activity next to their basic profile information, but it’s not working as expected.
    Hopefully you can give me some insight.

    Here’s the code I’m working with:

    <?php if ( bp_has_activities( bp_ajax_querystring( ‘activity’ ).’&max=3′.’&user_id=’.bp_member_user_id()) ) : ?>
    <?php while ( bp_activities() ) : bp_the_activity(); ?>

    <?php locate_template( array( ‘activity/entry.php’ ), true, false ); ?>
    <?php endwhile; ?>
    <?php endif; ?>

    http://localcreatives.org/members
    Buddypress 1.7.2

    As you can see I’m filtering activity so it only displays three items for each user, and I’m also trying to filter the activity by user id which is where the problem is. If I input a specific user id number it filters all the activity on the page to that user id. So, I’m attempting to call each user’s id with the function bp_member_user_id(). Please let me know what you’d change to correctly display each member’s recent activity.

    #171370
    turleybw
    Participant

    This is still a current problem. I’m unable to edit or delete my forum post on buddypress support.

    #171368
    dmpastuf
    Participant

    I intentionally had no nonces for development purposes and then added one, though my code bit in particular dosn’t have any nonce checks.

    Could I somehow be triggering a buddypress nonce check failure (why I tried adding the additional nonces)

    #171366
    Eric J T
    Participant

    I have the same problem. Just installed today with wp 3.6.1 and the latest buddypress and bb press, all uploaded manually (via upload zip file functionality), with WildCommunity theme, and there is no admin area for groups. In the edit group area, all you can change is the name and description, add and manage members and some settings on the right.

    On top of that, when I go to the group on the front end I get “page not found”. When I created the group i did see the add avatar option but skipped it as I didn’t have the image ready, and now I can’t find a way to add one.

    This is not good at all. Please help. Thanks.

    #171365
    Eric J T
    Participant

    this page

    https://codex.buddypress.org/user/setting-up-a-new-installation/group-settings-and-roles/

    Says there’s supposed to be a place admins can change group avatars and do other things, but the functionality listed is nowhere to be found in the installation. What’s going on with this? If a user creates a group and doesn’t use their one chance to upload a group avatar there seems to be now way to change it.

    #171364
    modemlooper
    Moderator

    If you don’t want to edit core files then create the same files in your theme folder with the same folder structure and those files will override BP.

    copy file from:

    buddypress/bp-templates/bp-legacy/buddypress/members/single/profile/edit.php

    to:

    your-theme-folder/buddypress/members/single/profile/edit.php

    #171363
    modemlooper
    Moderator

    open file edit.php in buddypress/bp-templates/bp-legacy/buddypress/members/single/profile/edit.php

    find:

    <?php if ( ‘textbox’ == bp_get_the_profile_field_type() ) : ?>
    
    <label for=”<?php bp_the_profile_field_input_name(); ?>”><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( ‘(required)’, ‘buddypress’ ); ?><?php endif; ?></label>
    <input type=”text” name=”<?php bp_the_profile_field_input_name(); ?>” id=”<?php bp_the_profile_field_input_name(); ?>” value=”<?php bp_the_profile_field_edit_value(); ?>” <?php if ( bp_get_the_profile_field_is_required() ) : ?>aria-required=”true”<?php endif; ?>/>
    
    <?php endif; ?>

    change to:

    <?php if ( ‘textbox’ == bp_get_the_profile_field_type() ) : ?>
    
    <label for=”<?php bp_the_profile_field_input_name(); ?>”><?php bp_the_profile_field_name(); ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( ‘(required)’, ‘buddypress’ ); ?><?php endif; ?></label>
    <input <?php if ( bp_get_the_profile_field_input_name() == ‘field_1′) : ?>maxlength=”10″<?php endif; ?> type=”text” name=”<?php bp_the_profile_field_input_name(); ?>” id=”<?php bp_the_profile_field_input_name(); ?>” value=”<?php bp_the_profile_field_edit_value(); ?>” <?php if ( bp_get_the_profile_field_is_required() ) : ?>aria-required=”true”<?php endif; ?>/>
    
    <?php endif; ?>

    that will limit the profile username form field. To limit the sign up name you add maxlength to the register.php form input for username. change max length to however long you want to cut the name off at.

    <input maxlength="10" type="text" name="signup_username" id="signup_username" value="<?php bp_signup_username_value(); ?>" />

    #171357
    WPElliott
    Participant

    I am trying to add the Activity Stream to my Home Page at http://soaringcafe.staging.wpengine.com using the code found here: http://codex.buddypress.org/developer/loops-reference/the-activity-stream-loop/

    Here is my code:

    
    here 1</br>
    <?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) ) ) : ?>
        here 2</br>
        <?php while ( bp_activities() ) : bp_the_activity(); ?>
            here 3</br>
            <?php locate_template( array( 'activity/entry.php' ), true, false ); ?>
     
        <?php endwhile; ?>
    <?php endif; ?>
    

    The code logic seems to work but I am not getting any output. (you can see the Here 1, Here 2 … text displaying.

    Thoughts on what I am doing wrong?

    Thank you,
    Bill

    #171355
    @mercime
    Participant

    @gearmx whether BP is installed or not, only the Site/Super Admin can delete a member (delete_users, remove_users). Group Administrators can already Kick and Ban the member from the group and can contact Site Admin to delete the users if necessary. Having said that, if you still want WP Author roles to have capability of deleting users, contact plugin author or check if your Role Scoper plugin can add the function to delete a member by anyone with Author role.

    dmpastuf
    Participant

    Greetings,
    Im wrapping up a plugin development which is tied into a second database and manipulates that through a post. On the development site the program seems to be working fine, though it was using the last version of buddypress. Now I’m using it on the latest version of buddypress and wordpress and its throwing a nonce error whenever I try to post the form; Im using a form setup like the following: ‘<form action=”” method=”post”>’; I’ve also added to the forms the following to try to get the nonce failure past:

    wp_nonce_field( ‘closedpostboxes’, ‘closedpostboxesnonce’, false );
    wp_nonce_field( ‘meta-box-order’, ‘meta-box-order-nonce’, false );
    wp_nonce_field( ‘edit-group_’ . $group->id );
    wp_nonce_field( ‘groups_edit_group_settings’ );
    wp_nonce_field( );
    echo ‘<input type=”hidden” name=”group-id” id=”group-id” value=”‘. bp_group_id() .'” />’;

    Is there a way to figure out what group nonce if failing from a post error? or is there an alternative method of posting which would be preferred?

    Thanks

    #171353
    @mercime
    Participant
Viewing 25 results - 29,301 through 29,325 (of 94,565 total)
Skip to toolbar