View Full Version : Changing post icons pr. row?
I have created some larger rectangular post icons so it's easy to quickly scan though threads and find posts of interest.
Only problem now, is that the post icons breaks the page layout when you are on the editor page so you have to scroll sideways to see them all.
Is there anyway to change how many post icons you get pr. row?
peterska2
10-20-2005, 05:16 PM
In includes/functions_newpost.php
FIND
$show['posticons'] = true;
if ($numicons % 7 == 0 AND $numicons != 0)
REPLACE WITH
$show['posticons'] = true;
if ($numicons % 4 == 0 AND $numicons != 0)
That shows 4 icons per row. You might want to change it to show more or less according to your desires
In template posticonbit
FIND
<td width="12%">
REPLACE WITH
<td width="25%">
In template posticons
FIND
<td width="12%" nowrap="nowrap">
REPLACE WITH
<td width="25%" nowrap="nowrap">
NOTE: If you change the number of rows in the php file to a different number than 4, then the percentages will need to be changed accordingly.
Sweet, that worked perfectly.
Thanks a lot :)
M1TCH3LL
02-15-2006, 02:41 PM
I just did this and now have:
Fatal error: Call to a member function on a non-object in /home/m1tch3ll/public_html/forum/includes/functions_newpost.php on line 31
EDIT: Nevermind. Was an issue with my editor. It works now, thanks :squareeyed:
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.