MyBB.de Forum

Normale Version: rating - meldung entfernen
Du siehst gerade eine vereinfachte Darstellung unserer Inhalte. Normale Ansicht mit richtiger Formatierung.
Seiten: 1 2 3
davon hab ich keine ahnung wie man das macht. mit der report.lang ist falsch. gerade getestet. fehler besteht weiterhin.
Wie sieht denn dein ytvgal_showthread Template aus ?
PHP-Code:
<html>

<
head>
<
title>{$thread['subject']}</title>
{
$headerinclude}
<
script type="text/javascript">
<!--
var 
quickdelete_confirm "{$lang->quickdelete_confirm}";
// -->
</script>
<
script type="text/javascript" src="jscripts/thread.js?ver=1400"></script>
</
head>
<
body>
{
$header}
<
table width="100%" border="0" class="trow61" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}style="clear: both; width: 100%;">
<
tr>
<
td valign="middle" colspan="2" class="trow61">
<
a href="{$forumurl}"><strong>Kategorien</strong></a>
<
table border="0" width="100%">
<
tr>

<
td align="center" class="trow61">
<
a href="{$forumurl_q}filtertf_ytvgalcat=Musik"><img src="http://www.xxx.info/images/royal_red/musik.png" alt="Musik" title="Musik" /></a><br />
<
a href="{$forumurl_q}filtertf_ytvgalcat=Musik"><strong>Musik</strong></a>
</
td>
<
td align="center" class="trow61">
<
a href="{$forumurl_q}filtertf_ytvgalcat=Film"><img src="http://wwwxxx.info/images/royal_red/film.png" alt="Film" title="Film" /></a><br />
<
a href="{$forumurl_q}filtertf_ytvgalcat=Film"><strong>Film</strong></a>
</
td>
<
td align="center" class="trow61">
<
a href="{$forumurl_q}filtertf_ytvgalcat=Wissen"><img src="http://www.xxx.info/images/royal_red/wissen.png" alt="Wissen" title="Wissen" /></a><br />
<
a href="{$forumurl_q}filtertf_ytvgalcat=Wissen"><strong>Wissen</strong></a>
</
td>
<
td align="center" class="trow61">
<
a href="{$forumurl_q}filtertf_ytvgalcat=Vermischtes"><img src="xxxinfo/images/royal_red/vermischtes.png" alt="Vermischtes" title="Vermischtes" /></a><br />
<
a href="{$forumurl_q}filtertf_ytvgalcat=Vermischtes"><strong>Vermischtes</strong></a>
</
td> </tr>
</
table>
</
td>
</
tr>
</
table>
{
$pollbox}
<
br />
<
div class="float_right">
{
$newreply}
</
div>
<
br />
<
table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}style="border-top-width: 0; width: 100%;">
<
tr>
<
td valign="top" width="50%" class="trow61">
<
div align="center">
<
strong>{$thread['subject']}</strong>
</
div>
<
br />
{
$ratethread}
<
br />
<
div align="center">
<
object type="application/x-shockwave-flash" data="http://www.youtube.com/v/{$GLOBALS['threadfields']['ytvgalid']}width="425" height="350"><param name="movie" value="http://www.youtube.com/v/{$GLOBALS['threadfields']['ytvgalid']}"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><param name="FlashVars" value="playerMode=embedded"></param><p>{$thread['subject']}</p></object>
</
div>
<
br class="clear" />
<
div>
{
$first_post}
</
div>
<
br class="clear" />
<
div align="center">
<
strong>&laquo; <a href="{$next_oldest_link}">{$lang->next_oldest}</a> | <a href="{$next_newest_link}">{$lang->next_newest}</a> &raquo;</strong>
</
div>
<
br class="clear" /> 
</
td>
<
td width="1" class="trow61">&nbsp;</td>
<
td valign="top" class="trow61">
<
div style="float: left;">
<
strong>Kommentare</strong>
</
div><br />

<
br class="clear" />
<
div id="posts">
{
$posts}
</
div>
<
div class="float_right">
{
$multipage}
</
div>

</
td>
</
tr>
</
table>
{
$threadexbox}
{
$quickreply}
<
br style="clear: both;" />
{
$similarthreads}
<
br style="clear: both;" />
<
div class="float_right" style="text-align: right;">
{
$moderationoptions}
{
$forumjump}
</
div>
<
div class="float_left">
<
ul class="thread_tools">
<
li class="printable"><a href="printthread.php?tid={$tid}">{$lang->view_printable}</a></li>
<
li class="sendthread"><a href="sendthread.php?tid={$tid}">{$lang->send_thread}</a></li>
<
li class="subscription_{$add_remove_subscription}"><a href="usercp2.php?action={$add_remove_subscription}subscription&amp;tid={$tid}&amp;my_post_key={$mybb->post_code}">{$add_remove_subscription_text}</a></li>
</
ul>
</
div>
<
br style="clear: both;" />
{
$footer}
</
body>
</
html

Code:
ytvgal_showthread_ratethread

PHP-Code:
<div class="star_rating_container">

       <script type="text/javascript" src="jscripts/rating.js?ver=1400"></script>
       <div id="success_rating_{$thread['tid']}style="float: left; padding-top: 2px; padding-right: 10px;">&nbsp;</div>
<
strong style="float: left; padding-right: 10px;">{$lang->thread_rating}</strong>
       <div class="inline_rating">

