Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » Running WordPress » Installing & running WordPress »

Comments visible only for members?


  #1  
Old Aug 17, 2010, 07:37 AM
Superhero360
 
1 posts · Aug 2010
Hello,

I am using the Plug-in ""Member Access" to turn visibility for each page for "members only" or "for everyone" on and off.
Right now I am looking for a solution to turn comments visibility "for members only" or "for everyone" for each separate page. Is there a plug in for Word Press to do that easily?

cu
Superhero360
  #2  
Old Nov 20, 2010, 12:36 PM
WebPro's Avatar
WebPro
 
2 posts · Nov 2010
SF Bay Area, CA
If you are a litlle bit familiar with PHP you can have these blocks of code to block the comments displays for non logged users. Open the comments.php file or whatever file assumes that role.
You can add this line of code at the top of that PHP file:
<?php if (is_user_logged_in()): ?>

Then add the line below at the very end of the file.
<?php endif; ?>
  #3  
Old Jan 6, 2011, 10:25 PM
MichelHerbert
 
1 posts · Jan 2011
Hello, thanks for advice.
I am using the Plug-in ""Member Access" to turn visibility for each page for "members only" or "for everyone" on and off.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hide Comments from Non-Members? christina Comments, trackbacks & pings 13 Sep 24, 2010 04:31 AM
Members Area in Atahualpa bandsecretarypelpb Atahualpa 3 Wordpress theme 5 Aug 9, 2010 06:00 AM
5000+ members deleted, please register again Flynn Atahualpa 3 Wordpress theme 2 Jul 20, 2010 04:37 PM
Pages visible for members only DonC Center area post/pages 3 Mar 30, 2010 04:35 PM


All times are GMT -6. The time now is 03:59 AM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.