vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Show Thread Enhancements - vBorg Thread Rating (https://vborg.vbsupport.ru/showthread.php?t=142733)

magnus 03-22-2007 02:46 AM

If you have "Check Thread Rating" enabled, it shouldn't show the rating box anylonger. Are you using my SHOWTHREAD replacement, or did you modify the template yourself?

Kirk Y 03-22-2007 09:25 PM

Nice one Magnus. :up:

KEKforce 03-22-2007 09:28 PM

I also have a problem. When I Vote nothing changes but the vote is stored...
Unlike the the one here on VB where the result is shown..after voting.

use 3.6.5.

tanyeri24 03-22-2007 09:51 PM

Quote:

Originally Posted by magnus (Post 1209235)
Show me your SHOWTHREAD template HTML, and I'll modify it for you.

your .txt
Quote:

Originally Posted by magnus (Post 1209287)
@ airborneCAL and tanyeri24:

In your AdminCP. Go to:

vBulletin Options > Help Thread Display Options (showthread)

Now, enable "Check Thread Rating".

Let me know if that fixes it.

Yes now fixed with this option. Thank you.

KEKforce 03-22-2007 09:53 PM

Quote:

Originally Posted by tanyeri24 (Post 1209932)
your .txt


Yes now fixed with this option. Thank you.

Already tried that.. no go...

Skavenger 03-22-2007 10:20 PM

Quote:

Originally Posted by magnus (Post 1208994)
Sure. Updated the original post.

Thank you :)

tanyeri24 03-22-2007 10:20 PM

Quote:

Originally Posted by KEKforce (Post 1209936)
Already tried that.. no go...

admincp/options.php?do=editsetting&varname=threadvoted

there you have to choose YES, standart is NO.

tanyeri24 03-22-2007 10:22 PM

It would also be glad if vbulletin.org will show us their class data about .new (style of the rating box). In Firefox I can't fix the lines on the borders, it shows like I have <br> in the first line..

airborneCAL 03-23-2007 01:58 AM

Quote:

Originally Posted by tanyeri24 (Post 1209955)
admincp/options.php?do=editsetting&varname=threadvoted

there you have to choose YES, standart is NO.

That didn't work for me.

ngocha85 03-23-2007 09:15 AM

After DELETE, you can:

FIND:

HTML Code:

<if condition="$show['inlinemod']">
$spacer_close
<form action="inlinemod.php?threadid=$threadinfo[threadid]&amp;p=$postid" method="post" id="inlinemodform">
$spacer_open
</if>

<a name="poststop" id="poststop"></a>

REPLACE with:
HTML Code:

<if condition="$show['threadrating']">
<if condition="$show['ratethread']">
<!-- thread rating menu -->


<!---------------------- / UPGRADE------>
<if condition="$show['rating']">
<table cellpadding="4" cellspacing="1" width="100%" border="0" class="tborder" align="center">
                <tr>
                        <td class="thread">
                                <div align="center" id="threadrating_current">
$vbphrase[rating]: <img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" alt="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" border="0" />
</div>
</td>
</tr>
</table>
<br />
<else />
<!---------------------- / UPGRADE------>


<form action="threadrate.php?t=$threadid" method="post" id="showthread_threadrate_form">
        <table cellpadding="4" cellspacing="1" width="100%" border="0" class="tborder" align="center">
                <tr>
                        <td style="background:#FFDC84;color:#000;" id="threadrating">
                                <div align="center" id="threadrating_current">
                                        <div align="left"><b>$vbphrase[rate_this_thread] : <em>$thread[title]</em></b></div>
                                        <a name="goto_threadrating"></a>
                                        <label for="vote5"><input type="radio" name="vote" id="vote5" value="5" $votechecked[5] />$vbphrase[excellent]</label>
                                        <label for="vote4"><input type="radio" name="vote" id="vote4" value="4" $votechecked[4] />$vbphrase[good]</label>
                                        <label for="vote3"><input type="radio" name="vote" id="vote3" value="3" $votechecked[3] />$vbphrase[average]</label>
                                        <label for="vote2"><input type="radio" name="vote" id="vote2" value="2" $votechecked[2] />$vbphrase[bad]</label>
                                        <label for="vote1"><input type="radio" name="vote" id="vote1" value="1" $votechecked[1] />$vbphrase[terrible]</label>
                                        <input type="hidden" name="s" value="$session[dbsessionhash]" />
                                        <input type="hidden" name="t" value="$threadid" />
                                        <input type="hidden" name="pp" value="$perpage" />
                                        <input type="hidden" name="page" value="$pagenumber" />
                                        <input type="submit" class="button" value="$vbphrase[vote_now]" />
                                </div>
                        </td>
                </tr>
        </table>
       
        <br />
</form>
</if>
<!-- / thread rating menu -->

<script type="text/javascript" src="clientscript/vbulletin_ajax_threadrate.js?v=$vboptions[simpleversion]"></script>
<script type="text/javascript">
        <!--
        vB_AJAX_ThreadRate_Init('showthread_threadrate_form');
        var threadid = $threadinfo[threadid];
        window.alert = null;
        //-->

</script>
</if>
</if>

<if condition="$show['inlinemod']">
$spacer_close
<form action="inlinemod.php?threadid=$threadinfo[threadid]&amp;p=$postid" method="post" id="inlinemodform">
$spacer_open
</if>



All times are GMT. The time now is 02:18 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01319 seconds
  • Memory Usage 1,774KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_html_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete