PhotoPlog

PhotoPlog (http://www.photoplog.com/forum/index.php)
-   Miscellaneous Foobar (http://www.photoplog.com/forum/forumdisplay.php?f=4)
-   -   BBCode Manager (http://www.photoplog.com/forum/showthread.php?t=1158)

MikeD 04-22-2007 04:29 PM

BBCode Manager
 
Hi Morgan,
yep I know that this one does not belongs to PhotoPlog, but I just installed the same Hack like you have it here: BBCode Manager. On a side note: Did you know that you have the same problem as I have? Please see here: vB Code List. Maybe a common problem? -Mike

Morgan 04-22-2007 05:48 PM

Thanks, should now be fixed. :)

What I did was go through the templates of that modification, and whenever I ran across something like this:
Code:

<table border="0" cellpadding="0" cellspacing="0" style="margin-top:5px;margin-bottom:5px;width:$stylevar[codeblockwidth];margin-left:{$vbulletin->options['quote_leftmargin']}px;">
<tr>
        <td width="26" height="30"><img src="$vboptions[bburl]/images/bbcodemanager/light/code/06nc.$bbcode_image_extension" alt="" border="0" width="26" height="30"/></td>
        <td style="background-image: url('$vboptions[bburl]/images/bbcodemanager/light/code/08_10nc.$bbcode_image_extension');width:$stylevar[codeblockwidth];height:30px;"></td>
        <td width="71" height="30"><img src="$vboptions[bburl]/images/bbcodemanager/light/code/12nc.$bbcode_image_extension" alt="" border="0" width="71" height="30"/></td>
</tr>

I added an IMG tag to the empty middle TD cell like follows (scroll to the right to see the change in bold red):
Code:

<table border="0" cellpadding="0" cellspacing="0" style="margin-top:5px;margin-bottom:5px;width:$stylevar[codeblockwidth];margin-left:{$vbulletin->options['quote_leftmargin']}px;">
<tr>
        <td width="26" height="30"><img src="$vboptions[bburl]/images/bbcodemanager/light/code/06nc.$bbcode_image_extension" alt="" border="0" width="26" height="30"/></td>
        <td style="background-image: url('$vboptions[bburl]/images/bbcodemanager/light/code/08_10nc.$bbcode_image_extension');width:$stylevar[codeblockwidth];height:30px;"><img src="$vboptions[bburl]/$vboptions[cleargifurl]" alt="" border="0" /></td>
        <td width="71" height="30"><img src="$vboptions[bburl]/images/bbcodemanager/light/code/12nc.$bbcode_image_extension" alt="" border="0" width="71" height="30"/></td>
</tr>



All times are GMT. The time now is 10:41 PM.

Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.