Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
123
返回列表 发新帖

discuz!中模板风格styleid的修改方法!

[复制链接]
bokemi 发表于 2006-9-2 00:53:45 | 显示全部楼层
这些方法到底谁实验成功了啊?
回复

使用道具 举报

bokemi 发表于 2006-9-2 11:03:28 | 显示全部楼层
回复

使用道具 举报

lierrer 发表于 2006-12-8 08:57:21 | 显示全部楼层
OTZ,备份之后……不能恢复呢~~
按导入备份1之后出现:Fatal error: Allowed memory size of 12582912 bytes exhausted (tried to allocate 2888107 bytes) in /www/users/for-spr.com/bbs/admin/database.inc.php on line 423


完蛋,所有备份都不能恢复了……= =|||
这下完了……

[ 本帖最后由 lierrer 于 2006-12-8 09:01 编辑 ]
回复

使用道具 举报

liu3zy 发表于 2007-3-22 11:15:38 | 显示全部楼层
根据“Discuz!5.5.0升级常见问题整理”
[Copy to clipboard] [ - ]CODE:
INSERT INTO cdb_stylevars (styleid, variable, substitute) VALUES (1, 'msgbigsize', ''), (1, 'msgsmallsize', '');
INSERT INTO cdb_stylevars (styleid, variable, substitute) VALUES ('1', 'frameswitch', 'frame_switch.gif');
INSERT INTO cdb_stylevars (styleid, variable, substitute) VALUES ('1', 'framebg', 'frame_bg.gif');
INSERT INTO cdb_stylevars (styleid, variable, substitute) VALUES ('1', 'framebgcolor', '#E8F2F7');
中的1改为你现在使用的对应风格模板的id

注意:执行之后更新css和后台的缓存
试试下面的,可能可行:
INSERT INTO cdb_stylevars (styleid, variable, substitute) VALUES ('4', 'styleid', '3);
回复

使用道具 举报

jianng 发表于 2008-8-21 10:51:42 | 显示全部楼层
LD你得不能用。
回复

使用道具 举报

heye521 发表于 2008-8-21 10:55:17 | 显示全部楼层
技术高超啊

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-5-27 10:53 , Processed in 0.142351 second(s), 15 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表