Search Results for 'questions'
-
AuthorSearch Results
-
August 24, 2013 at 11:30 am #170339
In reply to: Activity Stream Questions – adding tags and comments
ClaireBearBunchParticipant<?php
/**
* BuddyPress – Activity Post Form
*
* @package Status
* @since 1.0
*/
?><div id=”whats-new-declare” class=”clearfix”>
<form action=”<?php bp_activity_post_form_action(); ?>” method=”post” id=”whats-new-form” name=”whats-new-form” role=”complementary”>
<?php do_action( ‘bp_before_activity_post_form’ ); ?>
<section id=”whats-new-about”>
<div id=”whats-new-avatar”>
“>
<?php bp_loggedin_user_avatar( ‘width=’ . bp_core_avatar_thumb_width() . ‘&height=’ . bp_core_avatar_thumb_height() ); ?>
</div>
<div id=”whats-new-wrapper”>
<div id=”whats-new-tail”></div>
<div id=”whats-new-textarea”>
<textarea name=”whats-new” id=”whats-new” cols=”50″ rows=”10″>topic<?php if ( isset( $_GET[‘r’] ) ) : ?><?php echo esc_attr( $_GET[‘r’] ); ?>topic<?php endif; ?>topic</textarea>
</div>
</div>
</section><section id=”whats-new-content”>
<div id=”whats-new-options”><div id=”whats-new-submit”>
<input type=”submit” name=”aw-whats-new-submit” id=”aw-whats-new-submit” value=”<?php _e( ‘Post Update’, ‘status’ ); ?>” class=”submitbutton”/>
</div>
<?php if ( bp_is_active( ‘groups’ ) && !bp_is_my_profile() && !bp_is_group() ) : ?>
<div id=”whats-new-post-in-box”>
<?php _e( ‘Post in’, ‘status’ ) ?>:
<select id=”whats-new-post-in” name=”whats-new-post-in”>
<option selected=”selected” value=”0″><?php _e( ‘My Profile’, ‘status’ ); ?></option>
<?php if ( bp_has_groups( ‘user_id=’ . bp_loggedin_user_id() . ‘&type=alphabetical&max=100&per_page=100&populate_extras=0’ ) ) :
while ( bp_groups() ) : bp_the_group(); ?>
<option value=”<?php bp_group_id(); ?>”><?php bp_group_name(); ?></option>
<?php endwhile;
endif; ?>
</select>
</div>
<input type=”hidden” id=”whats-new-post-object” name=”whats-new-post-object” value=”groups” />
<?php elseif ( bp_is_group_home() ) : ?>
<input type=”hidden” id=”whats-new-post-object” name=”whats-new-post-object” value=”groups” />
<input type=”hidden” id=”whats-new-post-in” name=”whats-new-post-in” value=”<?php bp_group_id(); ?>” />
<?php endif; ?>
<?php do_action( ‘bp_activity_post_form_options’ ); ?>
</div><!– #whats-new-options –>
</section><!– #whats-new-content –>
<?php wp_nonce_field( ‘post_update’, ‘_wpnonce_post_update’ ); ?>
<?php do_action( ‘bp_after_activity_post_form’ ); ?></form><!– #whats-new-form –>
</div>thats the right php i think, post-form.php, how could i modify a line or two here for posting my own tags?
August 23, 2013 at 8:18 am #170281In reply to: Couple of questions
mbraamParticipantThanks!!!
Didn`t find that code so I added this one:
<style type="text/css"> .field_offer-approval{ display:none; } </style>
And it worked đ
Is there also an option that I can say only admins or moderators can edit a field?
August 22, 2013 at 2:35 pm #170230In reply to: Couple of questions
terralingParticipantOn a user’s own profile page the class “my-account” is added to the body, so you can add a style to your CSS to hide it only on the profile page. E.g. if the element has the id=”agree-or-not”, then
body.my-account #agree-or-not {display: none;}
should do it.
August 22, 2013 at 12:37 pm #170226In reply to: Couple of questions
mbraamParticipantWell I found all the options in the default theme … the one we bought doesn`t have some options.
The only option I need to find is:
1. Registration page
At our registration page, I wan`t a simple option agree or disagree.
If I make that option in the profile on (basic) it is visible on the registration page but also when you edit you own profile. So how can I hide it on the profile page?August 21, 2013 at 11:46 am #170167Hugo AshmoreParticipantAs would have reading those guides I mentioned, but assuming you did do that, if not please do try to when you have a moment as the reason we write those guides are to attempt to provide answers to these sorts of questions, and help people understand the options they have in dealing with custom themes. đ
August 20, 2013 at 11:38 am #170100Hugo AshmoreParticipantHave you checked the Codex Documentation ? I suggest you read the guides on theme templates as these will help your understanding and allow you to ask more detailed questions that we can help with.
I created the the buddypress-pages on full width and also changed the template-page in WordPress, but Buddypress is still using the standard-template. Someone knows the Problem?
I assume you mean the pages created in the setup routine for BP such as ‘activity’, ‘members’ etc these are placeholders only you can not do anything in them except set the page title.
‘<i>changed the template-page in WordPress</i>’
You need to be clearer on what you mean here!‘<i>standard template</i>’
Again not sure to what you are referring here, BP in theme compatibility mode uses page.php, unless you provide other named templates but this is all explained in the template compatibility themeing guides written for users to help them out with just this sort of issue.As for the loader gif it’s impossible to say, you haven’t told us the theme in use, linked to the site, or shown any code to work from thus it’s a complete guess as to what may be happening.
As always if there are issues first test is activate known good theme such as twentytwelve and see if things work in that theme then you know it’s a theme issue.
August 16, 2013 at 3:36 pm #169926In reply to: Dashes in usernames
acesParticipantAugust 15, 2013 at 3:36 pm #169896In reply to: login username and avatar quality
acesParticipantFor point 1:
See https://buddypress.trac.wordpress.org/ticket/4622#comment:8 for suggested work arounds.
Alternatively: http://wordpress.stackexchange.com/questions/66204/showing-the-users-username-in-registration-email-or-activation-page-with-buddyp
August 13, 2013 at 5:01 pm #169796In reply to: 3 cracking questions pls guide
rlabzParticipantpls reply
August 12, 2013 at 5:07 pm #169754noriiseParticipantI’m also looking for this. Looks like one option is User Account Type Pro (http://rimonhabib.com/buddypress-user-account-type-pro-has-been-released/) but the information on this is sketchy, the pro site page is currently in maintenance mode and I read on another post that it is not compatible with 1.8. Also the Lite version on the WP repo has a few unanswered questions about whether this is being supported.
So that looks a bit bleak. Anyone have any other ideas?
August 12, 2013 at 2:04 pm #169745In reply to: Load profile field link in new page
David CavinsKeymasterIt’s generally preferred to let the user decide whether he wants to open a link in a new window or the same window. That said, you can use jQuery to force content to open a new window to happen:
http://stackoverflow.com/questions/4742746/jquery-open-new-window-on-page-loadOr, you could filter the output for the fields by adding a filter to
bp_get_the_profile_field_value
(you’ll be addingtarget="_blank"
to the anchor tag). Here’s an example that removes hyperlinks from the output for specific fields:function cpfb_unlink_fields( $field_value ) { $options = array ( //These are the ids of the fields you want to target 12, 14 ) if ( in_array( bp_get_the_profile_field_id(), $options ) ) $field_value = strip_tags( $field_value ); return $field_value; } add_filter( 'bp_get_the_profile_field_value', 'cpfb_unlink_fields', 998, 1 );
August 9, 2013 at 11:06 am #169628In reply to: DONATE TO SEE BP MESSAGES
westwoodchristopherParticipantwe have a number of add ons. We can specify them pretty tightly over the course of coming weekss as they arise. So bearing that in mind both questions apply Shane.
August 6, 2013 at 3:18 pm #169455In reply to: Group Extension API questions
David CavinsKeymasterGreat! Thanks for clearing this up.
August 6, 2013 at 2:55 pm #169453In reply to: Group Extension API questions
Boone GorgesKeymaster– Yes,
'nav_item_name'
should be translatable if you plan to distribute the plugin. If it’s for a custom installation, it doesn’t matter.– Yes, you can set
'enable_nav_item'
(or any other config value) conditionally. I’d do your conditional logic *inside* of the constructor, to be sure that it’s loaded late enough:function __construct() { $show_nav_item = (bool) plugin_is_enabled( bp_get_current_group_id() ); $args = array( 'enable_nav_item' => $show_nav_item, ); parent::init( $args ); }
August 2, 2013 at 1:11 pm #169268In reply to: I can'y crop my avatar!
4ellaParticipanthttp://stackoverflow.com/questions/5070490/buddypress-jquery-google-hosted-library-conflict-with-image-crop
@techknowledgic This solution doesn’t work for me, but if you made some customization as I did you can try it, but I would bet that in your case it is some old plugin issue related.August 2, 2013 at 1:49 am #169237In reply to: Combining Gravity Forms With Buddypress
imeeaParticipantHi,
APologies for jumping into this thread, but I couldnt help as this is related to my problem.I have two questions:
1. is the issue now fixed
2. will it be possible to embed gravity form into a tab on the member profile. we want to have an experience tab (next to profile, activity, settings) where the user can view and edit job experience.is there a better way of doing this please?
would really appreciate any comments
cheers
August 2, 2013 at 12:43 am #169235LogicWolfParticipantHi David,
Hoping I’ll be able to help. I’ve seen alot of questions on the topic of How To Change and Reorder BuddyPress Group tabs and not much great direction. Hopefully you won’t be saying that after my posts… What I’m really hoping is someone comes in with a simpler, more elegant solution đ
Were you able to control the standard tabs?
For the standard group tabs, you can control them directly like this:
if (isset($bp->groups->current_group->slug) && $bp->groups->current_group->slug == $bp->current_item) { $bp->bp_options_nav[$bp->groups->current_group->slug]['home']['position'] = 10; $bp->bp_options_nav[$bp->groups->current_group->slug]['members']['position'] = 60; $bp->bp_options_nav[$bp->groups->current_group->slug]['notifications']['position'] = 110; }
So the code to put in functions.php might look like this:
function whff_setup_nav() { if (isset($bp->groups->current_group->slug) && $bp->groups->current_group->slug == $bp->current_item) { $bp->bp_options_nav[$bp->groups->current_group->slug]['home']['position'] = 10; $bp->bp_options_nav[$bp->groups->current_group->slug]['members']['position'] = 60; $bp->bp_options_nav[$bp->groups->current_group->slug]['notifications']['position'] = 110; } } add_action( 'bp_setup_nav', 'whff_setup_nav', 100000 );
CUSTOM BUDDYPRESS GROUP TABS
Now, the non-standard tabs are the tricky ones. You can’t access them through $bp->bp_options_nav (at least I couldn’t figure out how to do this.)Nonstandard Group tabs through the $wp_filter global. A good starting point is to dump the $wp_filter variable and get a look at it’s guts. Add this code in functions.php:
global $wp_filter; foreach ( (array)$wp_filter as $key => $value ) { echo '<pre>'; echo '<strong>' . $key . ': </strong><br />'; print_r( $value ); echo '</pre>'; }
$wp_filter is a bunch of nested arrays. Search through the output for your Group Tab Names (i.e. search for “Calendar”) and you will find something like this:
[00000000746c6153000000004e38ec1f_register] => Array ( [function] => Array ( [0] => BP_Group_Calendar_Extension Object ( [visibility] => private [enable_create_step] => [enable_nav_item] => 1 [enable_edit_item] => [name] => Calendar [slug] => calendar [admin_name] => [admin_slug] => [create_name] => [create_slug] => [create_step_position] => 81 [nav_item_position] => 40 [nav_item_name] => [display_hook] => groups_custom_group_boxes [template_file] => groups/single/plugins ) [1] => _register ) [accepted_args] => 1 )
That’s your Group tab and all the hooks you need to change attributes (in this case it’s the tab that says “Calendar”.)
But… unfortunately you can’t use the [00000000746c6153000000004e38ec1f_register] as a handle — that string is random and changes every time. But, now you know the class name is BP_Group_Calendar_Extension Object and you can search for that in the $wp_filter array and make the changes.
Hope this gets you closer, let me know how you make out. Cheers David!
July 29, 2013 at 2:30 pm #169025In reply to: Best way to enable facebook login?
Tux KaponoParticipantAny update on what Facebook plugins work best? We never did install one because none seemed to cover Facebook/Twitter/Google at the same time, so we decided to just use Facebook.
Is it possible to have the plugin be compatible with a BuddyPress registration page where we have additional required questions, like zip code, etc for instance? Here’s what we have right now: destinationli.com/register.
July 28, 2013 at 1:17 pm #168947olihaslamParticipantI think the problem I’m having is related to Ajax. It looks (to my newbie eyes) like the buddypress ajax request is not working for some reason.
In Firebug I see this on the site that has the problem:
ajaxurl "https://conflictcomms.org/wp-admin/admin-ajax.php" bp_ajax_request null
But on my other site where it appears to work correctly I see this:
ajaxurl "http://olihaslam.com/wp-admin/admin-ajax.php" bp_ajax_request Object { readyState=4, responseText="\n\n\n <div id="pag-top" c... \n </div>\n\n </div>\n\n\n", status=200, more...}
I don’t know where to start with Ajax issues. Suggestions on where I should start learning more about this would be very kind.
Newbie questions:
Is Ajax be affected by my site being on https and not yet having ssl certificate set up?
Could Ajax be interrupted by s2member?I’d be grateful of any pointers or advice.
Thanks
July 25, 2013 at 11:36 pm #168828In reply to: Changing themes
@mercimeParticipant@pssawhney you could post at http://jpbs.wordpress.net/ if you have the budget to hire a developer.
If you have no budget but would have to create the site all by youself, then post at the bbPress.org forums, in the WordPress.org forums and here of course. Do post specific questions per topic i.e., do not cram all your issues in one topic. That way, those who know how to resolve certain issues would respond to your topic and help out. There’s no guarantee that all your questions will be answered but at least you’re steps closer to where you want to go.
July 24, 2013 at 7:15 pm #168766In reply to: The page refreshes when I comment. Help!
TechknowledgicParticipantThanks for ur reply Hugo!
Yes he is done with the development but if I wanna add Buddypress forum after he is done it’s not his job anymore or I mean free job. I was using tal.ki forums and he installed it later I decided to move to a better forum like BuddyPress that’s why now it’s my duty to do the work. I have asked him for help about this but it’s taking too long for him to reply now and I can’t always wait him to reply for each issue I face that’s why I have to try to solve them on my own.
And yes I don’t have a good knowledge about CSS or javascrip or other programs but I have some knowledge that may help me to solve the problems I face that’s why the only way for me is to ask my questions here and if you need any more details I am ready
ty
July 24, 2013 at 5:34 pm #168751In reply to: The page refreshes when I comment. Help!
TechknowledgicParticipantThanks for ur reply John!
Sounds like your theme has javascript errors in it somewhere. Youâll want to track them down and eliminate them.
Your questions so far have given me the impression that youâre quite new to WordPress web development (modifying plugin files, not knowing how to debug javascript, etcâŚ) If this is the case, youâll have a better experience by searching the web for similar problems, and solving some of these issues on your own.
That’s true, I have hired a web developer to design my website and he is done now with developing the website and now I found some problems I am trying to fix them on my own that’s why I am asking too many questions these days.
Also, words like âHelp!â or âURGENTâ donât actually make anyone help you sooner than anyone else around here. Most volunteers will jump in and help who they can, when they can, â if you appear manic, it decreases the investment someone is willing to make in you, your site, and your topic.
Hoping to not sound discouraging. Weâre excited youâre using BuddyPress, and want you to enjoy our community to its fullest.
No I understand you, I am already an admin on a big forum which has around 27K members and alexa rank around 35K and veryday I face members who ask questions like this ( like me đ ) and I know it won’t help but the previous question when I said urgent I was really afraid that all the data in the website has been lost because I didn’t have backup since around 2 days and I added so much stuff int the past couple of days and in this question I just was mentioning it’s a question by saying “Help!” and nothing more
Thanks again!
July 24, 2013 at 5:11 pm #168748In reply to: The page refreshes when I comment. Help!
John James JacobyKeymasterSounds like your theme has javascript errors in it somewhere. You’ll want to track them down and eliminate them.
Your questions so far have given me the impression that you’re quite new to WordPress web development (modifying plugin files, not knowing how to debug javascript, etc…) If this is the case, you’ll have a better experience by searching the web for similar problems, and solving some of these issues on your own.
Also, words like “Help!” or “URGENT” don’t actually make anyone help you sooner than anyone else around here. Most volunteers will jump in and help who they can, when they can, — if you appear manic, it decreases the investment someone is willing to make in you, your site, and your topic.
Hoping to not sound discouraging. We’re excited you’re using BuddyPress, and want you to enjoy our community to its fullest.
July 24, 2013 at 8:02 am #168704TechknowledgicParticipantI mean in the WP admin area and I see it in the dashboard
and about the pic I have asked a question yesterday about re sizing the pic size in the forum https://buddypress.org/support/topic/how-to-resize-memebrs-images-sizes/
idk what’s going on with me and why nothing is working
and about the weird characters also they are available almost in all the pages like the contact us for example it ends with #.Ue-C0PnI1FM I thought that it’s normal but I will check this out with the developer if he solve it
– Letâs test. Create a new Page named Discussions and place the forums shortcode there. Go to Settings > Forums and change archive slug to discussions. Then go to technowldgic.com/discussions/ and check out your forums
I tried this and after saving the setting the forum page became 404 error page and also I am seeing this error near the box where I wrote discussions “Possible bbPress conflict: Topics base” so I removed it and wrote forums and topics again in the archive slugs
Going back to logging in. I added the bbPress login widget to the sidebar of Twenty Twelve theme and itâs working fine even with BuddyPress activated. What are you using for your users to log in?
I don’t think I am using anything, I thought everything would come with the buddypress plugin like the log in area and everything else. what should I use?
and I am so sorry for asking too many questions and having too many problems but idk why I am so lost by installing the forum
and ty so much for ur help
July 24, 2013 at 6:33 am #168688In reply to: How to make my theme work with buddypress 1.8
zerositParticipantI want to thank you so much for your assistance in this matter.
You don’t know how much it means to me to have you pointing out that the first link is what matters in my case.
I’ll look into the child theme compatibility issue and making of the buddypress.php. Could you assist in providing the code to tag the_content and the_title in this file?
Lastly, is this all that I need to do? I guess in your own way you’ve answered my Questions 1 and 2. But how about No.3? Do I have to copy files from:
/bp-templates/bp-legacy/buddypress/
To:
/my-theme/community/ or /my-theme/buddypress/as stated in your article?
I apologise for taking up your time in this matter and I cannot thank you enough for your kind assistance. Please forgive my newbie questions; I’m trying really hard to understand this and get it to work.
cheers
-
AuthorSearch Results