Search Results for 'wordpress'
-
AuthorSearch Results
-
June 26, 2017 at 9:25 pm #266694
In reply to: Change username to description
Henry Wright
ModeratorIn WordPress there’s
user_login,user_nicenameanddisplay_name.In general,
display_nameis used on the front end to display the user’s name. This might be the same asuser_loginbut more often it’s the user’s first name and last name.user_loginis the string used to authenticate the user when logging in.user_nicenameis usually the same asuser_loginbut it is a sanitised version used in URLs so it may be different ifuser_logincontains special characters.Using your description field in place of
user_nicenameshould be possible but it’s likely you’ll need to use custom code. I’m not aware of a plugin that will get this done for you.Hope this helps.
June 26, 2017 at 2:44 pm #266690In reply to: Change username to description
Henry Wright
ModeratorYou’ll want to sanitise your descriptions before using them in the URL.
sanitize_title_with_dashes()will be helpful. You’ll also need to make sure they’re unique (user’s can’t have the same URL).https://codex.wordpress.org/Function_Reference/sanitize_title_with_dashes
June 22, 2017 at 9:25 pm #266633In reply to: Will BuddyPress work for me?
Henry Wright
Moderator@fifthhouse when I suggested data be added against the event’s meta I didn’t mean the host or facilitator do it manually. WordPress and BuddyPress have a pretty extensive action system which you can hook to. The code will run automatically when the action happens.
Here’s the Plugin API documentation in case you need it:
June 22, 2017 at 3:08 am #266619In reply to: Show & Tell: VeloHive.com
lawlyet
ParticipantHey, you managed to put up a very beautiful website! Congratulations!
Have you tried Siteground? They do have PHP7. I’m running their shared hosting plan, and after some issues with their terms about number of processes, executions and time, I faced the beast and started to get my hands dirty, removing all plugins, templates, messing with the configuration, putting a default wp template (twenty seventeen), creating my own child theme and messing with functions.php first and then modifying css and php files myself. I have never been a wordpress developer… Not even a php programmer… Just started messing with it on my own, for necessity (and, after a little time, for fun)… Now, I have a website with almost zero plugins (only the essentials), running on php7, http2 and moving in the speed of light, with the lowest server consumption ever…
My advice: dont be afraid of getting your hands dirty.. the code is there, also the documentations, sites, forums, blogs and all kinds of resources š
June 21, 2017 at 2:56 pm #266607In reply to: Will BuddyPress work for me?
Henry Wright
ModeratorCan Buddypress accomplish this? If so, would it be a complicated and labour intensive process to implement?
WordPress and BuddyPress should be able to handle this. The 2 levels of members you speak of could be either BuddyPress member types, or WordPress roles.
However, there is one tricky part. People need to be able to search for each event type, and also whether the event is hosted by either a āFacilitator,ā or a āHost.ā
This part is easy to solve. You would save either “facilitator” or “host” against the event’s meta when the event is created or updated. Then when you build your custom search, you can use the
pre_get_postshook to output matched posts, using both the search and meta query parameters inWP_Query.June 19, 2017 at 10:04 pm #266584In reply to: Varnish cache
sysvirtuales
ParticipantVarnish is compatible with wordpress, but need custom conf, if you couldn’t manage the varnish configuration the best is no use it…
June 16, 2017 at 7:58 pm #266551In reply to: how to remove wp embed footer in activity share
r-a-y
KeymasterIf the WordPress post is from your own site, you can disable the embed footer by adding the following to your theme’s
functions.php:remove_action( 'embed_footer', 'print_embed_sharing_dialog' );If the WordPress post is not from your own site, you cannot control the footer output for that item.
June 16, 2017 at 7:20 am #266538In reply to: User Database
Henry Wright
ModeratorTake a look at this article
https://codex.wordpress.org/Database_Description%23Multisite_Table_Overview
June 14, 2017 at 10:08 pm #266477In reply to: Slow for logged-out users
n0madpl
ParticipantHey,
The fix for that is coming in the next release of buddy press. Or at least for the part of the problem.
You most likely get 50% of your problem from these two in my case with 6k users these amounted to the respective query execution times (from new relic), I also run buddypress + rtmedia (which is the source of this problem) as described in this ticket:
bp_friends_prime_mentions_results – 10,000+ ms
bp_core_fetch_avatar – 6,000+ msHere’s a fix:
https://buddypress.trac.wordpress.org/changeset/11561You’ll still likely stay with this massive query even for logged out users:
WP_User_Query::query on average right now it’s at around 7,500ms.Good news is that with HHVM site runs much faster due to object caching straight after enabling it.
I’ve also played around with various hosts, flywheel & wpengine sucked. What works well is Kinsta with HHVM enabled, they can also check your database and help you move to InnoDB if you’re using another one.
Anyway man hope this helps.
Best,
M.
June 13, 2017 at 5:45 pm #266465r-a-y
KeymasterIt’s most likely a WordPress issue.
Go to the WordPress admin dashboard and create or edit a post and attempt to paste your Medium link there. If it also doesn’t work, then it’s a WordPress problem.
June 13, 2017 at 5:41 pm #266464In reply to: Ordered list tag creates weird results
r-a-y
KeymasterThe problem is the Activity component only allows certain elements to be shown in the activity stream.
By default,
<ol>and<li>are not among those whitelisted elements.You can override this behavior with the following code snippet in your theme’s
functions.phpfile or via wp-content/plugins/bp-custom.php:// Allow list-item element through add_filter( 'bp_activity_allowed_tags', function( $retval ) { $retval['ul'] = $retval['ol'] = $retval['li'] = array(); return $retval; } );I’ve also opened a ticket about this here:
https://buddypress.trac.wordpress.org/ticket/7538June 13, 2017 at 2:08 pm #266457zabre00
ParticipantI started absolutely New Site. Everything updated. Only plugins activated is BP amd Mega Main Menu ( commercial Plugin) , Mega Main men. I am getting this error”
Notice: bp_nav was called incorrectly. These globals should not be used directly and are deprecated. Please use the BuddyPress nav functions instead. Please see
Debugging in WordPress
for more information. (This message was added in version 2.6.0.) in /var/www/vhosts/mysite.com/httpdocs/testsite/wp-includes/functions.php on line 4139 ”Im using Twenty Twelve. Current BP amd MMM. My Question is. Is this Mega Main menu error or a Buddypress error? So, I know where to get some help! Thanks in advance.
June 12, 2017 at 10:52 pm #266455In reply to: Any location based possibilites?
shanebp
ModeratorFirst, assuming you don’t mean real-time locations, members have to enter their location. For that you can use this plugin: BP xProfile Location.
Then you need to write a script that does a radial search for other members. Often this is done using zip codes. It can also be done with lat / lng.
Then you need to filter the feed to include only those members.
I’m not aware of any plugins that provide that package.
But if you are a developer, there are lots of resources for each step and you should be able to cobble something together.June 12, 2017 at 6:12 pm #266452n0madpl
ParticipantHey,
I’m experiencing a similar issue with 6k members, I can’t imagine the size of requests at 30k+…
It seems like mine was triggered by use of RTmedia, cause is described in this ticket, together with a patch:
https://buddypress.trac.wordpress.org/ticket/7530If you’re using their plugin/s this could have been a cause.
Btw cool site š and congrats on the user count.
June 10, 2017 at 10:21 pm #266420bigkahunaburger
ParticipantYou can give this a try: https://wordpress.org/plugins/bp-disable-activation-reloaded/
June 10, 2017 at 8:08 pm #266419EMar
ParticipantI fixed my email sending issue by installing WP-Mail-SMTP plugin,
The old plugin I was using is broke: WP Mail From IIWP-Mail-SMTP
I set it to Send all WordPress emails via SMTP.
I ticked Set the return-path to match the From Email.Iām using cPanel email so I logged into my cPanel email and clicked Set Up Mail Client link.
Youāll see the username and password and port you need to put in the WP-Mail-SMTP config.SMTP Port: local
SMTP Port: the outgoing port
For encryption I selected use SSL as I have free autoSSL installed for cPanel.Yes: Use SMTP authentication.
Username: your email address
Password: Email passwordAnd thatās it.. tested send email to another email address, all good.
Newly registered account are getting the activate email, well I did anyway.
June 10, 2017 at 7:54 pm #266418EMar
ParticipantThank you for the pointer, I fixed my email sending issue by installing WP-Mail-SMTP plugin,
I set it to Send all WordPress emails via SMTP.
I ticked Set the return-path to match the From Email.I’m using cPanel email so I logged into my cPanel email and clicked Set Up Mail Client link
You’ll see the username and password and port you need to put in the plugin config.SMTP Port: local
SMTP Port: the outgoing port
For encryption I selected use SSL as I have the free SSL installed for cPanel.Yes: Use SMTP authentication.
Username: your email address
Password: Email passwordAnd that’s it.
Now new users who register an account are getting the email to activate their own accounts.
Jesus why didn’t I notice this earlier but the old plugin I was using is broke: WP Mail From II
June 10, 2017 at 7:30 pm #266417In reply to: WordPress 4.8
shanebp
ModeratorTry switching to a WP theme like 2015 to see if the issue really is BP and not your theme.
You can file a bug report here:
https://buddypress.trac.wordpress.org/June 10, 2017 at 4:02 pm #266414EMar
ParticipantI also noticed if I sign up as a new member I get to the page that says success and an email
has been sent to verify your account, but the email never comes.If I activate the member accounts manually an email is sent saying there is a new member,
So I know my email is working on the server side right?I don’t know where the mail settings are in wordpress or if it’s some setting in Buddypress?
I need to allow new registrations to be approved automatically, I thought there was an option for this.
Any suggestions appreciated.
June 10, 2017 at 3:18 pm #266412In reply to: WordPress 4.8
Effycom
ParticipantHiya,
There seems to be a compatibility issue with the current version of Buddypress and the latest WordPress 4.8 update. I noticed that all the elements available for users on Buddypress suddenly disappeared as soon as I made the WordPress update. I checked it against one of my other websites which I have not updated yet to WordPress 4.8 and installed Buddypress there and all the elements are visible.
Is there anything I could do in the meantime to fix the problem whilst I wait for the latest BuddyPress update as the website in question is due for launch today, but unfortunately i made the WordPress update late last night which affected the elements I need for the site to function as intended with the use of BuddyPress as an aid.
Thank you in advanceE.
June 9, 2017 at 2:01 am #266396In reply to: WordPress 4.8
John James Jacoby
KeymasterBuddyPress 2.8.x works OK with WordPress 4.8.
BuddyPress 2.9 is due out in the next few weeks.
June 8, 2017 at 3:51 pm #266362In reply to: SuperAdmin and I can’t modify xprofile info
r-a-y
KeymasterThis is fixed in the development branch of 2.8.
In the meantime, you can manually apply the following fix until 2.8.3 is released:
https://buddypress.trac.wordpress.org/changeset/11520June 6, 2017 at 9:12 am #266298tisor
ParticipantI had a site plugin, disabling the menu options for WordPress. Using this code:
bp_core_remove_nav_item( ‘settings’ );
This was generating the 404. Removed it, all worked.
June 2, 2017 at 10:52 pm #266254In reply to: Customize Registration Form
Henry Wright
ModeratorHi @babcoltd
You will need to sync the value of your xProfile field with a WordPress role to get this working. I’m not sure that a plugin is available so as far as I know it will need to be custom developed.
June 2, 2017 at 9:13 pm #266253In reply to: Login Redirect To Activity Personal Page
Brajesh Singh
ParticipantYou may use my Redirect to profile plugin.
It does exact same thing.Hope that helps.
-
AuthorSearch Results