8 comments found.
403 on the demo
It’s true, we changed server, I would give you the new link soon.
Would rather see the 3 FACE icons on the plugins side by side, click on the faces and an interstitial/overlay pops up asking for comment with submit. Short, sweet, simple.
Now that cleanly done I would purchase in a heartbeat!
Demo online DEMO
stiill would like to see working demo
Preparation courses 
Demo online added 
Thanks for snippet!
I will purchase it, good work.
No need more example, php is my preferred language.
Thanks
Hi,
nice plugin.
I can’t understand where you save feedback post?
On a email address or into database?
Which server side code you are using? php?
Hello,
For the server part is I add an example because the data is returned through an AJAX request, but I will add here a sample code with PHP:
// in server script example server.php
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
$extraData = null;
foreach ($_POST as $key => $value) {
switch ($key) {
case 'img64':
$imgData = $value;
break;
case 'comment':
$comment = $value;
break;
case 'extraData':
$extraData = json_encode($value);
break;
case 'debugData':
$applicationData = json_encode($value['application']);
$clientData = json_encode($value['client']);
$url = $value['global']['url'];
break;
default:
// other data to be igonred
break;
}
}
// save all data on database
$db = mysql_connect('[HOST]', '[LOGIN]', '[PASSWORD]')
or die('Connection error : ' . mysql_error());
mysql_select_db('[BASE_NAME]', $db);
$query = "INSERT INTO feedback (comment, application, client, url) VALUES ('$comment','$applicationData','$clientData','$url', '$extraData')";
mysql_query($query) or die('SQL ERROR !' . $sql . '<br />' . mysql_error());
$feedID = mysql_insert_id();
mysql_close();
// save image to server file
$fileName = 'feedback_screen_' . $feedID;
$img = str_replace('data:image/png;base64,', '', $imgData);
$img = str_replace(' ', '+', $img);
$data = base64_decode($img);
file_put_contents('[UPLOAD_DIR]' . $fileName . '.png', $data);
echo 'SUCCESS';
}
You must change the host, login, password, and base_name upload_dir then creates your table feedback with this SQL script:
CREATE TABLE IF NOT EXISTS `feedback` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`comment` varchar(255) NOT NULL,
`application` text NOT NULL,
`client` text NOT NULL,
`url` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
In this way, your feedback will be stored in your database as well as the screenshot with a name: “feedback_screen_ [feed_id]. Png”. You can also enregsiter image in the database using a BLOB field. And you can also use it directly in an e-mail with this script:
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
$extraData = null;
foreach ($_POST as $key => $value) {
switch ($key) {
case 'img64':
$imgData = $value;
break;
case 'comment':
$comment = $value;
break;
case 'extraData':
$extraData = $value;
break;
case 'debugData':
$applicationData = $value['application'];
$clientData = $value['client'];
$url = $value['global']['url'];
break;
default:
// other data to be igonred
break;
}
}
// your adress and support
$to = 'your@example.com' . ', support@example.com';
$subject = 'Feedback From your application';
$message = "
<head>
<title>Feedback From your application</title>
</head>
<p>This is your feedback content !</p>
<table>
<tr>
<th>Comment </th><td>{$comment}</td>
</tr>
<tr>
<th>Extra Data </th><td>".print_r($extraData,true)."</td>
</tr>
<tr>
<th>URL </th><td>{$url}</td>
</tr>
<tr>
<th>Application Data </th><td>".print_r($applicationData,true)."</td>
</tr>
<tr>
<th>Client Data </th><td>".print_r($clientData,true)."</td>
</tr>
</table>
<p>And the screenshot is :</p>
<img src="\"{$imgData}\"" />
";
$headers = ‘MIME-Version: 1.0’ . ”\r\n”;
$headers .= ‘Content-type: text/html; charset=iso-8859-1’ . ”\r\n”;
$headers .= ‘To: Your <your@example.com>, Support <support@example.com>’
. ”\r\n”;
$headers .= ‘From: Feedback Application <feedback@example.com>’ . ”\r\n”;
mail($to, $subject, $message, $headers);
}
I can also, if you want a exmeplaire server code using Java Servlet, or ASP. Finally I Thank You for your interest.
Awesome Plugin ! , bookmarked
Interesting, but I doubt you will get sales unless you do a preview as the video isnt much good and the screenshots dont possibly do it justice
Hi, I sincerely believe that there will not be many sales because it is a plugin pretty special. For the moment that I saw is that Google used a similar component for these products. Finally, for the video, I also think I should make a lighter to set Evidance power.
Thank you.