Completely solve the mobile client independent version of hot posts without data tutorial-php Tutorial

Source: Internet
Author: User
Completely solve the mobile client independent version of hot posts without data tutorials
Exploration process:
After obtaining the invitation code of the handheld Forum (DZ official mobile client), I have successfully owned the mobile client of my website, pay tribute to all the staff of DZ! Although the program is not perfect, I believe there is a bright future!
After successfully installing the mobile phone client, like my friends, my client [Hot posts] has been showing "no data" and has been struggling to find a solution, but failed. BytesGuide[Latest popular] [Latest excellent] is still displayed as "no post yet ". I suddenly remembered that when I was in X2.5, because of the 20121102 patch, it also caused the website to read the hot posts and excellent posts without content. at that time, it took a lot of effort to troubleshoot this BUG, finally, we found that in the froum_guild.php file $ forum ['viewperm'], an additional "! ", Remove this! Then, you will be able to see the content in the guide... [for details, refer to: 1101 patch Guide. there is no post solution yet]
So I checked this file again just now, and was surprised to find that $ forum ['viewperm'] in froum_guild.php still has an additional "!", So, decisively delete this exclamation point, update the cache, open the guidance link: http://bbs.it-home.org/forum.php? Mod = The guide contains data! Data is also available for hot posts on the mobile client! The problem originally exists here, and this happiness comes so suddenly, tears go!

  Solution:
1. set background configurations correctly.
A. Go to the background-global settings for the mobile phone version-whether to enable hot posts (select "yes ")
B. Global-site function-guide settings (based on the actual situation of your website. My setting is: heat value aggregation Lower Limit: 3; hot posts/essence aggregation time range: one month)
2. go to FTP or your server, find: source/module/forum/forum_guild.php, download it to the desktop, open it in notepad, and find the code:

  1. $ Forum ['viewperm']


Remove the exclamation point "!" in front of the code, Save -- upload -- overwrite -- update cache.
After completing the above operations, open your guide and check if there is data in the original blank space? Open your client and check whether the "no data" on the hot post has been occupied by the posts you are familiar?
Actually, solving the problem is that simple!

Mobile client, staff, exclamation point, partner, forum

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.