The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Post Icon Row Count
The post icons i have up are a bit wide, so 7 icons wide is too much, can anyone make a mod to be able to set how many wide we can have? I asked at vb.org at http://www.vbulletin.com/forum/showthread.php?t=186514 and they told me to request it here, so here i am. Thanks in advance if anyone does this. |
#2
|
||||
|
||||
*Bump* It should only be a simple small little modification!
|
#3
|
||||
|
||||
*bump again* Any of you have any wide post icons? I wouldn't know how to do this, and it seems very simple to do, if anyone can take the small time needed to do this then it would be most appreciated.
|
#4
|
|||
|
|||
I think I have it sussed, but to be sure I'll test it first so I'll get back to you later about it.
|
#5
|
|||
|
|||
Ok, it requires a code modification to your includes/functions_newpost.php file
find Code:
while ($icon = $vbulletin->db->fetch_array($icons)) { $show['posticons'] = true; if ($numicons % 7 == 0 AND $numicons != 0) { $posticonbits .= "</tr><tr><td> </td>"; } $numicons++; $iconid = $icon['iconid']; $iconpath = $icon['iconpath']; $alttext = $icon['title']; if ($seliconid == $iconid) { $iconchecked = 'checked="checked"'; $selectedicon = array('src' => $iconpath, 'alt' => $alttext); } else { $iconchecked = ''; } ($hook = vBulletinHook::fetch_hook('posticons_bit')) ? eval($hook) : false; eval('$posticonbits .= "' . fetch_template('posticonbit') . '";'); } $remainder = $numicons % 7; if ($remainder) { $remainingspan = 2 * (7 - $remainder); $show['addedspan'] = true; } |
#6
|
||||
|
||||
Thank You peterska2, i was afraid nobody would help me on this, you saved my day >8)
|
#7
|
|||
|
|||
Glad I could help. Remember that this will need reapplying on every upgrade as it is a code modification.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|