Code: Select all
'CONTEST_DESCRIPTION' => $row['contest_description'],
Code: Select all
'CONTEST_DESCRIPTION' => html_entity_decode($row['contest_description']),
Okay thanks ill check back then i hope your able to@marcus22, subsilver2 is not supported at the moment. If I will have the time, I will make the changes for subsilver2 next week.
Siropu, that's just amazing! Works like a charm.Siropu wrote:@wolfkin, I've fixed the problem in version 1.1.3. Download link in first post.
To update, replace referral_mod_install.php and includes/acp/acp_referral.php and then run referral_mod_install.php to update the MOD version.
As for the bbcodes, maybe in the next release. If you want to use HTML, open index.php and search for this code:Replace with this:Code: Select all
'CONTEST_DESCRIPTION' => $row['contest_description'],
Code: Select all
'CONTEST_DESCRIPTION' => html_entity_decode($row['contest_description']),
Code: Select all
template->_tpl_load_file(): File ./styles/absolution/template/referral/ucp_referral_statistics.html does not exist or is empty
BACKTRACE
FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()
FILE: [ROOT]/includes/functions_template.php
LINE: 63
CALL: trigger_error()
FILE: [ROOT]/includes/template.php
LINE: 437
CALL: template_compile->_tpl_load_file()
FILE: [ROOT]/includes/template.php
LINE: 224
CALL: template->_tpl_load()
FILE: [ROOT]/includes/functions.php
LINE: 4809
CALL: template->display()
FILE: [ROOT]/includes/functions_module.php
LINE: 832
CALL: page_footer()
FILE: [ROOT]/ucp.php
LINE: 339
CALL: p_master->display()
Code: Select all
'1 month' => $user->lang['ONE_MONTH'],
Code: Select all
'2 months' => $user->lang['TWO_MONTHS'],
'3 months' => $user->lang['THREE_MONTHS'],
Code: Select all
if ($contest_end_date == '1 month')
{
$contest_duration = $time_options['1 month'];
}
Code: Select all
if ($contest_end_date == '2 months')
{
$contest_duration = $time_options['2 months'];
}
if ($contest_end_date == '3 months')
{
$contest_duration = $time_options['3 months'];
}
Code: Select all
'ONE_MONTH' => '1 Month',
Code: Select all
'TWO_MONTH' => '2 Months',
'THREE_MONTH' => '3 Months',