GiorgioC
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form DB] cycle control IFsorry michael i have just downloaded “Add actions and filters” plugin but, if I want use the first solution “From the point of view of a form submission, you could check to see if the form submission has an file upload field set, and if not set it to some default image. But I do no t recommend this because you will be adding multiplies copies of the file to the database. This would be changing data before it is saved in the database.” in what mode i can change the default avatar?
I try with:function myFilter($formData) { if ($formData->uploaded_files['file-avatar'] != ""){ ? }else{ ? return $formData; // be sure to return it }; add_filter('cfdb_form_data', 'myFilter');
what’s the correct syntax to change default avatar?
thanks
Forum: Plugins
In reply to: [Contact Form DB] img in sidebar with custom styleIT WORKS!
Thank you so much Michael!
great plugin!Forum: Plugins
In reply to: [Contact Form DB] img in sidebar with custom style<?php echo do_shortcode(‘[cfdb-html form=”Inviaci il tuo racconto” show=”file-avatar” orderby=”Submitted DESC” filelinks=”img” stripbr=”false”]<div class=”thumbCF7″ style=”height: 50px; width:50px;”>${file-avatar}</div></br>[/cfdb-html]’); ?>
Now I use it for generate a link:
when I click on thumb I see the submit data in new wordpress page.anyone know?
Forum: Plugins
In reply to: [Contact Form DB] img in sidebar with custom style<?php echo do_shortcode[cfdb-html form=”Inviaci il tuo racconto” show=”file-avatar” orderby=”Submitted DESC” filelinks=”img”]${file-avatar}[/cfdb-html];?>
Works, but for add a custom style?
Forum: Fixing WordPress
In reply to: double post commentversion: WordPress 3.3.1
plugin name: Facebook OpenGraph + Facebook Connect
now the forum is offline.