<
ul class="star_rating{$not_rated}id="rating_thread_{$thread['tid']}">
<
li style="width: {$thread['width']}%" class="current_rating" id="current_rating_{$thread['tid']}">{$ratingvotesav}</li>
<
li><class="five_stars" title="{$lang->five_stars}href="./ratethread.php?tid={$thread['tid']}&amp;rating=5&amp;my_post_key={$mybb->post_code}"></a></li>
<
li><class="four_stars" title="{$lang->four_stars}href="./ratethread.php?tid={$thread['tid']}&amp;rating=4&amp;my_post_key={$mybb->post_code}"></a></li>
<
li><class="three_stars" title="{$lang->three_stars}href="./ratethread.php?tid={$thread['tid']}&amp;rating=3&amp;my_post_key={$mybb->post_code}"></a></li>
<
li><class="two_stars" title="{$lang->two_stars}href="./ratethread.php?tid={$thread['tid']}&amp;rating=2&amp;my_post_key={$mybb->post_code}"></a></li>
<
li><class="one_star" title="{$lang->one_star}href="./ratethread.php?tid={$thread['tid']}&amp;rating=1&amp;my_post_key={$mybb->post_code}"></a></li>
           </ul>
       </div>
</
div

Code:
ytvgal_forumdisplay_threadlist_rating

PHP-Code:
<td align="center" class="{$bgcolor}{$thread_type_class}id="rating_table_{$thread['tid']}"       

<ul class="star_rating{$not_rated}id="rating_thread_{$thread['tid']}">
<
li style="width: {$thread['width']}%" class="current_rating" id="current_rating_{$thread['tid']}">{$ratingvotesav}</li>
<
li><class="five_stars" title="{$lang->five_stars}href="./ratethread.php?tid={$thread['tid']}&amp;rating=5&amp;my_post_key={$mybb->post_code}"></a></li>
<
li><class="four_stars" title="{$lang->four_stars}href="./ratethread.php?tid={$thread['tid']}&amp;rating=4&amp;my_post_key={$mybb->post_code}"></a></li>
<
li><class="three_stars" title="{$lang->three_stars}href="./ratethread.php?tid={$thread['tid']}&amp;rating=3&amp;my_post_key={$mybb->post_code}"></a></li>
<
li><class="two_stars" title="{$lang->two_stars}href="./ratethread.php?tid={$thread['tid']}&amp;rating=2&amp;my_post_key={$mybb->post_code}"></a></li>
<
li><class="one_star" title="{$lang->one_star}href="./ratethread.php?tid={$thread['tid']}&amp;rating=1&amp;my_post_key={$mybb->post_code}"></a></li>
           </ul       
   
</td
Verwende mal dies für dein ytvgal_showthread_ratethread Template

Code:
<div align="center">
    <table>
        <tr>
            <td>
                <script type="text/javascript" src="jscripts/rating.js?ver=1400"></script>
                <div id="success_rating_{$thread['tid']}"></div>
                <div class="inline_rating">
                    <ul class="star_rating{$not_rated}" id="rating_thread_{$thread['tid']}">
                        <li style="width: {$thread['width']}%" class="current_rating" id="current_rating_{$thread['tid']}">{$ratingvotesav}</li>
                        <li><a class="one_star" title="{$lang->one_star}" href="./ratethread.php?tid={$thread['tid']}&amp;rating=1&amp;my_post_key={$mybb->post_code}">1</a></li>
                        <li><a class="two_stars" title="{$lang->two_stars}" href="./ratethread.php?tid={$thread['tid']}&amp;rating=2&amp;my_post_key={$mybb->post_code}">2</a></li>
                        <li><a class="three_stars" title="{$lang->three_stars}" href="./ratethread.php?tid={$thread['tid']}&amp;rating=3&amp;my_post_key={$mybb->post_code}">3</a></li>
                        <li><a class="four_stars" title="{$lang->four_stars}" href="./ratethread.php?tid={$thread['tid']}&amp;rating=4&amp;my_post_key={$mybb->post_code}">4</a></li>
                        <li><a class="five_stars" title="{$lang->five_stars}" href="./ratethread.php?tid={$thread['tid']}&amp;rating=5&amp;my_post_key={$mybb->post_code}">5</a></li>
                    </ul>
                </div>
            </td>
        </tr>
    </table>
</div>


Das Wort Fehler, findest Du in der global.lang.php, welches aber meiner Meinung nach nicht das richtige ist, denn bei mir steht stattdessen Forenmeldung
leuchtet dann nur ein stern.... ansonsten geht es.... bleibt noch ytvgal_forumdisplay_threadlist_rating... kann dies am englisch liegen, weil demonate hat dies bestimmt so gemacht iwie?

forenmeldung steht bei mir auch in der global.lang... grübel....
An deiner Stelle würde ich mal die Templates überprüfen, denn es wird auch in der Sortierung, Sterne angezeigt, statt das Wort "Bewertung" !
dies liegt an ytvgal_forumdisplay_threadlist_rating, siehe ein paar beiträge weiter oben
Diese sollte aber so aussehen

Code:
<td class="smalltext">
<strong><a href="{$sorturl}&amp;sortby=rating&amp;order=desc">{$lang->rating}</a> {$orderarrow['rating']}</strong> |
<script type="text/javascript" src="jscripts/rating.js?ver=1400"></script>
<script type="text/javascript">
<!--
lang.stars = new Array();
lang.stars[1] = "{$lang->one_star}";
lang.stars[2] = "{$lang->two_stars}";
lang.stars[3] = "{$lang->three_stars}";
lang.stars[4] = "{$lang->four_stars}";
lang.stars[5] = "{$lang->five_stars}";
// -->
</script>
</td>
ich weiss wie die ausschaut normaler weise, aber habe wie oben angegeben die daten von demonate übertragen.
Welche aber scheinbar nicht das gelbe vom Ei ist.
Seiten: 1 2 3