Search Results for 'wordpress'
-
AuthorSearch Results
-
July 30, 2014 at 2:37 pm #185757
In reply to: Disable BP registration and enable WP registration
danbp
Participantyou removed and added the same action, so nothing would changes: it’s just normal !
The difference beetween BP and WP registration is the BP xprofile additionnal fields for your members.
This means that BP modifies the aspect, not the registration process.And here is an answer to your question:
https://buddypress.org/support/topic/wordpress-login-and-registration-page/#post-171826July 30, 2014 at 8:17 am #185749danbp
Participantstandard display of birthdate has become a DD-MM-YY.
This is because you set it like this in wordpress !Add this snippet to your child theme functions.php or into bp-custom.php
(tested with 2.0.1 and Twenty Thirteen)// modify the date (format) output on xprofile function nanopass_date_format_on_profile ($time) { global $bp; if ( bp_is_active( 'xprofile' ) || bp_is_profile_component() || bp_is_member() ) { $time = current_time ('Y-m-d'); // date format - See https://codex.wordpress.org/Formatting_Date_and_Time } return $time; } add_action ( 'bp_format_time', 'nanopass_date_format_on_profile', 1 );Give feedback if it works for you.
July 29, 2014 at 9:56 pm #185732danbp
Participant$this->set_format( ‘/^\d{4}-\d{1,2}-\d{1,2} 00:00:00$/’, ‘replace’ ); // “Y-m-d 00:00:00”
or for a general usage
The date format is setable in wordpress admin for the whole site, including BP.
Dashboard > General (/wp-admin/options-general.php)But you prefer perhaps to explain more precisely what YOU want to achieve instead of answering my stupid questions ? 😉
So, again:
Which date do you mean on profile ? There is no date on a profile ! Only a field type called date(box) in the xprofile admin, which let’s you add a birthdate or something like this on profiles.July 29, 2014 at 9:40 pm #185728In reply to: [Resolved] Enabling Forum
@mercime
Participant@cregy you need to install bbPress forums plugin then follow instructions https://codex.buddypress.org/getting-started/installing-group-and-sitewide-forums/
July 29, 2014 at 5:17 pm #185715In reply to: count & no-count !?!
danbp
ParticipantHi @noyzen,
if you only updated BuddyPress, it’s possible that the translation file contains an error.
Check your .po file for any strings looking like this one
https://buddypress.trac.wordpress.org/browser/tags/2.0.1/bp-languages/buddypress.pot#L3464
Example:
Groups <span class=\"%s\">%s</span>orMembers <span class=\"%s\">%s</span>
If correctly translated, perhaps is something wrong in your theme or child theme or even a plugin.
in this case, you should check the file indicated above the string to translate.
%s is very important to stay in the translation and in the original file to get the countJuly 29, 2014 at 3:04 pm #185712In reply to: Change "CHECK YOUR EMAIL" text after register!?
aces
ParticipantYou have successfully created your account! To begin using this site you will need to activate your account via the email we have just sent to your address.
is in the current pot file ( see https://buddypress.trac.wordpress.org/browser/tags/2.0.1/bp-languages/buddypress.pot#L6122 ) …..July 29, 2014 at 7:36 am #185692In reply to: Member directory adding in custom PHP
@mercime
ParticipantJuly 29, 2014 at 7:34 am #185691In reply to: Need help with activity stream
@mercime
Participant@alex80ks feel free to post at pastebin.com and then post the generated URL here. Or create a ticket in BP’s https://buddypress.trac.wordpress.org/newticket using the same login info as you used here
July 28, 2014 at 9:35 pm #185682danbp
ParticipantIf you’re talking about the extended xprofile datebox field, the builder class
BP_XProfile_Field_Type_Dateboxof the xprofile datebox field is in bp-xprofiles-class.php:1459(bp 2.0.1)You can overwite this class with your own for reflecting your needs. The technique (add your own class to…) to use is explained on the Codex
If you’re meaning another date, you have to be more precise !
You’ll find also a global date setting in your wordpress admin.
July 28, 2014 at 5:16 pm #185677danbp
ParticipantLoad more use the Heartbeat API who refresh the activities each 5 minutes.
In BP 2.0.1, if you search for heartbeat, the result is:Search “heartbeat” (57 hits in 6 files)
bp-activity/bp-activity-filters.php (25 hits)
bp-activity/bp-activity-functions.php (5 hits)
bp-core/admin/bp-core-settings.php (6 hits)
bp-core/bp-core-admin.php (4 hits)
bp-core/bp-core-options.php (9 hits)
bp-templates/bp-legacy/js/buddypress.js (8 hits)Read the code if you understand it and see what you can do.
If not or if you estimate that it is a bug or needs an enhancement, open a ticket.July 28, 2014 at 4:54 pm #185675In reply to: adding photos to forum posts
danbp
ParticipantIt’s a bbpress question ! 😉
And it’s a bad idea, because users will have acces to your media library on the backend. So i warn you to use this option very carefully and allow only trusted users.You can use this plugin: https://wordpress.org/plugins/gd-bbpress-attachments/
or code yourself by following this example.July 28, 2014 at 5:59 am #185654In reply to: Buddypress not compatible with theme
shibbymintay
ParticipantI did step through the javascript execution and it seems like the nav bar is hidden once line 1504 in buddypress.js in /wordpress/blog/wp-content/plugins/buddypress/bp-templates/bp-legacy/js executes. It looks like this:
jq(‘body’).attr(‘class’, jq(‘body’).attr(‘class’).replace( /no-js/,’js’ ) );
I’m honestly not sure what this line of code is doing and I cannot edit this file as I get a ‘permission denied’ otherwise I would just try commenting it out.
July 28, 2014 at 5:12 am #185653In reply to: Buddypress User Login Fail :(
heilyn
ParticipantCheck your registration in WordPress general setting. Your “anyone can register” button should be checked.
July 26, 2014 at 7:54 pm #185618In reply to: Padding Issue after Admin Bar Removal
danbp
Participantscrolling down the member page provides a funny elastic effect ! 😉 Really cool, but not what you want of course.
I disabled js on the browser and the effect disapeared immediatly.
So i think there is a js conflict, probably with some of your theme’s script.
check for the elements
`<div class=”col span_3>
<a>
<img alt=”Foxtrot Tango” /> `You mention salient to be your theme but the source code indicates castle ? Did you rename it for a child theme usage ?
Some script don’t support this…You use also a plugin to remove the admin bar.
<!--Plugin Global Hide Admin Tool Bar 1.6.1 Build 2014-04-16 Active ---> <!-- This website is patched against a big problem not solved from WordPress 3.3+ to date -->Huh ?
Don’t know if the second comment belongs to that plugin, but if yes, WP is currently in 4.0 phase, so a 3.3 “problem” maybe solved.
Google to find a simplier solution to remove the toolbar. There is also a easy and light solution in on the WP codex.add_filter('show_admin_bar', '__return_false');in theme’s function or bp-custom.php would do the job on front-end !Don’t use a hammer to kill a fly ! 😉
July 26, 2014 at 7:50 pm #185617In reply to: Buddypress broken since 2.0
dede924
ParticipantOk, I installed wordpress on a free service, so you can see the problem for yourself. When someone leaves a comment, it is not displayed in the stream activities, and activities of custom posts types are not displayed even embedded in the file bp-custom.php in the plugins folder code. As nobody seems to have this problem, it may be me doing something wrong. I can give you administrator credentials in private message if you want.
WEBSITE: http://exovideo.olympe.in/
July 26, 2014 at 4:47 pm #185612In reply to: BuddyPress not working
@mercime
Participant@webt89 Unfortunately, there are themes with proprietary templating systems that hijacks the loop which allows BP to be compatible with WP themes. There could still be a way around it.
1. https://codex.buddypress.org/themes/theme-compatibility-1-7/
2. Examples of creating a
buddypress.phpfile to customize BP pages -> https://codex.buddypress.org/themes/bp-theme-compatibility-and-the-wordpress-default-themes/In your case though, you cannot copy over the page.php source code to your buddypress.php. What you would need to do is get the plain HTML structure of that section and replace some code with the WordPress Loop which includes the_title and the_content.
You could try asking the premium theme author for that simple
buddypress.phpfile which you need to upload to your theme folder in server or hire a developer to do so.July 26, 2014 at 4:27 pm #185609In reply to: buddypress.js not loading
GhostPool
ParticipantNothing as far as I know, the installations are identical.
There’s nothing in mu-plugins that relates to BuddyPress and bp-custom.php is not present.
This is a new install on a live server with a standard version of WordPress (3.9.1), not WordPress multisite.
July 26, 2014 at 2:18 pm #185600In reply to: No Registration and Activation Page
Henry Wright
ModeratorHi again @pietro_sferrino,
1 – HOW TO ADD A FRONT-END LOGIN FORM. I do NOT want people see the wp-default form for login. I want to show it in a front-end page. Actually, is not a matter of what I want … that is ho it HAS to workTheme My Login is the plugin to handle that for you. Give it a try here: https://wordpress.org/plugins/theme-my-login/
Point 2 is a little more complicated, yes it can certainly be done but it will require you to create a template. For information on the BuddyPress template hierarchy, see here: https://codex.buddypress.org/themes/theme-compatibility-1-7/template-hierarchy/
July 26, 2014 at 8:56 am #185593In reply to: New Users in Back-end
July 25, 2014 at 10:55 pm #185579In reply to: No Registration and Activation Page
Henry Wright
ModeratorBuddyPress should automatically create registration and activation pages for you. You can check by going to your website. For example
example.com/registrationorexample.com/activate.To create a WordPress navigation menu and add the activation and registration pages to it, see the WordPress Menu User Guide.
July 25, 2014 at 7:14 pm #185576@mercime
ParticipantYou can either copy over https://buddypress.trac.wordpress.org/browser/tags/2.0.1/bp-templates/bp-legacy/buddypress/groups/create.php by adding buddypress/groups/ folders and add changes yo want to make after line #185 OR add info by hooking into
do_action( 'bp_before_group_invites_creation_step' );for the Group Invite section in your theme’s functions.php fileJuly 25, 2014 at 6:44 pm #185574In reply to: Registration Page Issue
@mercime
Participantchange the edit the boxed included by default
@osamanuman just copy over https://buddypress.trac.wordpress.org/browser/tags/2.0.1/bp-templates/bp-legacy/buddypress/members/register.php into wp-content/themes/your-theme-name/buddypress/members/ folder (create folders if you don’t have them yet) then edit that register.php and save.if I want to add mission and about us in the same registration page, how can it be done
Any field you create in the “Base” profile field group will show up in registration form. https://codex.buddypress.org/buddypress-components-and-features/extended-profiles/
July 25, 2014 at 5:50 pm #185570In reply to: [Resolved] disable nickname/pseudonym
@mercime
Participantwhen admin create a users he is forced to enter a pseudonym
@victord34 you mean a “username”. That is a WordPress requirement for registration, not BuddyPress. But since BP is a plugin for WP, we use those usernames in different instances.July 25, 2014 at 5:29 pm #185569In reply to: Create custom notifications
nicmare
Participantdid you read this example in the documentation? https://bbpress.trac.wordpress.org/browser/tags/2.5.3/includes/extend/buddypress/notifications.php
there is a function for that: bp_notifications_add_notification( $args )
July 25, 2014 at 1:00 am #185540In reply to: [Resolved] disable nickname/pseudonym
@mercime
Participant@victord34 start off with https://wordpress.org/plugins/buddypress-real-names/
-
AuthorSearch Results