Replies
Yes, It is possible.
1. There were issues earlier where the mail software used to strip the ?key= some value
2. since she could not use the key earlier, she was able to use it again.
A key which was used once, will not allow reusing.
See this topic deals with exact same
https://core.trac.wordpress.org/ticket/25350Hope that clarifies.
Hi Jon,
Thank you.That is the default BuddyPress behavior. Once the account is activated, The key becomes used and hence the error when clicked again on the same link.
- Brajesh Singh on February 29, 2016 at 10:34 pm in reply to: [Resolved] GETTING "AN ERROR OCCURRED IN THE UPLOAD. PLEASE TRY AGAIN LATER." #2817
No problem. Please do let me know if you need any further assistance.
- Brajesh Singh on February 29, 2016 at 10:29 pm in reply to: [Resolved] GETTING "AN ERROR OCCURRED IN THE UPLOAD. PLEASE TRY AGAIN LATER." #2815
Hi Jay,
Thank you.As I suspected, The error is due to notices being generated by divi theme for non super admins.
here is what I see<br /> <b>Warning</b>: preg_replace_callback(): Requires argument 2, '_et_pb_sanitize_code_module_content_regex' , to be a valid callback in <b>wp-content/themes/Divi/includes/builder /core.php</b> on line <b>703</b><br /> <br /> <b>Warning</b>: preg_replace_callback(): Requires argument 2, '_et_pb_sanitize_code_module_content_regex' , to be a valid callback in <b>wp-content/themes/Divi/includes/builder /core.php</b> on line <b>704</b><br />
Please post this message to elegantthemes foum, They should be able to help in removing notices.
This notice causes the reponse json to be corrupted that’s why you are seeing problem.
A temporary fix that may work is by disabling WP_DEBUG if it is enabled.
Hi Jon,
I am sorry for the inconvenience. Can you please ask one of those users to forward the activation email to you so that we can check the url and see if there is something to do with that?are you using any registration related plugin?
- Brajesh Singh on February 29, 2016 at 10:19 pm in reply to: [Resolved] GETTING "AN ERROR OCCURRED IN THE UPLOAD. PLEASE TRY AGAIN LATER." #2812
Hi Jay,
I logged in. Since I am superadmin, I can not see the error. Both uploader Works for me.Can you please make my account admin of a sub site and I will be able to test better.
PS: Please remove my super admin privilege and just make it admin of one of the site.
Thank you
Brajesh - Brajesh Singh on February 29, 2016 at 9:54 pm in reply to: [Resolved] GETTING "AN ERROR OCCURRED IN THE UPLOAD. PLEASE TRY AGAIN LATER." #2808
Hi Jay,
My mistake. I thought It was MediaPress issue.1. It seems there are some notices being generated when you are uploading from post/page screen that is causing the json response to be corrupted. That’s why Media is being uploaded bu response is not correct.
Can you please check in console if that is the case?
- Brajesh Singh on February 29, 2016 at 9:19 pm in reply to: BuddyBlog – Custom Post Type, Custom Taxonomies, and Permalinks #2806
Hi Devin,
Please give this plugin a try
https://wordpress.org/plugins/custom-post-type-permalinks/It allows editing permalinks for custom post type. That will fix the issue.
- Brajesh Singh on February 29, 2016 at 9:16 pm in reply to: [Resolved] Custom Gallery From BuddyPress Fields #2805
Hi Paul,
Thank you for the deails.Here is an example how we add the media
$media_data = array( 'title' => $title, 'description' => $content, 'gallery_id' => $gallery_id, 'user_id' => get_current_user_id(), 'is_remote' => false, 'type' => $media_type, 'mime_type' => $type, 'src' => $file, 'url' => $url, 'status' => $status, 'comment_status' => 'open', 'storage_method' => mpp_get_storage_method(), 'component_id' => $component_id, 'component' => $component, //'context' => $context, 'is_orphan' => 0, ); $id = mpp_add_media( $media_data );
where
– type can be ‘photo’, ‘audio’, ‘video’ etc
– component can be ‘members’, ‘groups’ etc
-context csn be ignored-component_id – is user id or group id
-src is the absolute path of the file on the file system
-url – is absolute url of the file
-mime_type is the mime type
-status – can be ‘public’, ‘private’ etcPlease do not call the mpp_add_media on mpp_loaded. Post types are only registered after mpp_init
So, It will be better to call at ‘mpp_actions’ or anything after mpp_init’ or WordPress init hook.Hope that helps.
- Brajesh Singh on February 29, 2016 at 9:08 pm in reply to: [Resolved] GETTING "AN ERROR OCCURRED IN THE UPLOAD. PLEASE TRY AGAIN LATER." #2804
Hi Jay,
I am sorry for the inconvenience.1. Which version of MediaPress are you using? Is it 1.0.3?
2. Is MediaPress network active or only enabled on the main site?
Please let me know these details and I will have some idea.
Thank you
Brajesh