Thread Description
This modification is in the archives.
DL / Unpacking the attachment:
. UpLoad includes\xml\product-thread_description.xml . UpLoad images\strela_w.gif Installation Instructions: . Login to Admin CP . Choose Plugin System . Choose [Add/Import Product] . Choose product-thread_description.xml . Click [ Import ] Modify templates: (5 templates) . Open threadbit template, Find: HTML Code:
<if condition="$show['threadratings'] AND $show['threadrating']"><span style="float:$stylevar[right]"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" border="0" alt="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" /></span></if> HTML Code:
<if condition="$thread[description] != ''"> <img class="inlineimg" src="$stylevar[imagesfolder]/strela_w.gif" border="0" alt=""><span class="time"><em>$thread[description]</em></span> <br /> </if> . Open search_results_postbit template, Find: HTML Code:
<div class="smallfont" style="float:$stylevar[right]"> $vbphrase[views]: <strong>$post[views]</strong> </div> HTML Code:
<if condition="$post[description] != ''"> <div class="smallfont"> $vbphrase[description]: <span class="time">$post[description]</span> </div> </if> . Open editpost template, Find: HTML Code:
<!-- subject field --> <table cellpadding="0" cellspacing="0" border="0" style="margin-bottom:$stylevar[formspacer]px"> <tr> <td class="smallfont" colspan="3">$vbphrase[title]:</td> </tr> <tr> <td><input type="text" class="bginput" name="title" value="$title" size="50" maxlength="85" tabindex="1" title="$vbphrase[optional]" /></td> <td> </td> <td><img id="display_posticon" src="$selectedicon[src]" alt="$selectedicon[alt]" /></td> </tr> </table> <!-- / subject field --> HTML Code:
<if condition="$isfirstpost"><!-- description field --> <table cellpadding="0" cellspacing="0" border="0" style="margin-bottom:$stylevar[formspacer]px"> <tr> <td class="smallfont" colspan="3">$vbphrase[description]: <span class="time">($vbphrase[optional])</span></td> </tr> <tr> <td> <input type="text" class="bginput" name="description" value="$description" size="50" maxlength="100" tabindex="1" title="$vbphrase[optional]" /> <if condition="$vbulletin->GPC[advanced] OR $vbulletin->GPC[preview]"><input type="hidden" name="desc_adv" value="1" /></if> </td> </tr> </table> <!-- / description field --></if> . Open threadadmin_editthread template, Find: HTML Code:
<!-- subject field --> <table cellpadding="0" cellspacing="0" border="0" style="margin-bottom:$stylevar[formspacer]px"> <tr> <td class="smallfont" colspan="3">$vbphrase[title]:</td> </tr> <tr> <td><input type="text" class="bginput" name="title" value="$threadinfo[title]" size="50" maxlength="85" tabindex="1" title="$vbphrase[optional]" /></td> <td> </td> <td><img id="display_posticon" src="$selectedicon[src]" alt="$selectedicon[alt]" /></td> </tr> </table> <!-- / subject field --> HTML Code:
<!-- description field --> <table cellpadding="0" cellspacing="0" border="0" style="margin-bottom:$stylevar[formspacer]px"> <tr> <td class="smallfont" colspan="3">$vbphrase[description]: <span class="time">($vbphrase[optional])</span></td> </tr> <tr> <td><input type="text" class="bginput" name="description" value="$threadinfo[description]" size="50" maxlength="100" tabindex="1" /></td></tr> </table> <!-- / description field --> . Open newthread template, Find: HTML Code:
<!-- subject field --> <table cellpadding="0" cellspacing="0" border="0" class="fieldset"> <tr> <td class="smallfont" colspan="3">$vbphrase[title]:</td> </tr> <tr> <td><input type="text" class="bginput" name="subject" value="$subject" size="40" maxlength="85" tabindex="1" /></td> <td> </td> <td><img id="display_posticon" src="$selectedicon[src]" alt="$selectedicon[alt]" /></td> </tr> </table> <!-- / subject field --> HTML Code:
<!-- description field --> <table cellpadding="0" cellspacing="0" border="0" class="fieldset"> <tr> <td class="smallfont" colspan="3">$vbphrase[description]: <span class="time">($vbphrase[optional])</span></td> </tr> <tr> <td><input type="text" class="bginput" name="description" value="$description" size="40" maxlength="100" tabindex="1" /></td></tr> </table> <!-- / description field --> . Enjoy! Download
This modification is archived, downloads are still allowed. Screenshots |
Similar Mods
Show Thread Enhancements Thread Description | Modification Graveyard |