Thread Rating:
  • 15 Vote(s) - 3.93 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.6] Square Theme
#27
Yeah, my bad.

Quick fix:

ACP > Themes and Templates > Templates > Square > Forumdisplay > forumdisplay_threadlist

Replace all the content with this:

Quote:<br />
<div class="float_left">
{$multipage}
</div>
<div class="float_right" style="margin-top: 14px; margin-bottom: 14px;">
{$newthread}
</div>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both;">
<tr>
<td class="thead" colspan="{$colspan}">
<div style="float: right;">
<a href="misc.php?action=markread&amp;fid={$fid}{$post_code_string}"><span class="but"><i class="fa fa-check-square fa-lg" title="{$lang->markforum_read}"></i></a></span>&nbsp;&nbsp;&nbsp;<a href="usercp2.php?action={$add_remove_subscription}subscription&amp;type=forum&amp;fid={$fid}&amp;my_post_key={$mybb->post_code}"><span class="but"><i class="fa fa-book fa-lg" title="{$add_remove_subscription_text}"></i></span></a>{$clearstoredpass}
</div>
<div>
<strong>{$foruminfo['name']}</strong>
</div>
</td>
</tr>
<tr style="display: none;">
<td class="tcat" colspan="3" width="66%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=subject&amp;order=asc">{$lang->thread}</a> {$orderarrow['subject']} / <a href="{$sorturl}&amp;sortby=starter&amp;order=asc">{$lang->author}</a> {$orderarrow['starter']}</strong></span></td>
<td class="tcat" align="center" width="7%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=replies&amp;order=desc">{$lang->replies}</a> {$orderarrow['replies']}</strong></span></td>
<td class="tcat" align="center" width="7%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=views&amp;order=desc">{$lang->views}</a> {$orderarrow['views']}</strong></span></td>
{$ratingcol}
<td class="tcat" align="right" width="20%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=lastpost&amp;order=desc">{$lang->lastpost}</a> {$orderarrow['lastpost']}</strong></span></td>
{$inlinemodcol}
</tr>
{$selectall}
{$announcementlist}
{$threads}
</table>
<div class="theadend"></div>
<div class="float_left">
{$multipage}
</div>
<div class="float_right" style="margin-top: 14px; margin-bottom: 14px;">
{$newthread}
</div>
<br style="clear: both;" />

<div class="float_right" style="text-align: right;">
{$inlinemod}
{$searchforum}
{$forumjump}
</div>
<br style="clear: both" />
{$inline_edit_js}

If you want to know why that isn't work... I remove this:

Quote:<tr style="display: none;">
<td class="tcat" colspan="3" width="66%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=subject&amp;order=asc">{$lang->thread}</a> {$orderarrow['subject']} / <a href="{$sorturl}&amp;sortby=starter&amp;order=asc">{$lang->author}</a> {$orderarrow['starter']}</strong></span></td>
<td class="tcat" align="center" width="7%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=replies&amp;order=desc">{$lang->replies}</a> {$orderarrow['replies']}</strong></span></td>
<td class="tcat" align="center" width="7%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=views&amp;order=desc">{$lang->views}</a> {$orderarrow['views']}</strong></span></td>
{$ratingcol}
<td class="tcat" align="right" width="20%"><span class="smalltext"><strong><a href="{$sorturl}&amp;sortby=lastpost&amp;order=desc">{$lang->lastpost}</a> {$orderarrow['lastpost']}</strong></span></td>
{$inlinemodcol}
</tr>

So, simply add the style to hide that <tr> tag where you can find the {$ratingcol}.

Optionally, you can wait and download the zip with the fix. I modify the changelog again.

Thanks for the report ^^.

-----------------------------------------------------

(2014-03-26, 12:06 PM)TaLoche Wrote: Thread ratings are also working on my end.


The only question I have with this new version is that the news in the header are now longer random, it will always start with the first item. Is there a way to put those news back to random mode?

I replace the jQuery code from the news because the old code generates a crash into smileys when you click [Show more] and the popup windows appears.

Maybe you can edit the jQuery and create the randomness on the news, I do not create codes, only adapt them to work. Sorry.
I don't give support on PM.


