resting
Forum Replies Created
-
@akleines2 i have the same problem, refreshing the page does make it reflect the correct values, but <b>only</b> if I update each language individually. didn’t have time to study how this translation thing works, else i can help change the source.
Forum: Plugins
In reply to: [Contact Form 7] Disable hidden formThat’s interesting.
I guess there’s no documentation on hooks and filters?
Will have to dig in the source for such things ya?Forum: Plugins
In reply to: [Options Framework] Options value missing after migrationOk found this: https://www.ads-software.com/support/topic/theme-delicate-theme-options-lost-when-moving-to-new-domain?replies=19#post-2654903
I have seen a lot of people fall in this trap. I am not familiar with this theme at all, but my guess is that it uses the WP Settings API to store options in an array in the DB. Ordinarily the options would get stored thus:
name => valueSo, you would get something like:
‘background_image’ => ‘https://path.to/old/url’But using the WP API if you save the options, the options get encoded. So you get something like this:
type:length:valueNote that apart from the value, you have the length that is stored. So, your background_image option above also gets the number 22 assigned for the length (the path is 22 characters long).
When you are doing a find/replace via the DB, you are basically changing the URL to ‘https://new-path.to/old/new-url’, which is 30 characters long, but your option still says “22”. This corrupts your options array.
Fixing the s: length worked.
Forum: Plugins
In reply to: [EWWW Image Optimizer] What am I optimizing when I do bulk optimize?Thanks for explaining.
So if I purchase the API keys for JPG/PNG lossy optimization, it’ll compress the files even further?Forum: Plugins
In reply to: [Limit Post Titles] Doesn't work with qTranslateXFound that the input element was wrong.
Fixed withvar inputs = this.el.getElementsByTagName('input'); this.titleInput = inputs[inputs.length - 1];
in the
appendCounter
property.Maybe you could refactor and implement in the next release?
Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] $time->format() displays wrong dateHi,
Thanks for the suggestion, I’d checked the option, but it didn’t work.
There’s a line inwidget.php
which is// Get localized time $timestamp = $time->format_to_gmt();
right after that I tried printing the
$timestamp
and it still shows -8 time.Maybe format_to_gmt is causing it to ignore timezone so I tried,
$timestamp = $time->format();
But it shows the same time as
format_to_gmt()
This is causing problems in the widget when I set it to 1 day’s event. That is, I only want to show today’s events. But due to the timestamp offset, it may or may not show events that’s supposed to start the next day.
Forum: Plugins
In reply to: [MC4WP: Mailchimp for WordPress] Ajax submission not workingSolved. The shorcode was wrapped in an extra <form> tag. Its working now.
Ok I found it in wp_options table, with the option_name wpcf-custom-types.
Name is serialized so will have to change the s:xx characters to reflect the new character count.Forum: Plugins
In reply to: [WP Super Cache] WPSC pointing to the wrong folder after migrateI moved everything in wp-content over.
So, I had to manually change the file path of $cache_path in wp-content/wp-cache-config.php.It works after that.
Forum: Plugins
In reply to: [qTranslate X] Activate translation only for specific post types?I would think in the lines of having a list of checkboxes in qTranslate X’s settings where users can then select which post types should have the translation feature enabled.
Something like that.Ignore this, its my fault. Apache wasn’t reading the .htaccess.
Ok, the problem seems to be after I activated roots theme. Deactivating it doesn’t solve the problem either. Wonder what roots had done that’s permanent.
I have the same problem on a fresh install.
No errors were shown or logged either.
It just says 0 files were uploaded.Permissions had been set to 755 as recommended.
I can upload the same file via Media upload.
Help?There’s a
POST https://www.example.com/photocrati_ajax 404 (Not Found)
and
POST https://www.example.com/photocrati_ajax?action=upload_image&gallery_id=0&gallery_name=gallery1 404 (Not Found)error in the console in “Add Gallery / Images” page.
Forum: Fixing WordPress
In reply to: Plugin doesn’t shopw up after removing Askimetits weird. its showing now after like 30mins. i have no idea why…
Forum: Fixing WordPress
In reply to: Plugin doesn’t shopw up after removing Askimetforgot to add that this happens only for the Installed section