[AJAX] Threads rating
This modification is in the archives.
This mod merge of three old mods:
vB.org Rating System Replica [AJAX] Your One Click Thread Ratings Who Rated This Thread / Delete Who Rated Futures: - Now it is not necessary to delete elements from a template - You can choose id forums, where a rating threads to display it is necessary or not necessary - On click rating icon in the threads you get info about voting - You can delete vote from thread rating - Realisation with AJAX Install: Extract all files from folder "Upload" in forum root directory Find in file threadrate.php on youre server: PHP Code:
$xml->add_tag('voteavg', process_replacement_vars("$vbphrase[rating]: <img class=\"inlineimg\" src=\"$stylevar[imgdir_rating]/rating_$thread[rating].gif\" alt=\"" . construct_phrase($vbphrase['thread_rating_x_votes_y_average'], $thread['votenum'], $thread['voteavg']) . "\" border=\"0\" />"));
PHP Code:
$currate = ($thread['voteavg']*25 . px);
Admincp > Plugins and Products > Manage Products > [Add/Import Product] > product-trate.xml Update: Uninstall old mod and import product (v1.3) Upload stars.png in folder your style, by default /images/rating/ Enjoy! DEMO http://www.mixplay.ru/forum.php // choose any thread user: Test pass: 123456 &d=1220348854 Click Install, if you like this mod Download
This modification is archived, downloads are still allowed. Screenshots |