Search Results for 'wordpress'
-
AuthorSearch Results
-
September 23, 2013 at 4:42 pm #171718
Hugo Ashmore
ParticipantIf you think you have found a bug and can reproduce and give steps to reproduce it would help if you could create a Trac ticket.
September 23, 2013 at 3:44 pm #171714In reply to: Login Redirect
Ben Hansen
Participantas far as i know there is no buddypress login page, the wordpress login page is what buddypress uses unless you construct your own.
September 23, 2013 at 3:00 pm #171711In reply to: Buddypress compatible themes
@mercime
Participantibuddy theme is a WordPress theme which supports BuddyPress. Therefore, you can use the usual WP template tags and functions to generate login code as well as recent blog posts. For more assistance, you can post at theme author’s support forums at https://wordpress.org/support/theme/ibuddy
September 23, 2013 at 11:58 am #171700In reply to: tweaking friend function
phpman
ParticipantI know,
in if I need ” == ” not ” = ”It works fine now 🙂
I’m customizing it.Anyone can help me making it a plug-in?
I’m new in wordpress and phpSeptember 23, 2013 at 8:51 am #171691In reply to: What does this mean?
modemlooper
ModeratorMissing an argument
September 23, 2013 at 8:50 am #171690In reply to: What does this mean?
modemlooper
ModeratorMissing an argument
September 23, 2013 at 3:19 am #171683In reply to: How to link automatically user to several groups
totoff
Participanthi,
finally i found a plugin to manage it:
https://wordpress.org/plugins/buddypress-auto-group-join/screenshots/thanks,
September 22, 2013 at 10:38 pm #171677In reply to: Two installations have failed
Eric J T
ParticipantSorry I didn’t include the code for that. Yes, it is in the wp functions.php file, but it is relevant to bp theme. Here is the full function that line 100 is found in. Line 100 is the third to last, which starts with “add action”.
/** * Sets up theme defaults and registers support for various WordPress and BuddyPress features. * * Note that this function is hooked into the after_setup_theme hook, which runs * before the init hook. The init hook is too late for some features, such as indicating * support post thumbnails. * * To override bp_dtheme_setup() in a child theme, add your own bp_dtheme_setup to your child theme's * functions.php file. * * @global BuddyPress $bp The one true BuddyPress instance * @since BuddyPress (1.5) */ function bp_dtheme_setup() { // Load the AJAX functions for the theme require( get_template_directory() . '/_inc/ajax.php' ); // This theme styles the visual editor with editor-style.css to match the theme style. add_editor_style(); // This theme comes with all the BuddyPress goodies add_theme_support( 'buddypress' ); // This theme uses post thumbnails add_theme_support( 'post-thumbnails' ); // Add default posts and comments RSS feed links to head add_theme_support( 'automatic-feed-links' ); if ( ! is_admin() || ( defined( 'DOING_AJAX' ) && DOING_AJAX ) ) { // Register buttons for the relevant component templates // Friends button if ( bp_is_active( 'friends' ) ) add_action( 'bp_member_header_actions', 'bp_add_friend_button', 5 ); // Activity button if ( bp_is_active( 'activity' ) && bp_activity_do_mentions() ) add_action( 'bp_member_header_actions', 'bp_send_public_message_button', 20 ); // Messages button if ( bp_is_active( 'messages' ) ) add_action( 'bp_member_header_actions', 'bp_send_private_message_button', 20 ); // Group buttons if ( bp_is_active( 'groups' ) ) { add_action( 'bp_group_header_actions', 'bp_group_join_button', 5 ); add_action( 'bp_directory_groups_actions', 'bp_group_join_button' ); } // Blog button if ( bp_is_active( 'blogs' ) ) add_action( 'bp_directory_blogs_actions', 'bp_blogs_visit_blog_button' ); } } add_action( 'after_setup_theme', 'bp_dtheme_setup' ); endif; if ( !function_exists( 'bp_dtheme_enqueue_scripts' ) ) :In the first install the failed bp had been installed and working for a few days. It suddenly gave errors when I edited a css color code on line 1211 in this file and uploaded it to the server by ftp. Yeah, I know you might say I made a mistake, but I know I did it correctly. And they you might say the file got corrupted in transfer, except that the second install on godaddy had no such changes or transfers and in short order – less than an hour of use with no other plugins or style changes – gave the same final error for line 100 when I changed my public name in the buddypress members listing, at which point neither the front nor back ends were accessible.
Looking forward to your insights.
September 22, 2013 at 10:32 pm #171673In reply to: Two installations have failed
Paul Wong-Gibbs
KeymasterThis isn’t really a BuddyPress specific problem. You’ve activated a plugin or theme that doesn’t work, and it’s causing these errors.
Reinstall WordPress, then BuddyPress. Use a default WordPress theme. Everything will be fine. Reactive plugins one-by-one until the error comes back. You’ve figured out what plugin(s) are misbehaving, so deactivate and delete them. Then try switching back to your theme, and seeing if it all still works.
Hint: from your logs, the “BP Group Extras” plugin is causing problems, so get rid of that.
September 22, 2013 at 7:54 pm #171668In reply to: How to change group avatar?
SID100MAX
Participanthie guys, I thank all of you for all your endeavour to improve wordpress.
Is it possible to change the default group avarta to something else as default group’s avarta? Cause it isn’t nice to have the same default avarta both for member and group.
Thanks!September 22, 2013 at 1:51 am #171636Ben Hansen
ParticipantFirstly, to answer your question, no. The two things are complimentary.
I need little sites off the main site, not multisites.
That sentence contradicts itself, if you want a network of wordpress sites based on a single installation, then multisite exactly is what you need to do that.
If, however, you are looking to give members of your site posting authority on your single site and you want to restrict what categories they can use then you don’t need either BP or multisite. You need to change the default user role and probably use a plugin like Restrict Caterogies:
wordpress.org/plugins/restrict-categories/
bare in mind, i’m not sure how easy it is to undo the multisite switch that you have already thrown. Probably, others here know more then i do when it comes to reversing course on a multisite switch but it’s not something i would even try.
September 21, 2013 at 9:46 pm #171627In reply to: CSS is not consistent across browsers
thisisbbc
ParticipantHere is more information about our installation.
8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?
All In One SEO Pack
Version 2.0.3.1 | By Michael TorbertAntispam Bee
Version 2.5.9 | By Sergej MüllerAntiVirus
Version 1.3.4 | By Sergej MüllerbbPress
Version 2.4 | By The bbPress CommunityBetter WordPress Minify
Version 1.2.2 | By Khang MinhBroken Link Checker
Version 1.8.3 | By Janis ElstsBuddyPress
Version 1.8.1 | By The BuddyPress CommunityContact Form 7
Version 3.5.2 | By Takayuki MiyoshiDuplicate Post
Version 2.4.1 | By Enrico BattocchiGoogle Analyticator
Version 6.4.5 | By Video User Manuals Pty LtdNGFB Open Graph+ Pro
Version 6.8 | By Jean-Sebastien MorissetRevolution Slider
Version 3.0.7 | By ThemePunchSocial Login for wordpress
Version 4.8 | By LoginRadius TeamTinyMCE Advanced
Version 3.5.8 | By Andrew OzzW3 Total Cache
Version 0.9.3 | By Frederick TownesWidget Importer & Exporter
Version 1.0 | By Steven GliebeWordPress Social Share Buttons
Version 1.1.3 | By Lee ChestnuttWP-Memory-Usage
Version 1.2.1 | By Alex RabeWP Sliding Login | Register Panel
Version 2.3 | By Kyle Powning @ The FactoryWP Smush.it
Version 1.6.5.3 | By WPMU DEV9. Are you using the standard BuddyPress themes or customized themes?
I’m using another theme callet BulletPress from HB-Themes
10. Have you modified the core files in any way?
I haven’t modified any BP related files, but I do use a child theme with a custom functions.php
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?
Our theme came with bbPress, see above for version.
14. Which company provides your hosting?
PlanetHoster
September 21, 2013 at 8:57 am #171610deepwave
ParticipantMay be related to: https://bbpress.trac.wordpress.org/ticket/2408
September 21, 2013 at 1:13 am #171604@mercime
ParticipantUsing the main standard bp-default template. (Not a child theme)
@jadskymedia If you’re only making style changes I suggest using Jetpack or another plugin which can serve CSS changes for the BP Default theme. Otherwise, If you’re going to make the style changes in BP Default’s stylesheet, it’s going to be overwritten when you upgrade BuddyPress.You can find the general link styles in Lines 507 through 516 of the BP Default’s stylesheet, default.css https://buddypress.trac.wordpress.org/browser/tags/1.8.1/bp-themes/bp-default/_inc/css/default.css#L507
September 20, 2013 at 5:35 pm #171593shanebp
Moderatorread:
try:
<h2 class="author-title"><?php printf( _x( 'by %s', 'Posts by...', 'buddypress' ), bp_core_get_userlink( $author_id ) ); ?></h2>September 20, 2013 at 2:42 pm #171588catwomanbadkitty
ParticipantNot sure why my code got cut off. Will try it again:
<h2 class="author-title">Posts By <a href="<?php the_author_posts_link(); ?>"><?php the_author_meta('display_name', $author_id); ?></a> </h2>September 19, 2013 at 2:19 pm #171546In reply to: Geting input values in Edit Profile page
shanebp
ModeratorRemove all the changes listed above that you made to edit.php.
In functions.php, paste this:
function something_updated_profile( $user_id, $posted_field_ids, $errors ) { if ( empty( $errors ) ) { print_r( $posted_field_ids ); echo "<br>user id: " . $user_id . "<br>"; print_r( $_POST ); } } add_action('xprofile_updated_profile', 'something_updated_profile', 1, 3);read this:
https://codex.wordpress.org/Function_Reference/do_actionSeptember 18, 2013 at 1:08 pm #171489In reply to: Hire a BP Developer
bp-help
Participant@tayenewm
You should leave your contact info and a description of the work to be performed, as well as the budget for the work performed here:
and here:
http://jobs.wordpress.net/September 18, 2013 at 1:14 am #171461In reply to: [Resolved] bp_is_page depreciated?
@mercime
Participant@bphelp bp_is_page() has been deprecated since BP 1.7
Check out bp_is_members_component() and more at https://buddypress.trac.wordpress.org/browser/tags/1.8.1/bp-core/bp-core-template.php esp. line 791 downwardsSeptember 17, 2013 at 6:36 pm #171447In reply to: No admin bar after avatar uploading
bilbobaghins
Participantsorry no wordpress bar ç_ç
September 17, 2013 at 2:49 pm #171429In reply to: BP Conditional Groups & Users
justintyme
ParticipantUsing Networks for WordPress, does the same I believe yet for free. This still doesn’t provide a good solution since Buddypress users and Groups are not shared between network, yet are shared between sites inside the same network. And really, if I have 42 sites, I’m not going to create 31 seperate networks with the majority only consisting of one site just to have BP groups and users seperated. There are much better and easier option, as I provided in my initial post.
As I have been told, a well oiled coder can make this in a week or less, so my question remains, why hasn’t anyone done this already?
September 17, 2013 at 12:32 pm #171423In reply to: [Resolved] Where is the BP Group Documents Plugin?
lenasterg
ParticipantHi, is it available now at https://wordpress.org/plugins/bp-group-documents/
September 17, 2013 at 4:08 am #171407In reply to: /index.php/members/ not rewriting
Dan Cernese
ParticipantYes, thanks, after much digging I did find that page.. ..and followed it to the only option that actually works for me, the link to http://blackmarketserver.com/blog/2010/07/13/pretty-permalinks-in-wordpress-3-0-and-iis6/
I removed index.php from the permalink configuration and now the custom 404 is working.
If I had the option of running linux, I would.. ..but I can’t believe this has been this way for what looks like 3 years now and not been fixed to work better with IIS.September 17, 2013 at 3:36 am #171404In reply to: /index.php/members/ not rewriting
@mercime
Participant@dhcernese appending index.php for pretty permalinks in Windows hosting will not work in BP installations. See IIS7 paragraph at https://codex.wordpress.org/Using_Permalinks#Permalinks_without_mod_rewrite
September 16, 2013 at 12:40 pm #171378In reply to: Plugin Dev – Group Admin Add subnav form nonce fails
dmpastuf
ParticipantWhen 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.
-
AuthorSearch Results