站长百科 | 数字化技能提升教程 数字化时代生存宝典
首页
数字化百科
电子书
建站程序
开发
服务器
办公软件
开发教程
服务器教程
软件使用教程
运营教程
热门电子书
WordPress教程
宝塔面板教程
CSS教程
Shopify教程
导航
程序频道
推广频道
网赚频道
人物频道
网站程序
网页制作
云计算
服务器
CMS
论坛
网店
虚拟主机
cPanel
网址导航
WIKI使用导航
WIKI首页
最新资讯
网站程序
站长人物
页面分类
使用帮助
编辑测试
创建条目
网站地图
站长百科导航
站长百科
主机侦探
IDCtalk云说
跨境电商导航
WordPress啦
站长专题
网站推广
网站程序
网站赚钱
虚拟主机
cPanel
网址导航专题
云计算
微博营销
虚拟主机管理系统
开放平台
WIKI程序与应用
美国十大主机
编辑“
Gallery:整合:Geeklog
”
人物百科
|
营销百科
|
网赚百科
|
站长工具
|
网站程序
|
域名主机
|
互联网公司
|
分类索引
Firebrance
(
讨论
|
贡献
)
2008年9月26日 (五) 17:19的版本
(
差异
)
←上一版本
|
最后版本
(
差异
) |
下一版本→
(
差异
)
跳转至:
导航
、
搜索
警告:您正在编辑的是本页面的旧版本。
如果您发布该更改,该版本后的所有更改都会丢失。
警告:
您没有登录。如果您做出任意编辑,您的IP地址将会公开可见。如果您
登录
或
创建
一个账户,您的编辑将归属于您的用户名,且将享受其他好处。
反垃圾检查。
不要
加入这个!
<h3>描述</h3> [http://www.flashyourweb.com/filemgmt/index.php?id=8 G2Bridge]是一个[http://www.geeklog.net Geeklog]插件,它允许 [http://gallery.menalto.com/ Gallery2]图片gallery整合到你的Geeklog站点中。 默认情况下,该bridge安装一个随机的相片区块,为启用状态;还安装一个Gallery2控制区块[G2边栏],为禁用状态。<br> 控制区块在G2Bridge管理页面上有相关解释。<br> <small>*为了能够让随机相片区块工作,你必须安装'Image Block'模块。<br> 你可以在G2 [http://codex.gallery2.org/Gallery2:Download#模块下载]页面上找到'Image Block'模块,也可以查看一下G2的管理页面,或许已经有了该模块。</small> <span style="color:red;">注意尽管G2Bridge将用户由一个应用程序映射到另一个,它不会映射用户组权限。</span> <br> <h3>版本历史</h3> <ul> <li>v2.0 [2007年8月5日] <ul> <li><span style="color:blue;">[fix]</span> 更新1.4.1版anon用户的GL检测。以及其他功能的小裁减。 <li><span style="color:blue;">[fix]</span> Gallery2边栏现在能够在rightblocks中正确显示了。 <li><span style="color:red;">[new]</span>添加在区块中[http://www.flashyourweb.com/dokuwiki/doku.php?id=xmlmini Flash XML MiniSlideShow]进行显示的选项。 </ul> </li> <li>v1.1 [2006年4月5日] <ul> <li><span style="color:red;">[new]</span> 添加在<b>config.php</b></li>中显示左右区块的选项 <li><span style="color:blue;">[fix]</span> 现在能够正确映射预先存在于应用程序中的用户了,不会再产生崩溃。 <li><span style="color:blue;">[fix]</span> Gallery2边栏现在能够正确显示了。 </ul> </li> <li>v1.0 [2006年3月18日]应Gallery 2.1+兼容性的需要,由GL_Gallery2分支出G2Bridge,[mailto:suprsidr@gmail.com suprsidr] [http://www.flashyourweb.com/ flashyourweb.com] <ul> <li><span style="color:red;">[new]</span> 完全更新的Gallery 2.1 API。 <li><span style="color:red;">[new]</span> 添加My Gallery链接的选项,附于用户菜单的Gallery2链接旁。 <li><span style="color:red;">[new]</span> 添加<b>config.php </b>中备用登入重定向的选项 <li><span style="color:blue;">[fix]</span> 现在添加安装用户至G2管理用户组,而不再将用户映射到G2管理用户。 <li><span style="color:blue;">[fix]</span> <b>不再存在路径混淆了。</b> :) </ul> </ul> <br> <h3>安装插件</h3> 路径的相关注释: <ul> <li>以 ./开头的路径可找到插件的config.php </li> <li>由<public_html> 可找到lib-common.php文件</li> <li>由<geeklog_dir> 可找到geeklog的config.php文件</li> </ul> <ol> <li>First off, make sure you have a working Gallery2 installation and a working Geeklog installation.</li> <li>If you have G2's <b>URL Rewrite module</b> installed, deactivate and remove it. Re-install it <b>through the embedded version</b> after you've completed the installation of the plugin and verified that the installation works properly. This will ensure that the correct paths are used for rewriting.</li> <li>Backup your Geeklog database because the G2Bridge plugin adds and modifies tables. You can do this with the built in database backup facility in the Admin menu.</li> <li>Uncompress the G2Bridge plugin archive while in the <geeklog_dir>/plugins directory. The archive will create a directory called G2Bridge.</li> <li>In your <public_html>/admin/plugins/ directory create a directory called G2Bridge.</li> <li>In your <public_html> directory, create a directory called G2Bridge.</li> <li>Copy the files in the ./admin directory to the <public_html>/admin/plugins/G2Bridge/ directory you created in step 5.</li> <li>Copy the files and directories in the ./public_html directory to the <public_html>/G2Bridge/ directory you created in step 6.</li> <li>Configure your plugin by setting paths and options in the <b>./config.php</b> file.</li> <li>Login as the user who will be the admin for the G2 installation. Go to the plugin administration page. The G2Bridge plugin should show up with a link to install it. Click it. The install page will tell you if the install was successful or not. If not, examine the Geeklog system errorlog in <geeklog_dir>/logs to see what the problem was. Fix it and re-install.</li> <li>Install will map installing user as G2 admin, others can be added through normal G2 admin. <li><b>Note:</b> This plugin creates blocks which you should not remove manually. It is fine to disable them, but the plugin expects them to exist. They will be removed if you choose to remove the plugin.</li> </ol> <br> <h3>配置插件</h3> 你需要做的唯一一件事就是配置G2Bridge <b>config.php</b>中的路径。这些在文件中有解释。<br> <b>$_G2B_CONF['public_dir']</b> 运行你任意命名G2Bridge插件的public_html 部分。 <b>$_G2B_CONF['random_photo_fields']</b> 允许你指定显示在随机相片区块中的数据。 <b>$_G2B_CONF['allow_anon_access_random_photo']</b> 和 <b>$_G2B_CONF['allow_anon_access_gallery']</b> 确定匿名用户所能看见的内容。 <b>$_G2B_CONF['user_albums']</b> 使你能够选择用户菜单中出现链接的类型。"My Gallery" 或 "Gallery2" <b>$_G2B_CONF['login_redirect']</b> ,如果你的geeklog站点使用自定义的登入页面,就可对其进设定。 <b>注:</b> 如果你在浏览器中遇上无法决定的重定向,请将此设定为' '。 其他所有的配置都是通过Gallery2管理页面完成的。。 <br> <h3>管理部分</h3> <ul> <li>在管理页面 <site_admin_url>/plugins/G2Bridge/index.php中,有一些选项可供控制之用。 <li>控制Gallery2边栏区块的可见度。 <li>对Geeklog& Gallery2用户进行同步。 <li><span style="color:red;">[new]</span>创建含有my Flash XML MiniSlideShow的区块将你的相册以随机相片区块的形式进行显示。</ul> <br> <h3>升级插件</h3> 升级G2Bridge与安装很相似: <ol> <li>备份你的Geeklog数据库,因为升级可能会添加或修改数据库表格。 你可以使用管理菜单中内置的数据库完成此操作。</li> <li>使用管理界面的插件编辑器来禁用G2Bridge [Admin->Plugins->G2Bridge]</li> <li>解压缩G2Bridge插件并将新文件复制并覆盖到旧文件上,其实可以当作新的安装来进行。</li> <li>使用管理界面启用G2Bridge [Admin->Plugins->G2Bridge]</li> <li>返回G2Bridge的插件编辑器 [Admin->Plugins->G2Bridge]并点击'更新(Update)'按钮。</li> </ol> <br> <h3>移除插件</h3> <ol> <li>因为插件会修改某些数据库表格,它<b>总是</b>应当通过提供的界面移除。 以root用户身份登入Geeklog并来到插件管理页面。点击'G2Bridge' 链接并点击'删除(Delete)'按钮。它会要求你进行确认。那么就请确认删除。</li> <li>删除安装过程中创建的三个插件目录: <ul> <li><geeklog-dir>/plugins/G2Bridge/</li> <li><public_html>/G2Bridge/ [或在config.php中你所修改后的任何名称]</li> <li><public_html>/admin/plugins/G2Bridge/</li> </ul> </li> <li>没有第三步了,完成。</li> </ol> <h3>疑问/评论</h3> [mailto://suprsidr@gmail.com 发送邮件给suprsidr]<br> [http://www.flashyourweb.com 访问mysite]<br> [[Category:Integration|Geeklog]] [[Category:Integration:Geeklog]]
摘要:
请注意,您对站长百科的所有贡献都可能被其他贡献者编辑,修改或删除。如果您不希望您的文字被任意修改和再散布,请不要提交。
您同时也要向我们保证您所提交的内容是您自己所作,或得自一个不受版权保护或相似自由的来源(参阅
Wordpress-mediawiki:版权
的细节)。
未经许可,请勿提交受版权保护的作品!
取消
编辑帮助
(在新窗口中打开)