utzutz
Forum Replies Created
-
Forum: Plugins
In reply to: Internal Server Error 500 while publishing posts!Okay.. no one ?
htaccess again:
hereError relates to W3TC.. if turned off nothing messy happens!
I activated the “don’t cache for admins” option, however caching is palpably deactivated, but that error remains !My first intention was an issue with the XML plug-in, but plug-in disabling clarified that W3tc seems to block something!
Forum: Plugins
In reply to: Internal Server Error 500 while publishing posts!oh I made a failure … this needs to be switched to the W3 total cache sub forum, as it’s related to W3 cache !
I’ve no permission for the log file, however here’s the W3 htaccess:
[Large code excerpt removed by moderator per forum rules. Please use the pastebin for all large code excerpts. It works better anyway.]
Forum: Hacks
In reply to: Listing posts by a pre-filled Array !thanks .. gonna try n report if works !
fixed it… w3 always forgets to implement the permalink structure…
However, I encountered another problem: I can’t empty the cache or publish posts without encountering an internal server error 500 !
The posts get published, but the error and infinite load-bar annoys !
So far thanks for your astonishing activity!
EDIT: In addition, what do I need to tell my host to configure the required “ftp” W3 needs to allow ftp mirroring !
Forum: Plugins
In reply to: A way to enqueue wordpress pluginsstrong push!
No suggestions? It’s a question of performance, every wp-developer should be interested in !Forum: Plugins
In reply to: [SharePulse] [Plugin: Share Pulse] manually add to themeSimply add something like this:
<?php if(function_exists('SharePulse')){ SharePulse(); } ?>
Forum: Fixing WordPress
In reply to: Searching for posts with custom data in a numeric rangeawesome… even works with combined prices. WP seems to take a $100-$200 as 100, thus even those show up in the query of 0-$100, or $200-$300 all $200 will be shown as well!
Thanks, really, thank you very much!
Best regards… ^^
Forum: Fixing WordPress
In reply to: Pass Parameters like "Username" and "Email" in hyperlinkOff-topic:
As far as I know there’s no message feature… hence I try to contact you via your last activity: vtxyzzy please take a look at this problemsorry for the interruption!
Forum: Fixing WordPress
In reply to: Searching for posts with custom data in a numeric rangetried things like this:
AND ltrim(acfr_$keyname.meta_value, ".") + (substring(acfr_$keyname.meta_value, 2)) >= $min";
and
(ltrim(substring(acfr_$keyname.meta_value, 2), "."))
and, and …and !Can no one help me… simply reduce a meta_value of “$3.000” to smth that can be processed by mam_custom_field_range() !
… and after that, a way to split a meta_value of “$2.000-$2.100” to “2000” – or “2,000” I’m not aware of what php needs to compare!
Forum: Fixing WordPress
In reply to: Searching for posts with custom data in a numeric rangeOkay, I tried a lot, but the lack of experience in php presents a huge hindrance !
Additionally, I recognized another problem, as the price sometimes is written as $3.000-$3.200… this means smth like this:
$parts = acfr_$keyname.meta_value; $partsp = explode("-",$parts); $pricem = $partsp[0];
(the first part is enough for the sort)
beforeif ($min !== false) $mam_global_join .= " AND (SUBSTRING(acfr_$keyname.meta_value,2)) >= $min"; if ($max !== false) $mam_global_join .= " AND (SUBSTRING(acfr_$keyname.meta_value,2)) <= $max";
After reading a bit in php.net, I tried to use smth like this:
(ltrim(SUBSTRING(acfr_$keyname.meta_value,2)),"."))
to, at least, delete the dot and the currency symbol -> didn’t work!Forum: Fixing WordPress
In reply to: Searching for posts with custom data in a numeric range (price)In regard to the solution above… I ran into the same problem, however my custom field data starts with a currency symbol. I tried to use substr to start after the $/€, without success.
Additionally, I’m not sure how I should fill a variable with the click of a link, as my intention was to create several pages with a custom query, but this search-template-solution seems to be easier&better!
Till now I’ve a row of simple links, how can they transmit a variable, or do I need to use buttons ?