The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Icon Position Problem...
I have lots of icons...and I have a problem with their position...is there any way i can fix this....pic attached?
|
#2
|
||||
|
||||
you would have to edit the templates posticons and posticonbit to change it. I think your would edit the following stuff in red...
posticons: Code:
<table cellpadding="0" cellspacing="$stylevar[cellspacing]" border="0" width="95%"> <tr> <td colspan="15"><div style="margin-bottom:$stylevar[formspacer]px">$vbphrase[may_choose_icon_for_message]:</div></td> </tr> <tr> <td width="12%" nowrap="nowrap"><label for="rb_iconid_0"><input type="radio" name="iconid" value="0" id="rb_iconid_0" tabindex="1" onclick="swap_posticon(null)" $iconchecked />$vbphrase[no_icon] </label></td> $posticonbits <if condition="$show['addedspan']"><td colspan="$remainingspan"> </td></if> </tr> </table> Code:
<td width="12%"> |
#3
|
|||
|
|||
thank you ... i'll try!!
|
#4
|
|||
|
|||
This problem is still occuring. I've been a little busy and just getting to this.....thanks for all your help.....i tried the recommendation above and it didn't seem to affect the position of the icons. Here is what I have:
<if condition="$show['posticons']"> <script type="text/javascript"> <!-- function swap_posticon(imgid) { var out = fetch_object("display_posticon"); var img = fetch_object(imgid); if (img) { out.src = img.src; out.alt = img.alt; } else { out.src = "$vboptions[cleargifurl]"; out.alt = ""; } } // --> </script> <fieldset class="fieldset"> <legend>$vbphrase[post_icons]</legend> <div style="padding:$stylevar[formspacer]px"> <table cellpadding="0" cellspacing="$stylevar[cellspacing]" border="0" width="95%"> <tr> <td colspan="5"><div style="margin-bottom:$stylevar[formspacer]px">$vbphrase[may_choose_icon_for_message]:</div></td> </tr> <tr> <td width="5%" nowrap="nowrap"><label for="rb_iconid_0"><input type="radio" name="iconid" value="0" id="rb_iconid_0" tabindex="1" onclick="swap_posticon(null)" $iconchecked />$vbphrase[no_icon] </label></td> $posticonbits <if condition="$show['addedspan']"><td colspan="$remainingspan"> </td></if> </tr> </table> </div> </fieldset> <else /> <input type="hidden" name="iconid" value="0" /> </if> |
#5
|
||||
|
||||
This was brought up on vb.com and there was a file edit that needed to occur also. Do a search over there for the post - I think I replied in it so that should help narrow it down with your search terms also.
|
#6
|
|||
|
|||
thanks..i'll look over there
--------------- Added [DATE]1228317856[/DATE] at [TIME]1228317856[/TIME] --------------- I found it.....but I'm not sure what to do with this. What numbers should I change? Thanks so much for your help!!! includes/functions_newpost.php Code:
$numicons = 0; $show['posticons'] = false; 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); } If you need help with this code then you should post on www.vbulletin.org. |
#7
|
||||
|
||||
Default was 7 per row. So, change the number 7 in that code to the new number per row you want (5?).
|
#8
|
|||
|
|||
great....it worked!!! Thank much lynne....you've been a great help!!!
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|