Viewing 11 replies - 1 through 11 (of 11 total)
  • Try a plugin such as Role Scoper
    http://wordpress.org/extend/plugins/role-scoper/
    There are more such plugins.

    Thread Starter smithc1080

    (@smithc1080)

    Will this allow me to set certain pages to only show after login? That is all I want to do. I afraid to just DL that particular plugin and play around with it based on the complaints about the difficulty to remove it. Thanks.

    I never used it, but just read the description and see if it could be something. As far as I heard, Role Scoper is very flexible.

    Alwyn Botha

    (@123milliseconds)

    All you need is one IF

    http://codex.wordpress.org/Function_Reference/is_user_logged_in

    Search google for tutorials using that function

    Thread Starter smithc1080

    (@smithc1080)

    I see how that would work but after googling I can only see where that is being used to change specific text. I want to hide one or two single pages. I have looked in page template and so forth but it would change all of them. Sorry if this should be an obvious fix but I am a newbie. I am using a Director theme by WP Themes Planet, running the current version of wordpress. Thanks!

    Here’s what seems to have worked for me:

    Log in and go to the Administration Control Panel->Forums->Forum Permissions. Select all the forums you want hidden to the world, then click Submit.

    Now you’ll see four boxes. In the upper right box, where it says “Manage groups,” select any groups who should *not* have access — pretty much all except Registered Users (in your case) and Administrators, and maybe Global Moderators if you use them — then click below on “Remove permissions.” Confirm your choice when prompted.

    See that screen at http://i162.photobucket.com/albums/t273/tmneast/pony_only_permissions.jpg

    That should do it. The only difference in my case from what I described above was that I chose just a single forum to hide, rather than all, and made a custom user group (instead of Registered Users, which is what you’d use) who are allowed access. One can choose any or all forums. Whatever forums you *don’t* choose will still appear on the main page.

    Granted, I’m a total noob at WordPress, but this seems to work fine. When I log in as a user who’s not in the custom user group (Pony Only group), the “Pony Only” forum doesn’t appear. In your case you’ll just want to hide them all instead of just one.

    You can see what I mean here: http://monadnocksquadron.org/crewslounge. As you’re not registered and in the custom group, you see everything *but* the “Pony Only forum.”

    Someone please correct me if this is bad advice. 🙂

    —–
    Oops, I just had a thought. My custom group was set to Closed (but not to hidden). I don’t know if you can do that with the Registered Users group. Should my method fail for you, perhaps you can find a way to make all registered users part of a custom group and then do what I did. Or, hopefully, someone more experienced will come along and suggest something better.

    Thread Starter smithc1080

    (@smithc1080)

    Thanks for the respons. I played around with it a bit and your advice works for hiding a forum but I want to hide the entire forum page until login. So a visitor to the site would not even know there was a forum until registering. Is there a way to set a page to only be viewable upon login? Thanks.

    My thinking was: If you can hide one forum you can hide them all.

    I don’t know how to hide the entire page, nor why it would be necessary if all forums were hidden.

    Sounds like you want a separate registration page with nothing else on it. All that comes to mind, offhand, is to move your forum to a password-protected subdirectory, and make a registration page in the root directory. Users would register on that front page, after which they’d be sent a password to the forum subdirectory.

    That’s all I’ve got. Too much of a newbie myself. 🙂

    smithc1080,

    I just realized I spewed some pretty bad info in my first post. I had just spent long hours working on a phpBB site when I came on here. I was still in “phpBB mode” in my head, and the drivel I posted above has nothing to do with WordPress. My sincere apologies. <sigh>

    On the other hand, if you ever need to hide forums in phpBB, I’ve discovered an even better method than above. LOL

    From now on, I’ll sleep first, post later.

    Warm regards,

    Nuge

    Thread Starter smithc1080

    (@smithc1080)

    Well thanks for responding all the same. I didn’t understand a bit of your post but just chalked it up to my inexperience. I’m glad I’m not going crazy! If anyone has a solution I am still on the hunt!

    Nope, you’re quite sane. 🙂

    How do you want your front page to look, exactly? Given that info, maybe I’ll get a workable idea (that actually involves WordPress this time). Your description alone might prompt smarter folks to offer a solution, as it sounds like something that someone must have encountered before.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Hiding a section…’ is closed to new replies.