Creating a competition form...Anyone know how its done??

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Creating a competition form...Anyone know how its done??
Milne
CZ Active Member
uk.gif
Occupation: Civil Servant/Online Business Owner
Age: 39
Gender: Male
Fav. Sports Team: Manchester United
Website:
Status: Offline
Joined: Oct 24, 2003
0.02 posts per day
Posts: 157
Points: 5,515
 Yahoo Messenger MSN Messenger 
Does anyone know how to create competition forms?
Where the person who is entering the competition fills out the following information;

Their name,
Their email address,
Their Phone number,
Their answer to the question.

Then this information is automatically emailed to myself after the enter button is clicked.

I’m unsure if this is possible to do and create, but if anyone knows how it can be done or is able to make one, please get in touch.

Milne icon_cool.gif




Back to top Reply with quote
#2   
mjhufford
CZ Active Member
 Codezwiz Site Donator
mjhufford has been a member for over 20 year's 20 Year Member
usa.gif arkansas.gif
Occupation: IT Industry
Age: 47
Gender: Male
Fav. Sports Team: Da Bears.
Website:
Status: Offline
Joined: Jul 01, 2004
0.04 posts per day
Posts: 288
Points: 15,094
  MSN Messenger 
So you just want someone to fill out that info and have it emailed to you? Nothing else? I could make one of those pretty quick if that's all you need.




_________________
"The pursuit of easy things makes men weak."
-David O. McKay
Back to top Reply with quote
#3   re: Creating a competition form...Anyone know how its done??
Milne
CZ Active Member
uk.gif
Occupation: Civil Servant/Online Business Owner
Age: 39
Gender: Male
Fav. Sports Team: Manchester United
Website:
Status: Offline
Joined: Oct 24, 2003
0.02 posts per day
Posts: 157
Points: 5,515
 Yahoo Messenger MSN Messenger 
Yeah, its just a competition form which the users of my site will fill out.

The Question will be stated above all of the need information.

Site Username * must enter*
Their Full name * must enter*
Email Address * must enter *
Phone Number * must enter*
Answer to The question.. * must enter*

and thats all I need on this one.

Is it possible to have it linked so the only way the users can enter is by login into their account?

Milne icon_cool.gif



PS. Thanks a lot on the logout coding, it works great.



Back to top Reply with quote
#4   
mjhufford
CZ Active Member
 Codezwiz Site Donator
mjhufford has been a member for over 20 year's 20 Year Member
usa.gif arkansas.gif
Occupation: IT Industry
Age: 47
Gender: Male
Fav. Sports Team: Da Bears.
Website:
Status: Offline
Joined: Jul 01, 2004
0.04 posts per day
Posts: 288
Points: 15,094
  MSN Messenger 
Yeah, you just set the module access level to "registered user's only". I'm almost done with the module, will post it here in a minute. It's just a tweak on the feedback module included with nuke.




_________________
"The pursuit of easy things makes men weak."
-David O. McKay
Back to top Reply with quote
#5   re: Creating a competition form...Anyone know how its done??
Milne
CZ Active Member
uk.gif
Occupation: Civil Servant/Online Business Owner
Age: 39
Gender: Male
Fav. Sports Team: Manchester United
Website:
Status: Offline
Joined: Oct 24, 2003
0.02 posts per day
Posts: 157
Points: 5,515
 Yahoo Messenger MSN Messenger 
Nice 1, u might be able to help me out with this aslo [ Register or login to view links on this board. ]

Milne icon_cool.gif




Back to top Reply with quote
#6   re: Creating a competition form...Anyone know how its done??
mjhufford
CZ Active Member
 Codezwiz Site Donator
mjhufford has been a member for over 20 year's 20 Year Member
usa.gif arkansas.gif
Occupation: IT Industry
Age: 47
Gender: Male
Fav. Sports Team: Da Bears.
Website:
Status: Offline
Joined: Jul 01, 2004
0.04 posts per day
Posts: 288
Points: 15,094
  MSN Messenger 
