Fabbstar
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form DB] import optionI think this is only available when you buy the editing extension plugin available from the cfdbplugin.com website
Forum: Plugins
In reply to: [Contact Form DB] How do we demand Contact Form DB be returned?Would be great to see this awesome plugin become part of the WP experience again
- This reply was modified 8 years, 9 months ago by Fabbstar.
Forum: Plugins
In reply to: [Contact Form 7] Line breaks with textarea default:getHi there,
To elaborate on my issue, in case anyone can help.
I have the default:get feature within the shortcode of my contact form so I can prepopulate fields by clicking a URL. It works great however I am passing some data to textarea fields and the data has line breaks <br> which are visible in the web address bar however they do not render in the textarea, all of the data just inputs on one line.
Is there a way of making the line breaks render when the data is past in this way?
Thanks
SForum: Plugins
In reply to: [JTRT Responsive Tables] Adding Search String to URLYOU DID IT!!! AMAZING.
Thanks John.
Make it a default feature, great thing!
Simon
Forum: Plugins
In reply to: [JTRT Responsive Tables] Adding Search String to URLSomething really weird with Support Forums at the moment.
It says you have replied since my last comment, but no reply is shown here!
Forum: Plugins
In reply to: [JTRT Responsive Tables] Adding Search String to URLHi John,
Unfortunately, having saved over the original JS file with the GIS code you provided, it doesn’t seem to filer by the URL.
Try:
http://www.simonlyplans.com/sim-only-deals/?jtrt_dt_search=o2
You’ll see it doesn’t filter the table by “o2”.
Thanks,
SimonForum: Plugins
In reply to: [JTRT Responsive Tables] Adding Search String to URLHi John,
That’s amazing I’m going to try this tomorrow and will let you know!
If it works it’s going to make sharing data in the table so easy.
Thanks again,
SimonForum: Plugins
In reply to: [JTRT Responsive Tables] Change link color?No worries! 😀
Forum: Plugins
In reply to: [JTRT Responsive Tables] Change link color?Or you can do as I did and add the following to the top of your page where the table shortcode has been added.
<style>
Table a {color: #333;}
</style>…or similar.
Simon
Forum: Plugins
In reply to: [Contact Form DB] SQL Query HelpHi Michael,
Thanks for the reply.
Will the result of your suggestion be a URL that could in theory be amended by the user to expose the rest of the data in the table?
That’s what I’m trying to avoid by using my SQL approach to generate a different URL structure that can’t be tampered with.
Thanks,
SForum: Plugins
In reply to: [Calculated Fields Form] Quote ID to show on summary page or emailI love you!!
Thanks.
Last one, do the email shortcodes work in the subject line. So if I put <%itemnumber%> into the email subject would it show?
Thanks again,
SForum: Plugins
In reply to: [Contact Form DB] Adding Values, Return 0Hi Michael,
Thanks for that. I’ve already taken up a lot of your time, but I’ll show you what I have in place which still returns nothing, as opposed to zero.
Function code:
require_once(ABSPATH . 'wp-content/plugins/contact-form-7-to-database-extension/CFDBPermittedFunctions.php'); function parse_form_money($value) { return floatval(preg_replace('([^0-9.])', '', $value)); } cfdb_register_function('parse_form_money'); function zero_if_null($x) { return is_null($x) ? 0 : $x; } cfdb_register_function('zero_if_null');Shortcode:
[cfdb-value tfilter=”Customer=$user_login&&Status=Completed” trans=”Value=parse_form_money(Value)&&SumField(Value)&&Value=number_format(Value,2)&&Value=concat(£,Value)&&Value=zero_if_null(Value)” form=”FORM NAME” show=”Value”]Maybe I am being silly and have missed something?
Thanks again,
S- This reply was modified 9 years, 7 months ago by Fabbstar.
Forum: Plugins
In reply to: [Contact Form DB] Adding Values, Return 0Hi Michael,
Thanks so much for the reply.
I can see how that should work, so I created the function using your shortcodes, actions, filters plugin and then added the extra part within the trans string but it still outputs nothing.
Should the function code be referencing the ‘value’ somewhere?
If it helps, I’m also using the below function, so there may be conflict?
require_once(ABSPATH . ‘wp-content/plugins/contact-form-7-to-database-extension/CFDBPermittedFunctions.php’);
function parse_form_money($value) {
return floatval(preg_replace(‘([^0-9.])’, ”, $value));
}
cfdb_register_function(‘parse_form_money’);Hmmm…
Forum: Fixing WordPress
In reply to: SQL Query to show User First NameHi,
Thanks so much for trying it out, at least I know it works!
I am using SQL due to the requirements of a plugin which allows me to use a text field to pull in data from the WP database using SQL.
Still can’t get it to work though, I’ll have to see if the plugin author can explain why.
Thanks again,
SForum: Fixing WordPress
In reply to: SQL Query to show User First NameHi there,
Thanks for the reply. Yes all users have a first name including the Administrator.
My feeling is that the SQL syntax is incorrect?
S