欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
Coppermine Photo Gallery
来自开放百科 - 灰狐
您可以在Wikipedia上了解到此条目的英文信息 Coppermine Photo Gallery Thanks, Wikipedia. |
目录 |
在线演示
http://demo.huihoo.com/coppermine/ admin/admin
相关链接
安装指南
获得 http://prdownloads.sourceforge.net/coppermine/cpg1.4.9.zip?download
创建数据库
mysqladmin -u root -p create coppermine 或 mysql>create database coppermine; mysql>GRANT ALL PRIVILEGES ON coppermine.* TO coppermine@localhost IDENTIFIED BY 'coppermine'; mysql>flush privileges;
然后根据安装向导进行安装 http://localhost/coppermine
整合
Coppermine can be integrated with the following bulletin boards (eg. Coppermine and your bulletin board will share the same user database).
CPG 1.4.10 提供了其它CMS的整合功能:在/bridge目录下
coppermine.inc.php phpbb.inc.php smf10.inc.php invisionboard20.inc.php phpbb2018.inc.php udb_base.inc.php mambo.inc.php phpbb22.inc.php vbulletin30.inc.php mybb.inc.php punbb115.inc.php xmb.inc.php phorum.inc.php punbb12.inc.php xoops.inc.php
方法:log in as admin, choose "Admin Tools" from the navigation and the "bridge manager", 然后根据向导完成整合操作。
然后 Synchronising the bbs groups with Coppermine's groups
Go to the gallery, enter admin mode and click on the "Groups" button. This will synchronize Coppermine groups with those of your board.
并且加一个tab在主菜单里
In index.template.php 修改if (in_array($context['current_action'], array('search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm'))) 在'pm'后加上你需要加的 photo
再在同一文件里,相应的位置后加上
// Show the [photo] button. echo ($current_action=='home' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : , ' <td valign="top" class="maintab_' , $current_action == 'home' ? 'active_back' : 'back' , '"> <a href="photo/">Auto Photo</a> </td>' , $current_action == 'home' ? '<td class="maintab_active_' . $last . '"> </td>' : ;
<discussion>characters_max=300</discussion>
分享您的观点