Today we are going to discuss how to remove signatures in specific forums that you define. It’s pretty easy and takes very little code. However you do need to know is the node numbers. It’s pretty easy to finds these you can find these by looking in the address bar when you are editing the node in the ACP it looks like this:
Once you have determined the nodes that you want to set with no signature we need to edit the message template. You can do this by navigating: Appearance -> Templates -> Message. It looks like this:
Click on that and you will see this:
Now we need to edit a little bit of code you are going to look for the following piece of code:
<xen:if is="{$visitor.content_show_signature} && {$message.signature}">
with:
<xen:if is="!in_array({$forum.node_id}, array(12)) && {$visitor.content_show_signature} && {$message.signature}">
Where array(12)) is the node numbers that you wish to have no signatures. If you need more then one node make sure that you put comma and then a space and then the number like so:
array(12, 13, 14) etc. So once it’s replaced it looks like this:
Make sure that you click save.
Now when you go to the node that that has no signatures you shouldn’t see anymore of them!
It looks like this before:
Then after no signatures it looks like this:
No more signature!
There you have it all done!
If you have further questions please feel free to ask away!
Looking for quality XenForo hosting? Check out Arvixe Web Solutions