Search Results for 'wordpress'
-
AuthorSearch Results
-
October 3, 2013 at 3:32 pm #172263
In reply to: [Resolved] Show posts written by user on profile
bmstudio
ParticipantHi,
I have modify the @azchipka ‘s plugin.
It’s work !!!<?php /* Plugin Name: TCH BP Posts On Profile Plugin URI: http://azchipka.thechipkahouse.com/services/technology/development/wordpress-plugins Description: Adds a tab to Buddy Press User Profile displaying the posts they have published. Version: 0.1 Author: Avery Z Chipka Author URI: http://azchipka.thechipkahouse.com License: GPLv2 or later */ // Make sure we don't expose any info if called directly if ( !function_exists( 'add_action' ) ) { echo '404'; exit; } define('TCH_PostsOnProfilesVersion', '0.1'); define('TCH_PostsOnProfilesVersion_PLUGIN_URL', plugin_dir_url( __FILE__ )); function my_setup_nav() { global $bp; bp_core_new_nav_item( array( 'name' => __( 'Outils', 'buddypress' ), 'slug' => 'mes-outils', 'position' => 75, 'screen_function' => 'mes_outils_lien', 'show_for_displayed_user' => true, 'default_subnav_slug' => 'mes-outils', 'item_css_id' => 'mes-outils' ) ); } add_action( 'bp_setup_nav', 'my_setup_nav', 1000 ); function mes_outils_titre() { echo 'Mes outils'; } function mes_outils_contenu() { locate_template( array( 'members/single/outils/loop-outils.php' ), true ) ?> <?php echo "TEST"; ?> <?php } function mes_outils_lien () { add_action( 'bp_template_title', 'mes_outils_titre' ); add_action( 'bp_template_content', 'mes_outils_contenu' ); bp_core_load_template( apply_filters( 'bp_core_template_plugin', 'members/single/plugins' ) ); } ?>October 3, 2013 at 1:33 pm #172254In reply to: Show custom user meta fields on user profile page
pacija
ParticipantThank you for your reply. Unfortunately my knowledge of php and wordpress APIs is not sufficient for this. I was hoping to have something to click on, or at least some code snippet.
Perhaps more people will find this feature useful, and someday it gets included in Buddypress.
October 3, 2013 at 12:44 pm #172250Hugo Ashmore
Participantjust updated my last comment as you do have a choice to still follow older principles in building BP themes.
October 3, 2013 at 12:38 pm #172249santanin
ParticipantOkay sounds good. Thank you again!
October 3, 2013 at 12:36 pm #172248Hugo Ashmore
ParticipantSo you couldn’t have been telling the theme to use sidebars on BP pages? It’s not BP aware, BP still works on the principle of a blank placeholder page with a name i.e ‘members’ but it renders that screen view via page.php if it doesn’t find other file names first (as outlined in the codex)
The template pack post is now outdated, don’t follow, you need to re-factor a file to handle BP screens, there are two codex articles currently dealing with theme compat use those for guidance, further ones may follow but will be generic in nature in that it’s difficult to give specific advice on a per theme basis.
Also be aware that all template pack plugin really did was copy over files to your theme and enqueue the scripts and styles, essentially it did very little from a developers point of view that they couldn’t do manually, you still have the option of copying files from bp-default theme to your child theme and sorting out the styles and scripts required in your own functions file, the templates then would be re-factored broadly along the lines that mercime outlined in that post, however we are trying to steer everyone towards theme compat as the norm now for either creating themes of creating child themes from parents.
October 3, 2013 at 12:27 pm #172247santanin
ParticipantTo answer your P.S. question, no the theme is not BuddyPress ready. It’s a regular WordPress theme. I just really liked the way it looked for my website, and I was unable to find a BuddyPress enabled theme that fit the style I was looking for.
October 3, 2013 at 12:25 pm #172246santanin
ParticipantThank you for the quick response! My apologies, I thought I read a comment by a moderator from a previous post that said not to follow the instructions about 1.7.1, but I was mistaken.
When you say to follow the 1.7 steps, I assume you mean the information contained in this codex: https://codex.buddypress.org/theme-development/theme-compatibility-1-7/a-quick-look-at-1-7-theme-compatibility/
If not, can you list the codex that contains this information, or can you recommend any other BuddyPress Codex you feel would help if I read?
The user “mercime” helped another user get BuddyPress to work on the theme I purchased, but it was using the BP Template Pack, which I know I cannot obtain anymore with BuddyPress 1.8.1. Those instructions were in this post https://buddypress.org/support/topic/resolved-problem-with-adjusting-code-to-fit-theme-modernize/
Thank you again for your help!
October 3, 2013 at 12:11 pm #172245Hugo Ashmore
ParticipantNo the current theme compatibility documentation is up to date and doesn’t say don’t follow 1.7 steps. 1.7 introduced theme compat, 1.8 just extended the template hierarchy, you need to follow the steps outlined for creating child themes, creating a buddypress.php file based on page,php and then that buddypress file will need to updated to work correctly with your theme which sadly, as a lot of themeforest themes are is not compliant with the standard WP template system that BP works through.
So use those guides they should put you on the right lines and if this is client work then oughtn’t to be too hard to figure out.
P.S I note that you say told the theme that bp pages should have sidebars, so is this actually a BP ready /enabled theme ? If so and things aren’t working then you’re best of speaking to theme author or their support channels as they will no best how their theme is constructed and offer far better help.
October 3, 2013 at 1:56 am #172232In reply to: Making Buddypress Private.
bp-help
Participant@cogden-1
Try this plugin I made. This only makes BuddyPress and bbPress private.
https://wordpress.org/plugins/private-bp-pages/
Also make sure you read the FAQ first:
https://wordpress.org/plugins/private-bp-pages/faq/
Make sure you clear the previous code out of bp-custom.php that you posted above!October 2, 2013 at 5:52 pm #172216In reply to: [Resolved] Show posts written by user on profile
hughshields
ParticipantThanks @henrywright-1
I did look at Buddyblog but didn’t know that a list of posts on profile comes standard. I actually don’t want my users to blog from their profile. I just want to show a list of blog posts on my member profiles. In any case I will check it out.It seems a pity that the simple Posts in Profile plugin cannot be fixed. I posted on this subject 7 months ago and no one has been able to make it work. It also seems like a highly visible and critical piece to Buddypress WordPress integration. Anyone using WordPress and thinking of adding BP social networking features will want this.
Guess I will let it go!
October 2, 2013 at 4:50 pm #172212In reply to: Get Xprofile field of page author
jaudain
ParticipantThanks for the reply, You we’re right it was deprecated, however still no joy.
e.g.
<?php echo xprofile_get_field_data( 'TWITCH TV Username', get_the_author_meta('ID') ); ?>Also tried
<?php echo xprofile_get_field_data( 'TWITCH TV Username', the_author_meta('ID') ); ?>re: https://codex.wordpress.org/Template_Tags/the_author_metaAlso with no joy.
Any other thoughts
October 2, 2013 at 4:19 pm #172210In reply to: Get Xprofile field of page author
David Cavins
KeymasterLooks like the problem is that the WP function you’re using is deprecated. Try
get_the_author_meta('ID')https://codex.wordpress.org/Function_Reference/get_the_author_meta
October 2, 2013 at 2:34 pm #172203In reply to: What is the best theme to get?
mouflh
ParticipantI advice you to take a look at this collection of themes you may find something that you need
wp worldtheme
it was useful for me, maybe for you too 😉October 2, 2013 at 1:44 pm #172198In reply to: registration form with minimum age
bp-help
ParticipantOctober 2, 2013 at 12:21 pm #172192In reply to: Search page to search custom user fields
shanebp
ModeratorYou could use this or study it to write your own:
https://wordpress.org/plugins/bp-profile-search/October 2, 2013 at 11:43 am #172189In reply to: Enabling Components
YvonneTaylor
ParticipantI am using the Colorway Pro theme and the plugins are Buddypress V1.8.1, Buddypress Activity Plus V1.5. WordPress is the latest update.
The site is in testing mode at the moment, but can be seen at http://www.thedogsclub.com/testing/
This is the link to the page I have problems with
http://www.thedogsclub.com/testing/wp-admin/options-general.php?page=bp-componentsI am trying to achieve something that looks like this screenshot, but at the moment it is more like a dogs dinner! http://wpmu.org/top-3-ways-to-build-a-social-network-with-wordpress/
Many thanks
October 2, 2013 at 10:57 am #172185In reply to: Search page to search custom user fields
KS Web Designer
ParticipantSo I’m trying to figure this out on my own and I got as far as finding out that since BuddyPress 1.7 there’s a new class: BP_User_Query – which should be similar to the standard wordpress WP_User_Query
However the official BuddyPress documentation page for the class is just a holding page (argh!) – https://codex.buddypress.org/developer/class-reference/bp_user_query/
Does anyone have a basic ‘Hello World’ example they could give me for pulling in a list of users based on a custom profile field?
I’d really appreciate it.
ThanksOctober 2, 2013 at 9:33 am #172179In reply to: latest activity widget
totoff
Participantsorry but actually i finally found the correct plugin, here is the link for those who need it :
https://wordpress.org/plugins/buddypress-sitewide-activity-widget/installation/cheers,
October 2, 2013 at 3:07 am #172165In reply to: [Resolved] Community Gallery Plugin?
Ben Hansen
Participanthave you checked out rt/buddypress media?
https://wordpress.org/plugins/buddypress-media/
not really sure if it does what you want but just throwing it out there.
October 1, 2013 at 4:06 pm #172119In reply to: create group"/> at top of page
Permakultur-Netzwerk
ParticipantHere are the details:
Wordpress 3.6.1
Plugins:
Buddypress 1.8.1
bbpress 2.4
Private Community For BP Lite 4.0
BePro Listings 1.2.35October 1, 2013 at 2:22 pm #172108In reply to: Function to update databse fields
shanebp
ModeratorOctober 1, 2013 at 7:46 am #172086bp-help
Participant@kvschwartz
I have not tested all of the capabilities of this plugin. I would pose this question to the author of this plugin here:
https://wordpress.org/support/plugin/bp-direct-menus
AhhhChewww! Yuck I hate cats, I am highly allergic to those critters!October 1, 2013 at 6:36 am #172082bp-help
Participant@kvschwartz
This is a new plugin and it works good. No foot kissing needed!
https://wordpress.org/plugins/bp-direct-menus/September 30, 2013 at 11:49 pm #172069In reply to: Enable BuddyPress to WordPress profile syncing
Hugo Ashmore
Participantah hmm yes, so I was a little wrong 🙂 should have known this, just goes to show… did some work a while back mapping custom tables across to user tables then matching to bp profiles, probably missed these functions at the time.
September 30, 2013 at 11:35 pm #172068In reply to: Enable BuddyPress to WordPress profile syncing
Henry
MemberSpent the last 30 minutes doing some digging and found an old thread with a detailed explanation from Boone:
https://buddypress.org/support/topic/please-help-me-understand-a-wordpressbp-feature/#post-97470As far as I can tell, two functions perform the ‘syncing’ of data
xprofile_sync_wp_profile()Syncs Xprofile data (nickname, first name and last name) to the standard built in WordPress profile data
xprofile_sync_bp_profile()Syncs the standard built in WordPress profile data to XProfile
That’s about it. Nothing exciting really, just two nice little housekeeping functions
-
AuthorSearch Results