![]() |
I hope to have a rough temperary passes addition out by tommorow, then later a CP integrated one :)
|
Quote:
|
Ok, one of you try this out.
Install the hack from the attached zip in the first post. Then.... Open store.php: Find: Code:
$DB_site->query("UPDATE user SET arcadepass='1',storep=storep-$cost WHERE userid='$bbuserinfo[userid]'"); Code:
$DB_site->query("UPDATE user SET arcadepass='".time()."',storep=storep-$cost WHERE userid='$bbuserinfo[userid]'"); Find: Code:
$arcadepass_u=$DB_site->query_first("SELECT * FROM user WHERE userid='$bbuserinfo[userid]'"); Code:
$arcadepass=$arcadepass_u[arcadepass]; Code:
if ($arcadepass_u[arcadepass]<1) { Code:
if ($expiretime < ".time().") { Code:
We are sorry, your arcade pass has expired, please buy a <a href="store.php?action=arcadepass">new one.</a> Code:
$expiretime=$arcadepass+155520000; Code:
$expiretime=$arcadepass+1; (of course on the last edit, after seeing if it lest you in, change it back :)) |
Well, I changed my mind. A one month pass will be avalible once I write the instructions and ZIP it :)
|
Here we go.....
1 MONTH ARCADE PASS BETA 1.1! Test it out. I know it works, as I have tested it, but test anyways. :) Attachment edited out, not the current attachment. If you want the hack, grab the attachment in the first post :) |
[high]* Goldknight kiss Link's feet
[/high] I m going to test this hack right away Thanks Edit: now I have to wait for AdminCP ;) |
can you make a optiopn in the admin cp and let you set how long can the pass be?
|
mewgod, that is the next thing on my to-do list, I might do it right now. For now.....
Start Menu --> Programs --> Accessories --> Calculator and found out how many seconds are in however long you want the pass of time to be. Then, grab that number and replace 155520000 with it (in proarcade.php after you installed the hack). :) |
Looks good.
I found a bug, though: temporary is spelled incorrectly. :) |
Bah, I knew it looked funny :)
Yea, that bug is tearing board's to peices isn't it ;) lol |
All times are GMT. The time now is 01:45 AM. |
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:
|