19.03.2015, 20:01
19.03.2015, 20:19
Wie sieht denn dein ytvgal_showthread Template aus ?
19.03.2015, 20:21
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>« <a href="{$next_oldest_link}">{$lang->next_oldest}</a> | <a href="{$next_newest_link}">{$lang->next_newest}</a> »</strong>
</div>
<br class="clear" />
</td>
<td width="1" class="trow61"> </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&tid={$tid}&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;"> </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><a class="five_stars" title="{$lang->five_stars}" href="./ratethread.php?tid={$thread['tid']}&rating=5&my_post_key={$mybb->post_code}"></a></li>
<li><a class="four_stars" title="{$lang->four_stars}" href="./ratethread.php?tid={$thread['tid']}&rating=4&my_post_key={$mybb->post_code}"></a></li>
<li><a class="three_stars" title="{$lang->three_stars}" href="./ratethread.php?tid={$thread['tid']}&rating=3&my_post_key={$mybb->post_code}"></a></li>
<li><a class="two_stars" title="{$lang->two_stars}" href="./ratethread.php?tid={$thread['tid']}&rating=2&my_post_key={$mybb->post_code}"></a></li>
<li><a class="one_star" title="{$lang->one_star}" href="./ratethread.php?tid={$thread['tid']}&rating=1&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><a class="five_stars" title="{$lang->five_stars}" href="./ratethread.php?tid={$thread['tid']}&rating=5&my_post_key={$mybb->post_code}"></a></li>
<li><a class="four_stars" title="{$lang->four_stars}" href="./ratethread.php?tid={$thread['tid']}&rating=4&my_post_key={$mybb->post_code}"></a></li>
<li><a class="three_stars" title="{$lang->three_stars}" href="./ratethread.php?tid={$thread['tid']}&rating=3&my_post_key={$mybb->post_code}"></a></li>
<li><a class="two_stars" title="{$lang->two_stars}" href="./ratethread.php?tid={$thread['tid']}&rating=2&my_post_key={$mybb->post_code}"></a></li>
<li><a class="one_star" title="{$lang->one_star}" href="./ratethread.php?tid={$thread['tid']}&rating=1&my_post_key={$mybb->post_code}"></a></li>
</ul>
</td>
19.03.2015, 20:33
Verwende mal dies für dein ytvgal_showthread_ratethread Template
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
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']}&rating=1&my_post_key={$mybb->post_code}">1</a></li>
<li><a class="two_stars" title="{$lang->two_stars}" href="./ratethread.php?tid={$thread['tid']}&rating=2&my_post_key={$mybb->post_code}">2</a></li>
<li><a class="three_stars" title="{$lang->three_stars}" href="./ratethread.php?tid={$thread['tid']}&rating=3&my_post_key={$mybb->post_code}">3</a></li>
<li><a class="four_stars" title="{$lang->four_stars}" href="./ratethread.php?tid={$thread['tid']}&rating=4&my_post_key={$mybb->post_code}">4</a></li>
<li><a class="five_stars" title="{$lang->five_stars}" href="./ratethread.php?tid={$thread['tid']}&rating=5&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
19.03.2015, 20:56
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....
forenmeldung steht bei mir auch in der global.lang... grübel....
19.03.2015, 21:10
An deiner Stelle würde ich mal die Templates überprüfen, denn es wird auch in der Sortierung, Sterne angezeigt, statt das Wort "Bewertung" !
19.03.2015, 21:17
dies liegt an ytvgal_forumdisplay_threadlist_rating, siehe ein paar beiträge weiter oben
19.03.2015, 21:20
Diese sollte aber so aussehen
Code:
<td class="smalltext">
<strong><a href="{$sorturl}&sortby=rating&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>
19.03.2015, 21:28
ich weiss wie die ausschaut normaler weise, aber habe wie oben angegeben die daten von demonate übertragen.
19.03.2015, 21:37
Welche aber scheinbar nicht das gelbe vom Ei ist.