'; if (!isset($_POST['hidepost_replace_tag_check'])) { echo 'Please check the check box next to "Yes"
'; $hidepost_replace_good = 0; } if ($_POST['hidepost_new_tag'] != '[hidepost]') { echo 'Please input [hidepost] in New Hidepost tag
'; $hidepost_replace_good = 0; } if ($hidepost_replace_good == 1) { echo hidepost_search_and_replace($_POST['hidepost_old_tag'], $_POST['hidepost_old_close_tag'], $_POST['hidepost_new_tag'] ); } else echo 'Replace tag Failed
'; echo '

'; } //Load the config include("option_init.php"); //Main Option Page ?>

HidePost Options

General Options
Protect Content:
Protect Content with Role:
Protect Link:
Note: %login% = Link to you Login page.
%register% = Link to you Register page.
%role% = Display user role requirement like Administrator or Registered.
You can only use some simple HTML code in the hide text.
UserLevel: You can use [hidepost=level][/hidepost] where level = 0->9
0 = Registered Member
....
9 = Administrator
Example [hidepost=9][/hidepost]
More help can be found on http://codex.wordpress.org/User_Levels

Replace old Tag with [hidepost]

Your old Tag
Your old close Tag
New HidePost tag
Check if you want to Replace

WARNING:
You should backup your Wordpress database before using this.