Hongmu Notes
Home Program Notes Empire cms

Empire cms

Commonly used and practical Empire CMS codes – a collection of code snippets utilized in Empire CMS, such as those for creating and invoking navigation menus, implementing pagination, and performing various database queries, among others.

Why does the remote saving of pictures in the Empire CMS editor fail?

Why does the remote saving of pictures in the Empire CMS editor fail? Program Notes Empire cms

The Empire CMS Remote Image Localization feature is a highly important functionality that can be frequently utilized even without performing routine image collection tasks. However, it is sometimes possible that this feature does not work as expected. What are the common reasons why this feature might fail to function? Reason 1: Image format and size configuration issues – The default image formats supported by Empire CMS do not include PNG; however, many images (such as those captured using QQ Screenshot) are in PNG format. Simply add PNG images to the system; if the image format on the source server...
👁 241
Original, what should I do if Imperial CMS7.5 cannot save images without suffix?

Original, what should I do if Imperial CMS7.5 cannot save images without suffix? Program Notes Empire cms

Modify the `RepImg` function in `e/class/functions.php`: $zz1 = '/<img|IMG>(.[^?])?(src|SRC)=(\' |\\|\\\\\\ '|)(.[^?]+)?(\.jpg|\.JPG|\.gif|\.GIF|\.png|\.PNG|\.bmp|\....)';
👁 154
Imperial cms verification code instructions

Imperial cms verification code instructions Program Notes Empire cms

Comment verification code: <input name= "key" type= "text" id= "key" size= "6" /> <img src= "!--key.url--" > ali...
👁 205
2022 Empire cms imitation website tutorial

2022 Empire cms imitation website tutorial Program Notes Empire cms

The video has been published on Bilibili, Xigua Video, TikTok, and Toutiao; however, since this tutorial is an enterprise website replication guide, some platforms may block certain episodes, but Bilibili does not have any issues. Bilibili: The latest 2022 Empire CMS enterprise website replication tutorial (No废话::: (smiling)) https://www.bilibili.com/video/BV1vS4y1j7Hi?share_sourc...
👁 382
Introduction to the use of empire CMS calling php functions

Introduction to the use of empire CMS calling php functions Program Notes Empire cms

I. `esub()` Field Extraction Function Syntax: `esub(string, number of characters to extract, suffix)`. Note: The suffix specifies the content appended after the extracted characters; this parameter can be omitted. Example usage: `<?=esub('12345678', 6)?>` returns: `123456`; `<=?=esub('12345678', 6, '…')?>` returns: `123...`
👁 263
How does Imperial CMS7.5 support the PHP7.* series?

How does Imperial CMS7.5 support the PHP7.* series? Program Notes Empire cms

When running on a PHP 7.0 or later runtime environment, follow these configuration steps for PHP 7.X compatibility in the following two scenarios: 1. For a new installation of Empire CMS: Simply select the "MySQLi" interface type during installation to support PHP 7.x series. 2. For existing Empire CMS installations being migrated to a PHP 7.0 or later runtime environment: Simply modify the configuration file /e/config/config.php by changing $ecms_...
👁 209
Empire cms calls articles based on keywords

Empire cms calls articles based on keywords Program Notes Empire cms

EmpireCMS retrieves articles based on keywords <?php if ($navinfor['keyboard']) { $c_key=explode(',',$navinfor['keyboard']); $count=count($c_key); for($i=0;$i<$count; $i++); {if (...
👁 288
How does Imperial CMS determine whether a member is logged in?

How does Imperial CMS determine whether a member is logged in? Program Notes Empire cms

This article demonstrates an example of how to determine whether a member is logged in using EmpireCMS; certain content can only be viewed after logging in, and is inaccessible if the user is not logged in. For this purpose, you may refer to the following code: <?php include("e/class/connect.php"); lguserid=intval_GET['mluserid']); // Logged-in user ID...
👁 254
Empire cms7.5 adds TAG plug-in in batches PHP version

Empire cms7.5 adds TAG plug-in in batches PHP version Program Notes Empire cms

This plugin allows you to batch import hundreds of thousands or even tens of millions of tags – no licensing required; simply upload it to your website to start using it. If you need assistance, feel free to contact me via QQ or WeChat. The advantage of this plugin is that when optimizing your website, proper use of TAG pages can significantly boost your search engine rankings and indexing performance. If you have some basic SEO knowledge, you'll quickly realize how incredibly useful this plugin is. To use the plugin, simply upload it to your website and configure it – then you're ready to go! Price: ¥300 (for multiple plugins...).
👁 211
Empire cms calls the specified column according to the parameters in the extended variable

Empire cms calls the specified column according to the parameters in the extended variable Program Notes Empire cms

EmpireCMS retrieves a specified category based on the parameters in the extended variables [e:loop={&quot;select sonclass, classid, classname, classimg from `[!db.pre!]enewsclass` where classid in($public_r[add_home_class...
👁 209
1 5 6 7 8 9 10