![]() |
Quote:
|
oh, whoop!
It's supposed to be contest.php?action=view :bunny: |
Wow that doesn't work neither. What do we do now.
|
Wait a sec. Where are the template edits? contest_main
Huh i see these in the php file but no where in the directions did it say to make templates. Something fishy is going on here. o_0 |
Oh, whoops... yeah, you need to create a template, sorry, my bad. ^_^
Here, just put this in as your template content... Name the template contest_main :) :bunny: |
This hack works great but just one thing that is wierd about it. Is there any way you can only get into a contest once. Because i can click enter contest for the same contest and still be paying not even noing that i enter the contest. So if there could be an error screen or something that says you already have entered this contest please make something like that. Thanks so much. This hack is amazng. I love it. But with out this it seems pretty funny. Thanks ;)
|
To prevent someone from submitting more than one ticket, you can modify the code a little to have a while() loop that checks if the results from a SQL select statement return any results.
If you make it select the username, and the number of results is greater than 0, just popup an error.:) |
Thats the prob hehe. I don't no how to code hahaha. I am learning but please post the code that would help tremendously. Also where to put the code would help also hehe. Thanks.
|
Okay...
In contest.php, find: PHP Code:
PHP Code:
|
O it worked great. This is a great hack. Thanks so much. I think you should update the first post for everyone with this update this is a great update thanks so much you are the greatest.
|
All times are GMT. The time now is 09:34 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|