The example method in this article implements the destoon sorting method as follows: after a VIP logs in within a day, after clicking update, it will be ranked in front of other VIPs and ordinary members who have not updated.
The specific operation steps are as follows:
Open the setting.tpl.php file under moduleselladmintemplate
Found at about line 71:
<select onchange="if(this.value) Dd('order').value=this.value;">
and add below it:
<option value="vip desc,editdate desc,edittime desc"<?php if($order == 'vip desc,editdate desc,edittime desc') echo ' selected';?>><?php echo VIP;?>级别,更新日期,更新时间</option>
to achieve this function.
If you first call the information of the member group VIP, it will cause several pages with the same member information
It seems that this is what he did. For example, 1. He was originally an ordinary member who posted supply information, and then upgraded to VIP. The previous supply information was still at the ordinary level. 2. The same is true for the information released when he was a VIP. , after the VIP expires, these supply information will always be at the recommended level. View original post>>