Forum Replies Created
-
you said in your first postc: So I started using BP Group Documents. Its not working with BP 1.7.
So, if you use BuddyDrive now, why would you use that plugin ?!!!
you modify the code you received above (which work as is), not the original filter.
This code goes into theme’s functions.php
hi @operapreneur,
try this, to put into /plugins/bp-custom.php
function bpfr_enable_video_on_profile( $val, $type, $key ) { $field = new BP_XProfile_Field( $key ); $field_name = $field->name; if( strtolower( $field_name ) == 'video' ) { // video is the field name on the profile (case sensitive) $val = strip_tags( $val ); return wp_oembed_get( $val, array('width'=>400) ); // video size; this fit correctly if you use bp-default } return $val;hi @sarathbabu_k,
there is a brand new plugin out. BuddyDrive is a user oriented file manager. Works on every BP install. Each user manage his docs from his profile.
Give a doc description, upload it with drap’n’drop, copy the doc link and insert it where you need.
Allowed files types and storage space are defined by the site admin. User can link to single files or folders to his need.
use preferably bbpress 2.3beta1, it works really better with 1.7 and maybe the plugin would not interfer with that version.
have you tried to change your site title with the html trick ?
you can deactivate automated links if you don’t want to use it.
https://buddypress.org/support/topic/how-to-remove-auto-generated-links-in-user-profile/1) of course, you paste the code after a php closing tag. You also pasted the very first line of the code which is only my comment.
Remove the closing tag and comment the line with two // or remove it, and things will go better.
Aside, theme’s functions.php use only a php opening tag, never a closing tag ( ?> )
2) can be easily done. See on Codex, profile fields and how to create new profile fields. It’s made on dashboard > users >profile settings
Sending menu is exactly the same thing as sending a picture for the above code. The only difference is the one send’s text, and the other one could send a picture.
But you “don”t want to create a menu“. Ghost !
So if you already played around with code, you probably noticed that the toolbar contains a register button, and that button use some css id and class.
So play with CSS and add your picture to the right of the register button. I wouldn’t offense you by tellling how to add a picture into a list.
Let me resume.
Notification email contain malformed strings.
The affected part is the subject Right ?
FROM: bla@blabla.bla – your explanation about this field is not clear, because “FROM” contain a mail address by default, so i don’t understand what’s wrong for you.SUBJECT: bla bla Courtesy, something & thing. Where & (coming through the site name shortcode used in the email form is not correctly outputed. Right ?
I would try to go into the site settings where the site name is defined and change the original A&T by the ampersanded html: A & amp ; T (without space)
As BP 1.7 stable is now on hand, install it first. Maybe this will solve the problem. If not, you’re welcome back !
Or better if this persist, open a ticket on Trac.
the menu title should use at least a span id + $count
take inspiration within ie. bp-members/bp-mebers-adminbar.php
and see the function bp_members_admin_bar_notifications_menu
You willl find hundreds of answers to this question, because what you want to customize is the wordpress 3.3+ Toolbar.
i.e here: http://wp.smashingmagazine.com/2012/03/01/inside-the-wordpress-toolbar/try this
if (bp_is_my_profile( $userid )):
bp_core_new_nav_item(array(bla bla code
) );
endif;On a regular BP install, you have Name (aka pseudonym), used to show the username publicly . The first & last name are WP fields you can see only on the dashboard when you edit a user. At this place, WP gives you some choices between different names to use. Depending on your own BP settings – allow WP & BP members synchronization, this choice maybe work or not (never used this personnaly – i always allowed synchro)
That said, you have no control over what user type into a name field. Nore on WP/BP register fields, nore on FB or any other forms. Using external service such as FB maybe simple for the end user, rarely for site admins, as you experimented already.
You could also use Gravatar, it would be the same principe: one place to fill in a form and use it all over the web for any further subscription.
If you want more control over such things, you have not much choice except to be independant from external devices. And even in this case, some user will enter two names or more into the Name field.
I don’t know if searching by (last)names instead of username is possible. Users must know the real name to search for it. And so far i know, real names are generally not used/showed on public sites, for many reasons. FB is a kind of exception, but who gives you the guarantee that each FB user use his “real name” ?
Why do you absolutly want your user to use FB autoconnect to enter on your site ?
Have your regular user the same possibility when they want to enter FB ? No !don’t procrastinate before testing please ! The function use
`bp_get_displayed_user_fullname`
So even if you change John to Jim, it stays always to displayed_user_fullnameThe mandatory “Name” field on profile contains the displayed user name and can be changed from the user profile admin. (ak displayed_user_FULLNAME !) which is not first name and last name asked by WP on the registering form… 😉
you asked for any clean solution for my members to register without using a username.
Registering is a WP process who need a username and a email. Those 2 information are provided by the user at his first visit when he decide to subscribe to your site, OK ?
Now you wonder how FB or Google can connect without username ? They use it ! But don’t show it to you, but fill in the username at your place during the login process, which is not the registering process, WP search the stored username and find the accordance between this name and the email provided by FB or Gg.
On the same maner, if you create with help of a plugin a WP account with your FB account, FB provide a username and a email. The username and the email you give on registering to FB. Again, this is made silently in the background.
These subscription tricks have only one target: simplifying user’s life. Don’t imagine because you don’t see the whole process, that some information are not needed. In our case, you don’t see the username, but it is still there.
the reason holds on one line. Read here:
https://codex.buddypress.org/bp_get_the_profile_field_value/to avoid some JS conflicts, check all theme js files version # which must all be working together with jquery 1.8.3
If the theme use global.js, deactivate it (rename it while testing), BP has his own global.js, so no need to use both.Try also by deactivating /bp-default/_inc/css/responsive.css file (rename it while testing) to see if things go better.
put a copy of /bp-default/groups/single/forums/edit.php file into your child theme
(/your-child-theme/groups/single/forums/edit.php)
and remove line 53 & 54 (respectively label and input HTML) from this copy.
what to you want exactly ? Remove one tag from a post or remove the possibility to add tags ?
1) Proprer way to deactivate the WP Logo and his submenus by using this function. Ccopy/paste it into your theme’s functions.php file.
http://bp-fr.net/BuddyBin/?5c0ab54e4b6d1371#1n+fOeeD+aTRKpQKUFfVDonnQ42jKYTh6JMMcTfpOXc=
can you give more information, please ?
site URL, BP version, theme name or child theme, plugins installed, and tell what you did just before it happens
such a plugin already exist for buddypress. Give a try:
https://wordpress.org/support/plugin/bp-moderationThe’re also some fix on the support forum
asking on old topics is not best practice here. Open you own thread, please.
Anyway, this plugin is one year old and may not work with WP 3.5.1
Also because your question is related to a third party plugin, you have to ask the plugin author.
There are some answers on the plugin support: https://github.com/fredwu/jquery-endless-scroll/issues/33
@mercime,@hnla [moderation please]