The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
hey guys, i'm using the Template Hack, mucho props to whomever made that, it's a great hack!
however, i'm trying to make a raffle like hack with this, so far i'm not doign to bad ![]() this would be my first attempt at a hack. i have this in my code PHP Code:
![]() but then the ticketid tempalte looks like this PHP Code:
![]() how do you make the while statement work correctly? i know you can do it, since teh forumhome and forumdisplay does it ![]() thanks alot
|
|
#2
|
||||
|
||||
|
yeah ive had this prob before, with a simple shout box i made, when i eval`d i could only get 1 result showing
|
|
#3
|
||||
|
||||
|
After a quick look to your code, try to replace this:
PHP Code:
PHP Code:
|
|
#4
|
|||
|
|||
|
hmm ok i even tried it within my original raffle template and not using $ticketid and what not as seperate templates....
any help would be great here usually there will only be one raffle but there may be more then 1 sometimes thanks for your input
|
|
#5
|
|||
|
|||
|
Quote:
actually that would make sense .= so it takes more as needed ![]() thanks! |
|
#6
|
||||
|
||||
|
No problem
|
|
#7
|
|||
|
|||
|
Be uber-certain to either unset() or set to "" $ticketid first to avoid HTML injection.
|
|
#8
|
||||
|
||||
|
Would this be the same thing then?
$pollrun = ""; unset($pollrun); even though the variable hasn't been declared yet? |
|
#9
|
|||
|
|||
|
Either:
PHP Code:
PHP Code:
|
|
#10
|
||||
|
||||
|
Which one would you have to use with register_globals turned off?
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|