Forum Replies Created

Viewing 15 replies - 46 through 60 (of 67 total)
  • As an addendum to that, viewlevel will deal with posts AND pages, so you get a 404 error for everything you look at.

    If you’re using something like Gallery2, then there are capabilities in that to restrict access too.

    Tell us what you want!

    Actually I read every word of your original post and, based on it:

    I have created a site where I want to blog about my new born daughter. Since there is a lot of sick people out there I only want relatives and frinds with login and password to see the site.

    My response was exactly right, as you say NOTHING about a gallery, or anything other than “…I want to blog…”.

    Tell us exactly what you want, what your set up is, gallery software, how its working together with the blog, and maybe we can actually give an informed answer!

    If you’d asked the right question in the first place, or clarified that you wanted your gallery, etc. blocked, when I first replied, then this would be a much simpler thread.

    The more you tell us about what you’ve got and what you’re trying to do with it, the more useful replies can be.

    The plugin will do an easier job than 4k’s suggestion as you don’t need to type anything for every post you want to hide (which is ALL you objected to in my first reply), but as we don’t know your gallery package we have no way of knowing if this will have any effect on it.

    So its too much effort to type “vl=0” at the start of each post? Or add a custom field called “viewlevel” with a value of 0?

    Wow, you must have a REALLY busy life…

    Obviously too busy to read the bit about the default setting:

    If you don’t set the viewlevel, then the post is assigned a default. You can set this default on the new ViewLevel Options page. To start with the default is ‘*’, so everyone will be able to see your posts.

    What this means, is that you can change the default FOR EVERY POST. Set it to 0 and only registered users can see them.

    How’s that? Still too much effort?

    Sorry if I sound irritated, but honestly, I am. All it took was an extra 2 minutes of reading, downloading, playing to find out it does EXACTLY what you asked for!

    There’s also the option of using one of the plugins that do this automatically for you…

    Try TextControl for one, which will let you change it globally, or Alex King has one that does it post by post with custom settings.

    All you need to do is do a google search, that’s what I did.

    Could it be:
    <div style="float:left;width:160px;height:600px;">
    in your sponsor’s widget code?

    As your Adsense block is defined as 160×600, then putting anything else in the DIV is going to break it.

    Try ViewLevel2. It’ll do what you want, and I’ve tried it on WP2.2.1 and it seems to work quite well.

    True, but what’s on it and in it was created by humans (or a close semblance of same) so there’s always room for human error.

    Preposterous, perhaps. Not likely? Possibly, but I’ve seen weirder crap happen by accident – and just watch all the “immaculate” conceptions touted on Jerry Springer – “No honey, I didn’t cheat on you” even though she and the “father” are white Americans and is giving birth to a Chinese baby.

    All things are possible in an infinite universe, or where humans are involved ??

    So, in the same place you have your “plugins” and “themes” directory, there’s no “uploads”? Odd.

    Only thing I can think of is when it was created, the server (Unix?) access rights exclude your userid from seeing it – the id you’d use to ftp with, not your WP id.

    Beyond that thought, if that’s not the case, I’m stumped. Maybe one of the guru-dudes on here can enlighten?

    Its all “virtual”. WordPress will show the content based on the link by sucking it out of the database. It doesn’t actually exist as a physical file in a directory.

    All your link does is tells WP to get the content for post “ok-another-test” that was posted on 4th July 2007, from the database.

    And the wp-content/uploads folder is where any files loaded into a post would go (using the file upload box in the post write screen). I can’t remember if WP creates it first time, or if you have to. Try an upload and see.

    That make sense at all?

    It does work ‘cos I used it the other day on 2.2.1.

    Forum: Plugins
    In reply to: Need a new REDIRECT plugin!

    There’s a couple of plugins that I’ve tweaked to work with 2.2 that will let you set pages as private, by group/role.

    Have a look at my site download library and you’ll see them.

    If you try to access a restricted page, you’re asked to login to view it. If you don’t have the rights once you login, you’re directed to another page which you can create with “Content Restricted”, or whatever you want to say.

    Hope it helps. They work for me and one other person, YMMV.

    How about this one:

    Per Post CSS

    Can you show the problem in context? i.e. the lines either side of the tags you’re putting in as well? So we have a better idea of what’s around it to break it.

    You say you’re putting it “just before the </title>” tag..do you mean you’re adding it between the <title></title> pair? If so, that’s your problem. Put it before <title> or after </title>, but not between the two.

Viewing 15 replies - 46 through 60 (of 67 total)