Posted in Wordpress, 学习手札 @ 2010.01.20 (星期三) 3:59 上午 by NsYta
WP-DBManager version 2.50 .after Active the plugins ,AdminPanel always received :
WP-DBManager 2.50 安装激活后,控制台总是收到如下错误警告:
"Your backup folder MIGHT be visible to the public
To correct this issue, move the .htaccess file from wp-content/plugins/wp-dbmanager to /home/username/commondork.com/wp-content/backup-db"
There is not a such file named .htaccess in /wp-content/plugins/wp-dbmanager.
But Its easy.
但其时插件目录中没有.htaccess文件。经过论坛讨论和考证。最终解决办法如下。
Create one file named .htaccess in than upload to the backup-db directory(Use filezilla can upload file named . xxx )
or
Go to wp-content/plugins/wp-dbmanager find a file named htaccess.txt. then rename it to .htaccess and move it to the backup-db directory.
至于产生这个问题的原因请参考如下网页
http://besthubris.com/computers-internet/fix-wp-dbmanager-error-warning-your-backup-folder-might-be-visible-to-the-public/
1,058 views
Posted in Wordpress, 学习手札 @ 2010.01.17 (星期天) 3:53 上午 by NsYta
错误描述: Memory exhausted error in admin panel
错误提示:Fatal error: Allowed memory size of 33554432 bytes exhausted
解决方法:
assuming you’ve deactivated all plugins, the try one of these methods for increasing the amount of memory a PHP script may consume
1. If you have access to your PHP.ini file, change the line in PHP.ini
If your line shows 32M try 64M:
memory_limit = 64M ; Maximum amount of memory a script may consume (64MB)
2. If you don’t have access to PHP.ini try adding this to an .htaccess file:
php_value memory_limit 64M
3. Try adding this line to your wp-config.php file:
Increasing memory allocated to PHP
define(‘WP_MEMORY_LIMIT’, ‘64M’);
4. Talk to your host.
1,139 views
Posted in Wordpress, 插件 @ 2009.12.30 (星期三) 10:35 下午 by NsYta
Download Monitor 3.3 Beta 中文版(2009.12.30 更新)
插件评价:4星(128人投票)
作者:
Mike Jolley 汉化作者: Hpyer (
http://hpyer.cn/)
一款不错的上传和下载管理插件,个人用起来觉得挺方便,v3.2界面大改版,插件管理入口变成了一个独立的菜单,简洁,一目了然,充分考虑了用户感受。而Download Monitor 3作为 v2的重大升级,也加强了功能性,让用户可以高效管理下载上传。目前版本支持批量添加,重定向下载链接,仅会员可见文件,下载分类,下载统计(可排除管理员),自定义字段及显示方式等。
所以总的来说,Download Monitor 3是一款可用性和易用性都比较高的插件,推荐试用。
- 目前版本: 3.3 (测试版) | 3.2.3(稳定版)
- 其他版本»
- 最后更新: 2009-12-30
- 安装需求: WordPress 2.5 +
- 从服务器上的文件夹中批量添加下载项目
- 支持缩略图的上传
- 支持复合分类,增强Tag支持
- 下载项目管理中显示文件地址。
- NEW:具有独立于WordPress选项设置的菜单,更方便地管理下载项目(3.3beta改进了此菜单项,更符合用户习惯)
- 增加下载日志和下载统计报表。
- 支持Shortcodes
- 下载次数的计算(可排除管理员 )
- 支持自定字段
- 设定仅会员可下载,也可用自定义字段设置可下载用户的最低级别。
- 提供编辑器按钮,方便用户在文章中上传文件或插入下载项目
- 自定义下载项目的重定向,并可隐藏定制URL(用mod_rewrite实现)
- 支持镜像链接 (随机选择) 并可检测其是否死链接
- 可设置起始点击率,万一你变更服务器或导入旧的下载也不会丢失以前的下载记录。
- 可添加下载至Widgets,内容,摘要,和自定义字段。
- 查看此插件更多功能与改进
范例 |
早期标签 |
帮助|
汉化说明 |
付费版本
注意事项:3.3 beta 增加了对复合分类和Tag的支持,为了更好地运行此项功能,插件激活时会建立新表并迁移数据。因此务必先备份你的数据库!
$dl = get_downloads('limit=5&orderby=hits&order=desc');
if (!empty($dl)) {
echo '<ul>';
foreach($dl as $d) {
$date = date("jS M Y", strtotime($d->date));
echo '<li><a href="'.$d->url.'" title="'.__('Version',"wp-download_monitor").' '.$d->version.' '.__('downloaded',"wp-download_monitor").' '.$d->hits.' '.__('times',"wp-download_monitor").'" >'.$d->title.' ('.$d->hits.')</a></li>';
}
echo '</ul>';
}
早期标签
- 正常 –
download#id#format=id
- 包括下载次数的链接 –
download#id
- 不包括下载次数的链接 –
download#id#nohits
- 仅下载地址 –
download#id#url
- 仅下载次数 –
download#id#hits
- 使用图片的链接 –
download#id#image
- 包括下载次数和文件大小的链接 –
download#id#size
- 包括文件大小不包括下载次数的链接 –
download#id#size#nohits
- 显示所有的下载 –
#show_downloads
- 显示所有包括分类的下载-
#advanced_downloads
- 显示指定分类下的下载 –
download_cat#id
- 最热门的下载 –
wp_dlm_show_downloads(1,$no);
(来自汉化者Blog)
- 一个非常不错的下载管理插件, 使用也很方便, 自己把它给汉化了.
- 如果使用过程中发现中文显示不正常, 请参阅《Download Monitor 中中文标题显示为 ???? 的解决办法》
- 其他使用技巧,请参阅《Wordpress Download Monitor 使用技巧》
简体中文版下载:
Download Monitor 3 最新简体中文测试版3.3 beta
Download Monitor 3 简体中文稳定版3.2.3
中文语言包下载:
Download Monitor 3 简体中文语言包3.2.3
×若需要Download Monitor 2 简体中文版请前往
汉化作者Blog
761 views