ForumCommunity

Wiki - Signature

    What it is
    It is situated at the botton of the messages written by a user and may be made of text, images and hyperlinks (HTML and BBCODE); you can not use javascript and the spoiler BBCODE.
    The line, usually dashed, which separates the signature from the message can be customized by the forum administrator in Edit colors and styles, acting on the selector .bottomborder.

    How to have a signature
    You can insert a signature by the user panel Edit signature. You can not put more than 20 images or 1 Flash file and 5 images.

    Limiting signatures in your forum
    You can set a limit to the size of the signatures on your forum or hide them entirely by the administrative panel Manage signatures. In Manage groups, however, you can hide the signatures of a particular group of users or show only them, if in the forum the avatar signatures arent't displayed.
    The following solutions are atypical, nevertheless they are feasible:
    • Hiding signaures only to visitors
      In Manage signatures you can find the related option. Administrators who wish to limit also the size of the signatures of the users, can't use that panel, but they have to go in Edit colors and styles and write
      CODICE
      .signature {width: 100%; max-height: 300px; height: auto !important; height: 300px; overflow: hidden}

    • Hiding signatures in some sections.
      In Manage HTML code, on top of the forum, you write:
      HTML
      <script type="text/javascript"><!--
      sign=1;

      if(document.title.indexOf("section_name_1")!=-1) sign=0;
      if(document.title.indexOf("section_name_2")!=-1) sign=0;

      if(sign==0) document.write("<style>.signature, .bottomborder {display: none}<\/style>")
      //-->
      </script>

      An alternate version, to be included at the bottom of the page, is the following:
      HTML
      <script type="text/javascript"><!--
      if(document.URL.indexOf('act=Post')!=-1 || document.URL.indexOf('?t=')!=-1){
      sign=1;

      if(document.title.indexOf("section_name_1")!=-1) sign=0;
      if(document.title.indexOf("section_name_2")!=-1) sign=0;

      if(sign==0) document.REPLIER.enablesig.disabled=true
      else document.REPLIER.enablesig.disabled=false}
      //-->
      </script>

      It is different because instead of hiding signatures, it prevents from posting them. In addition to an aesthetic improvement, the result is therefore also a reduction of the weight of the threads.

      All the messages written before the insertion of the script will continue to have a signature. If you decide to remove the script, the posted messages in the period in which it was active will keep on not having signature; which unlike the code above. Therefore, this variant should be used in the sections for which it is imagined not to have afterthoughts, because the signatures won't come back anymore.

    • Signatures visible only to certain groups
      If you want to show the signatures only to certain groups, with some restrictions (scrollbar), go to Manage signatures and set Do not display any signature.
      Afterwards, for the groups to which you want to show the signatures, go to Manage groups and activate, by the drop-down menu, Show Signatures.
      As a last change, go to Edit colors and styles and insert at the bottom of the CSS the following string:
      HTML
      .signature {overflow: auto; height: 200px; width: 800px}

      By changing height: 200px; width: 800px the maximum length and height of the signatures will change.

    Image as the background of your signature
    If you want to set an image as the background of your signature, you have to use the following code:
    HTML
    <div style="background-image:url(http://image_address)">Signature contents</div>

    It is essential that the image is online and that is added the direct link to it.

    Color as the background of your signature
    If, instead of an image, you want a colored background for your signature:
    HTML
    <div style="background-color:#ColoreHTML">Signature contents</div>

    ColoreHTML should be replaced with a color that can be found here.

    Different signatures in different forums
    You can get a signature on your forum that is different from that displayed on others using the model shown below in Edit signature
    HTML
    <div class="default">main signature</div>
    <div class="nascosta">alternative signature</div>

    In Edit colors and styles of your forum you will need to add
    CODICE
    .signature .default, .profile .default {display: none}
    .signature .nascosta, .profile .nascosta {display: block}