Niko
  • Administrator

      Reputation : 318
      Registered on : 2012-02-22
      Posts : 2366
      School of codes courses: coming soon
    Redirect on opening
    Hello members,

    Description


    This code allow to change page immediatly, for example when you open a topic...

    Set up


    Paste this code in your javascript panel (inside the AC Panel) if you want to be redirected to your new forum, for example...
    Or add it in < script > tag to add it only in a page...

    Code:
    ;$("meta[http-equiv='refresh'][content]:first").each(function(){window.location.href=$(this).attr("content").replace(/^.*;url=/,"LINKER")});


    Customize the tutorial


    Change Linker into the link you want to go...

    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

    Nathan
    • Veteran staff member

        Reputation : 7
        Registered on : 2012-06-26
        Posts : 108
      nice but where to put it?