杰奇2.4仿斋书苑小说模板

此模板为精仿斋书苑模板,适用于杰奇2.4UTF-8
2.4安装本就比其它的麻烦,请认真按照教程操作。

谢谢以下为安装说明参考:

一、杰奇2.4安装

1、服务器环境
php5.3.*- php5.6.1 + mysql 5.* – MariaDB 10.*

php请加载以下模块
mysql zlib sockets curl iconv mbstring gd

2、更改网站默认编码为uft8,采集GBK自动转为utf8,创建数据库编码为utf8,必须把jieqi24.sql导入数据库,更改默认存储为INNODB

3、上传网站程序后,以下4个目录必须可写:cache compiled configs files

4、编辑网站目录下 /configs/define.php ,以下数据库参数根据实际填写
@define(‘JIEQI_DB_HOST’,’localhost’); //数据库服务器地址,跟网站在同一服务器时候填localhost
@define(‘JIEQI_DB_USER’,’root’); //数据库登录账号
@define(‘JIEQI_DB_PASS’,’pass’); //数据库登录密码
@define(‘JIEQI_DB_NAME’,’jieqicms’); //网站系统使用的数据库名字

后台http://www.域名.com/admin/index.php
用户名admin 密码123456

二、斋书院模板安装

www是pc模板   m是移动模板

1. 安装好杰奇主体程序后,覆盖文件.

2. 模板设置 -> 打开后台 -> 系统设置 -> 电脑版(手机版)系统定义 -> 网站风格设置 ->手机版为:mzsy 电脑版为:zhaishu

2.1 由于杰奇2.4手机跟pc分开,需要配置的文件如下(PC端防跨站攻击一定要关闭!)

《注:》(所用的模板文件请用代码编辑器修改 记事本打开有时会出编码错误)

编辑手机端/configs/article/configs.php

修改 'txtdir' => 'txt', 为 'txtdir' => '你的PC路径/txt',
修改 'opfdir' => 'txt', 为 'opfdir' => '你的PC路径/txt',
修改 'imagedir' => 'image', 为 'imagedir' => '你的PC路径image',
修改 'imageurl' => '', 为 'imageurl' => '你的PC网址/files/article/image',

如果使用了HTML需要修改 ‘htmldir’ => ‘html’, 为 ‘htmldir’ => ‘你的PC路径/html’,
——————————–
注:上面格式如果封面不显示
可以这样改:

'imageurl' => 'http://pc端域名/files/article/image',
'imagedir' => 'http://pc端域名/files/article/image',

其实手机端是 一库多站的原理 调用pc数据。
手机端的关键词 标题 描述 在/m/configs/define.php

示范如宝塔面板PC网站根目录为xs 那么就这样写 ‘txtdir’ => ‘/www/wwwroot/xs/files/article/txt’,
如果你是电脑搭建在E盘 那么示范: ‘txtdir’ => ‘E:/xs/files/article/txt’,

3. 伪静态设置 -> 打开后台 -> 模块管理 -> 小说连载 -> 参数设置 -> 按照下方所写一一对应填写

小说信息页面伪静态规则 /book/<{$id}>.html
排行榜页面伪静态规则 /top/<{$order}>.html
书库页面伪静态规则 /shuku/<{$rgroup}>/<{$sortid}>/<{$typeid}>/<{$words}>/<{$update}>/<{$isfull}>/<{$order}>/<{$page}>.html
PC端小说目录页伪静态规则 /index/<{$aid}>.html
手机端小说目录页伪静态规则 /index/<{$aid}>/<{$order}>/<{$page}>.html
小说章节页伪静态规则 /book/<{$aid}>/<{$cid}>.html

PS:注意书库写死了一个路径,如果你想定义你自己的伪静态,请修改modules/article/templates/articleinfo.html,把其中这段 /shuku/0/{?$sortid?}/0/0/0/0/lastupdate/1.html 改为你自己的书库指向路径

书单页面显示的小说请通过 /configs/article/shudanblocks.php 更改ID!

PS:由于模板伪静态并非写死路径,懂得可以自行设置伪静态。

