SEO url Rewrite rules for post forum name Discuz! X5.0
New
By default settings in SEO of Discuz! X5.0 the rewrite rules applied for thread/topic IDs and forum IDs. But in fact , our other languages forums ( English, Brazilian, Russian...) we'll want to rewrite thread subject, forum name, category into the tiny url for sure.
Now we'll do this tiny updates ...
Create a MD5 function running on a google sheet
This is a normal MD5 hash, show the same result with md5hash in Oracle, md5 in mysql, md5sum in linux .
Open your Google Sheets --> Choose Extentions --> Apps Script --> Code.gs and paste all the following code. Save it and close the project editor
In the cell that you want to calculate md5 val ...
Generate sitemap.xml for discuz! forum
Save these code as: cron_sitemap.php to path: /source/include/cron/
Go to Admincp --> Tools --> Scheduled Tasks --> Create new task: cron_sitemap.
Done.
Dailymotion Discuz! BBcode
Want to share movies, videos from Dailymotion on your Discuz! forum?
You can do it with the Discuz! Codes:
1. Go to AdminCP --> Interface --> Editor Settings --> Discuz! Code.
2. Add new BBcode name: daily
3. Replacement content:
Here is a video from Dailymotion:
[daily]x7vjs5p[/daily]
...
Upload photos to IMGUR with watermark
Stored your website photo files on Imgur is not a bad idea.
First of all, you need an account on Imgur, and you could create an password app for your upload script.
Here is the full code for this feature:
Here is my demo: https://dulich.club/uppic.php
Hide/Show Top Threads on forum homepage
To help discuz! new members easty to catch new updates of the forum. You could open the Home Grids features of the Forum:
Go to AdminCP --> Forums --> Home Grids --> Enable the option: Display content in a four-grid layout on the forum homepage.
- You can display as threads's photos slide or on ...
How to classify post information in Discuz! category
Your Discuz! forum maybe a very rich information resource for people to research. Now you should organize the threads, posts into category.
Just follow my intruction to deal with this:
Go to AdminCP: Forum -> Category Information -> Field Classification Management -> Name your Caterory of Inf ...
How to change the logo of Discuz! forum
Take a few seconds to setup the logo for the Discuz! forum :
Go to AdminCP --> Themes/Templates --> Template List --> Just look at your running template --> Edit --> Now you can upload logo file or use remote image url to set as : Site logo, search logo, mobile touch logo.
Save and done!
...
Discuz! Tiktok BBcode
Go AdminCP --> Interface --> Editor Settings --> Discuz! Code: Add New
BB code name: tiktok
Replacement content:
Example:
Save & done
Activate fulltext search as default in Discuz! X 3.5
First of all, you need to run Discuz!X 3.5 version. Follow this instruction to make a little edit to the template file: /template/default/common/ pubsearchform.htm . If you're using another theme, template just change the name of template folder ( change default --> yourtheme ).
Look at the line ...
Configure free SMTP for Discuz! using Gmail
Go to AdminCP : Founder --> Mail Settings --> Settings --> Tick on the option: Send via SOCKET connection to SMTP server (supports ESMTP authentication)
[+] Add new SMTP server as the following details:
SMTP server: ssl://smtp.gmail.com
Port: 465
Sender Email address: yourname[a]gmail.com
SMT ...
The easiest solution to stop spamming in discuz forum
There's so many spammer, bots, robots on the internet nowsaday, especially in discuz forum system. How do the webmasters to stop spamming in their website?
I found the rule in AdminCP for checking the real users is Uploading Avatar.
AdminCP --> Security --> Basic Settings --> check on "Force use ...
htaccess Rewrite SEO URL for Discuz Forum
Files to be modified: 02 ( function_core.php and .htaccess )
1. Open : /source/function/function_core.php
FindInsert below it:Find:Replaced by:2. Configure .htaccess file like this :3. Login AdminCP --> Global --> SEO --> SEO settings: Enable
4. Upload files & update cache
Discuz! X2.5 Multilanguage Final Preview
Just follow these steps to use your Discuz! X2.5 forum
+ Register new user
+ Modify avatar
+ Start new thread
+ Add static google map into your thread...
[you]y4nQT5U0egw[/you]
This is it