-// Percent values etc.
-$content['charge'] = translateComma(getConfig('doubler_charge') * 100);
-$content['ref'] = translateComma(getConfig('doubler_ref') * 100);
-$content['total'] = translateComma(getConfig('doubler_points'));
-$content['min'] = translateComma(getConfig('doubler_min'));
-$content['max'] = translateComma(getConfig('doubler_max'));
-
-// Default refid is the userid
-$content['userid'] = getUserId();
-
-// Transfer referal id
-if (isExtensionActive('nickname')) {
- // Load nickname from DB
- $nick = getNickname(getUserId());
-
- if (!empty($nick)) {
- // Set nickname
- $content['userid'] = $nick;
- } // END - if
-} // END - if
-