Thread: Mini Mods - vb.org Rating System for vb4
View Single Post
  #7  
Old 02-11-2013, 06:56 AM
nacaruncr nacaruncr is offline
 
Join Date: Nov 2010
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You only need delete the first code in the SHOWTHREAD this one:
Code:
 <vb:if condition="$show['threadrating']"> 
                <li class="popupmenu" id="threadrating"> 
                    <h6><a class="popupctrl" href="javascript://">{vb:rawphrase rate_this_thread}</a></h6> 
                    <div class="popupbody popuphover"> 
                        <form action="threadrate.php" method="post" id='showthread_threadrate_form'>
                            <ul> 
                                <li id="threadrating_current"<vb:if condition="!$show['rating']">class="hidden"</vb:if> title="{vb:rawphrase thread_rating_x_votes_y_average, {vb:raw thread.votenum}, {vb:raw thread.voteavg}}"><label> 
                                    <span class="rating r{vb:raw thread.rating}<vb:if condition="$thread['rating'] != 5">_{vb:stylevar right}</vb:if>">{vb:rawphrase current_rating}</span> 
                                </label></li> 
                                <vb:if condition="$show['ratethread']"> 
                                    <li><label for="r5"><span class="rating r5"> 
                                        {vb:stylevar dirmark}<input type="radio" name="vote" value="5" id="r5" {vb:raw votechecked.5} tabindex="20" /> {vb:rawphrase excellent}
                                    </span></label></li> 
                                    <li><label for="r4"><span class="rating r4_{vb:stylevar right}"> 
                                        {vb:stylevar dirmark}<input type="radio" name="vote" value="4" id="r4" {vb:raw votechecked.4} tabindex="21" /> {vb:rawphrase good}
                                    </span></label></li> 
                                    <li><label for="r3"><span class="rating r3_{vb:stylevar right}"> 
                                        {vb:stylevar dirmark}<input type="radio" name="vote" value="3" id="r3" {vb:raw votechecked.3} tabindex="22" /> {vb:rawphrase average}
                                    </span></label></li> 
                                    <li><label for="r2"><span class="rating r2_{vb:stylevar right}"> 
                                        {vb:stylevar dirmark}<input type="radio" name="vote" value="2" id="r2" {vb:raw votechecked.2} tabindex="23" /> {vb:rawphrase bad}
                                    </span></label></li> 
                                    <li><label for="r1"><span class="rating r1_{vb:stylevar right}"> 
                                        {vb:stylevar dirmark}<input type="radio" name="vote" value="1" id="r1" {vb:raw votechecked.1} tabindex="24" /> {vb:rawphrase terrible}
                                    </span></label></li> 
                                    <li class="formsubmit"><input type="submit" class="button" value="{vb:rawphrase vote_now}" tabindex="25" /></li> 
                                <vb:else /> 
                                    <li><label>{vb:rawphrase already_rated_this_thread}</label></li> 
                                </vb:if> 
                            </ul> 
                            <input type="hidden" name="s" value="{vb:raw session.sessionhash}" /> 
                            <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" /> 
                            <input type="hidden" name="t" value="{vb:raw threadid}" /> 
                            <input type="hidden" name="pp" value="{vb:raw perpage}" /> 
                            <input type="hidden" name="page" value="{vb:raw pagenumber}" /> 
                        </form> 
                    </div> 
                    <script type="text/javascript"> 
                    <!-- 
                        vB_AJAX_ThreadRate_Init('showthread_threadrate_form', {vb:raw threadinfo.threadid});
                    //--> 
                    </script> 
                </li> 
            </vb:if>
Regards
Reply With Quote
Благодарность от:
eTiKeT?
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01153 seconds
  • Memory Usage 1,793KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_box_bit
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete