Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
The Matrix: RateIt
#1
Star rating system using The Matrix for storing the data. Made as a result of a request some moons ago by Oleg06.

- Download (latest): https://github.com/lokothodida/matrix_ra...master.zip
- Github: https://github.com/lokothodida/matrix_rateit/
- Usage: https://github.com/lokothodida/matrix_rateit/wiki/Usage

Screenshots
[Image: f3d1ae44-07f1-11e3-8601-d9bb0971e9fc.png]
[Image: f0e99a98-07f1-11e3-855b-58ef64ba586b.png]
[Image: f1be1714-07f1-11e3-9ede-70c69684f7c8.png]

Special thanks to the creator of the RateIt JQuery plugin and Oleg06.
Reply
#2
Thank you very angry boy Smile
Reply
#3
can anything be done to use your plugin with search and i18n i18n special pages? to be displayed in the search results ranking of each page
Reply
#4
So long as there is a variable/function that calls the desired slug, you can use it on any content type.

For example, with i18n Special Pages, the function to call (assuming this is the actual page's slug, and not a custom/special field) would be:

PHP Code:
return_special_field('slug'

For search, it might be:

PHP Code:
$item->slug 

So to display it, simply use the appropriate slug-call (e.g. for special pages it is...):

PHP Code:
matrix_rateit(return_special_field('slug'), $showAverage$showTotal

Where $showAverage and $showTotal are booleans (true/false).

You can also prefix your slugs so that they are unique and don't clash with existing page slugs (this needs to be done before the first vote on that entry is cast). So for example, if used for blog entries, you may want to use:

PHP Code:
matrix_rateit('blog-'.return_special_field('slug')) 
Reply
#5
Oh, thank you
Reply
#6
I was very pleased with your plugin once installed on a local server, but on a real hosting for some reason he refuses to work
in admin
Code:
Fatal error: Call to a member function query() on a non-object in /home/website.ru/gs/plugins/matrix_rateit/php/admin/ratings.php on line 23
in site
Code:
Fatal error: Call to a member function getSiteURL() on a non-object in /home/website.ru/gs/plugins/matrix_rateit/php/class.php on line 187
Reply
#7
and I think that loading a page of script and style completely unnecessary
Code:
<!-- The Matrix 1.03-->
  <!--css-->
    <link rel="stylesheet" href="http://0gs.ru/plugins/matrix/css/admin.css"/>
    <link rel="stylesheet" href="http://0gs.ru/plugins/matrix/css/codemirror.css"/>
    <link rel="stylesheet" href="http://0gs.ru/plugins/matrix/css/jquery-te-1.4.0.css"/>
    <link rel="stylesheet" href="http://0gs.ru/plugins/matrix/css/markitup.bbcode.css"/>
    <link rel="stylesheet" href="http://0gs.ru/plugins/matrix/css/markitup.css"/>
    <link rel="stylesheet" href="http://0gs.ru/plugins/matrix/css/markitup.markdown.css"/>
    <link rel="stylesheet" href="http://0gs.ru/plugins/matrix/css/markitup.wiki.css"/>
    <link rel="stylesheet" href="http://0gs.ru/plugins/matrix/css/tagsinput.css"/>
    <link rel="stylesheet" href="http://0gs.ru/plugins/matrix/css/zebradialog.css"/>
  <!--/css-->
  <!--js-->
    <script src="http://0gs.ru/plugins/matrix/js/admin.js" type="text/javascript"></script>
    <script src="http://0gs.ru/plugins/matrix/js/edit_area_full.js" type="text/javascript"></script>
    <script src="http://0gs.ru/plugins/matrix/js/jquery-te-1.4.0.min.js" type="text/javascript"></script>
    <script src="http://0gs.ru/plugins/matrix/js/jquery.easytabs.min.js" type="text/javascript"></script>
    <script src="http://0gs.ru/plugins/matrix/js/jquery.fastlivefilter.min.js" type="text/javascript"></script>
    <script src="http://0gs.ru/plugins/matrix/js/jquery.happy.js" type="text/javascript"></script>
    <script src="http://0gs.ru/plugins/matrix/js/jquery.happy.methods.js" type="text/javascript"></script>
    <script src="http://0gs.ru/plugins/matrix/js/jquery.iframe-transport.js" type="text/javascript"></script>
    <script src="http://0gs.ru/plugins/matrix/js/jquery.markitup.min.js" type="text/javascript"></script>
    <script src="http://0gs.ru/plugins/matrix/js/jquery.markitup_bbcode.min.js" type="text/javascript"></script>
    <script src="http://0gs.ru/plugins/matrix/js/jquery.markitup_markdown.min.js" type="text/javascript"></script>
    <script src="http://0gs.ru/plugins/matrix/js/jquery.markitup_wiki.min.js" type="text/javascript"></script>
    <script src="http://0gs.ru/plugins/matrix/js/jquery.pajinate.min.js" type="text/javascript"></script>
    <script src="http://0gs.ru/plugins/matrix/js/jquery.postmessage-transport.js" type="text/javascript"></script>
    <script src="http://0gs.ru/plugins/matrix/js/jquery.sortable.min.js" type="text/javascript"></script>
    <script src="http://0gs.ru/plugins/matrix/js/jquery.tagsinput.min.js" type="text/javascript"></script>
    <script src="http://0gs.ru/plugins/matrix/js/jquery.tinysort.min.js" type="text/javascript"></script>
    <script src="http://0gs.ru/plugins/matrix/js/jquery.ui.widget.js" type="text/javascript"></script>
    <script src="http://0gs.ru/plugins/matrix/js/jquery.zebradialog.min.js" type="text/javascript"></script>
    <script src="http://0gs.ru/plugins/matrix/js/jscolor.js" type="text/javascript"></script>
  <!--/js-->
Reply
#8
Are there any updates of this plugin?
Reply
#9
(2016-01-15, 01:54:29)0zz Wrote: Are there any updates of this plugin?

Wondering the same thing, and now the threat is uppet Big Grin.
Rating plugin has to be one of the most wanted plugin?.

I found one flat file rating from here

Also, every GS user is waiting Form Builder and Catalog plugin to pop up ;D.
Reply




Users browsing this thread: 1 Guest(s)