Plugin Directory

Changeset 1400490


Ignore:
Timestamp:
04/20/2016 02:37:11 PM (10 years ago)
Author:
aheadzen
Message:

3.0.16

Location:
voter-plugin/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • voter-plugin/trunk/css/voter.css

    r1397330 r1400490  
    1 .aheadzen_voter_css{background-repeat:no-repeat;width:auto;height:auto;display: block;padding:0;}
     1.aheadzen_voter_css{background-repeat:no-repeat;width:auto;height:auto;display:inline;padding:0;}
    22
    33.aheadzen_vote.helpful_vote {font-size: 80%; clear: both;display: inline-block;margin:10px 0 0; font-size;80%; padding-bottom:10px;}
     
    7575.aheadzen_vote a.aheadzen_voter_css, .aheadzen_vote a.aheadzen_vote{float:none;}
    7676ul.voter_top_list{list-style:none;}
    77 ul.voter_top_list li {clear: both;float: none;padding-bottom: 10px;padding-top: 9px; border:none !important;}
     77ul.voter_top_list li {clear: both;float: none;padding-bottom: 10px;padding-top: 9px; border:none;}
    7878ul.voter_top_list li img{clear: both;display: inline-block;float: left;margin-bottom: 5px;margin-right: 10px; width: 50px; height: 50px;}
    7979ul.voter_top_list li a{text-decoration:none;}
    80 ul.voter_top_list li::before{content:'';margin:0;}
     80ul.voter_top_list.image li::before,ul.voter_top_list.titleimage li::before{content:'';margin:0;}
     81ul.voter_top_list.image li,ul.voter_top_list.titleimage li{border:none !important;}
  • voter-plugin/trunk/readme.txt

    r1397330 r1400490  
    459459= 3.0.15 =
    460460* top voted list - problem - solved.
     461
     462= 3.0.16 =
     463* top voted list - css problem for some themems - problem solved.
  • voter-plugin/trunk/voter.php

    r1397330 r1400490  
    88Text Domain: aheadzen
    99Domain Path: /language
    10 Version: 3.0.15
     10Version: 3.0.16
    1111
    1212Copyright: © 2014-2015 ASK-ORACLE.COM
  • voter-plugin/trunk/voter_functions.php

    r1397330 r1400490  
    177177
    178178        $voting_options = get_option('aheadzen_voter_display_options');
    179 
     179        $buttonStyle = '';
    180180        $post_type_arr = array('page','post','product','custompost','comment','activity','profile','groups','topic','topic-reply');
    181181        if($params['type'] && in_array($params['type'],$post_type_arr)){
     
    185185                $voting_options = get_option('aheadzen_voter_display_options_'.$params['type']);
    186186            }
     187            if($params['type']=='activity')$buttonStyle = ' button bp-primary-action ';
     188           
    187189        }else{
    188190            global $post;
     
    222224        $class_up .= $votetype;
    223225        $class_down .= $votetype;
    224 
     226       
     227        $class_up .= $buttonStyle;
     228        $class_down .= $buttonStyle;
     229       
    225230        if($voting_options=='likeunlike'){
    226231            $votestr.= '<div id="aheadzen_voting_'.$params['secondary_item_id'].'_'.$params['item_id'].'_'.$params['component'].'" class="aheadzen_vote like_unlike_vote">';
     
    10031008        }
    10041009        if($final_arr){
    1005             $return .= '<ul class="voter_top_list list_'.$type.'">';
     1010            $return .= '<ul class="voter_top_list item-list list_'.$type.'" >';
    10061011            $return .= implode(' ',$final_arr);
    10071012            $return .= '</ul>';
  • voter-plugin/trunk/voter_widgets_shorcodes.php

    r1372853 r1400490  
    2020        function aheadzen_voter_widget() {
    2121        //Constructor
    22             $widget_ops = array('classname' => 'widget aheadzen_voter widget_categories', 'description' => __('Display top voted posts,pages,products,groups,members etc...','aheadzen') );     
     22            $widget_ops = array('classname' => 'buddypress aheadzen_voter widget_categories', 'description' => __('Display top voted posts,pages,products,groups,members etc...','aheadzen') );     
    2323            $this->__construct('aheadzen_voter','Top Listings Voter Plugin', $widget_ops);
    2424        }
Note: See TracChangeset for help on using the changeset viewer.