이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

UpDownUpDown

설명

UpDownUpDown provides two template tags for adding up/down voting for any post or comment. Anonymous guest visitors can either be allowed to vote (tracked by ip address) or be denied voting and shown a view-only vote count badge. Votes are registered on the server without refreshing the page.

Fork the Github repo: https://github.com/davekonopka/updownupdown

This plugin was initially developed as a project of Wharton Research Data Services.

스크린샷

  • This shows a badge in a post with no votes yet.
  • This shows a badge in a post with a vote set.
  • This shows a view-only badge if voting is disabled via theme function flag or guest voting is disabled in the admin settings.
  • This shows a badge using the alternate simple style.
  • Admin settings page for the plugin.

설치

  1. Upload the folder containing the plugin to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Place the following function calls in your templates, somewhere inside the post or comment loop:
    1. <?php if(function_exists('up_down_post_votes')) { up_down_post_votes( get_the_ID() ); } ?>
    2. <?php if(function_exists('up_down_comment_votes')) { up_down_comment_votes( get_comment_ID() ); } ?>
  4. Display vote badge display only with no voting by setting the second parameter to false:
    1. <?php if(function_exists('up_down_post_votes')) { up_down_post_votes( get_the_ID(), false ); } ?>
    2. <?php if(function_exists('up_down_comment_votes')) { up_down_comment_votes( get_comment_ID(), false ); } ?>
  5. Visit the plugin settings page to customize it.

후기

이 플러그인에 대한 평가가 없습니다.

기여자 & 개발자

“UpDownUpDown”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “UpDownUpDown”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

1.1

  • Release includes major contributions by Martin Scharm
  • Added admin page
  • Added option to allow guest-votes
  • Added option to select from multiple styles, added simple styling
  • Choose between up/down counts or a total count
  • Fixed some XHTML errors

1.0.1

  • Replaced JavaScript JSON.parse reference with jQuery.parseJSON to accommodate browsers without native JSON support. In IE7 votes were registering on the server but not updating in the browser without a refresh. Now it’s fixed in IE7.

1.0

  • Initial release.