[wm_collapse title=”阅读全文”]

nginx电脑版伪静态:

rewrite ^/shudan.html$  /modules/article/shudan.php  last;
rewrite ^/book/([0-9]+).html$   /modules/article/articleinfo.php?id=$1 last;
rewrite ^/book/([0-9]+)/([0-9]+).html$  /modules/article/reader.php?aid=$1&cid=$2 last;
rewrite ^/index/([0-9]+).html$  /modules/article/reader.php?aid=$1 last;
rewrite ^/shuku/([0-9]+)/([0-9]+)/([0-9]+)/([0-9]+)/([0-9]+)/([0-9]+)/([a-z]+)/([0-9]+).html$ /modules/article/articlefilter.php?rgroup=$1&sortid=$2&typeid=$3&words=$4&update=$5&isfull=$6&order=$7&page=$8 last;
rewrite ^/top/([a-z]+).html$   /modules/article/toplist.php?order=$1  last;
rewrite ^/nansheng/$ /modules/article/articlefilter.php?order=lastupdate&page=$1 last;
rewrite ^/nvsheng/$ /modules/article/articlefilter.php?order=lastupdate&page=$1&sortid=$8 last;

nginx手机版伪静态:

rewrite ^/top/rank.html$ /modules/article/ltop.php last;
rewrite ^/top/collect\.html$ /modules/article/stop.php last;
rewrite ^/top/vote\.html$ /modules/article/ttop.php last;
rewrite ^/top/nrank\.html$ /modules/article/ntop.php last;
rewrite ^/shudan/hot\.html$ /modules/article/shudanh.php last;
rewrite ^/shudan/recommend\.html$ /modules/article/shudanr.php last;
rewrite ^/shudan/products\.html$ /modules/article/shudanp.php last;
rewrite ^/shudan/editors\.html$ /modules/article/shudane.php last;
rewrite ^/book/([0-9]+)\.html$ /modules/article/articleinfo.php?id=$1 last;
rewrite ^/book/([0-9]+)/([0-9]+)\.html$ /modules/article/reader.php?aid=$1&cid=$2 last;
rewrite ^/index/([0-9]+)/([a-zA-Z0-9]+)/([0-9]+)\.html$ /modules/article/reader.php?aid=$1&order=$2&page=$3 last;
rewrite ^/shuku/([0-9]+)/([0-9]+)/([0-9]+)/([0-9]+)/([0-9]+)/([0-9]+)/([a-z]+)/([0-9]+)\.html$ /modules/article/articlefilter.php?rgroup=$1&sortid=$2&typeid=$3&words=$4&update=$5&isfull=$6&order=$7&page=$8 last;
rewrite ^/top/([a-z]+)\.html$ /modules/article/toplist.php?order=$1 last;
rewrite ^/nansheng/$ /modules/article/articlefilter.php?order=lastupdate&page=$1 last;
rewrite ^/nvsheng/$ /modules/article/articlefilter.php?order=lastupdate&page=$1&sortid=$8 last;

apache电脑版伪静态:

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^shudan\.html$ /modules/article/shudan.php [L]
RewriteRule ^book/([0-9]+)\.html$ /modules/article/articleinfo.php?id=$1 [L]
RewriteRule ^book/([0-9]+)/([0-9]+)\.html$ /modules/article/reader.php?aid=$1&cid=$2 [L]
RewriteRule ^index/([0-9]+).html$ /modules/article/reader.php?aid=$1&order=$2cid=$3 [L]
RewriteRule ^shuku/([0-9]+)/([0-9]+)/([0-9]+)/([0-9]+)/([0-9]+)/([0-9]+)/([a-z]+)/([0-9]+)\.html$ /modules/article/articlefilter.php?rgroup=$1&sortid=$2&typeid=$3&words=$4&update=$5&isfull=$6&order=$7&page=$8 [L]
RewriteRule ^top/([a-z]+)\.html$ /modules/article/toplist.php?order=$1 [L]
RewriteRule ^nansheng/$ /modules/article/articlefilter.php?order=lastupdate&page=$1 [L]
RewriteRule ^nvsheng/$ /modules/article/articlefilter.php?order=lastupdate&page=$1&sortid=$8 [L]

