Search Results for 'buddypress'
-
AuthorSearch Results
-
August 1, 2015 at 1:37 pm #242674
In reply to: I want to add Spanish!
danbp
ParticipantThe main site language should be set to spanish first.
See in WP dashboard > Stettings > GeneralNormally, this settings allows automatic translation file upload of BuddyPress and bbPress (if installed).
If not, you can add manually the language files in the wp-content/languages/plugins/ folder to get:wp-content/languages/plugins/buddypress-es_ES.mo
wp-content/languages/plugins/buddypress-es_ES.poEach version of BP comes also with its own translatable strings file, which is at the BP plugin root.
wp-content/plugins/buddypress/buddypress.potAugust 1, 2015 at 11:01 am #242669In reply to: Centralised Gallery for artist community
djsteveb
Participant@jordanboon0 – certainly there is more than one way to accomplish what you are proposing here.
My first thought upon reading this is is that you can create a “multi-user blog” with wordpress. Each new artist becomes a “contributor” or even “editor” upon sign up, and they can post a new gallery easily, then your admin(s) can choose what new galleries get published.
You go do all that with a single blog / wordpress install – and do it without buddypress, just make a cool custom author page for whichever theme you want to use.
There are many plugins and settings for things like front end uploads, post author profiles, wordpress gallery fancy stuff and all that.
You could also put buddypress into this mix and give your artists some extra social network stuff like private messages, groups and all that – however if you go with buddypress and and that layer to handle everything (without getting your users to submit posts / pages via standard wordpress) – then you have to get into a media plugin like rtmedia, mediapress, or – another one posted about a month ago.. anyhow – those media plugins are kind of their own “silos” – customizing how they work is not a few wp repo plugins away – and support for what you may want to do with them may be disappointing.
Of course you could take WP, add in BP if you really want the social layer, and still use the main site blog as kind of a “multi-user (or “group” blog) and do it that way.. you could get more complex and turn it into a multi-site install where each user get’s their own unique blog with gallery plugins – but moderation of posts and such with that setup may become more of a challenge – along with the extra headaches with running a multi blog network.
Anyhow – given the details you provided with your stated goals, I would forget about buddypress and multi-site – just install wordpress and do some searches in the wp-repo and themes section for “author pages”, “group blog” “post moderation” “front end uploads” and the various “Gallery” plugins – I think you can accomplish what you are going for pretty easily with lots of customization options.. without all the drawbacks and limitations of BP.
August 1, 2015 at 10:06 am #242668In reply to: thank you for registration page
Henry Wright
ModeratorTo customise the text, you can localise. See the Customizing Labels, Messages, and URLs article.
To add more to the confirmation page, you can use the
bp_before_registration_confirmedandbp_after_registration_confirmedhooks.To override the whole register.php template, see the Template Hierarchy article.
July 31, 2015 at 10:46 pm #242660In reply to: How to Get a User’s Comments In The Activity Stream?
Henry Wright
ModeratorGo to Settings > BuddyPress and then under the Components tab make sure Site Tracking is checked.
July 31, 2015 at 10:38 pm #242658In reply to: Problem with blog post image alignment
Henry Wright
ModeratorThose are not featured post images, but images that are embedded at the very beginning of posts.
I can see that the problem doesn’t exist when you navigate to the post. The image is nicely floated left and comes before the text in the source. BuddyPress seems to be changing the order of the image and text when it comes to the activity stream display. I’m not so sure that’s a good thing.
You could open a Trac ticket for this requesting that the order of text and images remain the same as they were input in the post form?
July 31, 2015 at 4:48 pm #242647In reply to: Add New User Activity on Button Click
SJS719
ParticipantI think you are telling me to add add a function such as this:
function bp_custom_record_activity() { $activity_id = bp_activity_add( array( 'id' => '', 'action' => '', 'content' => '', 'component' => '', 'type' => '', 'primary_link' => '', 'user_id' => '', 'item_id' => '', 'secondary_item_id' => '', 'recorded_time' => '', 'hide_sitewide' => '', ) ); return $activity_id; }And then call that function onChange but I am not sure which params I need to include and what the value of those parameters needs to be. I read the bp_activity_add codex but I’m still a little confused.
If I have the following checkbox, what values should I use for params such as item_id, action, ID, etc:
<div id="bd-button"> <form name="bdchkbox"> <label> <input type="checkbox" hidden="hidden" name="bdchk" id="bdchk" onChange="set_check(this);submit()"><span id="bdlbl">Featured</span> </label> </form> </div>July 31, 2015 at 3:07 pm #242643In reply to: Problem with blog post image alignment
djsteveb
Participant@pete-hudson
Did this start after the BP 2.3 release on June 3(ish) ? – I saw a note saying this release included“Improved Handling of Blog Media in Activity Stream.
BuddyPress now generates better excerpts in the activity streams for blog posts containing images or other embedded media content.”
However I am not sure if there is any documentation / additional info about this – just a blurb on the release notes on the bp dot org / blog is all I have found so far.
July 31, 2015 at 2:05 pm #242637AM77
ParticipantI Apologize for not being clear.
If I asked someone for the conditional for the homepage on a wordpress site, they’ll say
home_urlIf on a multisite and I wanted a conditional for both the multisite homepage and a user homepage, the’ll say
network_home_urlfor the multisite homepage andhome_urlfor a users homepage.What is the homepage for a users homepage on buddypress? When I say users homepage, I’m talking about the page that displays as soon as you click on a member in the members directory, so for member chris the homepage is on mysite.com/members/chris
What is the conditional for when the page is on a users homepage like mysite.com/members/chris
I’m saying I don’t think there is a conditional for it,
bp_is_userdisplays on all users pages but I just want it for the users homepage.July 31, 2015 at 12:26 pm #242626Henry Wright
ModeratorIf not, then take a look here. That’s everything that’s currently available that relates to user pages.
July 31, 2015 at 10:10 am #242618In reply to: Modifying template files in child theme
peter-hamilton
Participantdanbp, always helpful.
I would suggest to copy the entire template folder to your child, this allows easy access in the future.
Make sure to make notes, every update of buddypress can/will require a new template folder to be created due to new template tags.
July 31, 2015 at 10:06 am #242616In reply to: Add Icon behind User name in Activity Feed
peter-hamilton
ParticipantYou will have to make a buddypress template folder in your theme/child.
“entry.php” is the file you can add an icon, right after the following code which is the username/link.
<a href="<?php bp_activity_user_link(); ?>">July 30, 2015 at 11:46 pm #242601In reply to: Identifying profile fields by field ID
djsteveb
ParticipantI am interested in finding out what you come up with in regards to this.
I tried to use something like:
‘field’ => 2,
);(some info from https://codex.buddypress.org/themes/guides/displaying-extended-profile-fields-on-member-profiles/ )
to replace the actual names I was using in a page title template thing, and never got it to work – but I have no idea what I am doing – trying to franken-hack a bit of code provided by one person and replace the field names with field numbers so the code would work with a different site I was playing with – when I tried replacing the name with this field number thing it did not work – but again I don’t understand php nor bp stuff well enough to know if I just missed a character, or something else was needed, or the function isn’t working as it should.July 30, 2015 at 10:09 pm #242599In reply to: Add New User Activity on Button Click
shanebp
ModeratorOn button click, use a page refresh or ajax to fire a function that calls bp_activity_add.
July 30, 2015 at 3:51 pm #242587danbp
ParticipantTo do that you need the xprofile field ID and the user ID.
Here an example to show a profile fied containing a fax number. The filed is called Fax (case sensitive).
Add this function to your child theme’s functions.php or better, into bp-custom.php
function my_directory() { if ( bp_is_active( 'xprofile' ) ) if ( $memberfax = xprofile_get_field_data( 'Fax', bp_get_member_user_id() ) ) : echo '<br/><div class="Fax">'; echo $memberfax; echo '</div>'; endif; } add_filter ( 'bp_directory_members_item', 'my_directory' );July 30, 2015 at 3:24 pm #242582In reply to: Add Icon behind User name in Activity Feed
danbp
ParticipantHi @alexsmoli,
you copy the original template file from:
buddypress/bp-templates/bp-legacy/buddypress/activity/entry.phpto the child theme to get this:
your-child/buddypress/activity/entry.phpReference
July 30, 2015 at 3:19 pm #242581In reply to: Modifying template files in child theme
danbp
ParticipantYou copy the original file from:
buddypress/bp-templates/bp-legacy/buddypress/members/members-loop.phpto the child to get this
your-child/buddypress/members/mmebers-loop.phpReference
July 30, 2015 at 3:16 pm #242579In reply to: What file handles registration
danbp
ParticipantIn the plugin !
wp-content/plugins/buddypress/bp-members/bp-members-functions.phpJuly 30, 2015 at 3:10 pm #242576In reply to: What file handles registration
David Ar
ParticipantThanks, but I can’t find the path “BuddyPress/src/bp-members/bp-members-functions.php”
Where is it located?July 30, 2015 at 2:37 pm #242573In reply to: Custom Profile Fields: Categories Checkbox
Jonny MacEachern
Participant@joepesci, I’m not longer working on the project that required this solution. From what I recall I didn’t end up using BuddyPress.
July 30, 2015 at 11:51 am #242568In reply to: SEO title for activity posts
bergblume
Participantthank you very much for your detailed input and your ideas regarding this “problem” within buddypress!!! I really appreciate it!
July 30, 2015 at 10:39 am #242567In reply to: Remove “Members” and “Viewing” from Members Page.
Henry Wright
ModeratorThe Viewing X of X members text can be found inside
bp_get_members_pagination_count()The best way to customise it is to localise (use a language file). See the Customizing Labels, Messages, and URLs article for more info.
July 30, 2015 at 8:01 am #242561In reply to: New user login info and forum display
danbp
ParticipantCustom code goes to bp-custom.php or child-theme’s functions.php
Code on second answer shows an usage example, it’s not the code you have to use.As you asked for register details, i thinked you want a resume of the registration with all mandatory xprofile fields information…
BP on a single install doesn’t sent a welcome email. This happens only on a MS install. But you add that manually. Read here:
July 30, 2015 at 3:28 am #242559In reply to: Removing Links from BP Profile Fields
djsteveb
ParticipantThis might be what you are looking for: https://codex.buddypress.org/themes/bp-custom-php/#examples
for detailed info, scroll up the page.
July 30, 2015 at 12:32 am #242556In reply to: New user login info and forum display
danbp
Participant1) depends which type of forum you use (standalone or group forum)
https://wordpress.org/plugins/bp-registration-options/
https://wordpress.org/plugins/bbpressmoderation/2) see here how to do that
https://buddypress.org/support/topic/add-dynamic-menu-link/#post-2424873) i’m not aware of such feature for BP
July 29, 2015 at 9:31 pm #242550In reply to: What file handles registration
Henry Wright
ModeratorIs the BP part making sure that username is unique?
Yes. That happens here
-
AuthorSearch Results