Edit the "From: Mobile Client" link on the Discuz post details page.

All we need to do is modify three files, then upload them to the corresponding FTP directory to overwrite the existing files.
Please back up your data before making any changes; this is a good habit.

1. Open the file …/source/class/discuz/discuz_application.php

Find the following code

misc.php?mod=mobile

Replace it with the following code (using the appcan client computer demo interface as an example).

plugin.php?id=zywx:propagate

2. Open the file …/source/plugin/mobile/mobile.class.php
Find the following code

misc.php?mod=mobile

Replace with

plugin.php?id=zywx:propagate

3. Open the file …/template/your template folder/forum/viewthread_node.htm
Find the following code

misc.php?mod=mobile

Replace with

plugin.php?id=zywx:propagate

Note: If the file `form/viewthread_node.htm` is not found in the third file, "Your Template Folder", then directly modify the file in the default template folder, which is `.../template/default/form/viewthread_node.htm`.
At this point, all modifications are complete. Upload these three files to the corresponding directory via FTP to overwrite existing files, update the cache in the background, and you're done!

This siteOriginal articleAll follow "Attribution-NonCommercial-ShareAlike 4.0 License (CC BY-NC-SA 4.0)Please retain the following annotations when sharing or adapting:

Original author:Jake Tao,source:"Edit the link address of 'From: Mobile Client' on the post details page in Discuz!"

229
0 0 229

Further Reading

Post a reply

Log inYou can only comment after that.
Share this page
Back to top