最简单的安装办法:按照我的目录结构直接上传到空间,然后到后台系统设置——功能设置——选择douban这个风格,就可以啦
若出现发表文章警告或是更新缓存警告,请看后边的解决办法。
演示地址:http://woaikan.clin003.com/
原模板地址:http://www.pbdigg.net/show/812-1
下载地址:仿豆瓣pbdigg模板下载
截图预览:

这个模板在woaidushu.com基础上做的修改,修改的内容主要有:
调整顶上边的色块颜色为浅绿色
调整使“顶”旁边的“埋”可以看到
调整页面顶部的欢迎语句,使欢迎语和用户登录的用户名搭配,针对会员做欢迎词
修改ui语言语言中的myspace对应中文为“我的空间”,控制面板为——设置(这个想法主要是模仿豆瓣的,感觉豆瓣的这个词语要比pbdigg官方默认的这两个词语跟亲切些)
修改的连接地址有:退出地址,控制面板(设置)地址,发表文章地址
貌似还修改啦些地方,暂时想不起来啦。
自己动手按章模板办法:
1:首先上传模板文件比如douban到templates文件夹下
2:在data\style下建个douban.php内容可以复制pbdigg.php,修改里边的tplpath=>”pbdigg”为tplpath=>”douban”,也就是你的模板的文件夹名称。
3:在compile下建个douban文件夹
4:后台系统设置——功能设置——选择风格——douban,提交就可以啦。
若更新缓存或者发表文章出现类似:
Warning: articledigs (/home/clin003/domains/woaikan.clin003.com/public_html/data/cache/cache_templates.php) [function.articledigs]: failed to open stream: No such file or directory in /home/clin003/domains/woaikan.clin003.com/public_html/include/Cache.class.php on line 403
Warning: articledigs (/home/clin003/domains/woaikan.clin003.com/public_html/data/cache/cache_templates.php) [function.articledigs]: failed to open stream: No such file or directory in /home/clin003/domains/woaikan.clin003.com/public_html/include/Cache.class.php on line 403
Warning: articledigs() [function.include]: Failed opening ‘/home/clin003/domains/woaikan.clin003.com/public_html/data/cache/cache_templates.php’ for inclusion (include_path=’.:/usr/local/lib/php’) in /home/clin003/domains/woaikan.clin003.com/public_html/include/Cache.class.php on line 403
Warning: articleviews (/home/clin003/domains/woaikan.clin003.com/public_html/data/cache/cache_templates.php) [function.articleviews]: failed to open stream: No such file or directory in /home/clin003/domains/woaikan.clin003.com/public_html/include/Cache.class.php on line 433
Warning: articleviews (/home/clin003/domains/woaikan.clin003.com/public_html/data/cache/cache_templates.php) [function.articleviews]: failed to open stream: No such file or directory in /home/clin003/domains/woaikan.clin003.com/public_html/include/Cache.class.php on line 433
Warning: articleviews() [function.include]: Failed opening ‘/home/clin003/domains/woaikan.clin003.com/public_html/data/cache/cache_templates.php’ for inclusion (include_path=’.:/usr/local/lib/php’) in /home/clin003/domains/woaikan.clin003.com/public_html/include/Cache.class.php on line 433
Warning: articlecomments (/home/clin003/domains/woaikan.clin003.com/public_html/data/cache/cache_templates.php) [function.articlecomments]: failed to open stream: No such file or directory in /home/clin003/domains/woaikan.clin003.com/public_html/include/Cache.class.php on line 463
Warning: articlecomments (/home/clin003/domains/woaikan.clin003.com/public_html/data/cache/cache_templates.php) [function.articlecomments]: failed to open stream: No such file or directory in /home/clin003/domains/woaikan.clin003.com/public_html/include/Cache.class.php on line 463
Warning: articlecomments() [function.include]: Failed opening ‘/home/clin003/domains/woaikan.clin003.com/public_html/data/cache/cache_templates.php’ for inclusion (include_path=’.:/usr/local/lib/php’) in /home/clin003/domains/woaikan.clin003.com/public_html/include/Cache.class.php on line 463
Warning: articlepostdate (/home/clin003/domains/woaikan.clin003.com/public_html/data/cache/cache_templates.php) [function.articlepostdate]: failed to open stream: No such file or directory in /home/clin003/domains/woaikan.clin003.com/public_html/include/Cache.class.php on line 493
Warning: articlepostdate (/home/clin003/domains/woaikan.clin003.com/public_html/data/cache/cache_templates.php) [function.articlepostdate]: failed to open stream: No such file or directory in /home/clin003/domains/woaikan.clin003.com/public_html/include/Cache.class.php on line 493
Warning: articlepostdate() [function.include]: Failed opening ‘/home/clin003/domains/woaikan.clin003.com/public_html/data/cache/cache_templates.php’ for inclusion (include_path=’.:/usr/local/lib/php’) in /home/clin003/domains/woaikan.clin003.com/public_html/include/Cache.class.php on line 493
Warning: articlepic (/home/clin003/domains/woaikan.clin003.com/public_html/data/cache/cache_templates.php) [function.articlepic]: failed to open stream: No such file or directory in /home/clin003/domains/woaikan.clin003.com/public_html/include/Cache.class.php on line 523
Warning: articlepic (/home/clin003/domains/woaikan.clin003.com/public_html/data/cache/cache_templates.php) [function.articlepic]: failed to open stream: No such file or directory in /home/clin003/domains/woaikan.clin003.com/public_html/include/Cache.class.php on line 523
Warning: articlepic() [function.include]: Failed opening ‘/home/clin003/domains/woaikan.clin003.com/public_html/data/cache/cache_templates.php’ for inclusion (include_path=’.:/usr/local/lib/php’) in /home/clin003/domains/woaikan.clin003.com/public_html/include/Cache.class.php on line 523
提示信息
发表成功,现在转入主题页。
警告信息:可以到后台——模板管理——打开文章模板然后提交就可以啦。
另外由于这个模板调用啦用户名,而post页面没有这个变量,需要在post.php页面找到PBOutPut(‘post.html’);在前边添加一行$TPL->assign(‘customer’, $customer);
你可以根据自己需要修改header.html中的欢迎语句,还有footer.html中的版权,不过建议保留模板作者版权,谢谢珍惜俺们的劳动成果。
pbdigg支持
pbdigg, 模板, 用户体验, 豆瓣
新鲜评论