HidePost plugin for Wordpress

=== Plugin Name ===
Contributors: Funnnny
Tags: protect, hidepost, post
Requires at least: 1.5
Tested up to: 2.3.1

Stable tag: 2.3

Vote for this plugin :
[poll=4]
Protect a part of your post by using [ hidepost] and [ /hidepost] between the protected content.
Download HidePost Plugin
Exx
Please Login or Register to read the rest of this content.
Please Login or Register to read the rest of this content.

== Description ==
A Wordpress plugin that protect a part of your blog posts (maybe links, images or texts), that only registered and logged in members can see it. Simply put your content to be hidden with [ hidepost] and [ /hidepost].

If you want to protect your post to some user with low level, you can use [ hidepost=level][/hidepost]. User level can be found on Codex page.

If you use the default tag ([ hidepost][/hidepost]), the default User level is 0, mean the registered member.

And if you find this plugin useful, Why not give the author some support by click on Advertisement section
== Installation ==
1. Upload the folder hidepost to wp-content/plugin directory
2. Activate it
3. Go to Option -> Hidepost and check "Enable HidePost"
4. Use [ hidepost] tag to protect the content

== Upgrade ==
=2.3 to lastest=

1. Upload the folder hidepost to wp-content/plugin directory

2. Go to Option page and take a look to the new feature

=Previous 2.2 to lastest =

1. Upload the folder hidepost to wp-content/plugin directory

2. Go to Option -> Hidepost and replace your old tag with new [ hidepost] tag
==Change log==
=1.0 (25/03/2007)=
Initial release
=1.1 (27/03/2007)=
Change and to [ protect] and [ /protect].
Some code and typos fixed.
=1.2 (28/03/2007)=
Remake the code for the new feature and future use.
=1.3 (31/03/2007)=
Fixed a bug with two or more protect tag
Fixed a bug with close tag ([/ protect]) before open tag ([ protect]).
=2.0 (05/08/2007)=

Added a Option page
The Protect Tag and Show text is now customable.

=2.1 (08/08/2007)=

Minor bugs fixed.
Some tooltips added.

=2.3 (16/12/2007)=

Added hide post with user level.

User now has the right to disable HidePost without Deactive it.

Bugs fixed.

Added option to allow bot like Google can view hidden content


Copyright by Fu4ny - Gà con tập chíp Read more from this author


PicLens

Tags: , , , |

Related post:

