2012-03-14, 05:40 PM
Hi,
if you preview a post, then all buttons except the reputation, PM and Find button go away. I don't see any use of those three buttons in a post preview so why are they there while all other buttons were removed?
How can I remove them from post preview?
I tried this trick:
I wrapped up all buttons with a div and styled the html code with style="{$removeBut}" while the variable $removeBut should be replaced by visibility:hidden. But it didn't work.
Can anyone help me with this? Thanks
if you preview a post, then all buttons except the reputation, PM and Find button go away. I don't see any use of those three buttons in a post preview so why are they there while all other buttons were removed?
How can I remove them from post preview?
I tried this trick:
if($newthread == 1 || $editpost == 1 || $newreply == 1)
{
$removeBut = 'visibility:hidden';
}
else
{
$removeBut = '';
}
I wrapped up all buttons with a div and styled the html code with style="{$removeBut}" while the variable $removeBut should be replaced by visibility:hidden. But it didn't work.
Can anyone help me with this? Thanks