The emlog blog custom template lu1.3, which is worth 358, is a flying fish ~ We just accidentally saw it and shared it. Due to the lack of many things Emlog needs to replace some system files in order to make the Lu template more user-friendly, the replaced files will be described below
The template only supports php5.6 mysql5.5 and requires sg11
First, import the lu.sql file from the template archive into your database.
Then, execute the following SQL command:
Execute the following statement in the Emlog_user table:
sql
Copy code
alter table emlog_user add sex varchar(2) NOT NULL DEFAULT ‘1’;
alter table emlog_user add qq varchar(20) NOT NULL;
alter table emlog_user add zhuye varchar(50) NOT NULL;
alter table emlog_user add level varchar(10) NOT NULL DEFAULT ‘0’;
alter table emlog_user add vip varchar(20) NOT NULL DEFAULT ‘-1’;
alter table emlog_user add Integral varchar(20) DEFAULT 0.00 COMMENT user balance;
alter table emlog_user add qq_login_openid varchar(40) NOT NULL;
Execute the following statement in the emlog_blog table (if you have already installed the likes plug-in, you only need to execute the second line):
sql
Copy code
alter table emlog_blog add praise varchar(255) NOT NULL;
alter table emlog_blog add titlelu varchar(255) NOT NULL;
alter table emlog_blog add files_rules int(11) NOT NULL;
alter table emlog_blog add files_money float(32,2) NOT NULL;
Finally, execute the following statement in the emlog_attachment table:
sql
Copy code
alter table emlog_attachment add uid int(11) NOT NULL;
Next, the core documents are modified. The specific modified documents include:
“admin/editor directory (editor of Member Center)
“admin/save_log.php”
“admin/views/write.php”
“include/model/log_model.php”
“tinymce editor plugin
In addition, upload applu.zip in the zip package to the root directory of the website to replace existing files.
For poster settings, just create a folder called haibao in the/content/uploadfile directory.
Finally, the template file vcc32@#da6^(.zip can be uploaded to the/content/templates directory, and then unzipped and used.
Comments0