moderworks
Forum Replies Created
-
Okay. Thanks for the quick response! I have already found this place in the code and changed it to:
if (!data.draft_post_id) {
fpsm_reset_form(selector);
if (data.redirect_url) {
if (data.redirect_delay) {
setTimeout(function () {
window.location = data.redirect_url;
}, data.redirect_delay);
} else {
setTimeout(function () {
window.location = data.redirect_url;
}, 3500);
}
return;
}
} else {
selector.find('.fpsm-edit-post-id').val(data.draft_post_id);
if (data.redirect_url) {
if (data.redirect_delay) {
setTimeout(function () {
window.location = data.redirect_url;
}, data.redirect_delay);
} else {
setTimeout(function () {
window.location = data.redirect_url;
}, 3500);
}
return;
}
if (selector.find('#g-recaptcha-response').length > 0) {
grecaptcha.reset();
}
}I hope this is correct.
Forum: Plugins
In reply to: [Comments - wpDiscuz] User agreement prior to a social login actionProblem solved, cookies.
Error when logging in again.Forum: Plugins
In reply to: [Comments - wpDiscuz] User agreement prior to a social login actionIt works in incognito mode in Chrome. Does this have something to do with cookies?
Forum: Plugins
In reply to: [Comments - wpDiscuz] User agreement prior to a social login actionI see this problem on your site too with the latest version of chrome browser https://addons.wpdiscuz.com/wpdiscuz-user-notifications/
Forum: Plugins
In reply to: [SEOPress - On-site SEO] How to disable SEOPress on a specific page by id?No such hook ((
I tried like this:
functiondisable_seopress_og_tags($og_tags) { if (is_page(32537)) { unset($og_tags['og:url']); unset($og_tags['og:site_name']); unset($og_tags['og:locale']); unset($og_tags['og:type']); unset($og_tags['article:author']); unset($og_tags['article:publisher']); unset($og_tags['og:title']); } return $og_tags; } add_filter('seopress_social_og_output', 'disable_seopress_og_tags');
This does not work. Any options?
Forum: Plugins
In reply to: [SEOPress - On-site SEO] How to disable SEOPress on a specific page by id?There are no problems with this.
How to delete:
meta property=”og:url”
meta property=”og:site_name”
meta property=”og:locale”
and so on…
The whole block.Forum: Plugins
In reply to: [SEOPress - On-site SEO] How to disable SEOPress on a specific page by id?Thank you for the quick response!
I plan to switch to SEOPress with Yoast SEO.
I need to remove meta tags from one of the pages. I use:
function disable_seopress_meta_description($meta_description) {
if (is_page(32537)) {
return '';
}
return $meta_description;
}
add_filter('seopress_titles_desc', 'disable_seopress_meta_description');
function disable_seopress_canonical($canonical_url) {
if (is_page(32537)) {
return '';
}
return $canonical_url;
}
add_filter('seopress_titles_canonical', 'disable_seopress_canonical');It works. But I don’t know how to disable meta property
This is for “peepso”. Your plugin does not work correctly with groups, they have the same id with the parent page.
Forum: Reviews
In reply to: [Gallery Custom Links] The plugin needs to be updated. There is a problemAccording to the heat map of the site in analytics, it was possible to track that users can no longer follow links from images to other pages of the site, the bounce rate increased. First I disabled the plugin and made the page in pure HTML. Later, fellow programmers recommended adding a little code to the theme’s functions.php file. And it worked. With a certain configuration, there is a problem with user roles. Registered users do not see links. Links from images are only available to guests. At first, I decided that all users did not see the links, but the problem concerned only registered ones. Not so critical, but an unpleasant bug.
Forum: Reviews
In reply to: [Gallery Custom Links] The plugin needs to be updated. There is a problemI have edited the review. The bug has been fixed. Please update the plugin.
Forum: Reviews
In reply to: [Gallery Custom Links] The plugin needs to be updated. There is a problemA small plugin caused a lot of damage ((
Forum: Reviews
In reply to: [Gallery Custom Links] The plugin needs to be updated. There is a problemI’m not the only one with problems
https://ibb.co/2sMqScj
https://ibb.co/f8hSt7rYou should not be so categorical) After my refinement, it works fine on mobile devices. I managed to find interested people and resolve the connection issue. Emoticons in the editor are good practice. Why did you use joypixels.js – I don’t understand. It’s really not the best solution.
Regarding the error in the browser. The bug was noted on one of the versions of Google Chrome. The plugin works correctly with the latest version of the browser.
Thank!
Hello,
What did I get.https://ibb.co/sqkswvr
https://ibb.co/XkzVHmSI’m disturbing you again. I partially figured out the connection code. As far as I understand, in earlier versions, emoticons could also be enabled in the admin panel, the bp-better-messages.php file retained the code line ‘mobileEmojiEnable’ => ‘0’. It should be something like this: ‘mobileEmojiEnable’ => ( $this->settings[‘mobileEmojiEnable’] == ‘1’ ? ‘1’ : ‘0’ ) + layout-settings.php to the admin. Right? But the trigger in the bp-messages-free.js file
I am not strong in js, unfortunately. I ask for help, what needs to be changed in the bp-messages-free.js code to enable emoticons in the mobile version?I would be very grateful. Spent quite a lot of time on this.
This is what I did first.
Okay, I’ll figure it out. Good luck!Small clarification. The problem is observed in Google Chrome on iPhone.