Implemented Rank & Static Button display

When the code options are given, if their site is not in the top X of buttons made and you use the same static button and the same rank button for sites not in the top, there's really no way to tell the difference in the code besides the buttonType=static or buttonType=rank. It'd be nice to have some text along with the button preview to help others tell which is which.
 

Mark

Administrator
Staff member
Good catch, just had a look in the link_code.php file and it seems the only way I can come up with to do that is add language tag for every button option (we have the word "preview" hardcoded there anyway which needs to go). We'll do this for an upcoming release either 0.9 or 1.0, you can hack /sources/user_cp/link_code.php in the mean time.
 

Mark

Administrator
Staff member
Just an update: this is now included in 0.9. To offer an explanation you can simply edit the phrases via your admin panel

$LNG['link_code_text_link'] = 'Preview:';
$LNG['link_code_static_button'] = 'Preview:';
$LNG['link_code_rank_button'] = 'Preview:';
$LNG['link_code_stats_button'] = 'Preview:';
 
Top