I'm not sure if that will happen or not. I don't think so, based on where the delay is occurring, but we can try it.
Here is the code: http://pastebin.com/rtiaqZem
Save that code to a file on your server which is accessible to the public. Call it "thank-you.html" or something. If it's in the root of your site, and your site is ktrusak.com, the URL that you use for the Gravity Form confirmation redirect would be http://ktrusak.com/thank-you.html .
Be sure to grab this image and save it in the same directory as the HTML file:
http://meridianivr.meridinet.com/chat/images/loadingAnimation.gif
Try loading that thank-you.html URL in your browser to make sure this part is set up correctly.
If that works, go ahead and modify the file at http://pastebin.com/rtiaqZem - you will need to change a couple things. The URL where you want to send them after the site is created, and the timeouts. I have the automatic redirect at 30 seconds and then if the browser does not obey that, there is a text link which will appear after 35 seconds. You can adjust both those numbers, and you need to change the URL from example.com in two places, to the URL you were using for the Gravity Forms confirmation redirect.
Update: this all works pretty well, but you may be right that the delay occurs after accessing the admin area of the new site, when first redirected there. I'm not sure how or when the sites are being created from your site template, so we will have to try this and if it does not work, come up with another solution. Let me know if you need any help with implementation. Thanks.
Posted 12 years ago on Friday August 3, 2012 |
Permalink