Search Results for 'wordpress'
-
AuthorSearch Results
-
June 18, 2015 at 10:53 pm #240863
shanebp
ModeratorYou’re talking about the value of
$thisin the filter call inclass BP_Legacy extends BP_Theme_Compat?
add_filter( 'bp_get_activity_action_pre_meta', array( $this, 'secondary_avatars' ), 10, 2 );Good question.
And I’d be interested in the answer.There must be a simple way to disable secondary avatars…
You might want to ask about this on Slack.Meanwhile, this works, not very efficient ‘tho.
Hook is inbp-activity\bp-activity-template.phpfunction remove_secondary_avatar( $item_id ){ $item_id = ''; return $item_id; } add_filter( 'bp_get_activity_secondary_avatar_item_id', 'remove_secondary_avatar' );And this works, but I don’t know why :<
function remove_activity_secondary_avatars( $action, $activity ) { if ( $activity->component = NULL ) { // don't do anything } return $action; } add_filter( 'bp_get_activity_action_pre_meta', 'remove_activity_secondary_avatars', 10, 2 );June 18, 2015 at 5:48 pm #240855In reply to: @mention autosuggest in visual editor
danbp
Participantall i could say is that is an old request, even if confidential.
See this ticket opened 4 years ago
and this bbpress ticket kicked to 2.7 as idea. And why not 6.0 ? 😉Supposing that if more people would ask, it will be resolved faster.
Aside, the gist given by imath need to be completed to work with BP 2.3.2.1 on text Tab (only) by adding
bp_is_grouptoif ( function_exists( 'bbpress' ) && is_bbpress() || bp_is_group() )And to enable visual editor, no need of a plugin. See here.
June 18, 2015 at 3:40 pm #240843In reply to: Primary Profile Field Error
mandilpradhan
ParticipantThe BP XProfile User Sync had returned this error when I tried to activate it:
string(85) “BP XProfile WordPress User Sync plugin: Could not set “can_delete” for xProfile field”
June 18, 2015 at 11:35 am #240828In reply to: SEO issues
Henry Wright
ModeratorThe W3C validator is saying you can’t have an empty form action attribute. So instead of:
<form action=""you will need to provide a value like this:
<form action="some-script.php"You could open a ticket on Trac or alternatively you could solve the problem by providing a value yourself. Check out the BuddyPress Template Hierarchy article for details on how to override templates.
June 16, 2015 at 3:29 pm #240779In reply to: bp_verify_nonce_request() not working
r-a-y
Keymaster@nithin270 @dineshravajani07 – Please help us debug
bp_verify_nonce_request():
https://buddypress.trac.wordpress.org/browser/tags/2.3.1/src/bp-core/bp-core-functions.php#L2005Judging by what you are doing, it appears that function is returning false.
Can you debug that function and find out whereabouts the function is failing for you?
Are your sites behind a reverse proxy?
June 16, 2015 at 1:16 pm #240768In reply to: [Resolved] Groups function is broken
pihla
ParticipantYes, this is exactly the case, it does not create the second group, because the id is 0 so the auto-increment is not working (and the first one created a row in the database, but does not show in the front end)
Yes, there is nothing wrong with the id 0 with the forum, I was just wondering why does it give duplicate entry warning with this:
WordPress database error: [Duplicate entry ‘0’ for key ‘PRIMARY’]
INSERT INTO wp_bp_groups ( creator_id, name, slug, description, status, enable_forum, date_created ) VALUES ( 22, ‘Vanhat talot’, ‘vanhat-talot’, ‘Vanhat talot’, ‘public’, 0, ‘2015-06-16 08:25:16′ )and the only 0 in this insert is the enable_forum which should not be primary, but well this might just refer to the group_id field that is not auto incremented.
I even updated the themes Buddy Press and bbPress files (Kleo-theme) and updated again Buddy Press, even though it was in version 2.3.1, did not help…
@shanebp where did you find the information about the non-BP reports where WP 4.2.2 $wpdb->insert_id returns 0? I could try to find the info from there.June 16, 2015 at 8:29 am #240760In reply to: [Resolved] Groups function is broken
pihla
ParticipantI emptied these three:
wp_groups
wp_groups_groupmeta
wp_groups_membersI managed to create one group (which does not show in the public side) but the next group I created gave this error:
WordPress database error: [Duplicate entry ‘0’ for key ‘PRIMARY’]
INSERT INTO wp_bp_groups ( creator_id, name, slug, description, status, enable_forum, date_created ) VALUES ( 22, ‘Vanhat talot’, ‘vanhat-talot’, ‘Vanhat talot’, ‘public’, 0, ‘2015-06-16 08:25:16’ )I can not understand, this seems to say that enable_forum would be primary key which it can not be…
June 14, 2015 at 11:08 pm #240715In reply to: Why is there no ajax on profile tabs?
CodeMonkeyBanana
ParticipantWith standard buddypress (no modifications) you can freely view anyone’s messages without even logging in. Personally I think that is not very good security/privacy, whatever you want to call it.
I made a ticket as I don’t think that “private messages” should be publicly viewable
(https://buddypress.trac.wordpress.org/ticket/6504#ticket)What privacy/security checks would you recommend for people who don’t want users private data publicly viewable?
June 14, 2015 at 11:06 pm #240714In reply to: Why is there no ajax on profile tabs?
Henry Wright
ModeratorAlso, to answer your question:
How would you do the security check?
These must be done server side. You’re right to think that anything done via the client can be tainted (manipulated by an end user).
The general process is:
- Make an AJAX call passing any client-side data to the server
- Process the data (secure it and perform necessary privacy checks) and then send a response
- Do something client-side with that response
For more info on AJAX and WordPress, check out the AJAX in Plugins article.
June 14, 2015 at 9:01 am #240696danbp
ParticipantThe following active BuddyPress Components do not have associated WordPress Pages: Activate, Register. Repair
Those pages are not created automatically. When you get this error message, you have to create the pages manually first.
Go back to bp settings > pages tab and allocate the new pages to the respective component. Save.
You have also to set pretty permalinks to something other thant “by default”. Save.
Now BP has his page assigned and should work.
About the missing button.
Clear your browser cache.
If you use a cache plugin, clear it.
Go to wp-config.php and activate debug mode at the end of the file.Deactivate all plugins except BP and activate one of WP’s theme (2015, 2014 or 2013…)
See if you get some error message and correct the errors (if exist).
If after tracking/repairing errors, the button is still not showing, deactivate buddypress, delete it and upload a fresh copy of BuddyPress to your site. Sometimes files can be corrupted and need to be replaced. No worry, this will not affect any data in your DB.
If still nothing, check that your host plan has the required php version to be used with WP and BP: at least 5.2.4
June 13, 2015 at 10:58 pm #240687In reply to: Buddypress Plugin all files inactive troubleshooting
ct25
ParticipantI’ll try to explain it differently:
I had a problem on my WordPress members page, it was not automatically refreshing when you change the sort terms (alphabetical, last activity). Also, when you manually refreshed the page it did not change the order. I added select and when statements to the member-template.php and it sorted correctly but it did not automatically refresh. When you change the sort it would bring up no member but the manual refresh brought the members back according to the sort mode selected. This issue also happened with the other themes.
I believed it was the Ajax issue that many users were having (there are many forums about this same issue) and none of the fixes worked. So then, one user suggested to deactivate the plug-in, delete it, and reinstall. That also did not work.
I did notice the Ajax bypass code is located in a core file however, none of the files are active at this point (the all say inactive in the editor).
After the plug-in was reinstalled it caused the function not to work at all.
June 13, 2015 at 2:52 pm #240668In reply to: BP Messages Star fx for themes based on bp-deafult
danbp
Participanthi @wpthemes,
thank you for sharing, even if bp-default theme is no more maintained. This old theme is only in for backward compatibility with older install.
More here:
The future of the bp-default themeJune 12, 2015 at 11:45 pm #240654danbp
Participantdo you plan to ask the same question each day ? It’s the fourth time now, and you received many answers in the past 3 days. Or you received erroneous answers or you didn’t understand them or couldn’t find a solution by yourself. That’s life and i’m sorry for you but it’s just a forum here, not a miracle shop.
You say My hosting plan server is iPage (which uses NGINX), running a 5.0 PHP version.
If 5.0 is really the php version, you can’t use WP or BP with this old version as both require at least 5.2 version.
For Nginx server, have you read WP’s codex ?
https://codex.wordpress.org/Nginx
Search for nginx install on wordpress.org brings also several answers…For paid consultants, post the job to http://jobs.wordpress.net/ or BP Jobs Board.
June 12, 2015 at 3:01 pm #240638In reply to: Image watermark
danbp
ParticipantHi,
searching for a while now for a plug-in that watermarks the image that a user uploads.Depends which image you’re speaking about. On a WP install, most images are loaded to Media Library. And for this you have at least a dozen of plugins to watermark pictures.
If you’re using a plugin with his own upload directory, you could try this plugin which let you select a specific folder.
By default, BP only handles with profile pictures, stored in /uploads/avatars/
June 12, 2015 at 9:17 am #240631In reply to: availability plugin buddypress
Henry Wright
ModeratorRendez Vous is the closest thing I know of. Feel free to search the Plugin Directory to see if anything else is available.
June 12, 2015 at 8:55 am #240628In reply to: availability plugin buddypress
Henry Wright
ModeratorHave you tried Rendez Vous?
June 12, 2015 at 8:52 am #240625In reply to: SEO for Member Pages
Henry Wright
ModeratorHave you tried WordPress SEO by Yoast?
June 12, 2015 at 8:51 am #240624In reply to: Limit Group per user
Henry Wright
ModeratorJune 11, 2015 at 6:23 pm #240606In reply to: Automatically delete group after certain date
Henry Wright
ModeratorThis sounds like a job for WordPress Cron. Note that WordPress Cron works slightly different to the UNIX version in that it runs only if there is a site visit. So if your website has low traffic then use a service such as Pingdom to ensure your site is hit regularly.
June 11, 2015 at 2:33 am #240579In reply to: unable activity
kiwonuhm
Participanthi,
herre’s my answer1. Which version of WordPress are you running? 4.2.2
2. Did you install WordPress as a directory or subdomain install? worpress directory
3. If a directory install, is it in root or in a subdirectory? in root
4. Did you upgrade from a previous version of WordPress? If so, from which version? no, installed new
5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting. – yes
6. Which version of BP are you running? – new one
7. Did you upgraded from a previous version of BP? If so, from which version? no, installed new on
8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?
I have some plugins, woocommerce, visual composer, forms, around 10
9. Are you using the standard WordPress theme or customized theme? – purchased theme, multi news
10. Have you modified the core files in any way?no
11. Do you have any custom functions in bp-custom.php?no
12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in? bbpress 2.5.7, I installed individually
13. Please provide a list of any errors in your server’s log files. – checking now
14. Which company provides your hosting? – in South Korea, http://www.cafe24.comat the first place, the activation was worked. but this issue has started since when I tried to click translate button. I did many things that change theme, all plugin delete and activate, but buddypress is not working.
if there are something I missed, please let me know what I have to try
Thanks!June 10, 2015 at 7:35 pm #240565In reply to: How to access other members messages ?
StefanBu
ParticipantHi shanebp,
thanks, that helps. Its a pity, that bp_message_thread_has_unread() only checks for the loggedin user.
Do you think it would be possible to copy and modify this function in a custom.php ?
@danbp and Henry Wright:
For our project, we want to forward unread messages via JSON API to an external system, which has a central processing and provides these messages to external displays of users – outside WordPress. Therefore, we need a central access to all unread messages of all users.June 10, 2015 at 4:32 pm #240551In reply to: Beginner’s Problem
@mercime
Participant@sebastianpierre BuddyPress is compatible with nearly all WordPress themes out of the box. I am assuming that you’re on the latest WordPress and BuddyPress verions. Change theme to either Twenty Fifteen or Twenty Fourteen, check if all the BP pages are showing up as expected. If it is, then double-check that you have the_title and the_content template tags in your custom theme’s page.php file.
bp-template-pack files in my root folder
Just to be clear, if you’re referring to this plugin https://github.com/boonebgorges/bp-template-pack then I suggest that you deactivate it and remove the folder/files you moved to your theme folder. If you’re referring to the bp-legacy files then I suggest that you resolve the issue of BP pages showing up in your theme first before doing any kind of customization.
June 10, 2015 at 4:30 pm #240550In reply to: Problemas with the traduction
danbp
ParticipantWhich theme do you use ?
Can you test youre install with Twenty Fifteen theme and see if anything is translated ?
Are the terms not translated on front-end, or also in back-end ?FYI, the spanish translation for BP is only completed to 96%, but activity is translated. To ensure you have the most recent copy, download the spanish .mo file from here and install it in wp-content/languages/plugins/buddypress-es_ES.mo
June 10, 2015 at 3:57 pm #240545In reply to: After Registertion
@mercime
ParticipantSomething may be getting lost in translation, but if you mean you want the user who has just logged in to be redirected to his/her profile, then check out https://wordpress.org/plugins/bp-redirect-to-profile/
June 10, 2015 at 7:01 am #240525Henry Wright
ModeratorYou could use
current_user_can()to check the member’s capabilities. For example:if ( current_user_can( 'edit_pages' ) ) { // Output button } -
AuthorSearch Results