HidePost plugin for WordPress

October 27th, 2009 Leave a comment Go to comments

HidePost Plugin for WordPress


Summary

A plugin that hide a part of your blog post ( links, texts... ) that only registered and logged in user can see it. Just put your content between [hidepost][/ hidepost]

From version 2.3, you can add level to hidepost tag like [hidepost=6][/ hidepost] so that only users have their level higher than 6 can see you hidden content.

You can hide all the links in your blog to unregistered users, just go to Option page and check Protect links.

Require WordPress 1.5 and compatible with ( it should ) 2.8.x.

Install

Download it from WordPress's repo , if you installed it through WordPress's plugin page, just skip step 1 and 2

  1. Upload the folder hidepost into /wp-content/plugins/ directory
  2. Active it  through Plugins page
  3. Go to Option -> Hidepost and check Enable Hidepost

Upgrade

  1. Deactive Hidepost
  2. Upload new hidepost folder to /wp-content/plugins/ directory
  3. Reactive it and check the new feature in Option page

Note: If you are upgrade from version 2.2 or less, you'll need to replace your old tag ( maybe [protect] ) with  the new tag ( [hidepost] )

Other Note

If you have any question, fell free to drop me an email or comment on this page.

Sorry for my bad English, I tried my best :)

I'll not include changelog and FAQ in this page, so if you want to read it, please go to my plugin's page in WordPress repo.

More detail change log can be found here

Good luck and have fun using my plugin.

Donation

Donation through Paypal if you want to contribute to my works.

  1. May 22nd, 2009 at 04:20 | #1

    Please send to me to ntcong.it (at) gmail.com.

  2. May 22nd, 2009 at 05:00 | #2

    Ok, that's my bad :p, I'll release a fix soon :)

  3. James
    May 22nd, 2009 at 07:44 | #3

    yup, Rick has the same problem that I have.

    Oh, btw, what chatbox plugin are you using on your site? Looks pretty good! ;)

  4. May 22nd, 2009 at 09:39 | #4

    It should be fixed in trunk version, but there're still some problems, so I'll release when I fixed them all.
    I'm using Google Friend Connect's Wall

  5. June 14th, 2009 at 02:06 | #5

    Would it be a lot of work to include comments. (Being able to hide comments also, from peoplle reading them that are not logged om?

    Either controlled by each person making a comment (including the [hidepost].and [/hidepost] or set as default for all comments when the author writes a blogpost.

  6. June 14th, 2009 at 07:25 | #6

    It would be bad, because comment in WordPress mostly are public.
    But I think I can include it for Author only

  7. Ricardo
    June 23rd, 2009 at 11:17 | #7

    Hi, i test first time your plugin and maybe im wrong but when uncheck protect links and content i can see all tags [hidepost] again in text inside of posts. how hide tags when i turn protection off ?. thx great plugin for all of us.

  8. June 23rd, 2009 at 17:02 | #8

    I'm just forgot about it, I'll think about it in the next version
    Thanks

  9. June 25th, 2009 at 14:57 | #9
  10. Jambo
    July 14th, 2009 at 16:37 | #10

    Great plugin. I'm trying to locate the cause of an issue running WP v2.8.1 at the moment where HidePost will not show the hidden content when a member is logged into the site.

    If logged in as admin it is OK to see the HidePost content but not at lower levels.

    Unsure if this is a RoleManager plugin or HidePost plugin issue at this time.

    Has anyone else reported this? Thanks :)

  11. July 14th, 2009 at 17:14 | #11

    I've just knew that RoleManager causes some conflict with my plugin. I'll take a look with a fresh install of WordPress, hope that I can find the problem.
    Too bad that I'm too busy now >.<

  12. August 1st, 2009 at 07:22 | #12

    Great plugin, and it is just what I am looking for.

    I only have one problem with it: When I'm using the TinyMCE editor on my posts/pages, and I have links as part of the text that I want to hide from unregistered users, When I click the button on the TinyMCE editor, and choose the level, all the links and formatting disappears.

    Or should I put the [hidepost] area in first, then create the links using TinyMCE?

    It just seems like a small bug to me, but if that is the way it is, I will teach them how to do it.

  13. August 1st, 2009 at 08:44 | #13

    Thanks, seems to be the problem with the visual editor only.
    You can put the [hidepost] first, and then insert the link, or simple switch to the normal (HTML) editor. I'll look into it and find a fix soon

  14. August 3rd, 2009 at 06:01 | #14

    hello, i love your plugin and i've been using it for quite a while now, but since the last time i upgraded it, nice upgrade by the way, wich includes the hide links auttomaticaly feature, it does something undesirable... it hides also the "read the rest of this post links" that's inserted with the more tag... any solution will be appreciated.

    Thanks in advance.

  15. August 3rd, 2009 at 11:12 | #15

    rly ?, I don't have this problem in my blog, maybe I have to check

  16. August 4th, 2009 at 09:08 | #16

    yes really :D the more tag is inserted automatically by the evermore plugin, don't know if that's important or not. i'm using WP 2.8.2 btw

    thanks

  17. Jambo
    August 4th, 2009 at 20:18 | #17

    Just to update - my problem wasn't with HidePost in the end, or RoleManager... these two plugins continue to work well together for me with WP v2.8.2. Thanks!

  18. August 4th, 2009 at 22:33 | #18

    @Jambo seems weird, I installed RoleManager, it modify a little of the Wp's role system. But I don't find any problem with those two plugins, because the user level remains the same.
    Great to know that it worked on your blog

  19. geek
    August 8th, 2009 at 10:16 | #19

    great plugin! i'm struggling to figure out how to include "the_excerpt" before the text "Please login ..."

    Please advise how to show the excerpt in the dialog box before the please login prompt.

  20. August 10th, 2009 at 17:23 | #20

    @Jambo

    You say your problem wasn't Hidepost or Role Manager; how did you fix it? I'm having the same problem but I don't know what's causing it.

    Thanks

  21. AzkaFaiz
    August 13th, 2009 at 11:58 | #21

    is there away that user can only see the post when user leave comment so there is no need to register, thanks

  22. August 18th, 2009 at 10:05 | #22

    Hi, I have installed your plugin. I am wondering if there is a way I can use your plugin to protect WordPress PAGES. So if I have a single page that I only want subcsribers to be able to access with their own unique password, is there a way to do this with your plugin? Thanks!

    Eric Darby

  23. August 18th, 2009 at 12:58 | #23

    @Eric D
    This plugin works fine with page too.
    But about the password feature, it's built-in with WordPress, so no need for me to implement this :)

  24. August 20th, 2009 at 05:54 | #24

    Great Plugin. Works exactly as expected.

    Only I would love to have it in German. Any way to have it localized? (I would be willing to do the translation)

  25. August 20th, 2009 at 13:55 | #25

    @Christian
    I will, in the future, currently I'm too busy. Hope that I'll have some free time in the next month.

Comment pages
  1. February 18th, 2009 at 00:05 | #1
  2. April 18th, 2009 at 10:23 | #2
  3. May 25th, 2009 at 09:15 | #3
  4. May 27th, 2009 at 11:21 | #4
  5. May 31st, 2009 at 21:33 | #5
  6. July 4th, 2009 at 20:38 | #6
  7. October 28th, 2009 at 18:08 | #7
  8. November 7th, 2009 at 01:50 | #8
  9. November 13th, 2009 at 19:15 | #9
  10. March 18th, 2010 at 02:19 | #10
  11. April 12th, 2010 at 00:38 | #11
  12. June 16th, 2010 at 20:07 | #12