cicolino
Forum Replies Created
-
Okay , thanks
already purchased
This happens on v3.2.9. I’ve installed now v3.2.8 and this is working fine
Forum: Plugins
In reply to: [Site Reviews] Action after submittingYes. I made this (or better Chat GPT made this for me because I’m not coding guy ), and this is working well for me
/** * Hides the review form after a review has been submitted with a delay * Paste this in your active theme's functions.php file * * @param string $script * @return string */ add_filter('site-reviews/enqueue/public/inline-script/after', function ($javascript) { return $javascript . " document.addEventListener('DOMContentLoaded', function () { GLSR.Event.on('site-reviews/form/handle', function (response, form) { if (false !== response.errors) return; form.classList.add('glsr-hide-form'); form.insertAdjacentHTML('afterend', '<p class=\"my-bewertung-message\">' + response.message + '</p>'); // Add a delay before closing the element setTimeout(function() { var buttons = document.querySelectorAll('.my-bewertungen-button'); var elements = document.querySelectorAll('.my-hidden-bewertungen'); var visibleIndex = null; for (var i = 0; i < buttons.length; i++) { var element = elements[i]; element.style.opacity = 0; setTimeout(function() { element.style.display = 'none'; var responseMessage = document.querySelector('.my-bewertung-message'); responseMessage.parentNode.removeChild(responseMessage); }, 500); // Adjust the delay time as needed } }, 3000); // Adjust the delay time as needed }); });"; });
Thanks
Forum: Plugins
In reply to: [Advanced Custom Fields: Extended] Edit custom post from User DashboardThanks for your answer.
Please, can you give me a code example for my case.
User can submit only one post, I get this function with this code and is working welladd_filter('acfe/form/load/form=band_submit', 'my_form_settings', 10, 2); function my_form_settings($form, $post_id){ // get current user $user = wp_get_current_user(); // check for current user role CUSTOMER if(in_array('um_band-author', (array) $user->roles)){ // get posts of the current user (by post_author) $get_user_posts = get_posts(array( 'post_type' => 'band', 'posts_per_page' => -1, 'author' => get_current_user_id() )); // CUSTOMER has at least 1 post, hide the form if(count($get_user_posts) > 0){ // hide the form return false; } } // display form return $form; }
I’m trying to make edit from extra page ( /edit-post ) but without success
My form for editing is band_editthanks
Yes, I tried everything, but I can’t arrange this for File upload fields. User is allways able to edit or upload. All other fields working well. I arrange this now wit Docs extension
If I sending something like first ticket (welcome ticket) from admin pannel to user, User (test-user) recive this ticket but on ticket it stands “replay from: test-user” and not “replay from: admin”.
I think this is not correctOh thanks.
Forum: Plugins
In reply to: [Popups - WordPress Popup] Background opacity is not workingSoory I was thinking wrong..everythig is fine.I was thinkin about box background.
Is there any demo of Premium plugin..Exit Intent technologyForum: Plugins
In reply to: [SlimStat Analytics] Stopped CountingForum: Plugins
In reply to: [SlimStat Analytics] Stopped CountingNo CDN, just super cache, I disable super cache same thin..now I downgraded to 3.7.5 and it’s working again
Forum: Plugins
In reply to: [SlimStat Analytics] Stopped CountingSame for me..no more counting after update