27.09.2013, 17:13
Meiner Meinung nach steckt die js-Datei für das Plugin im showthread-Template. Zumindest ist das so bei dem ein oder anderen ThankYou-Plugin....
<script type="text/javascript" src="jscripts/thx.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/thankyoulike.js?ver=150"></script>
<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=1603"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/thankyoulike.js?ver=150"></script>
<script type="text/javascript">
<!--
var tylEnabled = "{$mybb->settings['g33k_thankyoulike_enabled']}";
var tylCollapsible = "{$mybb->settings['g33k_thankyoulike_collapsible']}";
var tylUser = "{$mybb->user['uid']}";
-->
</script>
</head>
<body>
{$header}
{$pollbox}
<div class="float_left">
{$multipage}
</div>
<div class="float_right">
{$ratethread}{$newreply}
</div>
<br />
<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both; border-bottom-width: 0;">
<tr>
<td class="thead" colspan="2">
<div style="float: right;">
<span class="smalltext"><a href="showthread.php?mode=threaded&tid={$tid}&pid={$pid}#pid{$pid}">{$lang->threaded}</a> | <a href="showthread.php?mode=linear&tid={$tid}&pid={$pid}#pid{$pid}">{$lang->linear}</a></span>
</div>
<div>
<strong>{$thread['threadprefix']}{$thread['subject']}</strong>
</div>
</td>
</tr>
{$classic_header}
</table>
<br />
<div id="posts">
{$posts}
</div>
<br />
<div class="float_left">
{$multipage}
</div>
<div class="float_right">
{$newreply}
</div>
<br style="clear: both;" />
{$quickreply}
<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr><td class="thead"><strong>Search</strong></td></tr>
<tr>
<td class="trow1">
{$search_thread}
<div>
<strong>« <a href="{$next_oldest_link}">{$lang->next_oldest}</a> | <a href="{$next_newest_link}">{$lang->next_newest}</a> »</strong>
</div>
</td>
</tr>
</table>
<br />
{$threadexbox}
{$similarthreads}
<br />
<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>
<div class="float_right" style="text-align: right;">
{$moderationoptions}
{$forumjump}
</div>
<br style="clear: both;" />
{$usersbrowsing}
{$footer}
</body>
</html>
@charset "utf-8";
/* CSS Document */
sidesontainer { /* Sidebar wird immer Seitlich angezeigt, auch beim Scrollen */
width: 175px;
height: 100%; !important
position: fixed;
padding: 0;
margin: 0;
}
.sidelogo {
background: background-image: url(images/bf/logo.png);
}
#social { /* Buttons werden immer 75% Seitenhöhe angezeigt */
top: 75%;
right: 0;
width: 120px;
heigth: auto;
position: fixed;
}
<div id="sidecontainer">
<div class="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a>
</div> <!-- class="logo" -->
<div id="social">
<a href="https://www.facebook.com/xxxxxxxx" target="_blank"><img src="../images/icon_fb.png" alt="Facebook Seite" width="85" height="85"></a>
<a href="https://www.facebook.com/xxxxxxxx" target="_blank"><img src="../images/icon_yt.png" alt="Youtube Kanal" width="85" height="85"></a>
</div> <!-- end id="social" -->
</div><!-- id="sidecontainer" -->