Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 8,551 through 8,575 (of 69,104 total)
  • Author
    Search Results
  • #262791
    luisa227
    Participant

    Solved!! ๐Ÿ™‚

    I view this post https://buddypress.trac.wordpress.org/ticket/5373
    and I changed database field value.

    #262774

    In reply to: Custom Member Tab

    Starting point is https://codex.buddypress.org/developer/function-examples/core/bp_core_new_nav_item/

    But adding a full function looks like:

    
    /**
     * adds the profile user nav link
     */
    add_action( 'bp_setup_nav', 'add_calendar_2_bp_nav_item' );
    function add_calendar_2_bp_nav_item() {
    	global $bp;
    
    	$args = array(
    		'name' => __( 'Calendar', 'buddypress' ),
    		'slug' => 'my-calendar',
    		'default_subnav_slug' => 'my-calendar',
    		'position' => 80,
    		'screen_function' => 'bp_nav_tab_stuff',
    		'item_css_id' => 'my-calendar',
    	);
    
    	bp_core_new_nav_item( $args );
    }
    

    But to do anything with the above, you’ll need to add stuff to display:

    
    /**
     * Creates the screen function content
     */
    function bp_nav_tab_stuff() {
    	add_action( 'bp_template_title',  'bp_nav_tab_screen_title' );
    	add_action( 'bp_template_content',  'bp_nav_tab_screen_content' );
    	bp_core_load_template( apply_filters( 'bp_core_template_plugin',  'members/single/plugins' ) );
    }
    
    function bp_nav_tab_screen_title() {
    	echo '<h3>My Calendar Title</h3>';
    }
    
    function bp_nav_tab_screen_content() {
    	echo '<p>You can choose to embed an iframe from Google Calendar and then the source will be the ID of the calendar you want to embed. You can find this under Settings > Calendar Address > Calendar ID.</p>';
    	echo '<p><iframe src="https://calendar.google.com/calendar/embed?src=barthmaier.com_sd2o58ua3efj7ne1m8o3p8n91g@group.calendar.google.com&ctz=America/New_York" style="border: 0" width="800" height="600" frameborder="0" scrolling="no"></iframe></p>';
    	echo '<p>Of course, the above is just one way to add a calendar.</p>';
    }
    
    rosengold
    Participant

    Hi guys,
    for anyone that’s looking for a solution to improve your buddypress SEO in the activity permalinks and images. I write a small solution that I use on my website, I will appreciate if someone improve that to shorten url’s but actually it’s a working solution.

    I just put a querystring (?) after activity permalink and images, with some SEO friendly description, buddypress just ignores it, but google no, this is the goal. ๐Ÿ™‚

    Activity and Image SEO Friendly URL’s

    I Hope this helps.
    Ivan Rosengold

    #262766
    Lars Henriksen
    Participant

    Hi

    #2, Buddypress Registration Options is doing the job for me.

    #262756
    medicinalplantclub
    Participant

    Wordpress 4.7.1
    Buddypress 2.7.4
    http://www.medicinalplantclub.com

    Hi, I am hoping someone can help. I just got buddypress set up on my site and there is a quote under my admin profile page that I apparently do not have access to change?? I cannot find it anywhere. I want to remove or change it but don’t know how. Sorry if this is extremely basic, but I am new to buddypress and there is no field within the profile or settings page. Thanks!

    #262752

    Why do you say you should have network-activated BuddyPress?

    #262741
    Solomonsun
    Participant

    well said @djsteveb. thanks for your support and kindness. if i try those steps above (though i dont understand all of them) and it didnt work, i’ll say goodbye to buddypress.

    Much love from Nigeria

    #262739
    danbp
    Participant

    Thanks for sharing. But take in account that such solution is not recommended as your modification will be overwritten at next plugin update.
    Never, under any circumstances, should you hack core files.

    Don’t forget to save a copy of your modified file in a safe place, so you can remember later what you’ve done, as it seems you forget easily such details ๐Ÿ˜‰

    #262736
    Solomonsun
    Participant

    i just reinstalled buddypress now and found out that the pages (e.g activity, group, activate etc)that usually comes with it doesnt exist on my pages anymore (am just seeing the pages i created for myself)

    #262735
    Solomonsun
    Participant

    @djsteveb thanks for your time and prompt response. i have done everything you mentioned above, still no solution. Am evening trying to install buddypress again because i deleted the former, even though i have done this before.

    my browser just keep showing this

    The page isnโ€™t redirecting properly

    Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

    This problem can sometimes be caused by disabling or refusing to accept cookies.

    #262731
    djsteveb
    Participant

    @solomonsun – have you gone to:
    admin dashboard
    settings -> buddypress –
    then the tab near top: “pages”

    scroll down to registration and see which page is selected there? tried changing it and saving it, then change again and save again perhaps?

    Steve
    ps- this is not the netowrk superadmin dashboard, but the regular main admin dashboard if you are in multisite setup I think.

    #262726
    luisa227
    Participant

    I solved it by acting directly on the plug-in code BuddyPress Custom Profile Menu and changing the position of the slug and the display for all user.

    But soon as I get the chance I’ll try with the custom code without using plugins (many would give more satisfaction!). Thanks!

    #262722
    djsteveb
    Participant

    @solomonsun
    – ” http://www.schoolhome.com.mg/&#8221; – comes up as server not found from where I am at.. so it does not seem that this url is valid / working.. if you go to that url it works somewhere? Is something on the web server locking it down where no one can access it but you.. or some other blocking system to prevent me or others from seeing your url?

    You might wan agive up on buddypress – for several reasons.. cuz it doesn’t get any easier – things are going to get harder as some point.

    you never posted what your htaccess file says in it.

    you never ” donโ€™t say what happened โ€œbeforeโ€. Before what ?” – explained what you changed when it stopped working.

    sorry to hear it’s not working for you

    #262721
    Solomonsun
    Participant

    @danbp i dont understand please. the url http://www.schoolhome.com.mg/registration WAS what i was using to access my registration page before the issue arose.

    Maybe i should just give up on buddypress

    #262718
    danbp
    Participant

    Hi,

    not sure you need to use Softaculous to install bbpress. You can use the plugin installer shiped with WordPress or upload it manually via FTP.

    Seems you have to read the install documentation of bbPress first. And if you need help to use bbPress plugin, you have to ask on the right support forum. Here you’re on BuddyPress !

    #262704

    In reply to: Multisite issue

    danbp
    Participant

    Hi there !

    Avoid to add – URGENT help needed! to topic titles, it is the best way to not receive any help.

    You’re already under help when your topic is posted, so there is no need to ask twice. And this doesn’t bring you faster or more attention.

    The word Urgent is also banned, as urgency is already on the way. Not only for you but for ALL forum users.

    So as usual,

    The urgent is done, the indispensable is under way. For miracles, allow time.

    Please wait and read the codex. BuddyPress. WordPress.

    1)BuddyPress does not work on installations where you give WordPress its own directory.
    2) new users are always registered in the main site
    3) if you allow users to create their own blog, they will appear in the user list of that blog.
    4) multisite network means also that you use a wildcard on your host. Is it the case ?

    #262703
    luisa227
    Participant

    I have a certain page “Swap” full of functions and associations to other pages formed by a plugin called “swap”. I must associate this page to BuddyPress menu.

    I tried BuddyPress Custom Profile menu’s plugin and made me properly create my swap page, but: 1) remains as the last position, and I would like the first; 2) I will only appear on my profile as I would like for all of the users.
    So not good.

    As an alternative, I tried to create through my code menu item (and I can put it in first position and for all users) with the code inside of swap page, just as there are php functions related to other non correctly display the content. Because my template is in the folder of my theme BuddyPress child, and to make it work well should I leave it in my folder of the swap plugin. (Ie wp-content / plugins / swap / front / views)

    My question is: how do I make the point to all there in that folder? it is feasible? Or is feasible to act on the plugin configuration BuddyPress Custom Profile Menu and resolve the position and visibility for all? thanks

    #262699
    luisa227
    Participant

    Simple. I want to make functional code

    My actual code is:

    function bpfr_custom_profile_sub_nav() {
    	global $bp;
    	$parent_slug = 'activity';
    		
    	//Add subnav item 	 
    	bp_core_new_subnav_item( array( 
    	'name'            => __( 'Swap' ), 
    	'slug'            => 'swap', 
    	
    	'parent_url'      => $bp->displayed_user->domain . $parent_slug.'/', 
    
    	
    	'parent_slug'     => $parent_slug, 
    	
    	'screen_function' => 'swapluisa',
    	'position'        => 1,
    	
    	) );
    }
    add_action( 'bp_setup_nav', 'bpfr_custom_profile_sub_nav' );
    
    					
    	
    		
    
    function swapluisa() {
    	
    	add_action( 'bp_template_title', 'my_groups_page_function_to_show_screen_title' );
    	add_action( 'bp_template_content', 'my_groups_page_function_to_show_screen_content' );
    }
    
    add_action( 'bp_setup_nav', 'my_bp_nav_adder', 50 );
    function my_groups_page_function_to_show_screen_content() {
    	
    	return bp_get_template_part('members/single/swap');
    // (OR THIS???) return bp_get_template_part('wp-content/themes/betheme-child/buddypress/members/single');
    }
    
    function my_groups_page_function_to_show_screen_title() {
    	echo 'My new Page Title';
    }
    
    function luisa_register_template_location() {
       return 'members/single/';
    // (OR THIS????) return 'members/single/';wp-content/themes/betheme-child/buddypress/members/single'
    }
    
    function luisa_template_start() {
    
        if( function_exists( 'bp_register_template_stack' ) )
           bp_register_template_stack( 'luisa_register_template_location' );
    
    }
    add_action( 'bp_init', 'luisa_template_start' );
    

    but dont’work!

    I repeat, surely accidentally pointing to the folder, I can not figure out the exact solution. when i write “OR THIS??” i try but don’t work.

    where am I wrong? thanks

    #262698
    danbp
    Participant

    Please search the forum before asking questions! For ex. “allow html in description”

    Allow HTML Attributes in Profile Description Field

    https://buddypress.org/support/topic/allow-html-in-xprofile-field-description-boxes/

    #262696
    danbp
    Participant

    Now, it’s me who doesn’t understand ! What do you want to do finally ? What is not working for you ?

    Or try to get some help on the italian WP forum.

    Support Forums


    or get in touch with one of BP’s italian translator for help or at least some explanation
    Italian BP translators list

    #262688
    danbp
    Participant

    Read here:

    Template Overload from a Plugin

    Here a working example you can study to understand (and use to see how it works)

    function bpfr_post_profile_setup_nav() {
    global $bp;
    
    	$parent_slug = 'audio';
    	$child_slug = 'posts_sub';	
    	$post_count = count_user_posts(  bp_displayed_user_id(), array('post', 'post' ) );
    
    		//Add nav item with posts count
    		bp_core_new_nav_item( array(
    			'name' => __( 'Audios' ) .'<span>'.$post_count.'</span>',
    			'slug' => $parent_slug,
    			'screen_function' => 'bpfr_profile_post_screen',
    			'position' => 40,
    			'default_subnav_slug' => $child_slug 
    		) );
    		
    		//Add subnav item 	 
    		bp_core_new_subnav_item( array( 
    			'name' => __( 'My latest audios' ),
    			'slug' => $child_slug, 
    			'parent_url' => $bp->loggedin_user->domain . $parent_slug.'/', 
    			'parent_slug' => $parent_slug, 
    			'screen_function' => 'bpfr_profile_post_screen'
    		) );
    
    	}
    
    	function bpfr_profile_post_screen() {	
    		add_action( 'bp_template_content', 'bpfr_profile_post_screen_content' );
    		bp_core_load_template( apply_filters( 'bp_core_template_plugin', 'members/single/plugins' ) );
    	}
    
    	function bpfr_profile_post_screen_content() {
    		do_action( 'my_profile_post' );
    	}
    
    add_action( 'bp_setup_nav', 'bpfr_post_profile_setup_nav' );

    And here a content test:

    function luisa_conteni() {
       echo 'Forza BuddyPress';
    }
    add_action( 'my_profile_post', 'luisa_conteni' );

    Add all snippets to bp-custom.php.

    The example use the default plugin template (/members/single/plugin.php) as generally there is no need to create a new template while on a profile (except if you need something very specific like a table or a an iframe).

    #262683
    Solomonsun
    Participant

    Thanks djsteveb for your prompt response.

    i have tried all that yet it isnt working.

    i use newspaper7 theme.

    i have deleted buddypress for like two times and reinstalled it but it doesnt seem like working.

    i dont know if the fault shuold be from the server, theme, wp4.7 or anything. am just fed up with it.

    i have tried opening the page with the following browsers: Chrome, Firefox and Opera still no result.

    what baffles me is that it was working perfectly before.

    #262681
    shanebp
    Moderator
    #262676
    luisa227
    Participant

    sorry ๐Ÿ™ i don’t know!!!
    I seem to do correctly, but does not work.
    I also for testing entered my files everywhere, but does not find it anywhere !!!

    In my web-site the URL is http://mysite.it/membri/testmember1/activity/swap/ but it says “We are sorry, but the page you are looking for does not exist.”

    I have my swap.php (into there’s only a echo command)’s file in wp-content/themes/child-theme/buddypress/members/single/
    and in bp-custom.php (that is in my plugin folder) I write

    
    
    function my_groups_page_function_to_show_screen_content() {
    	bp_get_template_part('members/single/swap');
    }
    function luisa_register_template_location() {
       return 'wp-content/themes/betheme-child/buddypress/members/single';
    }

    I try also to put the swap.php file into wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single but nothing is happen.

    where am I wrong? thanks

    #262675
    Henry Wright
    Moderator

    You can easily configure BuddyPress to use root profiles which will mean URLs look like example.com/username. Note though, there’d be no @ character in the URL.

    See the Advanced Configurations section here: https://codex.buddypress.org/getting-started/customizing/changing-internal-configuration-settings/

Viewing 25 results - 8,551 through 8,575 (of 69,104 total)
Skip to toolbar