News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Need Help finding where to input Code

Started by 3rror, November 23, 2005, 02:25:44 AM

Previous topic - Next topic

3rror

I have the Code written out I Just dont know the file I need To put it in

hxxp:img520.imageshack.us/img520/8851/preview7ow.png [nonactive]

Any Help is highly apperciated

edit: Using  SMF 1.1 RC1

Dannii

That will be in BoardIndex.template.php in whichever theme you want to edit. Search for
// Show YaBB SP1 style information...
There will be a <tr> which has that whole section and an initial <td> which has the icon. The second <td> will have a new table inside. Add an extra <td> before the end of that table. You'll want to adjust the widths to fit it in properly.
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

3rror

Well I knew this would happen

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' in .../Themes/default/BoardIndex.template.php on line 260

251: <td align="right" valign="top" nowrap="nowrap">', $post['time'], '</td>
252: </tr>';
253: echo '
254: </table>';
255: }
256: echo '
257: </td>
258:
259: <table class="legend"><tr ><td><right><span style =" legend2"><font color="#92A4B0">User<b>Legend</b></font></right></legend><td><div> </div><SPAN title="Administrators" class="popup"><img src="http://70.85.81.229/2811/37/upload/p15131.gif" alt=''Administrators></span><SPAN title="Moderator" class="popup"><img src="http://70.85.81.229/2811/37/upload/p15146.gif"></span><div> </div></td></tr></table>

260: <script type='text/javascript'>

261: function lspMouseOver(ct) {
262: ct.parentNode.getElementsByTagName('DIV')[0].innerHTML = ct.title
263: }
264: function lspMouseOut(ct) {

Dannii

It's your single quotes. Either escape them or change them to doublequotes.
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

Advertisement: