DJviolin
Forum Replies Created
-
Sorry, resolved. Custom JS code interfered with it.
Thank You for the implementation! Greatly welcomed!
Thank You for your answer!
Yes, this was my answer as well. The problem is:
- There is the european GDPR law, which we need to comply
- There is the National Data Security and Information Safety Authority, which interpreted GDPR in their own way, which we need to comply
- There is our DPO, who is responsible to give guidance for us, how we need to comply
You can bet, when we arrive at the last point, complying with the GDPR law become much harder for a village with the population of 2600+, than the European Comission’s website…
For now, I used the prefix in Cerber’s cookie names and a wildcard in my Cookie policy, where I describing Cerber’s cookies: fw_#
Right now, the current accepted method of dealing with cookies according to our DPO: block every cookie until the user not accept them, also mandatory to include a selectable form to control which cookie groups the user want to enable. That’s why the dfactory Cookie Notice plugin is not compaint with our national law.
Because of this last point, controlling cookie loading on code level also important for every plugins.
Forum: Plugins
In reply to: [Super Progressive Web Apps] UTM Tracking addon causing lighthouse errorThe last issue seems resolved,
?utm_source=superpwaquery string appears if I open the PWA from Chrome’s Applications tab.I asked this in the official support forum also: LINK
I was only able to hide with this CSS hack:
<span class="hidden">[cookies_policy_link]</span>Strangely enough, this stays untouched after save. If I change the shortcode to
[cookies_policy_link2]for example, thatβs also stays the same after save.- This reply was modified 6 years, 3 months ago by DJviolin.
I removed it manually, then clicked save, then the shortcode reappeared again.
Not yet, I didn’t wanted to patch the plugin, so I still waiting for a possible future update. Until then I use this way.
Thank You! It’s fixed! π
Damn, bummer… You are right. I mixed up with another plugin. sorry… π It can be closed.
Forum: Plugins
In reply to: [Nginx Helper] conditional purging working, purage all notI also have the same problem. I placed my nginx cache in /var/run/fcgi.
Did you changed the standard cache directory? If so, did you enter the new path in Nginx Helper settings?Where I can access this?
Here is my LEMP stack.
I building nginx from source and I included ngx_cache_purge and srcache-nginx-module.My nginx config file: LINK
Forum: Plugins
In reply to: [Flickr Justified Gallery] CSS not appliedTurning off the captions solved the issue!
Forum: Plugins
In reply to: [Theme My Login] Media Uploader don't working on frontendThe fix described here don’t working anymore: π
https://ww.wp.xz.cn/support/topic/solving-wp-media-upload-in-the-frontend-and-tml?replies=5I tried with admin at the frontend and still not working.
Forum: Fixing WordPress
In reply to: media_handle_upload not working on user profile pagesI’m trying to use the exact same example to having an option at the user’s profile able to upload images (not profile pictures).
I found the upper example here in the codex:
https://codex.ww.wp.xz.cn/Function_Reference/media_handle_uploadBut it just simply broken. Don’t doing anything. π
Also I tested this HTML5 + PHP file uploader snippet standalone first (not in WP environment):
http://www.w3schools.com/php/php_file_upload.asp
And it works great, however when I putting in the functions.php not working!Please help!
Forum: Fixing WordPress
In reply to: media_handle_upload not working on user profile pagesHere is the code with a little refactoring:
// Check that the nonce is valid, and the user can edit this post. if ( isset( $_POST['my_image_upload_nonce'], $_POST['sql_user_profile_feltolto'] ) && wp_verify_nonce( $_POST['my_image_upload_nonce'], 'my_image_upload' ) && current_user_can( 'edit_user', $_POST['sql_user_profile_feltolto'] ) ) { // The nonce was valid and the user has the capabilities, it is safe to continue. // These files need to be included as dependencies when on the front end. require_once( ABSPATH . 'wp-admin/includes/image.php' ); require_once( ABSPATH . 'wp-admin/includes/file.php' ); require_once( ABSPATH . 'wp-admin/includes/media.php' ); // Let WordPress handle the upload. // Remember, 'my_image_upload' is the name of our file input in our form above. $attachment_id = media_handle_upload( 'my_image_upload', $_POST['sql_user_profile_feltolto'] ); if ( is_wp_error( $attachment_id ) ) { // There was an error uploading the image. _e('There was an error uploading the image.'); } else { // The image was uploaded successfully! _e('The image was uploaded successfully!'); } } else { // The security check failed, maybe show the user an error. _e('The security check failed, maybe show the user an error.'); } <table> <tr class="user-orvosifoto2-wrap"> <th><label for="orvosifoto"><?php _e('Orvosi fotΓ³') ?></label></th> <td> <form id="featured_upload" method="post" action="#" enctype="multipart/form-data"> <input type="file" name="my_image_upload" id="my_image_upload" multiple="false" /> <input type="hidden" name="sql_user_profile_feltolto" id="sql_user_profile_feltolto" value="55" /> <?php wp_nonce_field( 'my_image_upload', 'my_image_upload_nonce' ); ?> <input id="submit_my_image_upload" name="submit_my_image_upload" type="submit" value="Upload" /> </form> </td> </tr> </table>Solved!