How do I do this

Get help using Construct 2

Post » Tue Aug 09, 2016 5:09 am

a rating system and & email system
in my game a popup will come for rate us
when user click 4-5 star go to play store link to rate it
if user give 1-3 star give us feedback to improve it and send mail to me

How do i do this
is this possible to send me feedback msg through construct 2 ???

please help me
Image
B
68
S
40
G
48
Posts: 680
Reputation: 34,066

Post » Tue Aug 09, 2016 1:20 pm

You can definitely use php to send an e-mail from a server. You can redirect using the browser events.
ImageImageImage
B
44
S
26
G
11
Posts: 517
Reputation: 10,500

Post » Wed Aug 10, 2016 4:46 am

badmoodtaylor wrote:You can definitely use php to send an e-mail from a server. You can redirect using the browser events.

I am not a programmer
and I don't know such things how to do
Image
B
68
S
40
G
48
Posts: 680
Reputation: 34,066

Post » Wed Aug 10, 2016 3:26 pm

luckyrawatlucky wrote:
badmoodtaylor wrote:You can definitely use php to send an e-mail from a server. You can redirect using the browser events.

I am not a programmer
and I don't know such things how to do


For Browser:
  • Double Click layout screen
  • Add Browser
  • On events page add the action to change/redirect URL

For PHP:
  • Typically you would have your own server/web hosting but there may be free ways you can use other servers for this. So google a solution for that if you don't have your own hosting
  • Go go layout screen, double click and add AJAX
  • On Event page use AJAX to send POST
  • Google a php template for e-mail or look for a tutorial on here. It may look intimidating if you don't know anything but you usually don't need to change anything at all except the names of the variables (to match what you send in the AJAX post) and maybe deleting some fields/variables you don't need (CC; BCC; Senders name; Subject; etc depending on template you choose)

Using PHP to send e-mail is very common so many tutorials out there and using AJAX in construct to send data to a PHP script is fairly common and have seen several tutorials and posts.
ImageImageImage
B
44
S
26
G
11
Posts: 517
Reputation: 10,500


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 33 guests