Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

how to set guest to view title only and not content?

pedenskipedenski New
edited May 2012 in Vanilla 2.0 - 2.8

is this even possible with the permission settings of user? or there's a plugin needed?

Answers

  • x00x00 MVP
    edited May 2012

    There is a solution in Plug in, but it was designed for social linkage (facebook,etc) like so they would have a landing page, the discussion won't show up in discussion list.

    Such facility requires a plugin.

    grep is your friend.

  • peregrineperegrine MVP
    edited May 2012

    I can give you a hand if you want to start writing a plugin - but I'm not going to write it at this point.

    Here's a start-
    create a plugin: add this

    public function DiscussionController_BeforeCommentMeta_Handler($Sender) {
    
      if ($Session->IsValid()) { 
                        // do what you want
                      } else {  //not logged in
                     $Sender->AddCssFile('getridofcomments.css', 'plugins/yourplugin');
                      }
    
    
    put this in your getridofcomment.css
    
    .Message {
                    display:none;
                   }
    

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • peregrineperegrine MVP
    edited May 2012

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

Sign In or Register to comment.