Secondary development
-
Add comment functionality to WordPress's musings/social media feeds/microblogs
2026.2 Update: If you need to force talk to use the POST ID as the URL, you can use the following code: //force talk use post id in url add_filter('post_type_lin...
-
ThinkSNS registered username and email address and UC communication repair
While researching TypeScript today, I discovered various communication issues between it and UC. After configuring UC and everything seemed normal, the following problems occurred: Registration could use usernames and passwords already existing in the UC table; however, changing usernames failed to synchronize with the UC form (even when adding a new entry...).
-
Modify the uploaded profile picture in Discuz to a non-Flash version
Discuz! profile pictures are always uploaded in Flash, and the language pack and style cannot be modified. Here's how to change it to HTML5: Add the relevant language to the language pack: source/language/home/lang_template.…
-
Solve the integration of UCenter's initial registration, synchronized login, and automatic activation.
UCenter integrates multiple applications, but new users are not automatically logged in to other applications after their initial registration. This means users must log in again using their password in other applications before they can log in synchronously. Also, if a user didn't register through the Discuz application, they won't be able to log in through Discuz…
-
A comprehensive guide to fixing issues encountered when running Ecshop with PHP 5.3 and above.
Operating environment: Linux, Nginx, PHP 5.4.16 1. Ecshop displays the error message: Strict Standards: Only variables should be passed by referent…
-
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 files before modifying them; this is a good habit. First, open the file …/source/class/discuz/discuz_applicati…
-
[BUG] Fixed the issue where Discuz 3x users could not delete their own posts.
Discuz is truly declining in popularity; bugs are rampant and no one seems to be fixing them. I searched for related questions on the forums, but no one answered. I had to take matters into my own hands. Situation: Users cannot delete their own posts. Solution: 1. Settings In the admin panel – Global…
-
[Original] Discuz X3 adds email address verification to determine whether an invitation code is required—invitation code + email dual authentication
Please indicate the source when reprinting. After an afternoon of research, I finally completed this feature and am sharing it with everyone. The specific function is as follows: It determines whether an invitation code is required based on the email address. For example, if a user has an .edu email address, they can register without an invitation code; otherwise, they will need to enter one…
-
Get inventory for each attribute in Ecshop - applicable to all versions
Principle: Retrieve inventory information for each attribute from the database, store it in a function, and then retrieve it using a template. Files requiring modification: 1. Theme template goods.dwt 2. lib_goods.php under includes Step 1. Modify goo…