Angsuman’s Authenticated WordPress Plugin - Password Protection for Your WordPress Blog Angsuman的验证wordpress插件-密码保护您的W ordPress所博客
Overview概览
This WordPress plugin (tested on 1.5.x & 2.0) will make your blog accessible only to logged in users.这wordpress插件(测试就1.5.x & 2.0 )将使您的博客访问不仅记录了用户。
A must-have for paid-content publishers and privacy concerned bloggers.是一个必须具有的付费内容出版商和隐私的关注,博客们的不满。
This is a simple zero configuration plugin.这是一个简单的零配置插件。 It allows you to view any content, if and only if you are logged in.它可让您检视任何内容,当且仅当你登录。
Note: Please refer to注:请参阅 WordPress Plugins (Free) Developed and Supported by Taragana.Com wordpress插件(免费) ,发达国家和支持taragana.com for a comprehensive list of all the plugins we have developed and provide for free.一个全面的名单,所有的插件我们已经开发,并提供免费的。 Any new plugin development requests (or enhancement requests) should also be indicated there as comments.任何新的插件开发的要求(或增强的要求)也应表示,有作为的评论。
Update更新
For few users the plugin wasn’t directly redirecting but bringing up an intermediate page.对于少数用户插件并没有直接重定向,但带来了一个中间页。 Brian found a solution to this issue.布赖恩找到了解决这个问题。 The plugin has been updated with插件已经更新与 Brian’s fix Brian的修复 . 。 If you are facing this problem then you are strongly encouraged to download the new version.如果你正面临这个问题,那么你是大力鼓励下载新版本。 Otherwise you may continue with your existing version.否则,你可能会继续与您现有的版本。
Note: We are working on a new version of this plugin. 注: 我们的工作就一个新的版本此插件。 Please let me know the features you would like in the comments or email it to me at angsuman[at]taragana[dot]com. 请让我知道的特点,您想在评论中或通过电子邮件发送给我由Angsuman [在]采购Taragana [点]的COM 。 Lokking forward to your suggestions. lokking着您的建议。
Use Cases使用案例
Paid Content Publishers 付费内容出版商
If you want to use WordPress to display paid-content to your users then this plugin is for you.如果您想要使用的WordPress显示付费内容,以您的用户,然后此插件是为你。 It allows you to display your articles only to registered users.它可以让您展示您的文章,只有注册用户。 You can prevent non-paying users from registering on your blog by unchecking Anyone can register checkbox in Options / General screen.您可以防止非付费用户登记在您的博客上通过取消选中任何人都可以注册的复选框,在选项/一般屏幕上。 And then you can manually register the paying members (Users / Authors & Users screen under Add New Users section) who will then have access to site contents.然后,您可以手动注册付费会员(用户/作者与使用者屏幕下, 添加新用户组)谁届时将有访问网站内容。
Private Bloggers 私人博客
If you want to make your blog accessible to few people only (like family and/or friends) then this plugin is for you.如果您想要让您的博客访问,只有少数人(如家庭和/或朋友) ,那么此插件是为你。
If you are writing on senstive topics which may cause problem in your professional / personal life then you can use this plugin to restrict access to the contents of this blog.如果您是写作的敏的主题,这可能造成的问题,在您的专业/个人生活,然后你可以使用这个外挂程式,限制进入的内容,此博客。 Only you and your selected users will have access to the contents.只有你和你选定的用户将可享用到内容。
Note: 注意:
This plugin makes the whole blog inacccessible for non-logged in users including search engines.这个外挂程式,使整个博客inacccessible非记录在用户,包括搜索引擎。 So long this plugin is active your blog contents will be inaccessible to search engines.只要此插件是积极您的博客的内容将无法进入搜索引擎。
Disclaimer:免责声明:
Use at your own risk.使用您自己承担风险。 No warranties, expressed or implied are provided.任何形式的保证,明示或暗示的规定。
Download:下载:
Angsuman’s Authenticated WordPress Plugin Angsuman的验证wordpress插件
Installation安装
http://codex.wordpress.org/Managing_plugins#Installing_a_plugin http://codex.wordpress.org/managing_plugins # installing_a_plugin
Note: This Plugin supports one-click-install through WordPress Plugin Manager and is also available from 注意:此插件支持一点击安装通过wordpress插件经理和也可以从 WordPress Plugin DB wordpress插件分贝 . 。
- Upload ac_authenticator.php to your wp-content/plugins directory.上传ac_authenticator.php到您的wp-content/plugins目录。
- Log in to WordPress.请登录到的WordPress 。
- Click Plugins from the main menu.点击插件从主菜单。
- Scroll to find the name of the plugin - Angsuman’s Authenticated WordPress Plugin , and click Activate.向下滚动才能找到的名称,该插件-A ngsuman的验证w ordpress插件,并点击激活。
You are done!你这样做!
Configuration & Usage配置与使用
No configuration is required.没有配置是必需的。 Just activating the plugin is all you need to do and if you followed the installation steps above then you have already done that.刚刚启动插件是所有您需要做的,如果你遵循了安装上述步骤,然后你已经这样做。
Enjoy!享受!
Pages: 1 页数: 1 2
Filed under提起下 CMS Software CMS软件 , , Headline News头条新闻 , , How To如何 , , PHP PHP的 , , Pro Blogging赞成Blogging , , Tech Note技术说明 , , Web网页 , , Web Services Web服务 , , WordPress在WordPress | |
| |
RSS 2.0 2.0 | |
Email this Article电子邮件此文章
You may also like to read您也可以想读 |





