PDA

View Full Version : How can I add a new (custom) promotions?


Mit3b
04-15-2013, 06:53 AM
Hi guys,,

I just saw that promotions in the VB depending on : post,reputation, join date ..

How can I add a new custom for this ? for example in my user table (mysql )

I add a new column called " points" .. how can I make the promotions depending on this "point" ?

I hope u understand what I'm trying to say here ,,,

the coding in /admincp/usergroup.php is like this :

$promotion = array(
'reputation' => 1000,
'date' => 30,
'posts' => 100,
'type' => 1,
'reputationtype' => 0,
'strategy' => 16
);


I didn't figure out how can I add my new sitting or related to my MOD ...

any help please ??