zingaburga / Thumbs-Post-Rating

Improvement to a MyBB plugin to allow posts to be rated

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

<html>

<head>
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
<meta name=Generator content="Microsoft Word 14 (filtered)">
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin-top:0cm;
	margin-right:0cm;
	margin-bottom:10.0pt;
	margin-left:0cm;
	line-height:115%;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
p.msochpdefault, li.msochpdefault, div.msochpdefault
	{mso-style-name:msochpdefault;
	margin-right:0cm;
	margin-left:0cm;
	font-size:12.0pt;
	font-family:"Calibri","sans-serif";}
p.msopapdefault, li.msopapdefault, div.msopapdefault
	{mso-style-name:msopapdefault;
	margin-right:0cm;
	margin-bottom:10.0pt;
	margin-left:0cm;
	line-height:115%;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
.MsoChpDefault
	{font-size:10.0pt;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
-->
</style>

</head>

<body lang=EN-MY link=blue vlink=purple>

<div class=WordSection1>

<p class=MsoNormal style='margin-top:0cm;margin-right:-1.1pt;margin-bottom:
0cm;margin-left:0cm;margin-bottom:.0001pt;text-autospace:none'><b><span
lang=EN style='font-size:18.0pt;line-height:115%'>Thumbs Post Rating MyBB
Plugin</span></b></p>

<p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;text-autospace:
none'><span lang=EN>&nbsp;</span></p>

<p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;text-autospace:
none'><span lang=EN>Plugin
Version&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
: 1.2</span></p>

<p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;text-autospace:
none'><span lang=EN>Released
date&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
: 01/10/2011</span></p>

<p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;text-autospace:
none'><span lang=EN>Supported MyBB
version&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
: 1.6</span></p>

<p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;text-autospace:
none'><span lang=EN>License&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
: <a href="http://www.gnu.org/licenses/gpl.txt">GNU/GPL</a></span></p>

<p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;text-autospace:
none'><span lang=EN>&nbsp;</span></p>

<p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;text-autospace:
none'><span lang=EN>@ MyBB Mod
site&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : <a
href="http://mods.mybb.com/view/thumbs-post-rating">http://mods.mybb.com/view/thumbs-post-rating</a></span></p>

<p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;text-autospace:
none'><span lang=EN>@ MyBB Community&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : <a
href="http://community.mybb.com/thread-84250.html">http://community.mybb.com/thread-84250.html</a></span></p>

<p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;text-autospace:
none'><span lang=EN>&nbsp;</span></p>

<p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;text-autospace:
none'><span lang=EN>Author&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
: TY Yew</span></p>

<p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;text-autospace:
none'><span lang=EN>Author
contact&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
: <a href="mailto:mybb@tyyew.com">mybb@tyyew.com</a></span></p>

<p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;text-autospace:
none'><span lang=EN>Author
website&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
: <a href="http://tyyew.com/mybb">http://tyyew.com/mybb</a></span></p>

<p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;text-autospace:
none'><span lang=EN>&nbsp;</span></p>

<p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;text-autospace:
none'><b><span lang=EN style='font-size:14.0pt;line-height:115%'>Overview:</span></b></p>

<p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;text-autospace:
none'><span lang=EN>This plugin will add a thumbs up / thumbs down rating
system on every individual posts.</span></p>

<p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;text-autospace:
none'><span lang=EN>Just like the one on the YouTube comment.</span></p>

<p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;text-autospace:
none'><span lang=EN>&nbsp;</span></p>

<p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;text-autospace:
none'><b><span lang=EN style='font-size:14.0pt;line-height:115%'>Features:</span></b></p>

<p class=MsoNormal style='margin-top:0cm;margin-right:0cm;margin-bottom:0cm;
margin-left:36.0pt;margin-bottom:.0001pt;text-indent:-18.0pt;text-autospace:
none'><span lang=EN style='font-family:Symbol'>·</span><span lang=EN
style='font-size:7.0pt;line-height:115%;font-family:"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span lang=EN>Non-obstructive AJAX (send the rating and update the
result instantly without refreshing the page)</span></p>

<p class=MsoNormal style='margin-top:0cm;margin-right:0cm;margin-bottom:0cm;
margin-left:36.0pt;margin-bottom:.0001pt;text-indent:-18.0pt;text-autospace:
none'><span lang=EN style='font-family:Symbol'>·</span><span lang=EN
style='font-size:7.0pt;line-height:115%;font-family:"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span lang=EN>Language file support</span></p>

<p class=MsoNormal style='margin-top:0cm;margin-right:0cm;margin-bottom:0cm;
margin-left:36.0pt;margin-bottom:.0001pt;text-indent:-18.0pt;text-autospace:
none'><span lang=EN style='font-family:Symbol'>·</span><span lang=EN
style='font-size:7.0pt;line-height:115%;font-family:"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span lang=EN>Able to set which usergroup allowed to rate</span></p>

<p class=MsoNormal style='margin-top:0cm;margin-right:0cm;margin-bottom:0cm;
margin-left:36.0pt;margin-bottom:.0001pt;text-indent:-18.0pt;text-autospace:
none'><span lang=EN style='font-family:Symbol'>·</span><span lang=EN
style='font-size:7.0pt;line-height:115%;font-family:"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span lang=EN>Able to set which forum to be excluded to have the post
rating function</span></p>

<p class=MsoNormal style='margin-top:0cm;margin-right:0cm;margin-bottom:0cm;
margin-left:36.0pt;margin-bottom:.0001pt;text-indent:-18.0pt;text-autospace:
none'><span lang=EN style='font-family:Symbol'>·</span><span lang=EN
style='font-size:7.0pt;line-height:115%;font-family:"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span lang=EN>Able to enable/disable self-rating</span></p>

<p class=MsoNormal style='margin-top:0cm;margin-right:0cm;margin-bottom:0cm;
margin-left:36.0pt;margin-bottom:.0001pt;text-indent:-18.0pt;text-autospace:
none'><span lang=EN style='font-family:Symbol'>·</span><span lang=EN
style='font-size:7.0pt;line-height:115%;font-family:"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span lang=EN>Compatible with both normal and classic postbit</span></p>

<p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;text-autospace:
none'><span lang=EN>&nbsp;</span></p>

<p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;text-autospace:
none'><b><span lang=EN style='font-size:14.0pt;line-height:115%'>Technical
information:</span></b></p>

<p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;text-autospace:
none'><span lang=EN>Number of
files&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
: 6</span></p>

<p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;text-autospace:
none'><span lang=EN>Database changes
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : Added 1 new table</span></p>

<p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;text-autospace:
none'><span lang=EN>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp; Added 2 columns on an existing table</span></p>

<p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;text-autospace:
none'><span lang=EN>Template
changes&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : Modified
3 templates</span></p>

<p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;text-autospace:
none'><span lang=EN>SQL
queries&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
: One per post on posts display</span></p>

<p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;text-autospace:
none'><span lang=EN>&nbsp;</span></p>

<p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;text-autospace:
none'><b><span lang=EN style='font-size:14.0pt;line-height:115%'>Installation:</span></b></p>

<p class=MsoNormal style='margin-top:0cm;margin-right:0cm;margin-bottom:0cm;
margin-left:36.0pt;margin-bottom:.0001pt;text-indent:-18.0pt;text-autospace:
none'><span lang=EN>1.</span><span lang=EN style='font-size:7.0pt;line-height:
115%;font-family:"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span lang=EN>Upload all the files in the &quot;Upload&quot; folder to
the root of your forum.</span></p>

<p class=MsoNormal style='margin-top:0cm;margin-right:0cm;margin-bottom:0cm;
margin-left:36.0pt;margin-bottom:.0001pt;text-indent:-18.0pt;text-autospace:
none'><span lang=EN>2.</span><span lang=EN style='font-size:7.0pt;line-height:
115%;font-family:"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span lang=EN>In ACP Plugins section, click &quot;Install &amp;
Activate&quot; next to the Thumbs Post Rating. </span></p>

<p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;text-autospace:
none'><span lang=EN>&nbsp;</span></p>

<p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;text-autospace:
none'><b><span lang=EN style='font-size:14.0pt;line-height:115%'>Uninstallation:</span></b></p>

<p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;text-autospace:
none'><span lang=EN>In ACP Plugins section, click &quot;Uninstall&quot; next to
the Thumbs Post Rating.</span></p>

<p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;text-autospace:
none'><span lang=EN>&nbsp;</span></p>

<p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;text-autospace:
none'><b><span lang=EN style='font-size:14.0pt;line-height:115%'>Upgrading from
previous version:</span></b></p>

<p class=MsoNormal style='margin-top:0cm;margin-right:0cm;margin-bottom:0cm;
margin-left:36.0pt;margin-bottom:.0001pt;text-indent:-18.0pt;text-autospace:
none'><span lang=EN>1.</span><span lang=EN style='font-size:7.0pt;line-height:
115%;font-family:"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span lang=EN>In ACP Plugins section, click &quot;Deactivate&quot; next
to the Thumbs Post Rating.</span></p>

<p class=MsoNormal style='margin-top:0cm;margin-right:0cm;margin-bottom:0cm;
margin-left:36.0pt;margin-bottom:.0001pt;text-indent:-18.0pt;text-autospace:
none'><span lang=EN>2.</span><span lang=EN style='font-size:7.0pt;line-height:
115%;font-family:"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span lang=EN>Upload all the files in the &quot;Upload&quot; folder to
the root of your forum. If required, choose to replace any old files.</span></p>

<p class=MsoNormal style='margin-top:0cm;margin-right:0cm;margin-bottom:0cm;
margin-left:36.0pt;margin-bottom:.0001pt;text-indent:-18.0pt;text-autospace:
none'><span lang=EN>3.</span><span lang=EN style='font-size:7.0pt;line-height:
115%;font-family:"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span lang=EN>In ACP Plugins section, click &quot;Activate&quot; next to
the Thumbs Post Rating.&nbsp; </span></p>

<p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;text-autospace:
none'><span lang=EN>&nbsp;</span></p>

<p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;text-autospace:
none'><b><span lang=EN style='font-size:14.0pt;line-height:115%'>Comments /
Suggestion / Bug report:</span></b></p>

<p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;text-autospace:
none'><span lang=EN>Please post your feedback at the <a
href="http://community.mybb.com/thread-84250.html">MyBB Community</a>.</span></p>

<p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;text-autospace:
none'><span lang=EN>Your feedback is very much appreciated.</span></p>

<p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;text-autospace:
none'><span lang=EN>&nbsp;</span></p>

<p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;text-autospace:
none'><b><span lang=EN style='font-size:14.0pt;line-height:115%'>Change Log</span></b></p>

<p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;text-autospace:
none'><b><span lang=EN style='font-size:10.0pt;line-height:115%;font-family:
"Courier New"'>1.2 - 01/10/2011</span></b></p>

<p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;text-autospace:
none'><span lang=EN style='font-size:10.0pt;line-height:115%;font-family:"Courier New"'>-
New: Language file support </span></p>

<p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;text-autospace:
none'><span lang=EN style='font-size:10.0pt;line-height:115%;font-family:"Courier New"'>-
New: Ability to set which forum to be excluded to have the post rating function</span></p>

<p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;text-autospace:
none'><span lang=EN style='font-size:10.0pt;line-height:115%;font-family:"Courier New"'>-
New: Ability to enable/disable self-rating</span></p>

<p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;text-autospace:
none'><span lang=EN style='font-size:10.0pt;line-height:115%;font-family:"Courier New"'>-
Improved: Reduces SQL queries</span></p>

<p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;text-autospace:
none'><span lang=EN style='font-size:10.0pt;line-height:115%;font-family:"Courier New"'>-
Improved: Code cleanup</span></p>

<p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;text-autospace:
none'><span lang=EN style='font-size:10.0pt;line-height:115%;font-family:"Courier New"'>&nbsp;</span></p>

<p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;text-autospace:
none'><b><span lang=EN style='font-size:10.0pt;line-height:115%;font-family:
"Courier New"'>1.1 - 12/24/2010</span></b></p>

<p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;text-autospace:
none'><span lang=EN style='font-size:10.0pt;line-height:115%;font-family:"Courier New"'>-
Fixed: Rating maybe rated for unlimited no. of times</span></p>

<p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;text-autospace:
none'><span lang=EN style='font-size:10.0pt;line-height:115%;font-family:"Courier New"'>&nbsp;</span></p>

<p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;text-autospace:
none'><b><span lang=EN style='font-size:10.0pt;line-height:115%;font-family:
"Courier New"'>1.0 - 12/15/2010</span></b></p>

<p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;text-autospace:
none'><span lang=EN style='font-size:10.0pt;line-height:115%;font-family:"Courier New"'>-
Initial release</span></p>

</div>

</body>

</html>

About

Improvement to a MyBB plugin to allow posts to be rated

License:GNU General Public License v3.0


Languages

Language:PHP 93.7%Language:JavaScript 6.3%