apache手机版伪静态:

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^shudan/hot\.html$ /modules/article/shudanh.php [L]
RewriteRule ^shudan/recommend\.html$ /modules/article/shudanr.php [L]
RewriteRule ^shudan/products\.html$ /modules/article/shudanp.php [L]
RewriteRule ^shudan/editors\.html$ /modules/article/shudane.php [L]
RewriteRule ^top/rank\.html$ /modules/article/ltop.php [L]
RewriteRule ^top/collect\.html$ /modules/article/stop.php [L]
RewriteRule ^top/vote\.html$ /modules/article/ttop.php [L]
RewriteRule ^top/nrank\.html$ /modules/article/ntop.php [L]
RewriteRule ^book/([0-9]+)\.html$ /modules/article/articleinfo.php?id=$1 [L]
RewriteRule ^book/([0-9]+)/([0-9]+)\.html$ /modules/article/reader.php?aid=$1&cid=$2 [L]
RewriteRule ^index/([0-9]+)/([a-zA-Z0-9]+)/([0-9]+)\.html$ /modules/article/reader.php?aid=$1&order=$2&page=$3 [L]
RewriteRule ^shuku/([0-9]+)/([0-9]+)/([0-9]+)/([0-9]+)/([0-9]+)/([0-9]+)/([a-z]+)/([0-9]+)\.html$ /modules/article/articlefilter.php?rgroup=$1&sortid=$2&typeid=$3&words=$4&update=$5&isfull=$6&order=$7&page=$8 [L]
RewriteRule ^top/([a-z]+)\.html$ /modules/article/toplist.php?order=$1 [L]
RewriteRule ^nansheng/$ /modules/article/articlefilter.php?order=lastupdate&page=$1 [L]
RewriteRule ^nvsheng/$ /modules/article/articlefilter.php?order=lastupdate&page=$1&sortid=$8 [L]

4. 页面标题,关键词与描述设置,模板请参考下方模板路径与对应页面

{?set $jieqi_pagetitle = “”?} //前台标题设置请放在””里
{?set $meta_keywords = “”?} //前台关键词设置请放在””里
{?set $meta_description = “”?} //前台描述设置请放在””里

PS:设置标签里注意标签调用不能带?,如{?$jieqi_sitename?},如需调用标签请去点?,示范:{$jieqi_sitename}

5. 模板路径与对应页面

configs/

注意书库写死了三个路径,如果你想定义你自己的伪静态,请修改

modules/article/templates/articleinfo.html,
modules/article/templates/index.html,
modules/article/templates/style.html,

把其中这段 /shuku/0/{?$sortid?}/0/0/0/0/lastupdate/1.html 改为你自己的书库指向路径

手机端预留的统计代码与广告代码位置请在 /zhaishu/js/wap.top.js里对应注释更改![/wm_collapse]

杰奇2.4仿斋书苑小说模板插图杰奇2.4仿斋书苑小说模板插图(1)杰奇2.4仿斋书苑小说模板插图(2)

杰奇2.4仿斋书苑小说模板插图(3)

解压密码回复可见

[wm_reply]lQ1sA0bN2fY0bX6wP6kO8tY3xA9nR7xF[/wm_reply]

 

①本站所有CMS源码、杰奇CMS模板、PTCMS源码模板、YGBOOK源码模板、帝国CMS源码模板等仅用于学习和交流,勿用于商业。
②本站资源有安装及使用文档,安装使用请自行探索,如您对购买的程序或是模板无法胜任安装工作,请点击付费安装。
③本站资源来源网络或者用户投稿,切勿私自传播于网络,否则将追究法律责任。且仅供学习交流之用,如有侵权请联系删除。
④如果资源失效或下载链接错误请联系站长。
蓝大富博客 » 杰奇2.4仿斋书苑小说模板

4 评论

  1. 如果不按个人别人头上不是

  2. 撒旦发射点覅

发表评论