Search Results for 'buddypress'
-
AuthorSearch Results
-
January 12, 2017 at 9:58 pm #262791
In reply to: remove name field in registration page
luisa227
ParticipantSolved!! ๐
I view this post https://buddypress.trac.wordpress.org/ticket/5373
and I changed database field value.January 12, 2017 at 4:07 pm #262774In reply to: Custom Member Tab
Paul Barthmaier (pbrocks)
ParticipantStarting 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>'; }January 12, 2017 at 2:38 pm #262772Topic: Seo Friendly URL’s for Activities and Images
in forum How-to & Troubleshootingrosengold
ParticipantHi 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 RosengoldJanuary 12, 2017 at 8:46 am #262766In reply to: Need Advice for Stopping Spam at the Gate
Lars Henriksen
ParticipantHi
#2, Buddypress Registration Options is doing the job for me.
January 11, 2017 at 9:32 pm #262756Topic: Quote under profile picture
in forum How-to & Troubleshootingmedicinalplantclub
ParticipantWordpress 4.7.1
Buddypress 2.7.4
http://www.medicinalplantclub.comHi, 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!
January 11, 2017 at 4:39 pm #262752In reply to: change bp from activated to network activated
Paul Barthmaier (pbrocks)
ParticipantWhy do you say you should have network-activated BuddyPress?
January 11, 2017 at 11:23 am #262741In reply to: I cant Access registration page
Solomonsun
Participantwell 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
January 11, 2017 at 9:31 am #262739In reply to: how display content in submenu?
danbp
ParticipantThanks 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 ๐
January 11, 2017 at 8:42 am #262736In reply to: I cant Access registration page
Solomonsun
Participanti 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)
January 11, 2017 at 8:38 am #262735In reply to: I cant Access registration page
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.
January 11, 2017 at 6:08 am #262731In reply to: I cant Access registration page
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.January 10, 2017 at 11:23 pm #262726In reply to: how display content in submenu?
luisa227
ParticipantI 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!
January 10, 2017 at 9:09 pm #262722In reply to: I cant Access registration page
djsteveb
Participant@solomonsun
– ” http://www.schoolhome.com.mg/” – 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
January 10, 2017 at 8:42 pm #262721In reply to: I cant Access registration page
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
January 10, 2017 at 7:20 pm #262718In reply to: bbc script showing error while installation
danbp
ParticipantHi,
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 !
January 10, 2017 at 4:23 pm #262704In reply to: Multisite issue
danbp
ParticipantHi 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 ?January 10, 2017 at 4:20 pm #262703In reply to: how display content in submenu?
luisa227
ParticipantI 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
January 10, 2017 at 2:00 pm #262699In reply to: how display content in submenu?
luisa227
ParticipantSimple. 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
January 10, 2017 at 2:00 pm #262698In reply to: How can I insert link with target in description?
danbp
ParticipantPlease search the forum before asking questions! For ex. “allow html in description”
https://buddypress.org/support/topic/allow-html-in-xprofile-field-description-boxes/
January 10, 2017 at 12:29 pm #262696In reply to: how display content in submenu?
danbp
ParticipantNow, 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.
or get in touch with one of BP’s italian translator for help or at least some explanation
Italian BP translators listJanuary 10, 2017 at 8:31 am #262688In reply to: how display content in submenu?
danbp
ParticipantRead here:
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).
January 10, 2017 at 12:41 am #262683In reply to: I cant Access registration page
Solomonsun
ParticipantThanks 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.
January 9, 2017 at 11:43 pm #262681January 9, 2017 at 8:33 pm #262676In reply to: how display content in submenu?
luisa227
Participantsorry ๐ 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 inbp-custom.php(that is in my plugin folder) I writefunction 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/singlebut nothing is happen.where am I wrong? thanks
January 9, 2017 at 7:33 pm #262675In reply to: Change URL of member profiles to /@username
Henry Wright
ModeratorYou 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/
-
AuthorSearch Results