Destoon implements the previous sorting method for VIP ranking. destoonvip_PHP tutorial

Source: Internet
Author: User
Destoon is the method for ranking VIPs in the previous order. Destoon implements the previous sorting method for the VIP ranking. destoonvip in this article, we use the following method to achieve the sorting method: After the VIP is logged on within one day, after the point is updated, it will be ranked by other methods without destoon which the VIP ranking is always in the previous order. destoonvip

In this example, destoon is sorted as follows: after VIP login within one day, after the point is updated, it will be placed before other non-updated VIP and ordinary members.

The procedure is as follows:

Open the setting. tpl. php file under module \ Users \ admin \ template \.
Locate in around 71 rows:

And add:> <? Php echo VIP;?> Level, update date, update timeYou can achieve this function.Destoon [help] ordering of supply informationFirst, if you call the vip information of a member group, several pages will be the same member information. The destoonVIP member has expired, but the information in the supply information is prioritized.It seems that he did this, for example, 1. it turns out that the supply information is released for ordinary members, and then the VIP is upgraded. The previous supply information is still normal level 2. the same is true for the VIP. after the VIP expires, the supply information is always recommended to view the original post>In this example, destoon is sorted in the following way: After VIP login in one day, after the point is updated...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.