181 Responses to “HidePost plugin for Wordpress”

  1. Great plugin, works pẻrfectly.

  2. well, easy to use this plug, but protected contents must be protected from search result too. Search results shows all the protected contents.

  3. Ok, I'll check and release a fix soon. Thanks for report
  4. I checked it, you still can search the protected content but the search result will not display the protected content.
    If your blog display its, please send me the link
  5. I just noticed a flaw when you do right click and view source the protected content can be seen. The protected post function in wp removed the content from the view source, so it looks like you may want to tweak it for the post to not be revealed.

  6. Tested, the protected content can't be seen from the view source, if your blog still display it, please send the the link to the post.
    I test this plugin in my blog and a default install wp, and it work right
  7. wow, em đang cần cái chức nắng này kiếm thấy khá nhiều nhưng không ngờ lại ra 1 plugin người Vn viết.

    em cũng biết trình, hôm nào xin anh chỉ em cách viết plugin cho WP nha.

  8. Nếu bạn thích mình có thể chỉ dẫn, cái plugin này mình chỉ vừa mày mò vừa viết mà thôi :D
  9. Thank you for the plugin, it works wonders ! ^_^

  10. Will this be updated for WordPress 2.2? - I've tried this but the post still there.

  11. I've just tested it on Wp2.2, i think it work right.
    My plugin is simple, and maybe it can work for future version
  12. Hello
    I would like to use this plugin but not for register or logged users but for those who make a comment, so the people who whant to see the link have to put a comment. Can you help me to change that?
    thanks

  13. It would be a big change of this plugin. User level can be checked easily by a simple code, but commented user is hard to be check (or not, but I have no ideal).
    Anyway, I'll check some document to see what I can do.
    Thanks for your suggest.
  14. thanks bro, I hope you can help me :D

  15. If you're going to tweak it so that the hidden part can be seen only when you commnet, please make sure that the comment is made by a registered user. If a guest comments, the hidden part must stay hidden :)

  16. Thanks for your suggest.
  17. i have problem - after íntalation WP shows 2 errors:

    Warning: Cannot modify header information - headers already sent by (output started at /disk_1/www/org/musiqbox/blog/wp-content/plugins/hidepost.php:1) in /disk_1/www/org/musiqbox/blog/wp-content/plugins/polls/polls.php on line 1088

    Warning: Cannot modify header information - headers already sent by (output started at /disk_1/www/org/musiqbox/blog/wp-content/plugins/hidepost.php:1) in /disk_1/www/org/musiqbox/blog/wp-content/plugins/postratings/postratings.php on line 652

    First is WP-Polls plugin v. 2.20 and second WP-PostRatings v .1.11. Have you any idea whats the problem? thank you, your plugin í great.

  18. I already have Wp-Poll and PostRating on my blog, so what is your Wordpress version, and the list of your plugins that you've installed
  19. WP 2.2, WPvideo 1.10, WP-PostRatings 1.11, WP-Polls Widget 2.20, WP-Polls 2.20, SEO Title Tag 2.0b5, Raven's Antispam 1.4, ImageShack Uploader 1.01b, Google Sitemaps 2.7.1, GooglePR 1.5, Google Analytics 2.4, FeedBurner FeedSmith 2.2, Dean's FCKEditor For Wordpress 2.2, All in One SEO Pack 0.6.3.1, Akismet 2.0.2. Thanks for advice

  20. re-install the plugin helped

  21. So, your plugin installed successful ?
    It a good news :D
  22. [...] HidePost Wordpress Plugin [...]

  23. [...] Visit [...]

  24. Well, a new version has been added. Thanks to your support.
    So, some feature like "must be comment" will be added in the future (and I don't know when it happen)
  25. [...] HidePost protects a part of your blog posts (maybe links, images or texts), that only registered and logged in members can see it. Simply put your content to be hidden with [protect] and [/protect] tags. (No Ratings Yet)  Loading ... Sphere: Related Content [...]

  26. [...] סיסמה, אבל כפי שאמרה לי מכרה - זה יוצר טיזר מיותר. התוסף HidePost גם הוא נותן רק פתרון חלקי, אבל לחלוטין משופר יחסית למצב [...]

  27. [...] HidePost protects a part of your blog posts (maybe links, images or texts), that only registered and logged in members can see it. Simply put your content to be hidden with [protect] and [/protect] tags. Filed under Technology by Nico Yan Permalink • Print • Email • Comment [...]

  28. Great, The new version has many Pingback, and I'm glad with it
  29. [...] HidePost - Das Plugin schützt beliebig große oder kleine Teile von Einträgen mit Hilfe der Tags [protect] und [/protect], damit nur registrierte und angemeldete Besucher sie lesen können. [...]

  30. thanks, usíng version 2.2.1 no show in the source but somthing is screwy with this window, else it's my keyboard.

  31. [...] HidePost [...]

  32. Nice

  33. [...] Eklenti ile linkleri veya yazıları sadece kayıtlı kullanıcılara göstermek mümkün. Link [...]

  34. [...] Eklenti ile linkleri veya yazıları sadece kayıtlı kullanıcılara göstermek mümkün. Link [...]

  35. very great plugin
    but have a problem...
    if i set wordpress blog on home page the address of login and register is http://nguyenthanhcong.com/wp-login.php but if i install wordpress in /wordpress/ folder in root address must be change to http://nguyenthanhcong.com/wordpress/wp-login.php
    if you can correct that on next version %login%

  36. Thanks, it happen when user set Wordpress URL difference with Blog URL. I'll fixed it on the next version.
  37. Cool!

  38. [...] Eklenti ile linkleri veya yazıları sadece kayıtlı kullanıcılara göstermek mümkün. Link [...]

  39. [...] Eklenti ile linkleri veya yazıları sadece kayıtlı kullanıcılara göstermek mümkün. Link [...]

  40. Cool...

  41. Cool...

  42. [...] HidePost เป็นปลั๊กอินที่ไว้สำหรับซ่อนข้อความ รูปภาพ หรือลิงก์ต่าง ๆ ที่เราต้องการซ่อนไม่ให้บุคคลทั่วไปเห็น ให้ดูได้เฉพาะคนที่สมัครสมาชิกและเข้าสู่ระบบเท่านั้นที่จะดูได้ [...]

  43. Nice

  44. It will be better if someone can display the hidden content by reply a comment or click thank you.
    Like on http://www.xboard.org
    Ì you want to see the hidden content, you must reply or say thank you.
    So you will know how much people interest with your link or hidden content.
    Thank you so much.

  45. Yes, I've thinked about it, but I can;t find any way to hide post that only commented user can sê.
    Xboard is Vbulletin, and VBB have a mod to do this. I'll try my best to find a way and release a new version
  46. I am running v 2.2 ò wordpress. Àter íntalling the plugin and putting the code on a page, I log out and I can still sê the comment. Also thể í an eror mesage that says

    WordPress database error: [Unknown column 'restricted' in 'field list']
    select restricted from wp_posts where ID=35

    Can you help me with thí? What am I doing wrong?

    Thanks
    P.S. Sory about all the misspelled words. Thể's something funky going on with the pót a comment field.

  47. About the misspelled word, It's my fail :D, It's Vietnamese typing..
    You may try Deactive and Reactive the Plugin, and check the Option page. If it happen again, please give me a list of all plugins that 've been installed in your site. I'll check this
  48. This is my first post
    just saying HI

  49. [...] download link: private-for-admin.zip This plugin is modified from HidePost. hide a part of post by using between the private content. This entry was written by kimohsi and [...]

  50. [...] Eklenti ile linkleri veya yazıları sadece kayıtlı kullanıcılara göstermek mümkün. Link [...]

  51. Arkadaşlar peki üye olmadan sadece yorum yapılmasını sağlayarak likleri gösterebilirmiyiz...

  52. Íntalled HidePost 2.2 on Wordpress 2.2.2. Can't get it to work... tried all suggestions and in readme. Help please! Options show [protect] [/protect].

  53. My comment above. Not working even with same tags on p o s t and options page. No other Wordpress plugins activated... only HidePost. Others íntalled but not activated. Help please. Can you email me?

  54. Can you try to Deavtive the plugin and Active it again? If the plugin don't worl, send me the link to your blog
  55. Doing that fixed that problem. New problem [protect]... [/protect] adds a blog ỦRL in front of external link URL. I want to have protect content show text to say Login ỏr register to view. When I put the html in for thís with link to http://www.xyz.com/channels./signup.php your script automatically adds http://myblog.com in front of that.

    Link loôks like thís: http://myblog.com/%22http://www.xyz.com/channels/signup.php/%22.
    Hơ to solve thís problem?

  56. I 'm not really understand what you are saying. Please send me a link to you blog, and your post with hidden content. Maybe I'll find some things
  57. That is a great plugin ! I was willing to make it more obvious that some content was password protected by applying a custom design to those protected links. But apparently, one can not add a particular style to those links without hardcoding its choice inside the hidepost.php file. Modifying the sting in the admin panel did not work, even when quotes were escaped.
    Do you think it's something you could easily add to your next released version of the plugin ? You did such a good work until know...

  58. By the way, the "Protect Link" checkmark does not display its current state after you've saved your options. So you don't know if your links are protected or not, unless you check your posts (after unlogging). Minor bug, since it still works, but annoying nonetheless.

  59. Yes, in HidePost 2.2, I did a stupid work :(. And I'm going to recode it. It will be more simple and have less bug :D
    Hope the next version will come soon/.
  60. Í it posible to protect a whole category with this?

    TIA!

  61. Cool.

  62. hiya Fu4ny
    i have this very lame question - i haven't tried yet but according what is written in wordpres.org/extentions the plugin isn't compatible for wp 2.3.1 :( but i need it so damn much. any chance to re-encode it for that version?

  63. It must be compatible with wp 2.3.x, I'm always use the lastest version of wp, so if HidePost display correct on my blog, it'll work perfect on your blog.
    I'm working on a new version now, but I don't have much time yet
  64. approximately when do you think the new version is gonna be ready ?

    Thanks for the immediate response :P

    p.s.: sorry 4 bothering U but i kinda need it ;(

  65. The new version need a big work and I can't release it before 1 or 2 month. And I'm in a busy now (Learning something)
    For the immediate response, I'm upgrading my blog now, and will go to bed after 2 mins :D
  66. Seems to conflict with the code tag.

  67. the more tag.
    Any ideas how to fix?

  68. As you see, this plugin work perfectly in my website. Can you give me the link to the post with that error ?
  69. I don't think your plugin works on comments, though it works perfectly with posts! Hope you can consider working on a version that allows a blogger to protect certain comments from the public. Thanks! Love your plugin. Keep up the great work.

  70. Yes, my plugins won't work on comment. But I can add this in the next version if needed.
  71. Cool.

  72. [...] Hidepost WP Plugin [...]

  73. I've been using this for awhile and love it very much.
    But can I have an option in which hidden part be shown to a defined role - let's say I want only Editor see the hidden part.

  74. Well, I'm working on it. The next version will be [protect=x] with x = Userlever.
  75. Can the hidepost plugin allow search engine spiders to read all content but keep the protected part hidden from visitors eyes when they click through?

    In other words, I would like search results to work for all my content including the protected part. But only logged in users can view it when they click through.

    This is a very crucial feature. I hope this is possible.

  76. It is possible, but who want to display the hidden content to Google. Because other people can search through Google to see your hidden part.
    If you want to include your post to google, I suggest Tags or a plugin called "All in one SEO tag", Tags are better for search engine
  77. That is because I use a google searchbox on my website to locate articles by typing certain phrases from it. If google cannot locate the articles by those phrases because google does not know it, then my google search is redundant.

    Also, I want search engine spiders to be able to read all my content. Google only displays a few sentences on its search results so it doesn't matter.

    How can I enable search engines to read what's on my webpage with the hidepost plugin?

  78. If Google can see it, other people can use Google to see it, so your hidden content will not be hidden.
    You can use "All in one SEO tag" and add meta tag to your post, so google can know what in your post .
  79. Alright but how can I enable google to read my hidden content anyway? Can you design a feature for the plugin to do so. or can you tell me how to edit it?

    You can contact me through my email.

  80. I'll think about it and add a new feature too
  81. Thank you very much! I am excited to hear that!

    I hope you don't mind, but I would be grateful if you could tell me when you might be implementing that and releasing the new version.

    I need to use the plugin soon, and I'm willing to wait a little while more. Thank a lot once again!

  82. I'll be willing to paypal you $100 to expedite the process of creating a new version with the feature that I request. Please tell me your paypal email address. You can contact me though this page: http://www.mindreality.com/contact.html

  83. Thanks for your support. The new version will come in about 1 month because of my busy work.
  84. I've done 80% of my work include User lever role and finding a way to allow bot engine like Google see the hidden
  85. HidePost 2.3b is on Beta stage
  86. 100$ ? :-O

  87. [...] Eklenti ile linkleri veya yazıları sadece kayıtlı kullanıcılara göstermek mümkün. Link [...]

  88. very need stable versio for WP 2.3.1
    pls!

  89. HidePost 2.2 still work for WP 2.3.x, my new version only have some new feature. You can use the old version on your blog
  90. HidePost 2.3 has been added
  91. That plugin only use for managing user role, not for hide a content...
  92. Да! Но в вашей последней версии вы сделали возможность устанавливать права, а это совсем не нужно так как уже есть управляющий плагин, в котором достаточно одного изменения прав, не то что у вас, надо прописывать права на каждой странице... И кроме того в вордпресс есть так-же функции прав которые вы и могли бы развивать...

    Yes! But in your last version you have made an opportunity to establish the rights, and it is completely not necessary as already there is an operating plug-in in which enough one change of the rights, not that that at you, it is necessary to register the rights to each page... And besides in wordpress there are so functions of the rights which you and could develop...

    Excuse for worthless translation..

    Thanks for a plug-in!

  93. You say it isn't necessary, but who wants to install a big plugin only for hide a small content on his/her post.
    And my plugin use user role level, you can use any plugin change the User Role, but you can't change the role level..
  94. Иногда чем проще тем лучше...

    Дело в том что у меня уже более 200 страниц с кодом [protect] [/protect] :) думаю я не один такой.. не проблема конечно, но будет довольно трудоёмко всё переписать...

    Sometimes the easier the better...

    The matter is that at me already more than 200 pages with a code [protect] [/protect]:) I think not one such.. Not a problem certainly, but all will be labour-consuming enough to copy...

  95. THe next version will come out in 1,2 week. With the feature to allow you to automatic change all the [protect] tag to [hidepost] tag
  96. Many thanks!!!

    Would be so not bad

    Style content show text: [222222]

    Style content show background-color: [333333]

    Style content show border: [1]

    Style content show border-color: [000000]

    Protect link show text: bla bla bla

    Style content show text: [222222]

    Style content show background-color: [333333]

    Style content show border: [1]

    Style content show border-color: [000000]

    cool:)

    Thanks!

  97. "THe next version will come out in 1,2 week. With the feature to allow you to automatic change all the [protect] tag to [hidepost] tag"

    This is the great news!!!

    Thx

  98. New version release with replace feature.
  99. С наступившим или с наступающим тебя новым годом Fu4ny! Плагин просто супер hide, думаю теперь некогда с ним не растанусь.. Спасибо Fu4ny!!!

    With come or with new year Fu4ny coming you! The Plug-in simply super hide. I think now there is no time it I shall not leave.. Thanks Fu4ny!!!

  100. Merry Xmas and Happy New Year to you all :D
  101. Hi !

    I just tested your plugin on my blog ! It runs on Wordpress 2.3.1. & It worked perfectly !!!

    Thank you for this great share !!

    Happy New Year !

  102. Thx For This Plugin..

  103. Happy new year!
  104. Happy New Year! First, great plugin! I love it, it's exactly what I needed for my site.

    But I have one problem with the new version changes since 2.2. How can we change the styles now? Before I just went in and changed the tag to whatever I needed. But now it seems you removed that part in the code. (I actually don't understand it anymore, but I'm just beginning in PHP.) Am I just missing how to do it?

    I'm excited to see new features, but all I really needed was the original. Also, now that the tags are removed, the source code comes out with the message on a blank new line, not XHTML compliant. With the old version, I just changed the closing to and that made it XHTML compliant.

    Would you consider adding a style feature on the plugin options page and making the output XHTML compliant?

    In the meantime, I'm going to continue using version 2.2 as it does the job for me. And if anyone can help me on how to change the style in the newer version, it'd be greatly appreciated!

    Thanks and keep up the great work!
    WebGuru at TheGadgitech

  105. Oops, the tags I'm talking about are the paragraph tag and break tag on line 57 of hidepost.php version 2.2 The tags were stripped from my previous post.

  106. Sorry because of this. I'll check it and find a way to fix in the next 3 days, when I finish my exam.
  107. Does it work for WP version 2.3.2? It doesn't seem to be working for me.. :(

  108. [...] HidePost : Để giấu một phần bài viết, các đường Link quan trọng mà bạn chỉ muốn [...]

  109. Does it work for WP version 2.3.2? It doesn't seem to be working for me..

    It's still working

  110. [...] Visit [...]

  111. [...] Plugin Homepage [...]

  112. [...] Eklenti ile linkleri veya yazıları sadece kayıtlı kullanıcılara göstermek mümkün. Link [...]

  113. Hi,

    I just checked google cache of my pages and found out that it does not display the hidden part of my content. Is the "allow bot" feature working properly? Is that part of my content indexed by google bots?

  114. [...] Eklenti ile linkleri veya yazıları sadece kayıtlı kullanıcılara göstermek mümkün. Link [...]

  115. The allow bot feature doesn't seem to be working. I can no longer search for the hidden portion of my content in google search. Why is this so?

  116. I think there is a problem with the allow bot feature. Could you check again to see if it's working properly?

  117. I'll check this feature when Lunar New Year is over.
    Best Regard!
  118. Another issue persists!!! Will this hidden part be shown if email subscribing is sent to the subscriber? I notice the hidden parts are being shown to my email as it seems to have no effect outside wordpress.

    Any update for this, plz

  119. Hi there!

    This plugin is exactly what I need, and I only have one small problem.

    It's working fine -- perfectly -- on my site itself, which is great! But on the RSS feed, something is preventing the "login or register" notice from showing up. I'd like this to appear in the feed, as well as on the page, so that my readers who read my site by RSS can know that there's protected content available without my having to state it.

    Is there a way of getting the register/login links (or even some configurable text) to show up in the RSS feed, as well as on the site itself? Or have I misconfigured something?

    Thanks!
    Gord

  120. Oh, and I have another problem for you! :)

    When I view the raw feed in Internet Explorer (run under Wine as I'm on Linux) I see the link to login/register...

    But when I view the feed in Firefox, I see the ENCRYPTED CONTENT instead!!! Kinda scary!

    Any idea why that might be?

    Thanks!

  121. Whoops, disregard those comments! This is working perfectly now!

    Thanks so very much for an excellent plugin!!