Help - Search - Members - Calendar
Full Version: "private" entries
Movable Type Community Forum > Additional Resources > Tips and Tricks
maubast
I know that this exists somewhere, but I just can't find it...

I want to be able to make a "private" entries category in my blog, so that the contents of that category are not viewable by the public. Some things should be sacred! tongue.gif

Where would I find how to do this? It doesn't necessarily have to be a category, I just need a way to make certain entries only show up to me.

Thanks!

Oh, yeah...and I really don't care about password protection. I just want these posts viewable by myself on my IP address.

I found this and it's not really what I'm looking for. I will NEVER figure this out. I've tried all night and it's not working.

Is there anything easier?
-lc-
Just make a 2nd blog within your MT configuration, and point it to a new subdirectory (ie. /private)

Then hopefully you are on an apache server, so with htaccess you can lock down access to that directory to your IP.
make a file called .htaccess, put it into /private
and put the following into it:
CODE
<Limit GET POST>
order deny,allow
deny from all
allow from 123.456.789.012
</Limit>
where 123.456.789.012 is replaced with your IP

Simple enough I hope smile.gif

Only other way I can think of would be using categories, but its risky as if you dont filter them out everywhere, they could be found via the internal search engine, etc.
maubast
This is very confusing to me!
I would love to just be able to exclude a category! That way, I could go back through my entries and just change the category of the ones that I don't want viewed.

I would need to exclude it everywhere, but I know how to modify my search templates (kind of) so I think I could figure that out.

I would also need to exclude the category from my categories list in my sidebar and also from my recent entries list in my side bar.

What is the best way to do this?

Oh, yeah...your idea sounds great...but I am extremely challenged in this area...don't know anything about htaccess, etc. A real idiot!
-lc-
The ExcludeCategories plugin will do exactly what you want then:
http://mt-plugins.org/archives/entry/exclu...ecategories.php

Just install it and then go around all your templates and change the MTEntries tag to

MTEntriesExCat category="private"

and make yourself a private category and put your private posts into it

Keep in mind this is no way as secure as using the htaccess and a seperate blog. Wouldn't post anything you wouldn't like to see in the headlines of tomorrow's newspaper wink.gif
maubast
Ok...after trying the plugin...it seems that your way is most likely the best way after all..

The only problem I have is that I want the entries to show up in chronological order. Is there some way to show two blogs on one page? Is there a way to intergrate these entries into my calendar without other people having access to them?

If I were to put both blogs on the same page, wouldn't the private blog entries still show up?

I'm trying to use the OtherBlog plugin...
here
and I'll bet if you scroll to the bottom you can see the test entry from my private blog.
maubast
QUOTE (-lc- @ Sep 16 2003, 07:18 AM)
Just make a 2nd blog within your MT configuration, and point it to a new subdirectory  (ie.  /private)


Does this mean that this category is INSIDE my original category?

How would I go about doing that?
sherina
QUOTE (-lc- @ Sep 16 2003, 08:18 AM)
The ExcludeCategories plugin will do exactly what you want then:
http://mt-plugins.org/archives/entry/exclu...ecategories.php

Just install it and then go around all your templates and change the MTEntries tag to

MTEntriesExCat category="private"

and make yourself a private category and put your private posts into it

Keep in mind this is no way as secure as using the htaccess and a seperate blog. Wouldn't post anything you wouldn't like to see in the headlines of tomorrow's newspaper  wink.gif

I have a question in regards to this. I have it more or less working that way. However, if you go into the archives or into the individual entries, you can get to the private entries by clicking next or viewing the archive of all entries.

What would the syntax be to filter them out there? huh.gif
kayseebay
you should try this script

http://www.orangehairedboy.com/scripts/blo..._restrictor.php

it's totally simple to use. he's the best at writing directions smile.gif

Ruthie
kfosterm
QUOTE (sherina @ Jan 23 2004, 02:54 AM)
I  have a question in regards to this.  I have it more or less working that way.  However, if you go into the archives or into the individual entries, you can get to the private entries by clicking next or viewing the archive of all entries.

What would the syntax be to filter them out there? huh.gif

Sherina...I have a separate blog for private stuff. To accomplish what you want you just have to specify a separate archive. This makes both blogs completely isolated from one another. It's not perfect (nothing is), but it keeps people from inadvertantly viewing that which I want to keep private.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.