The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Number Generation
I am working on something which needs to assign a random number / text to a member on the page (as like a download id)
How can I get a field that will assign a number / text to a members download product? Any information will be helpful E.G. A download id for a member (licence number) ABC123456 which would be kept randomised per member |
#2
|
|||
|
|||
Use PHP md5() or sha1() or something to generate a hash (using random string e.g. userid + salt + time) ?
|
#3
|
|||
|
|||
How would we do that? Is there any guide anywhere?
|
#4
|
|||
|
|||
|
#5
|
||||
|
||||
uniqid() can generate a random ID.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|