Forum Discussion
ryandewitt
10 years agoMentor
This is awesome, thank you. Can you give me an idea of what the random code page entail to make, what exactly is on it? A code array?
"I generated two sets of random codes and stuck them in two separate forum posts in a hidden area."
<#assign staffPostId = 12345/> <#-- Unique ID of the post that contains all the generated codes for Staff access--> <#assign ModPostId = 67891/> <#-- Unique ID of the post that contains all the generated codes for Moderator access-->
- PerBonomi10 years agoBoss
Those posts both contain a comma separated string of codes. That way my code can do a simple <body of post>?index_of("<code>") >= 0