Alright, this should work for ya. Like I said, it's just an emailer, so you won't be harnesing the power of SQL, but it will get you started.

Extract the attached file and maintain the folder structure. Activate the module for "registered users" only.

By default, it will email the $adminmail email address. If you want it to go somewhere else, just edit line 96 of the index.html file from:

   $to = $adminmail;


TO

   $to = "YOUR-EMAIL@DOMAIN.COM";


Hope this helps!

MJ


Attached Files
competition.zip (3.19 KB, Downloaded: 5923 Time(s))



_________________
"The pursuit of easy things makes men weak."
-David O. McKay
Back to top Reply with quote
#7   Re: re: Creating a competition form...Anyone know how its do
Milne
CZ Active Member
uk.gif
Occupation: Civil Servant/Online Business Owner
Age: 39
Gender: Male
Fav. Sports Team: Manchester United
Website:
Status: Offline
Joined: Oct 24, 2003
0.02 posts per day
Posts: 157
Points: 5,515
 Yahoo Messenger MSN Messenger 


Originally posted by mjhufford @ Mon Jun 13, 2005 3:56 am:

Alright, this should work for ya. Like I said, it's just an emailer, so you won't be harnesing the power of SQL, but it will get you started.

Extract the attached file and maintain the folder structure. Activate the module for "registered users" only.

By default, it will email the $adminmail email address. If you want it to go somewhere else, just edit line 96 of the index.html file from:

   $to = $adminmail;


TO

   $to = "YOUR-EMAIL@DOMAIN.COM";


Hope this helps!

MJ


How do I Activate the module for "registered users" only??

Milne icon_cool.gif




Back to top Reply with quote
#8   re: Creating a competition form...Anyone know how its done??
Milne
CZ Active Member
uk.gif
Occupation: Civil Servant/Online Business Owner
Age: 39
Gender: Male
Fav. Sports Team: Manchester United
Website:
Status: Offline
Joined: Oct 24, 2003
0.02 posts per day
Posts: 157
Points: 5,515
 Yahoo Messenger MSN Messenger 
Also where do I upload this to??

and how do I link this to a page or pop-ip box??

Milne icon_cool.gif




Back to top Reply with quote
#9   
mjhufford
CZ Active Member
 Codezwiz Site Donator
mjhufford has been a member for over 20 year's 20 Year Member
usa.gif arkansas.gif
Occupation: IT Industry
Age: 47
Gender: Male
Fav. Sports Team: Da Bears.
Website:
Status: Offline
Joined: Jul 01, 2004
0.04 posts per day
Posts: 288
Points: 15,094
  MSN Messenger 
Well, where is your website hosted? However you went about installing phpnuke originally is the same way you go about installing add-ons or mods.

FTP into your server, or use the control panel, etc...however you normally get in, and then put these files in there while maintaining their structure.

i.e. html folder, modules folder, *Competition, index.php where * is a new folder and then index.php is a new file. The language folder and file go under the competition folder.

Once you upload the module, go to your admin area (http://www.your-domain.com/admin.php)

1) Click on Modules
2) Find the module you want to edit (Competition) and click edit
3) Select "registered users only" from the "Who can view this" drop down menu
4) Save changes
5) Activate module with the "Activate" link on the page you're taken to after saving previous changes


Good luck! icon_eek.gif




_________________
"The pursuit of easy things makes men weak."
-David O. McKay
Back to top Reply with quote
#10   re: Creating a competition form...Anyone know how its done??
Milne
CZ Active Member
uk.gif
Occupation: Civil Servant/Online Business Owner
Age: 39
Gender: Male
Fav. Sports Team: Manchester United
Website:
Status: Offline
Joined: Oct 24, 2003
0.02 posts per day
Posts: 157
Points: 5,515
 Yahoo Messenger MSN Messenger 
Ive been working on getting the competition form to edit but still having no luck.... very strange.

Milne icon_cool.gif




Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum