Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'theme'

Viewing 25 results - 2,301 through 2,325 (of 31,071 total)
  • Author
    Search Results
  • boundless_ink
    Participant

    i put this in the function.php child theme: is this correct code?

    function my_login_redirect( $user_id, $user_login, $user_password, $user_email, $usermeta ) {
        wp_redirect( bp_loggedin_user_domain() . '/profile/edit/group/2/' );
        exit();
    }
    add_action( 'login_redirect', 'my_login_redirect', 10, 5 );

    .. cant seem to get it to work.. i tried in bp-custom.php too.. maybe my code is not correct??

    #282888
    eLeXeM
    Participant

    Venutius, I’m telling you 🙂 the whole arrangement (theme, plugins, etc.) was working until the recent big Buddypress update. Then my manually placed whatsnewbox stopped showing.

    But I’m the nice guy 😛 I have put

    define('WP_DEBUG', true); 
    define('WP_DEBUG_LOG', true);
    define('WP_DEBUG_DISPLAY', true); 

    + let’s see what we get. 🙂

    #282886
    Venutius
    Moderator

    With all the plugins deactivated apart from BuddyPress, did it work at all? Same goes with your theme. Do you have error logging switched on? I’m thinking there must be an error showing somewhere and you are just not seeing it.

    See this page to see how to enable the error log https://codex.wordpress.org/Debugging_in_WordPress

    #282881
    Arize Nnonyelu
    Participant

    I didn’t edit it. So you have seen the screenshots where could these strings possibly come from? I’ve edited the Theme (2017). The plugin and buddypress but I’m still seeing these words where could the have come from?

    #282872
    Venutius
    Moderator

    Well wit the theme set to BP Nouveay the form displays, it’s just the input area is missing, so with either theme you should be getting something. I take it you’ve ruled out other plugins conflicting?

    #282851
    Venutius
    Moderator

    There’s two options, you could either overload that file, by placing your edited file in the wp-content/themes/your-child-them/buddypress/members/single directory or the other option is to create your own translation of the BuddyPress text. This last option is preferred, in general overloading files adds to the admin burden as you will need to kepp track of changes in the master file.

    To do the translation you would need to download PoEdit and follow this:

    Languages and Translations

    You just set up a translation of your own language which removes the text.

    Also, to manage translations, use the WPT Custom Mo File.

    This is handy because as you develop your site you are bound to come across other instances in BuddyPress and other plugins where you would prefer to change the text.

    #282839

    In reply to: profile picture

    emmanuel1234
    Participant

    hi i change the theme and the issue still persist

    #282830

    In reply to: profile picture

    shanebp
    Moderator

    Please do not double post. Your other post has been deleted.

    Please test on mobile with a WP theme like 2016.
    If the issue persists, we will try to confirm it.
    If the issue does not persist – please contact the creators of your theme.

    #282827

    In reply to: profile picture

    shanebp
    Moderator

    Does the profile picture appear properly when not on the mobile site?
    If so, then you need to talk to the creators of your theme – BuddyPress does not show ’round’ avatars.

    #282820
    shanebp
    Moderator

    if I do it on the User Screen through the Admin page it works fine…but my Users won’t have that option.

    That tells you there is something happening on the front end.
    I’ll bet it will work if you deactivate any ‘lazy’ loader plugin or code. ( jetpack ? )
    And / or any ‘minify’ plugin or code that is affecting javascript.

    I am using a theme now that is tested with BuddyPress

    Sez who? The theme creators? Always check by momentarily switching to a WP theme like 2016.

    #282819
    Kriss Kellino
    Participant

    I am only uploading on the member screen…if I do it on the User Screen through the Admin page it works fine…but my Users won’t have that option.

    Screen cap of page

    I am using a theme now that is tested with BuddyPress

    Kriss 🙂

    #282816
    shanebp
    Moderator

    You need to narrow down the possible sources of the issue.
    Have you tried in with a WP theme like 2016 ?
    Do you have the same issue with avatars on your member profile screen?
    Have you checked your browser’s javascript console for errors? This is a good place to check for conflicts with other plugins.

    #282813
    Kriss Kellino
    Participant

    Hi guys

    I am trying to upload an avatar or profile pic in a group and the image is not appearing for cropping…I have tried it on a couple of themes and all that is coming up is 1px x 1px pic.

    Can you help?

    Krissmania

    Thanks in advance

    Kriss 🙂

    #282807
    shanebp
    Moderator

    It should be okay. And just install it to find out for sure.
    There is also this one that may be a little better re BP Theme Compat:
    https://github.com/boonebgorges/buddypress-skeleton-component/tree/1.7

    The best way, for now, is to look thru the codebase for examples of how the BP_Component class is extended to create components.

    #282804
    shanebp
    Moderator

    As stated, the code is just an example of collecting the groups and group members.

    You could put the code in a function and then call that function wherever you want.
    For example, this could go in your theme > functions.php file :

    function diego_show_groups() {
    
    	$args = array(
    		 'show_hidden'   => true,
    		 'per_page'      => -1      
    	);
    
    	$groups = groups_get_groups( $args );
    
    	foreach ( $groups['groups'] as $group ) {
    				
    		$args = array(
    			'group_id'   		=> $group->id,
    			'exclude_admins_mods'   => false      
    		);
    
    		$members = groups_get_group_members( $args ); 
    		
    		echo'<pre>'; var_dump( $members );  echo'</pre>'; // just for reference
    		
    		// do something with the member data
    	}
    	
    }

    Then in a template, you could put: <?php diego_show_groups(); ?>

    Only you know exactly what you’re trying to do.
    As I said: Where and when you place the data is up to you.

    #282801
    diegomiguel05
    Participant

    Hello @shanebp, thanks for the hook.

    Sorry but I don`t know where I have to insert it. Wherever I paste it, no group members list is displayed (probably I’m not pasting it it in the correct file), I have tried in functions.php and in group-header.php of the theme. Could you please tell me where I should insert it?

    Thank you and sorry for bothering.

    shanebp
    Moderator

    If you mean the Private Message button at the top of a profile page, then place this code in bp-custom.php or in your theme > functions.php

    function lindsay_profile_button() {
    ?>
    	<div class="generic-button"><a href="https://google.com" >go to google</a></div>
    <?php
    }
    add_action( 'bp_member_header_actions', 'lindsay_profile_button', 25 );

    If ‘Private Messaging’ means something else, then you need to talk to the creators of that code because it does not come from BuddyPress.

    #282749
    rahulsavsani
    Participant

    I have real estate theme. I want web hook notifications such that when a user applies for a property on my site, notification with property details and applicant details should be sent to the owner of that property. Is it possible with buddypress notifications? And If yes, please guide me through the steps.

    luvlifewlee
    Participant

    Thhe submit/update/post button on profile or group activity stream is missing. Actually, it’s just invisable. You can still click the AREA of the button (guess and click lol) but before I launch membership, itll need to be seen.

    It makes me think its style related. I used Customify Theme, and am running a number of buddy press plugins, as well as bbpress. Ive deactivated any activity stream related plugins, and also deactivated and deleted the activity privacy plugin.

    Without deactivating… all my plugins. (again) Is there a few plugins I should watch for? some styling magaic I can do?

    #282718
    awalia100
    Participant

    I am trying to give my users the option to be able to upload a profile picture but I don’t have the option to give the users that ability like it’s stated in the docs (https://codex.buddypress.org/themes/guides/customizing-buddypress-avatars/).

    The closest thing I could find was to give the users “extended profiles” under components but I’m not too sure if that would do it and seems like it would give the users other options I don’t want them to have.

    Any help is appreciated. Thanks.

    #282708
    Venutius
    Moderator

    The first thing to do would be to deactivate all other plugins apart from BuddyPress and see if the fault remains. If it does then you need to check if you have overloaded the file by looking in wp-content/themes/your-child-theme/buddypress/members/single/messages/compose.php, if this file exists then check permissions and file content, if it does not exist then check permissions of wp-content/plugins/buddypress/bp-templates/bp-legacy or bp-nouveau/buddypress/members/single/messages/compose.php

    dyrasan
    Participant

    If you are creating new custom post types then you can just add the same field group to the new post types. Fields can have the same names when used on different post types.

    If I understand what you doing though, I’d probably set up a custom taxonomy of location for the custom post type, then you can create separate lists for each location and only need to add one more template file to your theme “taxonomy-location.php”

    https://codex.wordpress.org/Function_Reference/register_taxonomy

    thanks.

    #282676
    pethol
    Participant

    /wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/home.php

    This can take care of the top part at least, but not the page title. I’m still working on figuring that one out.

    PS. I’m old school. I don’t use child themes.

    #282674
    worldbettas
    Participant

    Wordpress 5.0
    Current BP as of 12/10/2018

    Home

    Hello,
    So my question is that when a user try’s to add a group or update their info or type in any of the field boxes the text is white and the current box it white also and you can not see what you are typing. If you type it will add the typing but you can not see it till you go to the next box and the box returns to the sites theme box color. Not sure if I made this understandable.
    But, type can not be seen but is working, to see it you need to move to the next box so the box goes back to the color it was before you started to type in the box. So either need to make the text visible or change the box color so the white text shows up in the white box 🙂 Hope I made this understandable as I am not a programmer. 😉

    #282672
    pethol
    Participant

    So, I would like to remove the parts I marked with red on the picture. I don’t need them, since I already have name and picture on the left.

    I use frontier theme and WP ver. 5.0

    Which files do I edit to do this?(and where are they located?)

    Screenshot

Viewing 25 results - 2,301 through 2,325 (of 31,071 total)
Skip to toolbar