Premium Mod

Status
Not open for further replies.
Newbie Spellweaver
Joined
Sep 6, 2008
Messages
9
Reaction score
1
i have found this in my current ogame version; i don't know where are they from.

Download:
Extract first all files form the download in the right folders

1. Make a Sql order in your Datebase

Code:
ALTER TABLE `game_users` ADD `premium_activate` INT( 11 ) NOT NULL ,
ADD `premium_date` VARCHAR( 32 ) NOT NULL DEFAULT '0',
ADD `premium_anzahl` INT( 11 ) NOT NULL ;

2. Now insert in all sites who will be onley for Premium Members
after:
Code:
include($ugamela_root_path . 'common.'.$phpEx);
this:
Code:
if($user['premium_activate'] == '1'){
and on the end
befor:
Code:
?>
this:
Code:
}else{
message ('MESSAGE! MESSAGE! MESSAGE! MESSAGE!'  , 'ERROR');}

Current is in German
Translate it if you need!
Have Fun

~Aviran
Delete Post if one exist allready
 
Last edited:
No the link of your source, your source isn't 14kb (or something like that) big?
I'll look wich version it is ;D
 
You should have made a guide , for example:
If you want to make a member premium then you need to go to the prefix_users database ( prefix beeing the name you choose.. in your case is game) search for the member you want to make premium , go to the premium_activate columns and write the number 1. Also if you use xnova not ugamela you may need to search include($xnova_root_path . 'common.'.$phpEx); instead of include($ugamela_root_path . 'common.'.$phpEx);
 
Status
Not open for further replies.
Back