欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
Coppermine Photo Gallery
来自开放百科 - 灰狐
(版本间的差异)
小 (→整合) |
|||
(未显示2个用户的5个中间版本) | |||
第1行: | 第1行: | ||
+ | {{SeeWikipedia}} | ||
+ | |||
==在线演示== | ==在线演示== | ||
http://demo.huihoo.com/coppermine/ | http://demo.huihoo.com/coppermine/ | ||
第42行: | 第44行: | ||
Go to the gallery, enter admin mode and click on the "Groups" button. This will synchronize Coppermine groups with those of your board. | 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>' : ''; | ||
+ | |||
+ | {{Comment}} | ||
+ | |||
+ | [[Category:Gallery]] | ||
+ | [[category:PHP]] |
2013年1月19日 (六) 05:40的最后版本
您可以在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>
分享您的观点