简体中文繁體中文English
欢迎来到叁佰建站,专注互联网服务 18 年 服务热线:020-37392379

SanbbbCMS V1.2.21 Update Log (2026-11-19)

ARTICLE
首页 > 技术支持 > 正文
发布时间:2026-11-19 来源:official 点击:8

Release date:2026-11-19Version type:Feature Update

V1.2.21 introduces three new capabilities: content attachments, recycle bin, and third-party login; Simultaneously improve the rich text editor and email notification settings. All data tables are automatically created by the system after the upgrade, without the need for manual SQL execution.

1、 Content attachment

Add/edit pages for articles, products, cases, and downloads below the content editorAttachmentZone, can upload multiple files at once and delete them one by one. After uploading, an attachment preview block will be automatically inserted at the end of the main text, and the effect can be seen when editing; The front-end details page renders a separate "Attachment Download" block (file name+size+download link),Do not display without attachmentsThe preview block in the main text will not appear repeatedly in the foreground.

When member exclusive content is not logged in, attachments are also hidden, consistent with the permissions of the main text.

2、 Recycle Bin

The deletion of content will no longer be done immediately: articles, products, cases, downloads, recruitment, Q&A, and single page deletion operations will be uniformly changed toMove to Recycle BinThe front desk is immediately invisible, but the data is fully preserved.

The recycle bin entrance is located in "Content Management ->Recycle Bin": You can filter by content type, search by title, and supportrestore、permanently deleteandClearIf the original location (ID) is already occupied by new content during recovery, it will be automatically restored as a new record with the suffix "(recovery)" added, and the data will not be lost.

3、 Third party login (QQ/WeChat)

The member login/registration page supports one click login on QQ and WeChat. The first login automatically creates a member account and synchronizes the nickname avatar; Old members can bind their QQ/WeChat accounts to their existing accounts in the personal center and log in with just one click in the future.

Security details: In order to prevent third-party registered accounts from completely losing contact after unbinding, a password must be set before unbinding the last login method; Login callback with state verification, bounce back address only allows internal paths.

Enabling method:On the "Configuration Parameters ->Third Party Login" tab in the background, fill in the corresponding platform's AppID and AppSecret, and turn on the switch. The button will appear on the login page. Individual developers of QQ Connect (connect. qq. com) can apply for website applications; WeChat Open Platform (open. weixin. qq. com) website applications require enterprise certification. Callback address fillingHttps://Your Domain/oauth/callback/qq(WeChat for)/wx).

4、 Email notification can be tested

Add a new test account line under "System Settings ->Email Notifications"Send test emailButton: Send a real test email directly using the SMTP parameters currently filled in the form, and verify the settings without saving them first; If the test account is left blank, send it to the sender's email address. When a failure occurs, display the real reason returned by the email server (for example, if QQ mailbox authentication fails, an official help link will be provided directly), in order to locate whether the authorization code is incorrect, the port is not working, or the SMTP service is not enabled.

5、 Improvement of Rich Text Editor

  • Full screen editingFixed the issue of not being able to scroll down after full screen, and long texts can be scrolled to the bottom normally;
  • Font sizeChange the dropdown menu to Chinese font size system (Initial, Minor, Number One... Minor Five), and select the text to take effect directly;
  • font: Added Source Black font, Source Song font, Alibaba Universal font MiSans、OPPO Sans、HarmonyOS Sans、 Free commercially available fonts such as Xiawu Wenkai;
  • tableFix the issue of missing horizontal lines in Word/WPS pasted tables; Support mouse drag and drop to adjust column width and row height;
  • CacheStatic resources in the editor are loaded with version numbers, and there is no need to manually clear the browser cache after updating.

Upgrade Notice

  1. The recycle bin table, third-party login binding table, and content attachment fields are automatically created upon first use after the upgrade, without the need for manual SQL execution;
  2. Third party login requires the user to apply for AppID/AppSecret and enable it in the background. If not configured, the login page will not display a button;
  3. If you need email/WeChat reminders, please configure them in "System Settings → Email Notifications" and verify them with the newly added test button;
  4. For sites with static caching enabled, please clear the cache once after upgrading for the editor and attachment styles to take effect.

Affected area

Add attachments/recycle bin/third-party login related services and controllers; Change the deletion logic of content, products, and single pages to a recycle bin; Editor and backend settings page updates; The data table is automatically created by the system.