Philleh
10-11-2007, 11:16 PM
Hi,
I have created a number of Custom BB Codes that specific user groups can use. For example Admins can use
warning
and Mod can use
message
These were both done through the Add Custom BB Code and in the Replacement for admin I have
<style>
.code{font-family: Courier, Courier New, Verdana, Arial;
color: #465584;
background-color: #FAFCFE;
border: 1px dotted #000;
padding: 2px;
width:98%;
margin: 0px auto 0px auto;
/*overflow: auto;
height: 200px;*/}
</style>
<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td><span class="smallfont"><strong>Island Order Warning:</strong></span></td>
</tr>
<tr>
<td class="code"><img align="left" src="images/IObadge.png"><img align="right" src="images/IObadge.png"><center>{param}</center></td>
</table>
For the mod I have basically the same except for an image change and a text change.
I have added another one for another usergroup, using same code again but obviously with a different image, however it has somehow stopped BB Code for working. As when I try to use any of them, or even default BB Code such as 'quote', they do not work.
When I view the misc.php?do=bbcode page they appear to work fine.
I have also installed advanced_bbcode_permissions product which I am not sure if it affects it.
Both these Mods were found in the forum however I can't find the links for them.
Does anyone have any ideas about why this could be happening or if I am doing something wrong?
Regards
Phil
I have created a number of Custom BB Codes that specific user groups can use. For example Admins can use
warning
and Mod can use
message
These were both done through the Add Custom BB Code and in the Replacement for admin I have
<style>
.code{font-family: Courier, Courier New, Verdana, Arial;
color: #465584;
background-color: #FAFCFE;
border: 1px dotted #000;
padding: 2px;
width:98%;
margin: 0px auto 0px auto;
/*overflow: auto;
height: 200px;*/}
</style>
<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td><span class="smallfont"><strong>Island Order Warning:</strong></span></td>
</tr>
<tr>
<td class="code"><img align="left" src="images/IObadge.png"><img align="right" src="images/IObadge.png"><center>{param}</center></td>
</table>
For the mod I have basically the same except for an image change and a text change.
I have added another one for another usergroup, using same code again but obviously with a different image, however it has somehow stopped BB Code for working. As when I try to use any of them, or even default BB Code such as 'quote', they do not work.
When I view the misc.php?do=bbcode page they appear to work fine.
I have also installed advanced_bbcode_permissions product which I am not sure if it affects it.
Both these Mods were found in the forum however I can't find the links for them.
Does anyone have any ideas about why this could be happening or if I am doing something wrong?
Regards
Phil