Messages In This Thread
Square Theme - by eNvy - 2014-02-26, 06:38 PM
RE: Square Theme - by cfootball1 - 2014-03-10, 11:36 AM
RE: Square Theme - by irestorer - 2014-07-16, 09:43 PM
RE: Square Theme - by TaLoche - 2014-03-10, 07:03 PM
RE: Square Theme - by cfootball1 - 2014-03-11, 08:26 AM
RE: Square Theme - by eNvy - 2014-03-12, 11:43 AM
RE: Square Theme - by TaLoche - 2014-03-12, 02:12 PM
RE: Square Theme - by eNvy - 2014-03-13, 12:47 AM
RE: Square Theme - by TaLoche - 2014-03-13, 11:51 AM
RE: Square Theme - by Agnos - 2014-03-13, 03:54 PM
RE: Square Theme - by terzier - 2014-03-14, 10:08 AM
RE: Square Theme - by TaLoche - 2014-03-14, 10:23 AM
RE: Square Theme - by Agnos - 2014-03-14, 02:18 PM
RE: Square Theme - by BakuXD - 2014-03-14, 08:39 PM
RE: Square Theme - by eNvy - 2014-03-14, 09:20 PM
RE: Square Theme - by MybbCo - 2014-03-15, 06:49 PM
RE: Square Theme - by eNvy - 2014-03-16, 08:08 AM
RE: Square Theme - by MybbCo - 2014-03-16, 05:58 PM
RE: Square Theme - by TaLoche - 2014-03-17, 12:43 PM
RE: Square Theme - by eNvy - 2014-03-17, 02:14 PM
RE: Square Theme - by TaLoche - 2014-03-18, 03:51 PM
RE: Square Theme - by eNvy - 2014-03-18, 10:36 PM
RE: Square Theme - by TaLoche - 2014-03-25, 10:53 PM
RE: Square Theme - by terzier - 2014-03-26, 06:51 AM
RE: Square Theme - by eNvy - 2014-03-26, 11:30 AM
RE: Square Theme - by TaLoche - 2014-03-26, 12:06 PM
RE: Square Theme - by terzier - 2014-03-27, 07:17 AM
RE: Square Theme - by eNvy - 2014-03-27, 08:47 PM
RE: Square Theme - by iceparticle - 2014-04-05, 12:31 PM
RE: Square Theme - by Verilog - 2014-04-05, 01:25 PM
RE: Square Theme - by eNvy - 2014-04-05, 08:58 PM
RE: Square Theme - by BR549 - 2014-04-06, 10:26 AM
RE: Square Theme - by HondaRacer - 2014-04-06, 10:58 AM
RE: Square Theme - by eNvy - 2014-04-06, 02:19 PM
RE: Square Theme - by HondaRacer - 2014-04-06, 08:01 PM
RE: Square Theme - by eNvy - 2014-04-06, 08:27 PM
RE: Square Theme - by iceparticle - 2014-04-08, 09:37 AM
RE: Square Theme - by eNvy - 2014-04-08, 08:18 PM
RE: Square Theme - by DiMas CyberArt-Crew - 2014-04-09, 04:35 PM
RE: Square Theme - by eNvy - 2014-04-09, 05:53 PM
RE: Square Theme - by PwnEm - 2014-04-10, 01:47 AM
RE: Square Theme - by eNvy - 2014-04-10, 02:04 AM
RE: Square Theme - by FCdude - 2014-04-16, 10:08 PM
RE: Square Theme - by eNvy - 2014-04-17, 08:18 AM
RE: Square Theme - by FCdude - 2014-04-17, 12:00 PM
RE: Square Theme - by eNvy - 2014-04-17, 03:29 PM
RE: Square Theme - by FCdude - 2014-04-17, 04:47 PM
RE: Square Theme - by eNvy - 2014-04-17, 05:48 PM
RE: Square Theme - by FCdude - 2014-04-17, 05:57 PM
RE: Square Theme - by eNvy - 2014-04-17, 06:10 PM
RE: Square Theme - by FCdude - 2014-04-17, 06:23 PM
RE: Square Theme - by eNvy - 2014-04-17, 06:30 PM
RE: Square Theme - by HondaRacer - 2014-04-17, 09:50 PM
RE: Square Theme - by FCdude - 2014-04-17, 11:52 PM
RE: Square Theme - by GameBB - 2014-04-19, 12:23 AM
RE: Square Theme - by eNvy - 2014-04-19, 09:19 AM
RE: Square Theme - by AltVolt - 2014-05-28, 10:48 PM
RE: Square Theme - by noyfound - 2014-04-27, 11:53 PM
RE: Square Theme - by AltVolt - 2014-05-17, 04:59 AM
RE: Square Theme - by eNvy - 2014-05-17, 05:12 AM
RE: Square Theme - by AltVolt - 2014-05-17, 05:41 AM
RE: Square Theme - by barbaramartin - 2014-05-20, 11:11 AM
RE: Square Theme - by manoranjan2050 - 2014-05-25, 03:55 AM
RE: Square Theme - by eNvy - 2014-05-29, 01:41 AM
RE: Square Theme - by AltVolt - 2014-05-29, 01:59 AM
RE: Square Theme - by eNvy - 2014-05-29, 02:10 AM
RE: Square Theme - by Sir Lunch a Lot - 2014-06-10, 11:44 PM
RE: Square Theme - by alv4 - 2014-06-16, 06:23 PM
RE: Square Theme - by Spudster - 2014-07-12, 01:50 AM
RE: Square Theme - by L34XXOR - 2014-07-12, 09:57 AM
RE: Square Theme - by eNvy - 2014-07-15, 12:34 PM
RE: Square Theme - by IceGuru - 2014-07-23, 12:34 PM
RE: Square Theme - by eNvy - 2014-07-23, 02:53 PM
RE: Square Theme - by bluearrow - 2014-07-28, 03:44 AM
RE: Square Theme - by eNvy - 2014-07-28, 01:07 PM
RE: Square Theme - by msmindia - 2014-07-31, 07:09 PM
RE: Square Theme - by allegrif - 2014-08-02, 04:18 PM
RE: Square Theme - by eNvy - 2014-07-31, 09:10 PM
RE: Square Theme - by msmindia - 2014-07-31, 09:42 PM
RE: Square Theme - by HondaRacer - 2014-07-31, 10:23 PM
RE: Square Theme - by allegrif - 2014-08-02, 01:15 PM
RE: Square Theme - by eNvy - 2014-08-02, 02:30 PM
RE: Square Theme - by allegrif - 2014-08-02, 03:30 PM
RE: Square Theme - by eNvy - 2014-08-02, 03:36 PM
RE: Square Theme - by allegrif - 2014-08-02, 03:55 PM
RE: Square Theme - by eNvy - 2014-08-02, 04:03 PM
RE: Square Theme - by Digi646 - 2014-08-11, 01:05 PM
RE: Square Theme - by coolblazer - 2014-08-11, 02:50 PM
RE: Square Theme - by eNvy - 2014-08-11, 03:16 PM
RE: Square Theme - by coolblazer - 2014-08-11, 03:31 PM
RE: Square Theme - by Digi646 - 2014-08-12, 06:43 AM
RE: Square Theme - by eNvy - 2014-08-11, 03:41 PM
RE: Square Theme - by eNvy - 2014-08-12, 07:48 AM
RE: Square Theme - by Digi646 - 2014-08-12, 08:44 AM
RE: Square Theme - by eNvy - 2014-08-12, 10:00 AM
RE: Square Theme - by Digi646 - 2014-08-12, 11:02 AM
RE: Square Theme - by HondaRacer - 2014-08-12, 07:31 PM
RE: Square Theme - by Digi646 - 2014-08-13, 11:44 AM
RE: Square Theme - by ThE JoKeR - 2014-08-16, 02:03 PM
RE: Square Theme - by eNvy - 2014-08-16, 05:13 PM
RE: Square Theme - by ThE JoKeR - 2014-08-16, 05:50 PM
RE: Square Theme - by Ruggy - 2014-08-17, 08:32 PM
RE: Square Theme - by eNvy - 2014-08-18, 01:14 AM
RE: Square Theme - by Ruggy - 2014-08-18, 02:17 AM
RE: Square Theme - by eNvy - 2014-08-18, 04:00 AM
RE: Square Theme - by Inception - 2014-09-07, 04:52 AM
RE: Square Theme - by eNvy - 2014-09-07, 03:23 PM
RE: Square Theme - by Justeco - 2014-09-19, 12:31 PM
RE: Square Theme - by eNvy - 2014-09-19, 12:54 PM
RE: Square Theme - by luk19as - 2014-10-30, 02:29 PM
RE: Square Theme - by m0hx - 2014-11-15, 09:17 PM
RE: Square Theme - by Dazac - 2014-11-17, 08:42 PM
RE: Square Theme - by wladan - 2014-11-25, 09:04 AM
RE: Square Theme - by TheModderInsane - 2015-01-15, 11:51 PM
RE: Square Theme - by Lu5ck - 2015-02-16, 09:30 PM
RE: Square Theme - by subzr1 - 2015-02-16, 09:33 PM
RE: Square Theme - by Lu5ck - 2015-02-16, 09:54 PM
RE: Square Theme - by Death_ - 2015-03-12, 11:32 PM
RE: Square Theme - by ali034 - 2015-03-25, 02:15 AM
RE: Square Theme - by eNvy - 2015-03-27, 10:37 PM
RE: Square Theme - by Death_ - 2015-03-28, 11:38 AM
RE: Square Theme - by eNvy - 2015-03-28, 01:40 PM
RE: Square Theme - by Death_ - 2015-03-28, 04:13 PM
RE: Square Theme - by eNvy - 2015-03-28, 04:31 PM
RE: Square Theme - by Death_ - 2015-03-28, 10:39 PM
RE: Square Theme - by iturdu - 2015-03-28, 04:34 PM
RE: Square Theme - by eNvy - 2015-03-28, 04:39 PM
RE: Square Theme - by eNvy - 2015-03-28, 10:46 PM
RE: Square Theme - by PC-2011 - 2015-04-04, 11:38 PM
RE: Square Theme - by datguyaustin - 2015-06-30, 08:49 PM
RE: Square Theme - by eNvy - 2015-06-30, 09:41 PM
RE: Square Theme - by GreyGhost - 2015-07-05, 09:04 PM
RE: Square Theme - by eNvy - 2015-07-06, 03:06 AM
RE: Square Theme - by GreyGhost - 2015-07-06, 04:45 AM
RE: Square Theme - by ChalzZy - 2016-06-01, 12:27 PM
RE: Square Theme - by .m. - 2016-06-01, 12:43 PM
RE: Square Theme - by .m. - 2016-06-01, 12:51 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)