MyBB Community Forums

Full Version: fix the posts buttons and make them show
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hello


my problem is that in my older theme the buttons are not showing and instead i see it written

where do i fix it and make it use the photos of buttons instead

[attachment=32779]
[attachment=32780]
you need to look into the showthread template.... 

ACP >> Templates >> Your theme's Templates >> Show Thread Templates >> showthread

you can post the template here if you cant figure it out...
hi,
i checked that but i dont know where to fix it.
i guess after the upgrade to 1.8 the code massed because of fixing it (auto fix)

<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>
<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>
{$ajaxthreadupdate['head']}</head>
<body>
	{$header}
	{$konu_sidebar_1}{$konu_bilgileri}{$konu_okuyanlar}{$konu_iciarama}{$konu_khizlimenu}{$konu_benzerkonu}{$konu_ekkutu}{$konu_sidebar_2}{$pollbox}{$ajaxthreadupdate['message_top']}
	<div class="float_left">
		{$multipage}

	</div>
	<div class="float_right">
	  {$newthread} {$newreply} 
&nbsp;</div>
	{$ratethread}
	<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"><strong><a href="showthread.php?mode=threaded&amp;tid={$tid}&amp;pid={$pid}#pid{$pid}">{$lang->threaded}</a> | <a href="showthread.php?mode=linear&amp;tid={$tid}&amp;pid={$pid}#pid{$pid}">{$lang->linear}</a></strong></span>
				</div>
				<div>
					<strong>{$thread['threadprefix']}{$thread['subject']}</strong>
				</div>
			</td>
		</tr>
		{$classic_header}
	</table>
	<div id="posts">
		{$posts}
	</div>
	<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="border-top-width: 0;">
		<tr>
			<td colspan="2" class="tfoot">
				{$search_thread}
				<div>
					<strong>&laquo; <a href="{$next_oldest_link}">{$lang->next_oldest}</a> | <a href="{$next_newest_link}">{$lang->next_newest}</a> &raquo;</strong>
				</div>
			</td>
		</tr>
	</table>
	<div class="float_left">
		{$multipage}
	</div>
	<div style="padding-top: 4px;" class="float_right">
	    {$newthread} {$newreply} 	
</div>
	<br style="clear: both;" />
	{$konu_sidebar_3}{$ajaxthreadupdate['message_bottom']}{$quickreply}
{$konu_sidebar_3}
	{$threadexbox}
	{$similarthreads}
	<br /><br>

	<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>{$pluginwhoviewedtopic}
		</ul>
	</div>
	<br style="clear: both;" />
	{$permbox}{$usersbrowsing}
	{$footer}
</body>
</html>
(2014-10-16, 06:27 PM)Ronshaan Wrote: [ -> ]
	<div class="float_right">
	  {$newthread} {$newreply} 
&nbsp;</div>
	{$ratethread}

this is where those buttons are added...

check in your showthread_newthread and showthread_newreply templates... you can either add a image or use css to display it as a button....