julesmd
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form DB] Use submit-time to identify authorHi Michael, thanks for spending time on this for me.
I think I will need your help to get the user ID and/or email address out of the DB. Basically I want to link to a CF7 email form and fill the To: field dynamically with the email address of the person who submitted the entry and the From: field with the currently logged in user. I know I can hide the To: field if I use the CF7 dynamic text extension, I just don’t know how to get that data out of CFDB.The “Add link to entry in CF7 email” is on the CFDB website – page_id=1220, which is why I thought about using a CF7 form instead of a messaging plugin.
Forum: Plugins
In reply to: [Contact Form DB] Use submit-time to identify authorHi Michael,
I’ve had a re-think about this…
Would it be possible to use Add Link to Entry in CF7 Email for what I am trying to achieve? I don’t understand how to use it, but it might be what I need.
I need a link from the details page to an email form. This must get the recipients data from CFDB (using submit_time) and only display the recipients username held in CFDB (email should not be visible and the sender is the logged in user).
Here’s a link to the website website (you will have to click on ‘View Details’ to see the ‘Contact’ button). This will show you what I am trying to do.
Could you have a look at this for me if I send you my log-in?
Many thanksForum: Plugins
In reply to: [Contact Form DB] Use submit-time to identify authorHi Michael,
I’m wondering if Form to Post would help with this? In order for the Messaging system to work it has to identify the current logged in user and the author of the post. Using CF7 and CFDB means that the person who submitted the form is not recognised as an author because the submitted data is not a post. I really don’t want to lose all the work I’ve done with CFDB, it’s fantastic.
The only other solution I can come up with is to populate a CF7 form (as an e-mail) with data from CFDB – is this possible using submit_time as the identifier?
Is there anyway to link WP User table to CFDB table?
ThanksForum: Plugins
In reply to: [Contact Form DB] Use submit-time to identify authorSorry for the bad explanation.
My users are registered in WordPress before submitting data via CF7. With the messaging system I am using (which uses WordPress user data) I can dynamically enter Usernames in the To field, except when using it in conjunction with CFDB. I understand that CFDB will always put the same person as the Author (it is always admin), therefore I get the messages, the user (Author) doesn’t. In WP if a user submits data they are recognised as having a post and are therefore an Author.
As submit_time is a unique identifier I wondered if there was any way to match submit_time with the WP Author role/username?
I’m not sure how changing form data before it is saved could work, unless it could pass the submit_time data to the WP database?Forum: Plugins
In reply to: [Contact Form DB] Data editor pre-sale questionsThanks, shame about the images.
Will think of a workaround…Forum: Plugins
In reply to: [Contact Form DB] cfdb-html or cfdb-table with custom shortcode?Sorry! Marked as resolved
Forum: Plugins
In reply to: [Contact Form DB] cfdb-html or cfdb-table with custom shortcode?Michael,
It works a treat! Means it can go out to testers now and with a few minor tweaks hopefully go live very soon. Thank you for all your time and a wonderful plugin. Will give you a credit on the website and donation once pennies start rolling in.
Have a good weekend
JulieForum: Plugins
In reply to: [Contact Form DB] cfdb-html or cfdb-table with custom shortcode?Sorry, that was a mess. Here’s the html code again:
[start_end_wrapper shortcode="cfdb-html" form="Sign Up" show="Country,City,AccommType,start,end,Event,Interests,MainImage,submit_time" filelinks="url" role="Anyone" filter="Country~~/.*$_POST(country).*/i&&City~~/.*$_POST(city).*/i&&AccommType~~/.*$_POST(accommtype).*/i&&Event~~/.*$_POST(event).*/i&&Interests~~/.*$_POST(interests).*/i"] <table> <tbody> <thead> <th></th> <th>Country</th> <th>City</th> <th>Accommodation</th> <th>Available</th> <th>Specific Event</th> <th>Interests</th> <th></th> </tr> <tr><td><img style="width: 100px; height: 100px; border: 0;" src="${MainImage}" alt="" /></td> <td>${Country}</td> <td>${City}</td> <td>${AccommType}</td> <td>From: ${start} To: ${end}</td> <td>${Event}</td> <td>${Interests}</td> <td><img src="http://freestayexchange.com/wp-content/uploads/2014/12/details_button.png" alt="" /></td> </tr> </thead> </tbody> </table> <hr />Please can you tell me if the code you wrote for the date search will only work with cfdb-table, and if not where am I going wrong.
Many thanks
JulieForum: Plugins
In reply to: [Contact Form DB] Filter on dates and displayMystery solved, thank you. I’ll mark this as resolved – hopefully I won’t be taking up any more of your time, well not on date searching anyway!!!
Forum: Plugins
In reply to: [Contact Form DB] Filter on dates and displayThank you!!!!! You’re a life saver.
It’s perfect. What was wrong?Forum: Plugins
In reply to: [Contact Form DB] Filter on dates and displayThis is the link test page
If I gave you my admin password, could you take a look? I’m getting desperate…
Forum: Plugins
In reply to: [Contact Form DB] Filter on dates and displayThis is what is in the post under ‘text’ in the WP editor.
<form action="" method="POST"> Start: <input type="text" name="start" /> End: <input type="text" name="end" /> <input type="submit" /> </form> [start_end_wrapper shortcode="cfdb-table" form="start_end" show="start,end"]The lines containing filter=”&&&&&&&&&&” and filter=”” are appearing on the published page.
Forum: Plugins
In reply to: [Contact Form DB] Filter on dates and displayIt was the first thing I checked, it’s definitely in ‘Text’.
Forum: Plugins
In reply to: [Contact Form DB] Filter on dates and displayThank you. I’ve created the shortcode again and made a new post but it still doesn’t work! This is what appears on the page (under the form) when it is published:
[cfdb-table form=”start_end” show=”start,end” filter=””][ form=”start_end” show=”start,end” filter=”&&”][ form=”start_end” show=”start,end” filter=”&&&&”][ form=”start_end” show=”start,end” filter=”&&&&&&”][ form=”start_end” show=”start,end” filter=”&&&&&&&&”][ form=”start_end” show=”start,end” filter=”&&&&&&&&&&”][ form=”start_end” show=”start,end” filter=”&&&&&&&&&&&&”]
Does it give you any clues as to what could be wrong?
Forum: Plugins
In reply to: [Contact Form DB] Filter on dates and displayHi Michael,
I changed the date format to yy-mm-dd but still can’t get it work. Would you be able to post your php code and your shortcode so that I can compare? Yours works a charm!
I’m also beginning to wonder if the shortcode I generated start_end_wrapper is accessing the .php? I did follow all the instructions given in your documentation about using the Shortcode Exec php plugin and creating my own shortcode.
Thanks once again for your time.