December 27th, 2005 at 1:43 pm 2005年12月27日在下午1时43分
[...] Angsuman’s Authenticated WordPress Plugin - Password Protection for Your WordPress Blog [...] [ … … ] Angsuman的验证wordpress插件-密码保护您的W ordPress所博客[ … … ]
December 27th, 2005 at 3:37 pm 2005年12月27日在下午3时37分
[...] Hay ocasiones en que nos puede interesar limitar el acceso al contenido y comentarios en nuestro blog a un grupo determinado de personas. [ … … ]干草ocasiones恩阙数以了解其interesar limitar下午存取基地内容y comentarios全新的博客联合国小组determinado德personas 。 Por ejemplo, deseas que el contenido sea solo accesible a los estudiantes del curso o los participantes de un taller.每间房ejemplo , deseas阙下午内容海上独奏accesible洛杉矶estudiantes删除课程o洛杉矶participantes德联合国高。 Con el Angsuman’s Authenticated WordPress Plugin puedes limitar el acceso a solo aquellos que tienen cuenta.结论下午Angsuman的验证wordpress插件puedes limitar下午存取一独奏aquellos阙tienen cuenta 。 El contenido del blog tampoco podrá ser identificado por los motores de búsqueda.下午内容删除博客tampoco podrá丝氨酸identificado每间房洛杉矶motores德搜索。 [...] [ … … ]
December 28th, 2005 at 11:11 pm 2005年12月28日在下午11时11分
[...] Password Protection,让你的blog只有注册/登陆后的用户才可以访问。 [...] [ … … ]密码保护,让你的博客只有注册/登陆后的用户才可以访问。 [ … … ]
December 29th, 2005 at 5:04 pm 2005年12月29日在下午5时04分
Hey I was testing this code, and if you are not registered, you CAN’T Register.嘿我是测试此代码,如果您没有注册,您可以不登记。 If you log out, and try to register, it wants you to login to be able to access it.如果您登出,并尝试注册,希望您能登录,以便能够访问它。
Can you fix this?你能解决这一问题?
December 29th, 2005 at 10:12 pm 2005年12月29日在下午10时12分
I will post a fix today.我会后的修复今天。 Thanks for the catch.感谢的渔获量。
December 30th, 2005 at 2:46 am 2005年12月30日在上午02时46分
It has been fixed.它已被固定。 Please download again.请再次下载。
December 30th, 2005 at 5:06 am 2005年12月30日在上午05时06分
hello, does this plugin protect RSS feeds and the like?您好,请问此插件保护RSS源和样? thanks.谢谢。
December 30th, 2005 at 10:00 am 2005年12月30日上午10:00
@Tin @田
Yes.是。
January 2nd, 2006 at 2:10 am 2006年1月2日在上午02时10分
[...] Angsuman released his Authenticated WordPress Plugin to “make your blog accessible only to logged in users.” [...] [ … … ]由Angsuman公布他的身份验证的wordpress插件“ ,使您的博客访问,只记录在用户” 。 [ … … ]
January 6th, 2006 at 8:43 am 2006年1月6日在上午8时43分
Hi this is actually just a stupid ass guestion.喜,这其实只是一个愚蠢的驴guestion 。 If someone has fast solution please tell me.如果有人快速解决方案,请告诉我。 So I use this plugin and it seeeeems great!因此,我使用这个外挂程式,它seeeeems伟大! Only thing that i would like it to do is not take member to it’s profile page, i would like it to go straight into the mainsite.只有一件事,我想它做的,是不会采取给它的会员的个人资料页,我想它直行到mainsite 。 Any easy solution for that?, thanks!任何容易的解决办法是什么? ,谢谢!
January 10th, 2006 at 10:42 am 2006年1月10日在上午10时42分
I have installled the plug in and it works great!我installled外挂程式在和它的伟大工程! Thanks so much.感谢这么多。 One thing - is it supposed to not re-direct when you hit the blog page if you’re not logged in?一件事-是它假定没有再直接当您击中博客页面如果您还没有登录?
For example -例如- http://www.fearthepaint.com - is thaat the way it works? -是t haat这样的工程? Or is something screwy with my server?或者是螺旋与我的服务器?
January 10th, 2006 at 11:19 am 2006年1月10日在上午11时19分
It is supposed to re-direct.这是假定重新直接。 Check for a demonstration on所有内容的示范 http://test.taragana.net/
Can you check again after disabling all your other plugins.你能否再次检查后,停用所有您的其他插件。 Let me know if that helps.让我知道,如果有帮助。
Have you made any modifications to core WP installation at all?你所作的任何修改的核心可湿性粉剂安装在所有?
January 16th, 2006 at 12:35 pm 2006年1月16日在下午12时35分
I have a quick question.我有一个快速的问题。 I see that your demo does the redirect so that it automatically lands on the WordPress logon.我看到您的演示重定向,以便它自动土地上的WordPress登录。
For some reason, mine does not.出于某种原因,矿山不。 See看见 http://powerswings.com/atwork/
What should I do?我应该怎么办?
Thanks!谢谢!
January 16th, 2006 at 1:08 pm 2006年1月16日在下午1时08分
Sorry - It happens with FireFox 1.5 Beta 2.很抱歉-恰巧与F irefox1 .5B eta2的。 Redirect works just fine with IE.重定向工程只是罚款及IE 。
Thanks!谢谢!
January 20th, 2006 at 3:41 pm 2006年1月20日在下午3时41分
Hi,嗨,
Thanks for making this great plugin.感谢使这个伟大的插件。 One question: Is there a way I can get it to redirect straight to the login page *without* the screen that says “this document has been moved”?一问:有没有办法,我可以得到它重定向到登录页*无*屏幕说: “这份文件已被移至” ?
Thanks again.再次感谢。
January 21st, 2006 at 9:24 pm 2006年1月21日在下午9点24分
I’m having the same problem as Teresa.我有同样的问题,因为德肋撒。 The redirect doesn’t work on my Mac with Safari or FF 1.5 - don’t know about IE (don’t care).重定向不工作,我的Mac与Safari或法郎1.5 -不知道,即(不关心) 。
Thanks.谢谢。
January 23rd, 2006 at 8:52 am 2006年1月23日在上午8时52分
Ben & others,本及其他,
I have been hearing this complaint sporadically.我一直在听这宗投诉,断断续续。 However I couldn’t reproduce it any of my test installations on windows NT or Linux.不过,我无法重现它的任何我的测试装置,在Windows NT或Linux 。
If any of you would be kind enough to give me full access to a test blog (for a limited time) where the problem is happening, then I can look into debugging it.如果有任何你将一种足够给我充分接触到的测试博客(在一段有限的时间)的问题正在发生的事情,那么我可以照顾到调试。
Thanks,谢谢,
Angsuman由Angsuman
January 24th, 2006 at 11:08 pm 2006年1月24日在下午11时08分
Ben & others (facing the intermediate page issue),本及其他(所面临的问题,中间页) ,
The problem has been fixed as per suggestions by an user (details in the article).该问题已固定为百分之建议由一个用户(细节在文章中) 。 Please update your version and let me know.请更新您的版本,并让我知道。
Best,最好的,
Angsuman由Angsuman
January 26th, 2006 at 1:30 am 2006年1月26日在上午01时30分
Hey.嗨。
thanks for a great plugin.感谢伟大的插件。 I am using it for our companie’s internal blog.我用它为我们的,公司的内部博客。 unfortunately, i cannot get my feeds working after installing the plugin.不幸的是,我无法取得我的供稿工作后,安装插件。 feeds in firefox are working just fine, but neither bloglines nor feedreader can find a feed (even if I point them to direct url of the feed).饲料在Firefox的工作只是罚款,但既不向Bloglines订阅新闻发布( RSS也能找到一个饲料(即使我一点他们的直接馈送的网址) 。 i think it has something to do with password protection.我认为这是一些与密码保护。 How do i solve this?我要如何解决这个?
January 26th, 2006 at 8:13 am 2006年1月26日在上午8时13分
Andrius,安德,
I have a version in testing which allows fine-grained control over what you want under password protection.我有一个版本在测试,使精细控制你想要下的密码保护。 That should solve your problem.应该解决您的问题。
January 26th, 2006 at 12:09 pm 2006年1月26日在下午12时09分
wow!哇! that would be great!这将是伟大的! when do you think it’s going to be available for public use?你认为什么时候这将是供市民使用?
January 29th, 2006 at 1:41 am 2006年1月29日在上午01时41分
Hey,嗨,
Can’t use the plug-in.不能使用外挂程式。
I get trouble with this message :我得到的麻烦与此讯息:
Fatal error: Call to undefined function: nocache_headers() in … /Blog/wp-content/plugins/ac_authenticator.php on line 17致命错误:调用未定义的功能: nocache_headers ( )在… … /博客/可湿性粉剂内容/插件/ ac_authenticator.php上线17
Can you help me ?你能帮助我吗?
Thanks谢谢
A+++++++++++ 1 +++++++++++
February 1st, 2006 at 7:26 am 2006年2月1日在上午07时26分
This new version workes fine - I don’t get “200 OK” message any more.这个新版本workes罚款-我不得到“ 2 00确定”的信息,任何更多。 Thank you very much for this plugin.非常感谢你为这个插件。
I’m also interested in using the plugin that allows control over what I want to be protected.我也有兴趣使用该插件允许的控制权是什么,我想受到保护。
February 1st, 2006 at 2:28 pm 2006年2月1日在下午2时28分
HI i have this problem.喜我有这个问题。
I active the plugin and it’s all ok. i积极的插件和它的所有确定。
I’m not logged and he ask me to loggin我还没有登录,他要求我loggin
http://www.mywebsit.com/blog/wp-login.php?redirect_to=%2Fblog%2F http://www.mywebsit.com/blog/wp-login.php?redirect_to = % 2fblog % 2楼
I try to connect but it answer me error.我尝试连接,但回答我的错误。 The redirect creates an error.重定向创建了一个错误。
I have my websit in我有我的网页在 http://www.mywebsite.com/blog and it redirect me on它重定向我就 http://www.mywebsite.com/blog//blog/
it redirect me to它重定向,我
http://www.mywebsite.com/gallery/wp-login.php?user=2&session= http://www.mywebsite.com/gallery/wp-login.php?user=2&session = … e&referrer=http://www.mywebsite.com/blog//blog/ … E及引荐= http://www.mywebsite.com/blog//blog/
I have copperime 3.9 activated if deactive it all work我copperime 3.9激活如果deactive它所有的工作
http://mvdkwast.free.fr/stilglog/index.php/wordpress-plugins/coppermine-plugin/
What I can Do?有什么我可以做什么呢?
help me please.帮我请。
February 1st, 2006 at 3:47 pm 2006年2月1日在下午3时47分
HI嗨
I am using wordpress 1.5.2 and when using the following plugin I get the following error.我使用的WordPress 1.5.2时,使用以下插件我碰到下面的错误。
Fatal error: Call to undefined function: nocache_headers() in /fpgs/fpgshttpd/sunshine/wp-content/plugins/ac_authenticator.php on line 17致命错误:调用未定义的功能: nocache_headers ( )在/ fpgs / fpgshttpd /阳光/可湿性粉剂内容/插件/ ac_authenticator.php上线17
Is there any other way to fix this?是否有任何其他方式来解决这一问题? Or is there a download for a previous version or something?或是否有下载前一版本或一些呢?
Thanks谢谢
February 2nd, 2006 at 8:20 am 2006年2月2日在上午8时20分
@macsou @ macsou
You can comment out/delete that line.您可以发表评论指出/删除该行。
@dafebe @ dafebe
Apparently coppermine alters some global variable in its plugin.显然coppermine改变了一些全局变量在其插件。 I would have to look into the copermine coded to determine what they are exactly doing.我会照顾到copermine编码,以确定是什么,他们正是这样做。
February 2nd, 2006 at 8:22 am 2006年2月2日在上午8时22分
Like “igobypaul” I am also interested in a plug-in similar to this that allows you to configure what is restricted.像“ igobypaul : ”我也有兴趣在一个插件在与此类似,可让您配置是什么限制。 I need something more flexible than the all-or-nothing approach.我需要一些更灵活,比全有或全无的做法。
Any suggestions, links?有任何建议,链接?
Thanks,谢谢,
- jason -贾森
February 2nd, 2006 at 4:51 pm 2006年2月2日在下午4时51分
TNX man!!! tnx男子!
this error there is only for admin这个错误是只为政府当局
here you can downlod it在这里,您可以downlod它
http://mvdkwast.free.fr/stilglog/files/coppermine-3.9.zip
and I think the file that give error is into coppermine-3.9\cpg\1.4x我认为该文件,让错误是,到coppermine - 3.9 \中央人民政府\ 1.4倍
very very TNX!!!!非常tnx !
February 8th, 2006 at 11:44 am 2006年2月8日在上午11时44分
I am also interested in registered users being able to get RSS feeds.我也有兴趣在注册用户能够获得RSS馈送。 My newsreader NetNewsWire does have a place for authentication info, but it does not get past your protection.我的新闻netnewswire确有一个地方进行身份验证信息,但这并不让过去保护您。 Is there any mechanism for getting the RSS feeds right now?是否有任何机制获得RSS信息的权利,现在呢?
Thanks谢谢
Gerry格里
February 11th, 2006 at 7:54 am 2006年2月11日在上午07时54分
hi嗨
a couple of questions - the plugin looked ideal for what i need.一对夫妇的问题-插件期待的理想是什么,我需要。 I downloaded and activated it.我下载并启动它。 now when I go to the blog i just see a white page in the browser - no errors just a white screen.现在,当我去的博客我刚才看到一个白色的网页浏览器-没有错误,只是一个白色画面。 So I read a little further in this posts comments and you mention that you have a selectable content protection plugin.因此,我看了一小进一步在这方面职位的评论和您提到您有一个可选的内容保护插件。 Can you advise/point me in the right direction on either of these please.你能提供意见/点,我在正确的方向上对上述两种请。
with kind regards与亲切问候
Mike迈克
February 14th, 2006 at 9:57 pm 2006年2月14日在下午9点57分
Great plugin.伟大的插件。 Like many users, I’d love to see the ability for the RSS feeds to be accessable with a username and password.像许多用户,我很乐意看到的能力,为RSS源便可到达一个用户名和密码。 While I can’t see the RSS feeds of content currently, when I put a wordpress username/password into the RSS reader it connects, but returns an XML error…虽然我不能看到RSS源的内容,目前,当我提出的WordPress用户名/密码到RSS阅读器,它连接,但返回一个XML错误…
February 17th, 2006 at 5:22 pm 2006年2月17日在下午5时22分
Hey, I just downloaded this today and was trying to get it to work, but it doesn’t redirect to the log-in page for some reason.嘿,我刚刚下载的今天并试图获得它的工作,但这并不重定向到登录在网页上的一些理由。 The only thing it does is give a blank page with this on it:唯一的事,但这是一个空白页,与此有关:
Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub\wwwroot\mt\quietindweller\index.php:2) in C:\Inetpub\wwwroot\mt\quietindweller\wp-content\plugins\ac_authenticator.php on line 18 警告:不能修改标题信息-标题已经发出,由(输出开始在C : 的\ I netpub\ W wwroot\吨\ q uietindweller\的i ndex.php: 2 )在C : 的\ I netpub\ W wwroot\吨\ q uietindweller\可湿性粉剂内容\插件\ ac_authenticator.php上线18
Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub\wwwroot\mt\quietindweller\index.php:2) in C:\Inetpub\wwwroot\mt\quietindweller\wp-content\plugins\ac_authenticator.php on line 19警告:不能修改标题信息-标题已经发出,由(输出开始在C :的\ I netpub\ W wwroot\吨\ q uietindweller\的i ndex.php: 2 )在C :的\ I netpub\ W wwroot\吨\ q uietindweller\可湿性粉剂内容\插件\ ac_authenticator.php上线19
Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub\wwwroot\mt\quietindweller\index.php:2) in C:\Inetpub\wwwroot\mt\quietindweller\wp-content\plugins\ac_authenticator.php on line 20警告:不能修改标题信息-标题已经发出,由(输出开始在C :的\ I netpub\ W wwroot\吨\ q uietindweller\的i ndex.php: 2 )在C :的\ I netpub\ W wwroot\吨\ q uietindweller\可湿性粉剂内容\插件\ ac_authenticator.php上线20
If you can help; I’d appreciate it very much.如果您可以帮助;我要感谢它非常欣赏。
February 18th, 2006 at 12:49 am 2006年2月18日在上午12时49分
Which version of WordPress are you using?哪个版本的WordPress您使用的呢?
February 18th, 2006 at 8:29 am 2006年2月18日在上午8时29分
I’m using WP 2.0.1我使用的可湿性粉剂2.0.1
February 21st, 2006 at 1:46 am 2006年2月21日在上午01时46分
i’m using wordpress on bluehost (if that matters)我使用的WordPress就bluehost (如果该事项)
installed the plug-in per instructions and it gave me the same error message as michelle on line 17安装该插件在每指示和它给了我相同的错误讯息,因为米歇尔在17日线
commented out the nocache_headers() line (forgive my illiteracy, used // in front of the line to comment out, fyi)评论指出nocache_headers ( )线(原谅我的文盲,用/ /在前面的路线,评论,仅供参考)
the plug-in seemed to work but upon login as a guest redirected to a profile update within wp-admin and wouldn’t click through to the site.该插件在似乎工作,但登录后,作为一个客户重定向到一个配置文件更新可湿性粉剂-政府当局将不会通过点击进入该网站。
any thoughts or help would be very much appreciated.任何想法或帮助将十分赞赏。
thank you.谢谢您。
February 21st, 2006 at 4:01 am 2006年2月21日在上午04时01分
Please provide me the site url.请向我提供网站网址。
Is guest a created user?是客户一创建的用户?
February 21st, 2006 at 8:25 am 2006年2月21日在上午8时25分
yes, thank you.是的,谢谢。 i did create “guest” as a user with a password.我曾创造“客户”作为一个用户密码。 the entry worked but “guest” was redirected into a profile page with tab in wp-admin and clicked through to the wp-admin home page from “view site.” please email me and i’ll be happy to provide the url, which is private.入境工作,但“客户”是成为一个自由的个人资料页与标签在可湿性粉剂管理员和点击通过向可湿性粉剂管理员主页从“检视网站” ,请以电子邮件寄给我,我将很乐意提供的网址,是私立的。 thanks.谢谢。
February 21st, 2006 at 8:26 am 2006年2月21日在上午8时26分
yahoo.com - sorry. yahoo.com -抱歉。
February 21st, 2006 at 8:38 am 2006年2月21日在上午8时38分
yes, a user (guest) was created with a password.是的,一个用户(客户)创建一个密码。 the login worked, off the wordpress login page, and was directed to a tabbed profile page in wp-admin.登录工作,关闭的WordPress登录页,是针对一个标签式的个人资料页在可湿性粉剂管理员。 the “view site” link then led to the admin home page in wp-admin rather than the site home page. “查看网站”链接,然后导致了政府当局的主页在可湿性粉剂-政府当局而非网站首页。 for now url is private - will gladly provide via email.现在的网址是私人的-将很乐意提供通过电子邮件。 many thanks.许多感谢。
February 21st, 2006 at 12:03 pm 2006年2月21日在下午12时03分
Please send it to angsuman[at]taragana[dot]com请将它寄给由Angsuman [在]采购Taragana [点]的COM
February 22nd, 2006 at 2:03 am 2006年2月22日在上午02时03分
I am running WP 2.0.1 The password protection works for the site, but the feeds are not protected.我的计算机运行的可湿性粉剂2.0.1密码保护工程,该网站的,但饲料得不到保障。 Any idea why the feeds are still wide open?任何的想法,为何饲料仍然是敞开的?
February 22nd, 2006 at 11:08 am 2006年2月22日在上午11时08分
Let me clarify.让我澄清。 The feed link on the WP page does require a password to use.饲料连结,就可湿性粉剂的网页是否需要密码才能使用。 But, a user can manually type in the exact URL of the wp-rss2.php file and read the feed without using a password.但是,用户可以手动键入在确切网址的可湿性粉剂- rss2.php文件,并宣读了饲料中不使用密码。 I guess the question is, “How do I completely protect the feed to prevent this type of access?” Maybe .htaccess restriction?我猜问题是, “我要如何完全保护饲料,以防止这种类型的访问? ”也许。 htaccess的限制呢?
February 22nd, 2006 at 12:29 pm 2006年2月22日在下午12时29分
I can add that easily to the plugin.我可以补充一点,很容易向插件。
Alternatively you can use .htaccess.或者,您也可以使用。 htaccess的。 But then you will have to manually manage the access to your blog.但那样的话你将有手动管理进入到您的博客。 Also it is more complicated than the plugin way.此外,这是复杂得多,插件的方式。
February 22nd, 2006 at 12:31 pm 2006年2月22日在下午12时31分
A simpler solution for you would be to rename the wp-rss2.php file and similarly change the name wherever it is referenced in code.一个较简单的解决方案,您将要重新命名可湿性粉剂- rss2.php文件和同样的名称更改为在何处,这是引用的代码。 This is called security by obscurity这是所谓的安全由默默无闻
February 22nd, 2006 at 4:44 pm 2006年2月22日在下午4时44分
Hi.嗨。 I’m having a same or similar problem as reported by Fred above.我有一个相同或相似的问题,据李华明以上。 When I login, it automatically redirects to the dashboard or profile page.当我登录时,它会自动重定向到控制台或个人网页。 When I click on the “view site” link, it redirects once again to the /wp-admin/ directory.当我点击“查看网站”链接,重定向再次向/可湿性粉剂管理员/目录。 I’m running WP 1.5 on FreeBSD.我运行可湿性粉剂1.5在FreeBSD 。
Any ideas for a solution?任何意见为解决呢?
Thanks.谢谢。
March 2nd, 2006 at 1:16 am 2006年3月2日在上午01时16分
Angsuman,由Angsuman ,
could you tell us when approximately a new version of the plugin will be available.你能不能告诉我们,当大约一个新版本的插件将可用。 a version which would allow users to subsribe to RSS/Atom feeds.一个版本,这将可以让使用者以subsribe / Atom馈送。
Thanks谢谢
March 2nd, 2006 at 4:50 am 2006年3月2日在上午04时50分
I hate to make promises I cannot keep.我恨作出承诺,我不能保持。 I will try my best to make it available as early as possible.我会尽我所能使它可为尽早。
March 4th, 2006 at 12:44 am 2006年3月4日在上午12时44分
Angsuman, I have the same problem of Fred and John, my blog is protected but i can’t see the main page of the blog… i only can see the wp-admin/ page!… do you have a solution?!由Angsuman ,我也有同样的问题,李华明和约翰,我的博客是受保护的,但我不能见的主网页的博客… …我只可以看到可湿性粉剂管理员/页! …你是否有解决办法吗!
Thanks!, elisa谢谢! , ELISA方法
March 7th, 2006 at 5:39 pm 2006年3月7日在下午5时39分
I am running into the same issue as Elis, Fred and John… I have WP 1.5.2 installed on Unix and had to comment out nocache_headers().我运行到同一问题作为ELI的,李华明和约翰… …我有可湿性粉剂1.5.2安装在Unix和曾评论指出nocache_headers ( ) 。 Any ideas as to how this can be fixed?任何想法至于如何,这可以固定呢?
March 8th, 2006 at 4:35 pm 2006年3月8日在下午4时35分
Hi, great plugin!您好,伟大的插件! A solution for the RSS-issues would be very appreciated.解决办法为RSS的问题会非常赞赏。 I want to share RSS only with registered users.我想分享的RSS只有注册用户。
Thanks谢谢
March 9th, 2006 at 3:22 pm 2006年3月9日在下午3时22分
I thought this was fixed, but I guess not because I just installed the plugin, and it works great minus one glitch……you can’t register.我以为这是固定的,但我猜想,并不是因为我刚刚安装了插件,它的伟大工程,减一故障… …你不能登记。 White screen.白色画面。
March 10th, 2006 at 8:29 am 2006年3月10日在上午8时29分
Hello,喂,
This looks great… but I can’t get it to work on WP1.5 - I’m getting the “Fatal error: Call to undefined function: nocache_headers() in … /Blog/wp-content/plugins/ac_authenticator.php on line 17″ error.这看起来很大… …但我不能得到它的工作wp1.5 -我收到“致命错误:调用未定义的功能: n ocache_headers( )在… … /博客/可湿性粉剂内容/插件/ a c_authenticator.php对线17 “的错误。
Can this be fixed?这个问题能解决吗?
If I comment out nocache_headers then I can’t view my blog at all如果我的评论指出nocache_headers的话,我无法查看我的博客在所有
Look forward to getting this working!期待着得到这份工作!
Cheers,干杯,
James詹姆斯
March 11th, 2006 at 4:40 pm 2006年3月11日在下午4时40分
Hi,嗨,
GREAT PLUGIN!伟大的插件!
I have one problem.我有一个问题。 When you try to use try to view individual files within the wordpress dirrectory, they are visible without a password (example:当您尝试使用尝试查看个人档案内的WordPress dirrectory ,他们是可见的无密码(例如: http://yoursite.com/wordpress/photo1.jpg ). ) 。 Is there a way to fix this?有没有办法解决这一问题? Would modifying your .htacess file hep?将修改您的。 htacess文件喉癌? How would you go about doing this?你会如何去这样做呢?
Also, I was curious to see if anyone has found a plugin which allows users to register, but does not send them a password to your site until an admin has checked them over.另外,我很想看到,如果有人找到了插件允许用户注册,但不向他们发送一个密码到您的网站,直到政府当局检查过他们。
Thanks for your support!!感谢您的支持!
March 12th, 2006 at 12:53 pm 2006年3月12日在下午12时53分
[...] [...] [ … … ] [ … … ]
March 18th, 2006 at 11:13 pm 2006年3月18日在下午11时13分
I’m getting the same error many have posted here.我收到了同样的错误,许多已经张贴在这里。
“Fatal error: Call to undefined function: nocache_headers() in … /Blog/wp-content/plugins/ac_authenticator.php on line 17″ error. “致命错误:调用未定义的功能: nocache_headers ( )在… … /博客/可湿性粉剂内容/插件/ ac_authenticator.php上线17 ”的错误。
Can you please post a resolutions to this?可以请你发布的决议,这?
thank you.谢谢您。
March 27th, 2006 at 5:55 pm 2006年3月27日在下午5时55分
I encountered some errors, similar to those noted by other commentors.我遇到过一些失误,类似这些所指出的其他commentors 。 I made the following changes to the plugin and it now seems to work in WordPress 1.5.2.我提出以下修改插件和现在看来,工作在WordPress 1.5.2 。
change更改
if ( (!empty($_COOKIE[USER_COOKIE]) &&如果( ( !空美元( _cookie [ user_cookie ] ) & &!wp_login($_COOKIE[USER_COOKIE], $_COOKIE[PASS_COOKIE], true)) ||! wp_login ( $ _cookie [ user_cookie ]元,_cookie[ pass_cookie ] ,真) ) | |(empty($_COOKIE[USER_COOKIE])) ) {(空美元( _cookie [ user_cookie ] ) ) ) (nocache_headers();nocache_headers ( ) ;to至
if ( (!empty($_COOKIE['wordpressuser_' . COOKIEHASH]) &&如果( ( !空美元( _cookie [ ' wordpressuser_ ' 。 cookiehash ] ) & &!wp_login($_COOKIE['wordpressuser_' . COOKIEHASH], $_COOKIE['wordpresspass_' . COOKIEHASH], true)) ||! wp_login ( $ _cookie [ ' wordpressuser_ ' 。 cookiehash ]元, _cookie [ ' wordpresspass_ ' 。 cookiehash ] ,真) ) | |(empty($_COOKIE['wordpressuser_' . COOKIEHASH])) ) {(空美元( _cookie [ ' wordpressuser_ ' 。 cookiehash ] ) ) ) (//nocache_headers();/ / nocache_headers ( ) ;March 30th, 2006 at 12:01 am 2006年3月30日在上午12时01分
Thanks for yje tips.感谢yje的秘诀。
May 1st, 2006 at 6:05 am 2006年5月1日在上午06时05分
[...] Page du plugin sur le site de l’Auteur [...] [ … … ]页杜插件sur乐网站德行为[ … … ]
May 16th, 2006 at 8:23 pm 2006年5月16日在下午8时23分
I modified this plugin to allow a preview of content via the RSS feed but to block access without logging in. This will allow members to receive updates via RSS regarding new content without violating privacy. i修改此插件允许预览内容,透过RSS馈送,但阻止访问而不登录这将允许成员接收更新通过RSS关于新的内容,在不违反隐私。 I will only include a summary (or nothing other than a title) in the RSS feed.我将只包括摘要(或任何其他比一个标题) ,在RSS馈送。
While this doesn’t fix the problem of allowing authenticated users access to RSS feeds, it does mitigate it somewhate.虽然这不能解决问题,让身份验证的用户获取RSS Feeds功能,它减轻它somewhate 。 The code is rough and may or may not work depending on your server configuration:该守则是粗糙,并可能或可能无法正常工作取决于您的服务器配置:
";“ ;$dd_test = get_bloginfo(’rss2_url’);元dd_test = get_bloginfo ( ' rss2_url ' ) ;//echo $dd_test;/ /回波元dd_test ;if ($dd_thispage != $dd_test){如果美元( dd_thispage ! = $ dd_test ) (
if ( ( !empty($_COOKIE[USER_COOKIE]) &&如果( ( !空美元( _cookie [ user_cookie ] ) & &
!wp_login($_COOKIE[USER_COOKIE], $_COOKIE[PASS_COOKIE], true)) || ! wp_login ( $ _cookie [ user_cookie ]元, _cookie [ pass_cookie ] ,真) ) | |
(empty($_COOKIE[USER_COOKIE])) ) { (空美元( _cookie [ user_cookie ] ) ) ) (
nocache_headers(); nocache_headers ( ) ;
header(”HTTP/1.1 302 Moved Temporarily”);标题( “ http/1.1 302临时移动” ) ;
header(’Location: ‘ . get_settings(’siteurl’) . ‘/wp-login.php?redirect_to=’ . urlencode($_SERVER['REQUEST_URI']));标题( '位置: ' 。 get_settings ( ' siteurl ' ) 。 ' /可湿性粉剂- login.php ? redirect_to = ' 。 urlencode ( $ _server [ ' request_uri ']));
header(”Status: 302 Moved Temporarily”);标题( “状态: 302临时移动” ) ;
exit();出口( ) ;
} )
} )
} )
if(’wp-login.php’ != $pagenow && ‘wp-register.php’ != $pagenow) add_action(’template_redirect’, ‘ac_auth_redirect’);如果( '可湿性粉剂- login.php ' ! = $ pagenow & & '可湿性粉剂- register.php ' ! = $ pagenow ) add_action ( ' template_redirect ' , ' ac_auth_redirect ' ) ;
?> ? >
May 17th, 2006 at 5:23 am 2006年5月17日在上午05时23分
Thanks, Harvey!感谢,哈维!
Forgive my ignorant question, but where does this code go?原谅我的无知的问题,但如果这是否代码何去何从?
May 17th, 2006 at 8:06 am 2006年5月17日在上午8时06分
The code was chopped up a bit when I posted.该守则,斩了一点,当我张贴。 All you really have to do is change the function in the ac_authenticator.php plugin file.所有你真的要做的是改变功能,在ac_authenticator.php插件文件。
From:来自:
function ac_auth_redirect() {功能ac_auth_redirect ( ) (// Checks if a user is logged in, if not redirects them to the login page/ /检查,如果用户登录后,如果没有重定向到登录页if ( (!empty($_COOKIE[USER_COOKIE]) &&如果( ( !空美元( _cookie [ user_cookie ] ) & &!wp_login($_COOKIE[USER_COOKIE], $_COOKIE[PASS_COOKIE], true)) ||! wp_login ( $ _cookie [ user_cookie ]元,_cookie[ pass_cookie ] ,真) ) | |(empty($_COOKIE[USER_COOKIE])) ) {(空美元( _cookie [ user_cookie ] ) ) ) (nocache_headers();nocache_headers ( ) ;header(”HTTP/1.1 302 Moved Temporarily”);标题(“http/1.1 302临时移动” ) ;header(’Location: ‘ . get_settings(’siteurl’) . ‘/wp-login.php?redirect_to=’ . urlencode($_SERVER['REQUEST_URI']));标题( '位置: ' 。 get_settings ( ' siteurl ' ) 。 ' /可湿性粉剂- login.php ? redirect_to = ' 。 urlencode ( $ _server [ ' request_uri ']));header(”Status: 302 Moved Temporarily”);标题( “状态: 302临时移动” ) ;exit();出口( ) ;})})To:到:
function ac_auth_redirect() {功能ac_auth_redirect ( ) (// Checks if a user is logged in, if not redirects them to the login page/ /检查,如果用户登录后,如果没有重定向到登录页$dd_thispage = “http://www.yourblog.com”.元dd_thispage = “ http://www.yourblog.com ” 。$_SERVER["REQUEST_URI"];元_server [ “ request_uri ” ] ;//echo $dd_thispage ./ /回波元dd_thispage 。“”;“ ” ;$dd_test = get_bloginfo(’rss2_url’);元dd_test = get_bloginfo ( ' rss2_url ' ) ;//echo $dd_test;/ /回波元dd_test ;if ($dd_thispage != $dd_test){如果美元( dd_thispage ! = $ dd_test ) (
if ( ( !empty($_COOKIE[USER_COOKIE]) &&如果( ( !空美元( _cookie [ user_cookie ] ) & &
!wp_login($_COOKIE[USER_COOKIE], $_COOKIE[PASS_COOKIE], true)) || ! wp_login ( $ _cookie [ user_cookie ]元, _cookie [ pass_cookie ] ,真) ) | |
(empty($_COOKIE[USER_COOKIE])) ) { (空美元( _cookie [ user_cookie ] ) ) ) (
nocache_headers(); nocache_headers ( ) ;
header(”HTTP/1.1 302 Moved Temporarily”);标题( “ http/1.1 302临时移动” ) ;
header(’Location: ‘ . get_settings(’siteurl’) . ‘/wp-login.php?redirect_to=’ . urlencode($_SERVER['REQUEST_URI']));标题( '位置: ' 。 get_settings ( ' siteurl ' ) 。 ' /可湿性粉剂- login.php ? redirect_to = ' 。 urlencode ( $ _server [ ' request_uri ']));
header(”Status: 302 Moved Temporarily”);标题( “状态: 302临时移动” ) ;
exit();出口( ) ;
} )
} )
} )
Hopefully that code didn’t get chopped up.希望这代码没有得到斩。 I’m still testing it, but I think it works.我仍处于测试阶段,但我认为它的工程。 Anyway, it is a start to the dialog about how to set authentication conditionally for specific urls.无论如何,这是一个开始对话有关如何设置认证,有条件为特定的网址。 Byt the way, this code only frees up the main feed for your blog (blog.com/feed) and assumes that you have friendly urls turned on. byt的方式,此代码只释放的主要饲料为您的博客( blog.com /饲料) ,并假定你有友好的URL打开。
In order for the code to work on your blog, you must edit this line to include your base url:在为了使代码工作在你的博客上,您必须编辑这一行,包括自己的基本网址:
$dd_thispage = "http://www.yourblog.com".元dd_thispage = “ http://www.yourblog.com ” 。$_SERVER["REQUEST_URI"];元_server [ “ request_uri ” ] ;Let me know if you have other questions.让我知道,如果您有其他问题。
May 18th, 2006 at 4:05 am 2006年5月18日在上午04时05分
Hmm. HMM的。 It gives me a parse error on line 14…它让我解析错误就行… 14
May 18th, 2006 at 1:04 pm 2006年5月18日在下午1时04分
[...] Angsuman’s Authenticated WordPress Plugin - Password Protection for Your WordPress Blog -Simple Thoughts - Java and Web Technology Blog Du kan velge om du vil kun la registrerte brukere lese bloggen din, eller om du vil totalbeskytte den helt ved å skru av registrering. [ … … ] Angsuman的验证wordpress插件-密码保护您的W ordPress所博客-简单的思考- Ja va和W e b技术的博客杜根v e lge关于杜v i l坤香格里拉re gistrertebr ukerele sebl oggen并且,e l ler关于杜v i lto talbeskytte书斋he ltve då skru的AV registrering 。 [...] [ … … ]
May 22nd, 2006 at 3:21 am 2006年5月22日在上午03时21分
Iim looking at your plugin and it looks great but do you have a version that does the following:? IIM的看您的插件和它看起来很大,但你有一个版本,但这如下: ?
The user can view the blog as a ‘guest’ but only see say 30 words (a variable that can be changed by admin).用户可以查看博客作为一个'客户' ,但只看到说, 30日的话(一变量是可以改变的,由政府当局) 。 The user has to click on the 30 words (a link) to see the full artical, then the username/password screen appears.用户按一下就30个字(链接)看到完整的文章,那么用户名/密码,屏幕上出现。 If the username and password are correct they can see the full artical.如果用户名和密码是正确的,他们可以看到完整的文章。
This is a feature that i urgently need.这是一个特点,我迫切需要。 Any Help?任何帮助吗?
May 23rd, 2006 at 1:49 am 2006年5月23日在上午01时49分
Thank you for a great plug-in.感谢您伟大的外挂程式。
I also required an approval system for each new user - so I can reject unapproved users before they get to view the site.我也需要一个审批制度,为每个新用户-因此,我可以拒绝未经批准的用户,才去查看网站。
I found a simple system that did this我发现一个简单的系统,这样做
Can you include this function in your plugin?你能包含此功能在您的插件?
thanks again for a great plug-in.再次感谢伟大的外挂程式。
June 4th, 2006 at 10:43 am 2006年6月4日在上午10时43分
[...] Wordpress é unanimidade em solu�ão para blog. [ … … ]的WordPress é unanimidade在soluão段的博客。 Há uns três anos, quando comecei minha vida blogger, eu mesmo escrevia um pequeno gerenciador de notícias, mas isso não se mostrou tão eficiente. há uns三缺anos , quando comecei minha生活-的B logger,欧盟的签署人e screvia这个剧院更新g erenciador,新闻, M AS的i sso不含税本身m ostrout ãoe ficiente。 Depois disso, adotei o AJ-Fork, mas esse também não se mostrou tão eficiente.保存以便disso , adotei o的AJ -交岔路口, MAS的esse ,如何查找不含税本身mostrou tão eficiente 。 Adotei o Wordpress e agora relato alguns plugins bastantes interessantes, que uso aqui, ou na extranet da empresa (sim, aonde trabalho estamos desenvolvendo uma extranet). adotei o的WordPress e键relato人员组别的薪俸点插件bastantes interessantes ,阙本网站的使用aqui ,欧娜外联网的大公司( SIM卡, aonde劳动estamos desenvolvendo一外联网) 。 Browser Sniff: exibe informa�ões de browser e sistema operacional de quem comenta.浏览器闻: exibe informaões浏览器系统e行动和德终止comenta 。 A Different Monthly Archive Script: exibe o arquivo de posts em forma de tabela.不同的每月存档的脚本: exibe o arquivo德职位,在形式上的德表。 PHP Highlighter: colore a sintaxe de scripts PHP Quote from TXT: Frases aleatórias de um TXT no blog Subscribe to comments: Adiciona um campo no formulário de comentários que permite acompanhar as discussões por email IP2Nation: Exibe o país de quem comenta Weighted Categories: Exibe as categorias do blog em formato tagcloud, ou seja, categorias com mais posts em maior tamanho de fonte Angsuman’s Authenticated: Restringe o acesso ao WordPress apenas a usuários cadastrados. PHP的Highlighter ( : colore一sintaxe德脚本PHP中引述从txt : frases aleatórias德嗯txt没有博客订阅评论: adiciona这个坎普没有的表格comentários阙permite acompanhar作为讨论主题每间房的电子邮件ip2nation : exibe o国家和德终止comenta加权分类: exibe作为类别做博客在formato tagcloud ,欧seja ,类别的COM更多职位,在maior tamanho德来源Angsuman的验证: restringe o因特网接入敖的WordPress apenas一用户cadastrados 。 Live Search: busca estilo Google Suggest AdSense-Deluxe: plugin para melhor gerenciamento do Adsense Publicado em 04/06/2006Tagcloud: php, wordpress var oldtitle = document.title; document.title = ‘leonardofaria.net // weblab // Top plugins para Wordpress’; [...]生活搜索:搜索estilo Google建议的AdSense豪华:插件第melhor gerenciamento做的AdSense发布于04/06/2006tagcloud : PHP中,在WordPress无功oldtitle = document.title ; document.title = ' leonardofaria.net / / weblab / /顶端插件第WordPress所' ; [ … … ]
June 13th, 2006 at 8:19 pm 2006年6月13日在下午8时19分
Blee : that parse error on line 14 is probably because the strange quotes were converted to invalid code when you copy pasted. blee :解析错误就行14可能是因为奇怪的行情转化为无效的代码当您复制粘贴。 Make sure all the quotes are corrected after pasting.确保所有引号更正后,粘贴。 works fine for me.工程罚款我。
June 15th, 2006 at 1:40 pm 2006年6月15日在下午1时40分
Great plugin, thanks.伟大的插件,感谢。 I’m using our blog as a resource site for sales reps, so it’sa perfect solution to keeping confidential info under wraps.我用我们的博客作为一种资源网站为销售代表,所以这是完美的解决方案,以保持机密信息下结束。
I’m concerned, however, because after logging in, somtimes I’m directed to the blog, and sometimes to the admin panel (but I can’t figure a way to replicate one result or the other. This seems to be happening to me in both Firefox and IE).我担心,不过,由于在登入之后, somtimes我向博客,有时到管理小组(但我不能数字的方式进行复制的结果之一或其他,这似乎是发生在我在Firefox和IE )的。 I think this is the same problem我认为这是同样的问题 Fred李华明 was having, but I can’t tell from the comments what the solution was.是有,但我不能告诉从评论什么解决的办法是。
I’ve looked at the plugin code, but I don’t know enough to figure out where or how to fix this.我查看了该插件代码,但我不知道足够的数字,在哪里或如何解决此问题。 Any ideas?任何想法?
June 15th, 2006 at 3:30 pm 2006年6月15日下午3时30分
Try clearing your cookies.尝试清除您的Cookie 。
June 15th, 2006 at 9:06 pm 2006年6月15日在下午9点06分
if i log in as admin, i’m redirected to the admin page.如果我没有登入,在政府当局,我很自由的到管理页。 if i click on “view site,” i stay on the same page.如果我点击“观看的网站, ”我留在同一页上。 if someone registers, he or she is directed to the profile page.如果有人正式选民登记册时,他或她是定向到的个人资料页。 when an attempt is made to click on “view site,” the user is stuck on the profile page.当试图作出点击“查看网站, ”用户是停留在个人资料页。 any ideas?任何想法? thank you.谢谢您。
June 21st, 2006 at 4:22 pm 2006年6月21日在下午4时22分
I’m dealing with the same types of things as Lisbeth & Jordon.我在处理同类型的东西,作为lisbeth &佐敦。
When we login, we are sometimes directed to the profile page, and sometimes the website.当我们登录,我们有时向的个人资料页,有时网站。 I have cleared my cookies and still have the same problem.我已清理我的Cookie ,并仍然有同样的问题。
I’d really rather have them go to the website right off the bat.我要真的,而不是让他们去的网站上的权利小康蝙蝠。 Is there somewhere I can specify a certain page to be redirected to?有某处,我可以指定某一个网页被重定向到?
Thanks!谢谢!
June 26th, 2006 at 7:32 pm 2006年6月26日在下午7点32分
嘿,大家好,有做网站的吗?推荐一个虚拟主机服务商,提供高品质的虚拟主机服务,不容错过哟.嘿,大家好,有做网站的吗?推荐一个虚拟主机服务商,提供高品质的虚拟主机服务,不容错过哟。
——- ---
环球万维(http://www.netinter.cn),专业环球万维( http://www.netinter.cn ) ,专业 虚拟主机虚拟主机 、 , 域名注册域名注册 、服务器租用服务商!20项虚拟主机领先管理功能,系统全自主开发。强劲的技术实力,贴心的客户服务。是企业上网,个人建站的首选网站空间提供商,优惠价100元起 ,服务器租用服务商! 20项虚拟主机领先管理功能,系统全自主开发。强劲的技术实力,贴心的客户服务。是企业上网,个人建站的首选网站空间提供商,优惠价100元起
June 28th, 2006 at 8:12 am 2006年6月28日在上午8时12分
[...] Angsuman’s Authenticated WordPress Plugin - Password Protection for Your WordPress Blog -Simple Thoughts - Java and Web Technology Blog (tags: Wordpress plugin password authentication) [...] [ … … ] Angsuman的验证wordpress插件-密码保护您的W ordPress所博客-简单的思考- Ja va和W e b技术博客(标签:w o rdpress插件密码验证)[ … … ]
July 1st, 2006 at 12:14 am 2006年7月1日在上午12时14分
One difficulty I can’t resolve: if /blog is protected by the plugin then /blog/file.zip or /blog/anydir/file.zip are not, and if one types the address one can quite happily download the file without any authentication. 1困难,我不能够解决:如果/博客是保护该插件,然后/博客/ file.zip或/博客/ anydir / file.zip没有,如果一类型的地址之一,可以很愉快地下载该文件没有任何验证。 Is there a way to protect such a file from download?有没有办法保护这些档案从下载?
July 9th, 2006 at 5:41 am 2006年7月9日在上午05时41分
Thanks for a great plugin.感谢伟大的插件。 But I have one problem - I run a site that only my family sees - trouble is - some of them can’t login - it just doesn’t seem to work! I have fully tested it on several computers and it works fine - but I don’t have access to theirs - could it be a firewall issue?
July 9th, 2006 at 7:29 am
Tell them to clear the browser cache and try again.
July 9th, 2006 at 11:23 am
I will have a pro version of this plugin soon.
July 13th, 2006 at 2:42 am
Looking forward to the Pro Plugin. How soon is soon:)
I run into the same issue as others that after logging in the visitor is re-directed to the profile page instead of the posts. I hope the Pro version will help in this case.
Actually, if possible I would like an option that access of a logged in user to be totally limited to reading posts and have no other rights at all (or only of seeing his profile) so he won’t be bothered with all the rest of the dashboard which is of no use to the user anyway.
Anyway, the plugin is really great already and I am looking forward to future versions. Thanks
July 21st, 2006 at 6:53 pm
Hi Angsuman,
Would it be possible to do something with the plugin so that it can protect a certain area of the site instead of the whole blog?
I’d like most of the site to be public exept for one restricted area where people need to be logged in to access it.
Even better would be something where i would have a public area, a restricted area and parts within the restricted area that would be accessable by certain users.
For example, let’s say i want a blog for a school. The blog is viewable to everyone without logging in exept for one restricted area. That area is accessible for registered students / teachers / parents. Some of the parts can be viewed by teachers but not by students, some of the parts can be viewed by students but not by regular visitors. Something like that.
I think the last thing would be very hard to create. But perhaps the first thing would be a nice idea. I think a lot of people would be interested in that. A few normal pages for everyone and a restricted area for the registered users.
July 24th, 2006 at 8:54 am
I’ve having trouble, similar to dafebe’s.
If I goto
https://domain.com/blog/wp-login.php
it logs me into the wp admin panel without any problems
but if I goto
https://domain.com/blog
it changes the url to
https://domain.com/blog/wp-login.php?redirect_to=%252Fblog%252F
if I log in using that url I (obviously) get the message
The requested URL /blog/2Fblog2F was not found on this server.
Any ideas?
July 24th, 2006 at 9:42 pm
[...] Angsuman’s Authenticated WordPress Plugin - Password Protection for Your WordPress Blog -Simple Thoughts - Java and Web Technology Blog (tags: Wordpress plugin password authentication) [...]
August 5th, 2006 at 7:35 am
Ce script est tout à fait génial. Merci beaucoup pour cet apport à WP. Il fonctionne bien avec tous les navigateurs sur Mac.
August 24th, 2006 at 11:10 pm
Hi,
Is there a quick extra check you can do to say everything but the main page (the one that list the most recent entries)?
It’s probably because I’m not familiar with the API, but I would assume it’s just a “&&” to this line?
if('wp-login.php' != $pagenow && 'wp-register.php' != $pagenow) add_action('template_redirect', 'ac_auth_redirect');Regards,
Steph
August 25th, 2006 at 12:44 pm
[...] Got another optional WordPress plugin for you to try this morning: Angsuman’s Authenticated WordPress Plugin [...]
September 7th, 2006 at 3:11 pm
[...] Heute habe ich ein neues Wordpress-Plugin entdeckt: Angsuman’s Authenticated Wordpress Plugin. [...]
September 15th, 2006 at 2:40 am
I agree with Mathijs . 。 It would be awesome if you could use this plugin to make only certain sections/post/pages inaccessible to unregistered users, instead of the entire blog.
September 15th, 2006 at 6:45 am
We will provide it in the new version. We are working on a new version of this plugin. Please let me know the features you would like in the comments or email it to me at angsuman[at]taragana[dot]com.
September 15th, 2006 at 6:52 am
[...] We are working on a new version of Authenticated plugin. Please let me know the features you would like in the comments or email it to me at angsuman[at]taragana[dot]com. We will provide several features and granularity in the functioning of this plugin. All the reported issues with the previous version will be solved. It will be a galaxy apart in terms of functionality over the Authenticated plugin. It will be targeted for WordPress 2.x blogs. [...]
September 23rd, 2006 at 12:10 pm
thank you very much for Angsuman’s Authenticated WordPress Plugin
September 24th, 2006 at 5:13 am
I have just installed your plugin on a new blog I am doing and first - thank you!
II ave a question, though - My feed reader (netnewswire) does not pull the posts even though I have the correct password …
I click on the RSS button in Safari, the feed gets added, but no posts appear.
… I have no doubt that this is user error- any thoughts on what I am doing wrong?
Again, thank you. Without this plugin, I wouldn’t have been able to have published my new blog.
–Jim
September 26th, 2006 at 4:18 pm
[...] I think this blog is a helpful way to discuss ideas. For example, today we’re talking about the photo shoot: what we learned, what we would do differently, etc. This seems much better than a long, chopped-up email, and it’s permanent. I can see value in having an internal blog. (Also, with a download and a few clicks, we could password-protect this blog and seal it off.) [...]
September 28th, 2006 at 2:21 pm
People can still click the ‘register’ link and access the site. Can I just take off the ‘register’ link from the page?
I want to make this a paid membership blog where I manually create each user.
Thanks,
Scott….
October 3rd, 2006 at 10:26 am
really looking forward to the new version.
thanks a lot for your work!
dom
October 6th, 2006 at 3:09 am
[...] Install Angsuman’s Authenticated WordPress Plugin - Password Protection for Your WordPress Blog [...]
October 16th, 2006 at 2:09 pm
Great plugin - thanks!
October 17th, 2006 at 12:39 am
@Scott,
We will be supporting it in the next version.
October 19th, 2006 at 3:55 am
[...] Wer sein Blog abschotten will, dem hilft das Angsuman’s Authenticated WordPress Plugin. Damit ist nur ausgewählten Gäste der Zugang und das Lesen im Blog möglich. [...]
October 20th, 2006 at 10:29 pm
[...] I knew there was a way to do this with WP… I didn’t want to have to use a forum software as the CMS for this functionality, because, the actual forum aspect would have been superfluous… don’t add more than you need seems to be a good policy……. anyway, my pal Kichus pointed me in this plug-in direction….. thanks Kichus… kf [...]
October 28th, 2006 at 1:12 am
[...] wer also sensible informationen hat, nur eine feste leserschaft (verein? firma?) wünscht, sollte sich einmal das “authenticated wordpress plugin” ansehen. [...]
November 1st, 2006 at 3:53 pm
[...] Anyway, these novel logs (and other writings) won’t be public and will be for special interested, so most of the site will be for logged in users only. I’ve used Angsuman’s Authenticated WordPress Plugin for this purpose together with the “hide this site from the nasty robots” option that comes with WPMU. [...]
November 13th, 2006 at 6:20 pm
Fantastic plugin, many thanks.
November 14th, 2006 at 1:21 am
We are working on a much better version of the plugin. We plan to release it in the first week of December.
November 20th, 2006 at 12:02 am
[...] I checked the plugins database, and sure enough, someone had already created a plugin that makes any existing WordPress blog private. I had it up and running in ten minutes, and now, anyone who would like to create an account over at About The Baby can do so, and I’ll know about it immediately. Any hacker sorts who want to pound on it or tell me where the security holes are, please be my guest. [...]
December 8th, 2006 at 6:58 pm
[...] Ein nettes kleines Plugin, mit dem man verhindern kann das Dritte auf dem Blog Einträge lesen können. Um Beiträge zu lesen, muss ein User mit Password existieren mit dem sich die Person einloggen muss. Erst dann ist es möglich Einträge auf dem Blog zu lesen. Irgenwie ganz nützlich, ausserdem schwer zu googeln! [...]
December 9th, 2006 at 7:15 pm
Hi thanks for the great work and i was thinking of:
what if there are private and public users.the private users can read all the comment and blogs but the public user can read blogs and only the public comments
I sorta need it so i thought you might wanna added to the next version its great to have it .
thanks again
December 14th, 2006 at 6:52 am
[...] La seule nuance étant que j’ai du limité l’accés aux seuls employés de la société. J’ai donc utilisé le plugin d’Angsuman qui permet de restreindre l’accés au blog aux seules personnes enregistrées, puis modifier un peu la page d’enregistrement pour ne la rendre accessible qu’aux personnes possédant un email de la société cliente : [...]
January 2nd, 2007 at 8:14 am
thank you sooo much! I’ve been looking for something like this.
Works great!
January 17th, 2007 at 11:03 am
[...] Translator Plugin Pro 4.0 supports translation even for password protected blogs. Translator 4.0 can translate even password protected blogs and pages, accessing the documents with the same privilege as the requester. You can, for example, use Authenticated User plugin to password protect your blog and yet Translator Pro will be able to translate pages for priviledged users (who has the permission to access the blog). [...]
January 20th, 2007 at 11:43 am
This is a great plugin — thanks. however, I’m having the same problem as fred, john, and ellis. I’m running version 1.5.2? Will upgrading to 2.0 help? Any word on the new version of the plugin?
Thanks again,
Cameron
January 25th, 2007 at 12:37 am
Exactly what I was looking for to set up a private sandbox area. Thanks for the excellent work. I’ve never had a problem with your plugins.
January 25th, 2007 at 8:39 am
Any chance of getting this working with wordpress 2.1?
January 26th, 2007 at 9:23 am
It works with WordPress 2.1.
January 29th, 2007 at 4:45 pm
GREAT plugin! I would LOVE for the next, more controllable version to come out soon. I want my feed to be able to be public, but my site to not be viewable to anyone that doesn’t have a wordpress login.
I’d also love a way to approve newly registered users — a sort of “apply for membership” process.
Thanks!谢谢!
February 22nd, 2007 at 11:08 pm
Hi- I’m curious about what happens to all of the data collected from users? Does it get saved somewhere? Say I want to export the emails of all the people who have signed up. Is this possible?
February 28th, 2007 at 5:48 pm
This plugin has really helped me out on different occasions. Thank you!
April 12th, 2007 at 3:03 pm
Hi,
the RSS feed isn’t accessible due to the login page. Maybe change it to HTTP authentication?
J
April 17th, 2007 at 4:40 am
Hello,
Just wanted to ask whether there was any status update on a version that would support authenticated RSS feeds?
Many thanks!
Kind regards,
–
Matt Henderson, MakaluMedia Group
http://makalumedia.com | +34 952 900 776 | +1 404 975 0988
May 6th, 2007 at 5:10 am
Hi Folks
I really like your plugin despite the fact that in FF 2.0.0.3 using Wordpress 2.1.3 I can access http://www.url.com/feed/ without having to log in. Can you fix this?
Thanks
May 31st, 2007 at 4:47 am
Very nice plugin.
Thank you for sharing your work. I apprecaite it. No problems here and keep up the wonderful work.
Kind regards,
-Alex
June 13th, 2007 at 12:19 pm
Hi,
thanks for the great plugin. Not sure if this is already included in the many posts above, but similar like igobypaul and Jason, I was looking for functionality to allow some pages unrestricted. Using combination of WordPress customs field and replacing the code of the function ac_auth_redirect with the code below solved my problem.
*** Modification: In case custom field “ispublic” with value “yes” is added in the post/page, the sites will be accessible for not authenticated users as well. Works however only if the starting /default WordPress page is set up to the unrestricted page.
global $post;$post_id = $post->ID;$key = “ispublic”;$single = true;if(get_post_meta($post_id, $key, $single)!=”yes”) {if ( (!empty($_COOKIE[USER_COOKIE]) &&!wp_login($_COOKIE[USER_COOKIE], $_COOKIE[PASS_COOKIE], true)) ||(empty($_COOKIE[USER_COOKIE])) ) {nocache_headers();header(”HTTP/1.1 302 Moved Temporarily”);header(’Location: ‘ . get_settings(’siteurl’) . ‘/wp-login.php?redirect_to=’ . urlencode($_SERVER['REQUEST_URI']));header(”Status: 302 Moved Temporarily”);exit();}}June 29th, 2007 at 10:34 am
hi angus,
fantastic plugin but i want to allow anyone to view my site but i have a private diary on there which doesn’t show in the posts or categories (using the category visibility plugin at http://ryowebsite.com/wp-plugins/category-visibility/ ) but you can access it if you know the page/cat number… i want to restrict access to this category only…
any help would be much appreciated…
thanks, toby
July 10th, 2007 at 2:40 am
Thanks!谢谢! This is a great solution and exactly what I needed. Only blog members can access the blog and blog member management is handled by the administrator. Great!
July 16th, 2007 at 4:40 am
I think these blog is really useful for new comers and Excellent resource list.
July 17th, 2007 at 5:02 am
very cool plug-in. solved my headache when “privatizing” my blog’s content
thx for this! d.
July 27th, 2007 at 3:11 pm
kool plugin!
as for the new version: i would like to be able to subscribe to feeds. they are not working in feedreaders like vienna (os x).
browsers are fine though.
thanks!
m
September 4th, 2007 at 5:09 pm
Great work, thanks!
Does exactly what i was searching for!
September 6th, 2007 at 10:53 am
I have just installed your plugin on a new blog..i’ma beginner…thank you!
September 23rd, 2007 at 11:24 am
This plugin is great. I use for wordpress 2.2.3 and it’s work very well
September 24th, 2007 at 4:29 am
Hi Angsuman,
This is a wonderful plug-in and did just what I wanted. However, it seemed to hang and I closed the page… I cannot access the blog thereafter. It gives a wordpress error that wordpress cannot connect to the database.
Could you suggest a fix?
Thanks,
mk
September 24th, 2007 at 10:51 am
mk,
It has nothing to with the plugin. You MySQL database is simply down. Please restart it and your problem will be solved.
September 25th, 2007 at 1:06 pm
Hi Angsuman,
I used your plugin with a learnerblogs.org blog this summer with no problems; users had to register with learnerblogs and then I had to add them to the blog. I tried the same thing with an edublogs.org blog, and my colleague was able to view the blog with her edublog username and password, but without me adding her to my users. This isn’t enough privacy for this blog - is there any way you can help me?
Thanks, Shona
September 26th, 2007 at 12:44 pm
HI,
Your nice plugin has worked for quite some time. Right now I am getting
Warning: Cannot modify header information - headers already sent by (output started at /var/www/web216/html/internal/wp-includes/wp-db.php:160) in /var/www/web216/html/internal/wp-content/plugins/ac_authenticator.php on line 18
If I disable the plugin the webpage is almost 100% OK. I am getting an error at the top, but the rest is OK
WordPress database error: [Table 'usr_web216_2.wp_post2cat' doesn't exist]
SELECT DISTINCT(post_id) FROM wp_post2cat WHERE category_id=2
To make the story complete I did an update to WP 2.3 after the problems occurred.
Any idea on what could be going on here?
September 30th, 2007 at 6:20 pm
Hallo Angsuman,
great plugin. As many others have asked before: Is there any status update on a version that would support authenticated RSS feeds?
Best regards,
Dennis
October 5th, 2007 at 2:33 am
Thanks!! It works wonders!
October 5th, 2007 at 10:16 am
In WP 2.3 it produces this error message after posting a post which posts successfully.
WordPress database error: [Unknown column 'user_level' in 'where clause']
SELECT ID FROM wp_users WHERE user_level > 0
WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1]
SELECT post_author, post_title FROM wp_posts WHERE ID =
When is the new version coming out?
October 8th, 2007 at 7:58 am
Hello,
Fantastic plug-in, works great!
One question: Is it possible to redirect users directly to the homepage after login, ie http://www.yourdomain.com instead of going to the WP dashboard/profile page?
If yes, where should I make that possible in the code?
Thanks already!
Ralph
November 28th, 2007 at 11:00 am
Hello, great plugin but I wonder if you could make it so that the site is accessible, just not the blog posts. I still want people to see the site and the pages, but I want the posts to require that a user is logged in.
thank you
matt
November 30th, 2007 at 4:31 am
re (136) i vote for this as well, please!
December 30th, 2007 at 12:09 pm
If you want to redirect to the blog instead of the admin-panel after login:
- open the file “wp-login.php” in the wp-root
- search the line “$redirect_to = ‘wp-admin/’;”
- delete “wp-admin” (keep the slash)
- save and upload the file “wp-login.php”
Attention: I’m no programmer and I don’t know, if that’sa “legal” solution - but for me it works. Just use this instruction at your own risk.
regards
Thomas
January 1st, 2008 at 11:51 pm
Is there a way to include a “register” link also? I’d like people to be able to register themselves and then have me be able to approve it (this works in unmodified WP…)
Thanks
January 2nd, 2008 at 7:18 am
Hello,
Thnks for this wonderful plugin.I am using this for my company’s internal blog.Though the plugin works fine for the blog which is ‘n-syst.com/blog’ but it fails to protect other pages like ‘n-syst.com/blog/links.php’.The case is same with uploads. I want to upload files containing confidential information and i cannot put this information post content as it also includes excel files.
Please suggest some solution.
Thnks
Prachi
January 3rd, 2008 at 12:10 am
I got the solution for my problem.Need to call this function in my header:.
Thnks anyways.
January 3rd, 2008 at 12:16 am
I got the solution for my problem. Just ned to call this function in my header ‘ac_auth_redirect();’
Thnks anyways.
January 9th, 2008 at 11:15 am
great plugin man.. do you have more?:D
January 23rd, 2008 at 3:20 am
Great Plugin.
Thanks a lot!
February 3rd, 2008 at 2:36 pm
thank you very much for Angsuman’s Authenticated WordPress Plugin!
February 8th, 2008 at 5:12 pm
@143: Exactly where do I need to put ‘ac_auth_redirect();’ for the protection of files to work?
February 8th, 2008 at 7:25 pm
Jakob,
Put it at the top of your files like this:
<?php ac_auth_redirect(); ?>
February 8th, 2008 at 7:29 pm
Hi Guys,
This is a great plugin except for the issue of feeds.
Any chance that you are going to change it so it handles feeds … any time soon?
Thanks.
February 8th, 2008 at 7:35 pm
For those of you looking for a way to authenticate Users before they are allowed access to your protected blog … use this plugin: http://www.dealsway.net/2007/09/04/wp-user-moderation/
I have it working on a client’s company blog & it works great with angsumans-authenticated-password-protection plugin.
February 9th, 2008 at 6:58 am
Craig,
We have a separate version which allows for password protected feeds, understandable by all feed readers. Alternatively we can open the feeds too.
Please make a payment of 30$ to sales at taragana dot com for a copy.
Best,
Angsuman
February 10th, 2008 at 1:30 pm
Great plugin. Thank you!
I was wondering what you guys use to track logged in users. I tried Wassup but it shows is not easy to read who actually tried to login (unsuccessfully) and who was able to read (ie logged in).
Thanks.
February 10th, 2008 at 1:46 pm
Hi Angsuman,
Couple of things:
1. URL of page about Paid version of Authenticated Plugin?
2. Pay via PayPal?
3. You state: Alternatively we can open the feeds too. Do you mean on the free version or the paid?
Thanks.
–Craig
February 10th, 2008 at 1:58 pm
Also, if you mean “open the feeds” on the free version … How/Where?
Thanks!谢谢!
February 19th, 2008 at 3:52 pm
I have been using the plug-in for a while it is perfect. Thanks. Would you know how to establish a whitelist of authorized registrants be their e-mail address after the @? I want to allow registrants to my blog from a specific company.
Thoughts?
DS
March 30th, 2008 at 8:29 am
Unfortunately, WordPress 2.5 seems to break this plugin. That’sa big problem for me, since I have a site that depends on it.
Does anyone know of a fix? Alternatively, will there be a new version?
Many thanks.
March 30th, 2008 at 2:35 pm
We will test the plugin on Monday against WordPress 2.5. We will issue an update, if necessary.
March 31st, 2008 at 8:06 am
Many thanks.
The problem seems to be in the way it redirects once you login. In both Firefox and Safari (in OS X), it produces an infinite loop of redirection that never leads to the blog.
March 31st, 2008 at 8:04 pm
yeah I had the same “infinite loop” issue with my blog as well. It is possible to reach the admin side of the house–just not the public pages.
Hope someone figures out the problem. This is a great plugin.
March 31st, 2008 at 11:23 pm
We will look into it.
March 31st, 2008 at 11:33 pm
After poking around the 2.5 code, here’s what I came up with for a quick fix…
Simplify the if statement in ac_auth_redirect() to the following:
if ( !wp_validate_auth_cookie() ) {Works for my purposes.
April 1st, 2008 at 4:25 am
Hi, the same here. Cannot access my post after upgrading to WP 2.5. Thanks for any fix you might provide… D.
April 1st, 2008 at 7:02 am
I think I\\\’ve found a sollution to get the plug-in to work with WP 2.5!
This line of code should be added:
global $pagenow;If you add this simple line to the plug-in it works fine again. This line should be placed directly under the header-comment.
The complete code should be like this:
The reason why it didn\\\’t work with WP 2.5 is probably because of a change in the global scope of the plug-ins.
If you have any suggestions or comments, please send me an email: evilyouri (at) hotmail (dot) com
April 1st, 2008 at 11:41 am
As as possible feature could we allow RSS feeds to be open but all other pages protected? I’m thinking this will allow people a preview of the postings via RSS feeds without needing to login/having an account.
Looking forward to the WP 2.5 fix before upgrading my sites–Thanks!
April 1st, 2008 at 12:10 pm
Also not able to use this plugin with WordPress 2.5. Looking forward to a working update!
April 2nd, 2008 at 1:32 am
I had the same problem with the infinite loop a while ago, when I was using the unstable version of WP. I fixed it by replacing this line:
if ( (!empty($_COOKIE[USER_COOKIE]) && !wp_login($_COOKIE[USER_COOKIE], $_COOKIE[PASS_COOKIE], true)) || (empty($_COOKIE[USER_COOKIE])) )with this line:
if ( !is_user_logged_in() )I don’t know if that is strictly correct, but it seems to work fine. Hope that helps.
Cheers
Julian
April 2nd, 2008 at 8:39 am
Ok, is good in WP 2.5
Reno
April 3rd, 2008 at 3:31 am
Problems after update to wordpress 2.5 .
Hi there. I also encountered that “inifite loop” problem mentioned above. I’m not so deep into wordpress code, but I was able to re-establish all plugin features by replacing
if ( (!empty($_COOKIE[USER_COOKIE]) && !wp_login($_COOKIE[USER_COOKIE], $_COOKIE[PASS_COOKIE], true)) || (empty($_COOKIE[USER_COOKIE])) ) {by通过
$user = wp_signon();if ( is_wp_error($user) ) {Seems to work perfectly the way it should.
April 3rd, 2008 at 4:45 am
I solved it the same way Julian did, using the is_user_logged_in() function. I would think it\\\’sa better solution to use the built-in WP functionality as well…
The plugin is working perfectly for me now.
Cheers,
Carl-Johan
April 3rd, 2008 at 9:42 pm
Michael Niessl\’s code (comment 167) is working for me, as well.
Thanks!谢谢!
April 4th, 2008 at 12:16 am
thank you, Michael, works fine.
April 5th, 2008 at 4:11 am
thanks a lot, works fine for me, too!
April 5th, 2008 at 1:22 pm
Thanks Michael. Worked for me as well.
April 6th, 2008 at 2:30 pm
I used Julian’s code and the plugin works fine in Internet Explorer. However, when I try to log in with Mozilla, it says incorrect password. I tried clearing the cache, etc. Anyone else have this problem with Mozilla?
April 7th, 2008 at 10:27 pm
@Lisa (173)
Just tried Julian\’s fix. Works for me too, on both IE and Firefox. Thanks all!
April 10th, 2008 at 12:43 am
I used Michael Niessl’s code and it worked!!!
Thanks!谢谢!
April 10th, 2008 at 1:35 pm
I needed this script badly on WP2.5, so I did some modifications and get it to work.
Here is my modified version, maybe it can be usefull for some of you:
###############################################
function ac_auth_redirect() {
if(!wp_validate_auth_cookie()) {
nocache_headers();
header(”HTTP/1.1 302 Moved Temporarily”);
header(’Location: ‘.get_settings(’siteurl’) . ‘/wp-login.php?redirect_to=’ . urlencode($_SERVER['REQUEST_URI']));
header(”Status: 302 Moved Temporarily”);
exit();
}
}
if(’wp-login.php’ != $pagenow && ‘wp-register.php’ != $pagenow) add_action(’template_redirect’, ‘ac_auth_redirect’);
April 10th, 2008 at 3:43 pm
Thanks Julian and Michael for both your WP 2.5 fixes. Just remember to add an open curly bracket when using Julian\\\’s code:
if ( !is_user_logged_in() ) {
Lisa, not sure if this helps but I\\\’m using Firefox v2.0.0.13 with Julian\\\’s code, which works okay with my WP 2.5 installation.
April 11th, 2008 at 5:34 am
Dear Angsuman,
This is a very useful plug-in - so I vas very unhappy to find out that it does not work with WordPress 2.5 - is there any updates / fixes on the way.
best wishes and thx again.
Jorgen
April 21st, 2008 at 3:51 am
Julian patch works for me.
Will you update the sources for 2.5 ?
April 24th, 2008 at 4:42 am
Hallo Angsuman,
Great plugin. But I update my WordPress to 2.5.
Can you update this plugin to 2.5 version?
Best regards,
Andrey
April 29th, 2008 at 4:01 pm
( !is_user_logged_in() ) { Works fine with mozilla 2.0.0.14 internet explorer 7. cheers!
May 27th, 2008 at 12:01 pm
thank you for this great plugin
June 5th, 2008 at 10:55 am
Hi,
I tried using Michael Niessl method for my Wordpress 2.5.1, but it did not worked? Can anybody assist me?
June 10th, 2008 at 2:49 am
HHi,
I have the same problem with Wordpress 2.5.1 do I have to go back to wordpress 2.3.1 ?
June 11th, 2008 at 1:17 am
Hello,
I try the Michael Niessl code It works perfectly….Thank you Michael Niessl.
June 21st, 2008 at 7:05 am
Michael Niessl’s post from April 3rd, 2008 solved this issue for me. Didn’t try any other hacks. Thanks to all who posted. A helpful spirit is the heart of every successful forum.