Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome, Guest. Please login or register.
Did you miss your activation email?

August 19, 2022, 05:16:09 AM

Login with username, password and session length
Members
  • Total Members: 3843
  • Latest: Tricky
Stats
  • Total Posts: 193479
  • Total Topics: 21088
  • Online today: 52
  • Online ever: 1035
  • (November 26, 2020, 04:45:12 AM)
Users Online
Users: 1
Guests: 49
Total: 50

Author Topic: Feedback (Flash form)  (Read 20320 times)

0 Members and 1 Guest are viewing this topic.

akulion

  • Guest
Feedback (Flash form)
« on: May 09, 2006, 02:36:38 PM »
Hi

This is a flash based feedback form - really cute and nice - for those people who prefer little cute forms as opposed to big hefty ones.

Demo: Here

Installation Guide

1. Download this zip file

2. Open email.php and find the lines

Code: [Select]

$sendTo = "akulion@gawab.com";
$subject = "Feedback Form Submission";


Change the email addy and subject to whatever you want - thats the email at which you will get the form submissions and the subject is the one which will appear in the subject of the email by default (so you can configure your junk mail filter to always allow these emails thru)

After changing save file

3. Upload all 3 files in the zip package to your server in a new folder (name it whatever you want

4. Create a side block and add the code generated via this page to produce a popup window: http://dynamicdrive.com/dynamicindex8/popwin.htm

There will be 2 bits of code - just put them in the same block.

Specify the popup window size to be 300 x 300

Optional Button
Additionally the code generated from the above link does not contain a button (like in the demo for tell a friend) - so you must create your own and can specify it in img tag of the generated code code by including a IMG tag before the [/url] like so:

Only an example
Code: [Select]

<center><a href="http://www.mysite.com/feedback/feedback.html" onclick="NewWindow(this.href,'P2P Tell A Friend','310','310','no','center');return false" onfocus="this.blur()"><img src=http://www.mysite.com/feedback/image.gif"><br>Tell A Friend</a></center>


Have fun :D

Credits: Kirupa Fedback Form

PS: this code has been added to the 'block snippet code index' under 'F' "feedback form (flash)"

Edited: To include popup generator link
« Last Edit: October 31, 2006, 03:31:43 AM by Aku »

Offline G6Cad

  • Friends
  • *
  • Posts: 12643
    • FamiljeGodis
Re: Feedback (Flash form)
« Reply #1 on: May 09, 2006, 02:42:21 PM »
300x300 is a bit to much for most people that use blocks
"standard" blocks are set as 170 and most users have max 200.

Is it possible to make it a bit smaller to fit in a max size of 170 or less?

akulion

  • Guest
Re: Feedback (Flash form)
« Reply #2 on: May 09, 2006, 02:44:05 PM »
oh I think I didnt explain it clearly enough  - the "POPUP" window will be 300 x 300

the block will be a small thing with just a link or a image :D

try out the demo to see what I mean

Offline G6Cad

  • Friends
  • *
  • Posts: 12643
    • FamiljeGodis
Re: Feedback (Flash form)
« Reply #3 on: May 09, 2006, 02:52:56 PM »
Great :)   Then i will try it out :D

Offline Crip

  • Jesus Inside.
  • Themes
  • *
  • Posts: 4168
  • Theme Support
    • Cripzone
Re: Feedback (Flash form)
« Reply #4 on: May 09, 2006, 03:44:12 PM »
Thats alright.. thanks for sharing. :)
I have become comfortably numb!

Cripzone | Crip's Free 2.0.2 Themes


akulion

  • Guest
Re: Feedback (Flash form)
« Reply #5 on: May 09, 2006, 04:01:31 PM »
ur always welcome G6 and Crip :D

oh yea i nearly forgot to mention - the feedback form above is a LIVE demo - so anything you send through it is delivered to my inbox lol :p
« Last Edit: May 09, 2006, 04:07:02 PM by akulion »

Offline RoarinRow

  • Hero Member
  • *****
  • Posts: 1034
  • Ride my AV!
    • Avalanche Style
Re: Feedback (Flash form)
« Reply #6 on: May 09, 2006, 05:26:54 PM »
I tried it out on my test site and I have not yet gotten any email notification.

Here is the code I'm using:

Code: [Select]
<script language="javascript" type="text/javascript">
<!--
/****************************************************
     Author: Eric King
     Url: http://redrival.com/eak/index.shtml
     This script is free to use as long as this info is left in
     Featured on Dynamic Drive script library (http://www.dynamicdrive.com)
****************************************************/
var win=null;
function NewWindow(mypage,myname,w,h,scroll,pos){
if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';
win=window.open(mypage,myname,settings);}
// -->
</script>


<center><a href="http://www.avalanchestyle-test.com/forum/feedback/feedback.html" onclick="NewWindow(this.href,'P2P Tell A Friend','310','310','no','center');return false" onfocus="this.blur()"><img src=http://www.avalanchestyle-test.com/forum/AVS/off.gif><br>Tell A Friend</a></center>

Also, this code on my test site does not produce a pop up window.  It opens in the same browser.


In the email.php I have this:

Code: [Select]
$sendTo = "admin@avalanchestyle.com";
$subject = "AVS Feedback Form Submission";

Any suggestions?

SMF 2.0 RC3
TP 1.0 beta 5-1
Wordpress 3.0

akulion

  • Guest
Re: Feedback (Flash form)
« Reply #7 on: May 09, 2006, 05:57:47 PM »
Thats weird - anyone else having this problem?

It seems to be working A- OK for me...

Have you tried using a web-based email account just for testing purposes? cos it could be something to do with ur host - so give yahoo or hotmail a try to see if its workin or not

Offline RoarinRow

  • Hero Member
  • *****
  • Posts: 1034
  • Ride my AV!
    • Avalanche Style
Re: Feedback (Flash form)
« Reply #8 on: May 09, 2006, 06:47:23 PM »
Thats weird - anyone else having this problem?

It seems to be working A- OK for me...

Have you tried using a web-based email account just for testing purposes? cos it could be something to do with ur host - so give yahoo or hotmail a try to see if its workin or not


Yahoo! is my web host and I use the email addresses provided by them.  Is my configuration o.k. above?

SMF 2.0 RC3
TP 1.0 beta 5-1
Wordpress 3.0

akulion

  • Guest
Re: Feedback (Flash form)
« Reply #9 on: May 09, 2006, 07:10:11 PM »
yes ur configuration is perfectly ok as well

but i cant figure out why the javascript wont work for u cos its a direct code from dynamicdrive for usage with FF, IE and Opera and works perfectly fine for every other place ive used it

Edit I see now wy it may not be working for u (atleast the popup) generate a code using this page for the popup window and copy and paste the 2 bits of code into the same block --> http://dynamicdrive.com/dynamicindex8/popwin.htm

and no i didnt mean change ur host lol I meant try using a webbased email address like on hotmail or yahoo

I still cant understand why it wouldnt work for u - everything seems to be perfectly ok, i checked like 4 times

« Last Edit: May 09, 2006, 07:18:05 PM by akulion »