frinkky
Forum Replies Created
-
Forum: Plugins
In reply to: [Secure Custom Fields] Custom Fields / Groups for Pages/Posts already live?Yes it is possible. Obviously you’ll need to edit those live posts/pages to add the custom meta data to them and ensure they’re using the correct template.
Forum: Plugins
In reply to: [Cimy User Extra Fields] Formatting.php WarningsThanks for your reply. I must confess it was an error in my code that was causing the issue between your plugin and another. Apologies and thanks for a great plugin!
Hi,
I moved my code to classes.php of Contact Form 7 directly in the submit() function.
I generate an error with this elseif:
elseif (($_POST['isreq'] == 'req') && ($count == 0)) { $result['message'] = $this->message( 'email-mismatch' ); }
(
$_POST['isreq']
is just a hidden field used to determine this is a form I want to use this validation on).I then added a custom error message under wpcf7_messages() in functions.php:
'email-mismatch' => array( 'description' => __( "The email supplied does not match the account email", 'wpcf7' ), 'default' => __( 'Failed to submit your competition entry. Please ensure you are using your account email. If necessary, you can log in to update your email <a href="" title="">here</a>.', 'wpcf7' ) )
Forum: Plugins
In reply to: [WPeMatico RSS Feed Fetcher] [Plugin: WPeMatico] Link rel enclosure to imgThought I’d upload a shot of the regex results: https://dl.dropbox.com/u/23205718/regex-output.png
Forum: Plugins
In reply to: [WPeMatico RSS Feed Fetcher] [Plugin: WPeMatico] Link rel enclosure to imgOk, rather than messing around with pre-parsing. I’ve edited the following function at around line 298 of campaign_fetch_functions.php to match links rather than imgs (works according to this regex tester):
/*** Devuelve todas las imagenes del contenido */ function parseImages($text){ preg_match_all('/<link rel=\"enclosure\" type=\"image\/jpg\" href=\"(.+?)\"(.+?)\/>/', $text, $out); return $out; }
I’ve also edited (around line 238) with changes in comments:
if($this->cfg['imgcache'] || $campaign['campaign_imgcache']) { $images = $this->parseImages($this->current_item['entry']); // Was 'content' $this->current_item['images'] = $images[1]; // Was $images[2] - lista de url de imagenes $itemUrl = $this->getReadUrl($item->get_permalink());
Still, although the new regex is picking up the urls for the images, albeit in an array, no image is being cached/linked whatever. No errors in the logs either.
Any ideas?
Forum: Plugins
In reply to: [WP-Polls] [Plugin: WP-Polls] WP Polls WP Super CacheIt should work ok – the poll entry is dealt with by ajax, so the only issue is perhaps a delay in the vote being displayed to others – if you stuck to the defaults we’re talking an hour. The visitor can always click the ‘view results’ link and that works fine.
Forum: Plugins
In reply to: [WordPress CDN Rewrite] [Plugin: WordPress CDN Rewrite] No URLs get rewrittenSimilar issue. At first, a php error appeared when trying to view settings page. It was looking for functions.php in the /html folder, but changing the path in html/config appeared to fix that. No rewriting of named extension resources though.
Forum: Themes and Templates
In reply to: Search Template Tag / StrictI’ll bump this – I’m looking for the exact same thing.