HomeHome  
  • WelcomeWelcome  
  • Events  
  • PublicationsPublications  
  • FAQFAQ  
  • SearchSearch  
  • MemberlistMemberlist  
  • UsergroupsUsergroups  
  • RegisterRegister  
  • Log inLog in  
  • You are not connected. Please login or register


    Limit of topics

    avatar
    • Administrator

        Reputation : 315
        Registered on : 2012-02-22
        Posts : 2317
        School of codes courses: coming soon
      Limit of topics
      Hello members,

      Description


      Write here the description of the tutorial

      Set up


      Just add this code in the part of the forum you want to show the message:

      Code:
      <script language="Javascript">
      x=*SETPOSTNUMBER*;
      if ({USERCOUNTPOST}>=x) {
      document.write("you have more than ");
      document.write(x);
      document.write(" message");
      }
      else {
      document.write("you have less than ");
      document.write(x);
      document.write(" message");
      }
      </script>


      Customize the tutorial


      You have to change *SETPOSTNUMBER* with the number of the limit of topics you want (remove the *...*)

      Technical problems


      The tutorial was tested on this forum and with the browser Google Chrome; If you notice that the tutorial doesn't work for a browser or for a version of forum (PhpBB2, PhpBB3, PunBB, Invision) contact an administrator and we will fill this field with your reporting.

      Thanks, the staff
      For every problem or question please, contact us in the section Support for the tutorials, The staff will answer you as soon as it is possible...


      Friendly,
      The team of the Forum of Codes.



      Niko wants you in the team Guest

      Community manager and Administrator at Forumattivo.com


      YOUR BANNER HERE
      728x90
      DMCA.com Protection Status
      Create a forum on Forumotion | © PunBB | Free forum support | Contact | Report an abuse | Free forum