Bug Fix Premium ended mail (bug)

oly1993

Member
The mail :
--------------------------------------
Dear Owner of ,

Your Premium Membership has ended!!

Your profile account is changed back to a normal member.

If you want, you can login to your control panel and buy more week Premium Membership.

Thank you very much.
-------------------------------------------
Where can i change that file? And what do i need to place the url?

Best regards,
oly1993
 

Basti

Administrator
Staff member
Yep, and it mainly consist of language phrases. So if you want to change text, search for that phrase found in the file in admin language editor
 

Basti

Administrator
Staff member
Ohhh, good spot. Looks like we dont query the url

We will correct this in the next version, in the meantime please open sources/misc/new_day.php
Find
Code:
$result = $DB->query("SELECT username, email, remain_day, date_start_premium FROM {$CONF['sql_prefix']}_sites WHERE premium_flag = 1", __FILE__, __LINE__);
It has to be
Code:
$result = $DB->query("SELECT username, url, email, remain_day, date_start_premium FROM {$CONF['sql_prefix']}_sites WHERE premium_flag = 1", __FILE__, __LINE__);
 
Top