Search Results for 'wordpress'
-
AuthorSearch Results
-
February 6, 2017 at 12:42 pm #263540
In reply to: ANOYING WARNING from call_user_func_array()
Paul Wong-Gibbs
KeymasterAre you using multisite? Do you have
NOBLOGREDIRECTset — if so, to what value?
What version of WordPress are you using?Thanks.
February 6, 2017 at 12:41 pm #263539In reply to: Do you even optimize bro?
Paul Wong-Gibbs
KeymasterThe original reporter has submitted a bug report https://buddypress.trac.wordpress.org/ticket/7436
The language used in that report is much more constructive than that of this forum thread, so I’m going to close this.
February 5, 2017 at 8:09 pm #263525In reply to: Unable to leave the group !!!
mulapalliprasad
ParticipantFound the issue !!
As per the logs (how to enable logs ? check below ), it states that its unable to DELETE the group entry in database. At cpanel level, the mysql user did not ahve permissions hence the error.
had this error in log file :
[05-Feb-2017 19:57:50 UTC] WordPress database error DELETE command denied to user ‘mysql user’@’999-144-214-244.wkbox.net’ for table ‘wp_options’ for query DELETE FROMwp_optionsWHEREoption_name= ‘_transient__bp_activation_redirect’ made by do_action(‘admin_init’), call_user_func_array, bp_admin_init, do_action(‘bp_admin_init’), call_user_func_array, bp_do_activation_redirect, get_transient, delete_option
[05-Feb-2017 19:57:50 UTC] WordPress database error DELETE command denied to user ‘mysql user ‘@’99.4444.444.sfa.net’ for table ‘wp_options’ for query DELETE FROMwp_optionsWHEREoption_name= ‘_transient_timeout__bp_activation_redirect’ made by do_action(‘admin_init’), call_user_func_array, bp_admin_init, do_action(‘bp_admin_init’), call_user_func_array, bp_do_activation_redirect, get_transient, delete_optionThanks
Prasad.how to enable logs in WP :
Check your dashboardThe current error_log value error_log is not supported. Please change it to an absolute path.
To enable error logging, create an empty file named “php-errors.log”. Place it in a directory that is not publicly accessible (preferably outside your web root) and ensure it is writable by the web server. Then add the following code to wp-config.php:
ini_set(‘log_errors’, ‘On’);
ini_set(‘error_log’, ‘/full/path/to/php-errors.log’);
For reference, the full path of the WordPress directory is:
/home/blurover/medinall.blurover.com/February 5, 2017 at 7:49 pm #263524In reply to: Pending Activation
leo1951
ParticipantThanks for the response, djsteveb.
Every thing is using my own dedicated server. Therefore, I have access to all functions.
With buddypress deactivated all works and its the same theme that is working on the old site. Also, I do not think it could be a theme issue since that I can resend the activation email from the backend but it is still not coming. Also, I see not error message in my log unless that I am missing the message, which I am going back to test again.
I suggestion that I have in mind could be a compatible issue between Buddypress 2.7.4
and WordPress 4.7.2 but since buddypress was set-up on the old site when wordpress was version 3 and when through the many upgrades it still works on that old site.I am just having thoughts since I cannot see the issue and from the searches this issue goes back a long time and there seems to be no one fix.
I have tried with and without Easy WP SMTP.
Thanks
Fred
February 5, 2017 at 4:58 am #263514porubcansky
ParticipantExample of error logs:
[Sat Feb 04 21:43:29.117033 2017] [:error] [pid 10835] [client 92.19.41.202:36229] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘ORDER BY ID DESC LIMIT 1 /* From [lettermo.com/2017-badge/postal-explorer/] in [‘ at line 1 for query SELECT ID FROM wp_posts WHERE post_status=’draft’ AND post_type=’attachment’ AND post_author = 22943 AND post_parent = ORDER BY ID DESC LIMIT 1 /* From [lettermo.com/2017-badge/postal-explorer/] in [/nas/content/live/maryrobinette/wp-content/plugins/badgeos/includes/submission-actions.php:1783] */ made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/plugins/buddypress/bp-themes/bp-default/single.php’), the_content, apply_filters(‘the_content’), WP_Hook->apply_filters, call_user_func_array, badgeos_achievement_submissions, badgeos_submission_form, badgeos_get_submission_form, get_attachment_from_draft_submission, referer: http://lettermo.com/quests-and-badges/February 4, 2017 at 6:33 pm #263508leo1951
ParticipantHello, I don want to invade your thread but open my own days ago and its not getting viewed so no replied.
I have searched for ever and is still searching for a solution and not getting answers.
I setup this new site: WordPress 4.7.2 and running MesoColumn theme. The Buddypress version is Version 2.7.4.
In my backend I see the registration Pending and I re-sending the activation sever times while experimenting with other things and my server but to no success. And its not my server because I do have another site working with the same Buddypress version. The only difference the working site has been online since 2014.
Thanks
Fred
The
February 2, 2017 at 11:25 pm #263489In reply to: Uploading and downloading files
danbp
ParticipantTry BuddyDrive.
February 2, 2017 at 8:12 pm #263477ds123
Participanthi shane i really appreciate your reply such a relief to hear from someone who knows buddypress cold its a very scary thing messing with the database on a site that is so important
…quick update i actually got the pending friend requests on my own account to display but still is extremely slow ….other than moving the site to a totally new server does deleting is_confirmed field value = 0 seem like a good idea to try in your opinion to speed it up ?
this is not a dedicated server but is supposed to handle spikes its not on a cheap hosting plan its supposed to scale on demand…..really managed wordpress hosting
in general is this friends table something that is going to get out of control if you have 50,000 members?
…i already every couple months trim the activity table … buddypress changed over the years i’m not sure i need to do it anymore honestly but was absolutely necessary like 3-4 years ago do you have people deleting activity table on larger sites still?
thanks for your help on my db situation and how to keep it running
February 2, 2017 at 2:04 pm #263462In reply to: Live time stamp broken
s4ow7ime
Participantwhy time activity under the nickname does not respond to the time change in WordPress settings? And in the time of the tape activity responds to changes.
February 2, 2017 at 1:57 pm #263460In reply to: Live time stamp broken
s4ow7ime
ParticipantYou added recently a new plugin.
Deactivate it. Personal unchanged in activity((, but WordPress has changed in the settings, the time was correct.
You added recently a custom function.
Deactivate it. Nothing change.
You haven’t tested with a twenty theme.
Change on twenty theme. Nothing change.February 2, 2017 at 1:40 pm #263458In reply to: Live time stamp broken
s4ow7ime
Participantbut under the nickname activity time independent of time, changes in WordPress settings
February 2, 2017 at 1:34 pm #263456danbp
ParticipantHI,
perhaps because back-office actions are generally not public. Why would a site admin send mails to his site members after a back-office action ? Eventually interesting if you’re working with an admin team, but as this is not the most used workflow, why should this be part of BP ?
It is also not part of WordPress.
So i guess it is plugin territory, but i’m not aware of any existing for this.February 2, 2017 at 1:24 pm #263454danbp
ParticipantIn brief, yes ! Because a BP member is already a regular wp user. As soon as you register to a wp site, you became a wp user, whatever the plugin(s) you use.
Historically, WP is a CMS specialized in blogging… and is still this today… even if it can do much more as in 2003. But if we can today customize theme from within the wp-admin, we’re still confronted to a vintage user manager. Don’t know why, but outside subscriber, author and such (in fact, readers and newspaper actor’s terminology), there is not much you can do (simply) with “users” or “members”…Perhaps you need some documentation to understand. WordPress distinguish users by roles and access capabilities. There is no “member” consideration. Member is a frontend term who sounds better as subscriber or editor when associated with a plugin like BP0. The term sounds also more accurate when you promote a “crew”, a “team” or a “community”. But technically, there is only a user with a role in WordPress, not a member.
https://codex.wordpress.org/Roles_and_Capabilities
https://codex.wordpress.org/User_LevelsFebruary 2, 2017 at 10:16 am #263450In reply to: Live time stamp broken
s4ow7ime
ParticipantDid you checked your WordPress time settings ?
yes
if i change on UTC its
Universal time (UTC) is 2017-02-02 10:10:22. Local time is 2017-02-02 10:10:22.
if i change on Moscow its
Universal time (UTC) is 2017-02-02 13:11:50. Local time is 2017-02-02 16:11:50.
if i change on UTC+3 its
Universal time (UTC) is 2017-02-02 12:14:27. Local time is 2017-02-02 15:14:27.What is your server time ?
10:08:27 02.02.2017
On my computer its (my local timezone 13:09)
Do you use a new plugin ?
yes
Have you changed your theme ?
no
Have you add a custom function somewhere ?
yes
Have you tested by using a twenty theme ?
noI assume that the problem is hidden in WordPress, but plug-ins that change the time I did not install. Who faced with podobonoy problem?
February 2, 2017 at 8:50 am #263448In reply to: Live time stamp broken
danbp
ParticipantDid you checked your WordPress time settings ?
What is your server time ?
Since when do you have that issue ?
Do you use a new plugin ?
Have you changed your theme ?
Have you add a custom function somewhere ?
Have you tested by using a twenty theme ?For the moment, don’t panic. There is no problem in any js file on a common WP/BP installation. 😉
February 2, 2017 at 8:38 am #263446danbp
ParticipantHi,
BuddyPress doesn’t handle users. It use WP’s user_table and user_meta and his own meta tables (bp_activity_meta or bp_notifications_meta).
In BP settings, you have an option to sync BP to WP profile’s. And that’s all.
If you have another plugin who’s is synced with WordPress profiles, guess it will do the same with BP. But, adding a custom member table only for BP usage within WP registration process isn’t a good idea as you probably will have to rewrite a lot of code.
Members are the heart of BP, but in the sense of “how to show members and let them work together”, not in the way to include/register them to the site.
BP doesn’t never affect the first step when accessing the WP user registering. This step belongs clearly to WP ONLY. Adding member and meta tables doesn’nt modify that.February 1, 2017 at 4:00 pm #263422In reply to: Profile page link with random ID
samurdhilbk
ParticipantOops! Forgot to mention this
WordPress version – 4.7.2
BuddyPress version – 2.7.4February 1, 2017 at 3:59 pm #263421samurdhilbk
ParticipantOops! Forgot to mention this
WordPress version – 4.7.2
BuddyPress version – 2.7.4February 1, 2017 at 2:35 pm #263417In reply to: buddy website for member only but how to…
Venutius
ModeratorThere’s quite a few privacy plugins for BuddyPress, just search the WordPress Plugins directory for BuddyPress and Privacy
January 31, 2017 at 5:45 pm #263380In reply to: Is Buddy Press for me?
djsteveb
Participant@rickaltman – I think buddypress can do most of what you describe here right out of the box. I would search for forum threads and maybe plugins to have your members auto join a group –
this would give you something like “your site dot com / groups / mainGroupName / members
for this kind of list – although it would be a list rather than grid system – you may find another way to do it, but it’s probably gonna take some hacking-up things to get the grid layout if you really want that – I’d try to find something less robust – like maybe just the wpmudev membership2 plugin in the wp repo – and hackup a page to list authors with a wp theme or something…bp can do a profile pic.. but it needs plugins to really “upload photos” – and that’s a can of worms in which some is over-baked, some under baked, and future possibilities are endless.. some built in bp hooks have been made a while back but.. well not sure what meant exactly by “upload photos” –
its going to be much easier to get community support for regular wordpress themes and such.. buddypress is probably a lot more power than your use case is gonna need.. and with that is gonna be spam issues – virtually no support for customizing anything.. even if you knew php really well, you’d have learn wordpress well, and then try to digest all the BP docs and sort through tracs.. gits.. and other random stuff on the web that is not well documented, no well supported, and leaves you wondering if it’s secure… and the chances of all the various hackedup things working well together is blah… and future updates – hahaha.. who knows that is going to happen.
In your situation I’d say it wouldn’t hurt to play around with BP – as it’s free.. but if it doesn’t do what you want out of the box.. then I would delete it all – and try a basic wordpress with members plugin.. maybe even just a ‘multi-author blog” – you’ll get less spam, and much less work.
Others may think / feel differently about all this, my experience comes from my issues – your mileage may vary..
January 31, 2017 at 5:44 pm #263379danbp
ParticipantThank you for these clarifications.
It was not a BuddyPress issue and not a WordPress issue (as first expected), but a simple php error in a custom file. Little cause, big disease…
This is a lesson for all of us: whatever you code, take care with it. A missing dot, coma or other little syntax error can lead to endless searches, heavy expectations and massive headaches!
January 31, 2017 at 5:36 pm #263378In reply to: Buddypress breaks php 7.1 wordpress site.
danbp
ParticipantHi,
BP devs are aware of this detail… Please read https://buddypress.trac.wordpress.org/ticket/7392
January 30, 2017 at 10:57 pm #263358maccast
ParticipantThanks @shanebp. Yes for sure we would want to avoid the scenario where we are “re-uploading” the default choosen image for each user. I guess I was sort of hoping there was a way in the uploader to just offer them to choose images from our custom library. Sort of like when you use the WordPress media uploader and can choose to pick from the library limiting it to “uploaded to this post”. Overloading the template and using our own custom image picker will work fine. By it being stored in another custom user meta data field it does add some complexity in figuring out how to decide which cover image to use. Meaning that if they upload an image and have also chosen one of our images I need to decide which image takes priority. I’m not sure how I’d do that since meta data fields don;t maintain an “updated” timestamp.
January 30, 2017 at 8:22 pm #263307In reply to: Syntax Question: bp_before_displayed_user_fullname
rgrober
ParticipantThank you very much for the reply @shanebp!
I found this on the member-header.php file.
On a member’s profile page, I’m attempting to insert an element before the user’s name (directly before, not above), but I’m not sure which hook I’m supposed to use.
I’m successfully adding content after/below the User’s name by using
bp_before_member_header_metaDo plugins and themes create custom hooks in addition to the standard wordpress hooks?
Again, I really, really appreciate your help!
January 30, 2017 at 12:22 am #263286In reply to: Syntax Question: bp_before_displayed_user_fullname
shanebp
ModeratorIn which file are you seeing
bp_before_displayed_user_fullname?It’s probably a wordpress do_action hook.
https://developer.wordpress.org/reference/functions/do_action/ -
AuthorSearch Results