WordPress.org

Plugin Directory

Changeset 626191


Ignore:
Timestamp:
11/16/12 16:04:22 (17 months ago)
Author:
mordauk
Message:

Uploading version 0.2

Location:
bbpress-private-replies/trunk
Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • bbpress-private-replies/trunk/bbp-private-replies.php

    r625833 r626191  
    44Plugin URL: http://pippinsplugins.com/bbpress-private-replies 
    55Description: Allows users to set replies as private so that only the original poster and admins can see it 
    6 Version: 0.1 
     6Version: 0.2 
    77Author: Pippin Williamson and Remi Corson 
    88Author URI: http://pippinsplugins.com 
     
    157157     * @return string 
    158158     */ 
    159     public function hide_reply( $content, $reply_id ) { 
     159    public function hide_reply( $content, $reply_id) { 
    160160         
    161161        if( $this->is_private( $reply_id ) ) { 
    162162 
     163            $topic_author = bbp_get_topic_author_id(); 
    163164            $reply_author = bbp_get_reply_author_id( $reply_id ); 
    164165 
    165             if( $reply_author != bbp_get_current_user_id() && ! current_user_can( 'bbp_forums_admin' ) ) { 
     166            if( $topic_author != bbp_get_current_user_id() && $reply_author != bbp_get_current_user_id() && !current_user_can( 'publish_forums' ) ) { 
    166167 
    167168                $content = __( 'This reply has been marked as private.', 'bbp_private_replies' ); 
  • bbpress-private-replies/trunk/css/frond-end.css

    r625843 r626191  
    11.topic .bbp-private-reply { 
    2     background: #FFFFE0 !important; 
     2    background: #F0F8FF !important; 
    33} 
  • bbpress-private-replies/trunk/languages/bbp_private_replies-fr_FR.po

    r625833 r626191  
    33"Project-Id-Version: bbPress Private Replies\n" 
    44"Report-Msgid-Bugs-To: \n" 
    5 "POT-Creation-Date: 2012-11-15 18:53+0100\n" 
    6 "PO-Revision-Date: 2012-11-15 18:59+0100\n" 
    7 "Last-Translator: remi\n" 
     5"POT-Creation-Date: 2012-11-16 10:01+0100\n" 
     6"PO-Revision-Date: 2012-11-16 10:04+0100\n" 
     7"Last-Translator: FxB <fx@fxbenard.com>\n" 
    88"Language-Team: Pippin's Plugins, Rémi Corson <pippin@pippinsplugins.com>\n" 
     9"Language: fr_FR\n" 
    910"MIME-Version: 1.0\n" 
    1011"Content-Type: text/plain; charset=UTF-8\n" 
    1112"Content-Transfer-Encoding: 8bit\n" 
    12 "X-Poedit-KeywordsList: _x;_e;_n\n" 
    13 "X-Poedit-Basepath: .\n" 
    14 "X-Poedit-Language: English\n" 
    15 "X-Poedit-Country: United States\n" 
    16 "X-Poedit-SearchPath-0: ..\n" 
     13"X-Poedit-KeywordsList: __;_e;_n;_x;esc_attr__;esc_attr_e;esc_html__;" 
     14"esc_html_e;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_x:1,2c;_n:1,2\n" 
     15"X-Poedit-Basepath: ../\n" 
     16"X-Generator: Poedit 1.5.4\n" 
     17"X-Poedit-SourceCharset: UTF-8\n" 
     18"Plural-Forms: nplurals=2; plural=n != 1;\n" 
     19"X-Poedit-SearchPath-0: .\n" 
    1720 
    18 #: ../bbp-private-replies.php:72 
     21#: bbp-private-replies.php:77 
    1922msgid "Set author's post as private." 
    2023msgstr "Rendre la réponse de l'auteur privée." 
    2124 
    22 #: ../bbp-private-replies.php:76 
     25#: bbp-private-replies.php:81 
    2326msgid "Set as private reply" 
    2427msgstr "Rendre cette réponse privée" 
    2528 
     29#: bbp-private-replies.php:168 
     30msgid "This reply has been marked as private." 
     31msgstr "Cette réponse a été marquée comme privée." 
  • bbpress-private-replies/trunk/readme.txt

    r625843 r626191  
    77Requires at least: 3.2 
    88Tested up to: 3.5 
    9 Stable Tag: 0.1 
     9Stable Tag: 0.2 
    1010 
    1111 
     
    25252. French 
    2626 
    27 Would you like to help translate the plugin into more langauges? [Contact Pippin](http://pippinsplugins.com/contact). 
     27Would you like to help translate the plugin into more languages? [Contact Pippin](http://pippinsplugins.com/contact). 
    2828 
    2929== Installation == 
     
    4343== Changelog == 
    4444 
     45= 0.2 = 
     46 
     47* Fixed a bug that prevented topic authors from seeing private admin replies 
     48* Changes the capability required to see private replies from bbp_forums_admin to publish_forums 
     49* Changed private reply backgrounds to blue to help distinguish them from sticky topics 
     50* Improved French translation 
     51 
    4552= 0.1 = 
    4653 
     
    4956== Upgrade Notice == 
    5057 
     58= 0.2 =  
     59 
     60* Fixed a bug that prevented topic authors from seeing private admin replies 
     61* Changes the capability required to see private replies from bbp_forums_admin to publish_forums 
     62* Changed private reply backgrounds to blue to help distinguish them from sticky topics 
     63* Improved French translation 
     64 
    5165= 0.1 = 
    5266 
Note: See TracChangeset for help on using the changeset viewer.