Random number in Thread Subject
Sama34 Offline
Senior Member
****
Posts: 490
Joined: May 2011
Post: #5
RE: Random number in Thread Subject
I though you write this plugin, find:

PHP Code:
"subject" => "[Meldung] Downfile: @" . $post['username'],


Replace: (see below)

PHP Code:
"subject" => "[Meldung] ".rand(0, 10)." Downfile: @" . $post['username'],


Maybe using md5(); with the username and subtracting will be more "random".

Edit: Nevermind, RateU suggestion is more random unique:

Replace:

PHP Code:
"subject" => "[Meldung] {$post['pid']} Downfile: @" . $post['username'],


Support PM's will be ignored. Yipi
Plugins: Announcement Bars - Custom Reputation - Mark PM As Unread
(This post was last modified: 08-05-2012 10:28 AM by Sama34.)
08-05-2012 05:33 AM
Visit this user's website Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Random number in Thread Subject - Jumper - 08-05-2012, 04:01 AM
RE: Random number in Thread Subject - Sama34 - 08-05-2012 05:33 AM

 Standard Tools
Forum Jump: