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. February 17th, 2009 at 23:59 | #1

    First comment, Old comment can be found in http://nguyenthanhcong.com/hidepost-plugin-for-wordpress/
    If you have any question, just ask here

  2. February 19th, 2009 at 00:27 | #2

    Still have another question, what feature that you want to appear in the next version :), please say it here or drop me an email

  3. Marc
    February 22nd, 2009 at 22:38 | #3

    Thanks for this plugin ;)

  4. March 4th, 2009 at 14:48 | #4

    Really great plugin. I want to know if there is a way to the CSS of the message shown.

    thanks for plugin once again

  5. March 4th, 2009 at 14:49 | #5

    Sorry for double comment. i meant "way to change CSS"

  6. March 6th, 2009 at 17:40 | #6

    You can add CSS tag your self in the theme template and add those tag in Hidepost's Option page

  7. March 7th, 2009 at 13:25 | #7

    Thanks man ....

  8. kkk
    March 16th, 2009 at 22:44 | #8

    hey man when i activate the plugin without change anything all the images are not shown in posts...any help to fix it?

    thanks

  9. Mohammad
    March 22nd, 2009 at 01:24 | #9

    Hi,

    Thanks for the nice plugin.

    The [hidepost] feature works only if you insert it while writing or editing a post i.e within the editor.
    I doesn't work when inserted in -for example- the header.php directly. Can you advice me to let it work that way, please?

  10. March 22nd, 2009 at 12:38 | #10

    Yeah, it only work with your post, and can't work in the template ( theme )

  11. March 28th, 2009 at 20:55 | #11

    I asked (on the wrong page) "is there a way to inject a little HTML around the revealed text like a DIV with a class so that we can style it differently?" and you replied "About the "HTML" things, you can add your tag in the option page, just change the text showing." but I can't see anything there.

    I can change the messages like "Please %login% or %register% to read the rest of this content." to include HTML if required but what I am looking for is for .div class=hidepost. ... ./div. to be output around the revealed text when the user *IS* logged in. Can this be done?

  12. March 28th, 2009 at 20:57 | #12

    Arrg, never thing about it, maybe I'll add it in the next version

  13. March 28th, 2009 at 21:04 | #13

    Ok, thanks for your time.

  14. Jeroen
    March 29th, 2009 at 00:45 | #14

    To my horror I discovered that everything between the hidepost tags does actually appear in the RSS Feeds of your blog!

    This is very bad and should be mentioned on the plugin page (underlined and in bold!).

    A fix would be welcome. Otherwise a great plugin...

  15. March 29th, 2009 at 00:47 | #15

    You should try to logout and reload your feed, Hidepost still works fine with RSS

  16. April 26th, 2009 at 15:34 | #16

    Unfortunately I've found a Plugin incompatibility between Hackadelic Sliding Notes (et.al) and Hidepost plugin.
    I suspect its a problem with hidepost, but it needs checking out.
    Hidepost selectively hides content based on user role.
    It can also hide links in a post/page. However once its link hiding has been switched on, if it is later switched off, sliding notes functionality is still disabled and fails to work for logged out users only. :(

    A bit of a show stopper!

    You can see its effects in action or inaction (both phrases are meaningful)

    at http://saltaire-aa.org/news/?page_id=3548

  17. April 26th, 2009 at 19:24 | #17

    Hidepost doesn't touch anything in your post. You should try to disable Hidepost and see if Hackadelic Sliding Notes( long name...huh :D ) workings or not.
    If it does not work, try to edit and save your post again.
    I'll look at that plugin's code to see if I can do anything

  18. May 14th, 2009 at 20:32 | #18

    I am using the plugin for pages, not posts, and for exactly the same page the text login/register is visible and works ok in IE but not in Firefox 3.0.1.

    Do you know hoe to solve this? Am I doing something wrong?

    Thanks

  19. May 15th, 2009 at 04:24 | #19

    Try to clear your cookie in Firefox and see if it working or not.
    It should work the same in every browsers

  20. Julian
    May 16th, 2009 at 15:44 | #20

    Sadly, hidepost doesn't seem to work with version 2.7 of wordpress (it merely appears as a part of the text). The [hide] plugin does but this doesn'y have the really nice feature of levels.

    Will you be releasing an update?

  21. Julian
    May 16th, 2009 at 16:30 | #21

    Apologies - hidepost does work - it just needs enabling (Settings -> Hidepost then tick the enable box).

    Regards

    Julian

  22. James
    May 21st, 2009 at 12:58 | #22

    When I'm in the posting screen and when I click HIDEPOST icon, nothing happens. I don't get the [hidepost] tag.

    I'm using 2.3.7 and wp 2.6.1

  23. May 21st, 2009 at 17:24 | #23

    I can't get the new button on the editor to work. I expected it to be like bold and you just highlighted the section and hit the button. Is there some trick? Reading back, looks like James has the same problem.

  24. May 21st, 2009 at 17:27 | #24

    Make sure that Javascript is enabled in your browser.
    If it still don't work, could you please send me a html copy of the Posting page

  25. May 22nd, 2009 at 04:17 | #25

    @Fu4ny
    javascript is on (nothing in WP would work without it). I've got the HTML, but how do I send it to you?

Comment pages
1 2 3 4 840
  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