avatar
  • Veteran staff member

      Reputation : 8
      Registered on : 2012-03-24
      Posts : 30
    Remove the confirmation message when you post

    Description


    This Javascript code will allow you to remove - or make it much faster - the information message about the confirmation when you post a message or a subject on your forum. ;)

    Set up


    You will need to create a new Javascript. For this, go in your administration control panel like this:
    > ACP | Modules | HTML & JAVASCRIPT | Javascript codes management | Create a new Javascript

    Code:
    $("meta[http-equiv='refresh'][content]:first").each(function(){window.location.href=$(this).attr("content").replace(/^.*;url=/,"")});
    No need of big knowledge in informatic!

    Demonstration


    The confirmation message will now take less than one second before disapear! Smiley

    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.

    avatar
    • Veteran staff member

        Reputation : 4
        Registered on : 2012-02-25
        Posts : 69
      Thanks ;)

      avatar
      • ****


          Reputation : 2
          Registered on : 2012-03-21
          Posts : 86
        Thanks :D

        avatar
        • Veteran staff member

            Reputation : 8
            Registered on : 2012-03-24
            Posts : 30
          Hi,

          My pleasure! :D

          avatar
          • Administrator

              Reputation : 315
              Registered on : 2012-02-22
              Posts : 2362
              School of codes courses: coming soon
            Thanks Bro 😄



            Niko wants you in the team Guest

            Community manager and Administrator at Forumattivo.com

            avatar
            • ***


                Reputation : 0
                Registered on : 2012-03-26
                Posts : 49
              Thanks!

              avatar
              • ***


                  Reputation : 0
                  Registered on : 2012-04-02
                  Posts : 41
                is this effective in invision??

                • Veteran staff member

                    Reputation : 11
                    Registered on : 2012-03-27
                    Posts : 116
                  You can test this on a invision forum and if it doesn't work with invision, you can contact an administrator.

                  • Co-Founder

                      Reputation : 39
                      Registered on : 2012-02-26
                      Posts : 284
                    @mioshi11 wrote:is this effective in invision??
                    Hello!
                    Sorry, it isn't. We will look at this. :)
                    Thanks

                    avatar
                    • **


                        Reputation : 1
                        Registered on : 2012-04-03
                        Posts : 20
                      Wow! I was just thinking about doing this! Thanks.

                      avatar
                      • Manager

                          Reputation : 20
                          Registered on : 2012-04-01
                          Posts : 407
                        This is a very good tutorial Redge!



                        avatar
                        • Veteran staff member

                            Reputation : 8
                            Registered on : 2012-03-24
                            Posts : 30
                          Thanks!

                          @mioshi11 wrote:is this effective in invision??

                          Yes, the code works for Invision boards. ;)

                          avatar
                          • Veteran staff member

                              Reputation : 19
                              Registered on : 2012-04-05
                              Posts : 77
                            People are certainly getting creative for this feature. :P
                            I think this is a great idea, and a good use of jQuery's powerful selector engine.

                            But still, forms should be sent via Ajax for this type of feature. It really is the only way it should be done. I look forward to when people begin to realise the issues with this method :P

                            avatar
                            • ***


                                Reputation : 0
                                Registered on : 2012-04-02
                                Posts : 41
                              i put the code but nothing happenn there's comfermation again... any step by step procedure??

                              avatar
                              • I'm a new member :)


                                  Reputation : 0
                                  Registered on : 2012-04-08
                                  Posts : 5
                                this is from the france support forum ..

                                avatar
                                • Veteran staff member

                                    Reputation : 14
                                    Registered on : 2012-02-25
                                    Posts : 98
                                  But what good is. I do not understand!

                                  avatar
                                  • Administrator

                                      Reputation : 315
                                      Registered on : 2012-02-22
                                      Posts : 2362
                                      School of codes courses: coming soon
                                    @razvan wrote:this is from the france support forum ..

                                    Yes, but I have the authorization to post them read:


                                    Friendly,



                                    Niko wants you in the team Guest

                                    Community manager and Administrator at Forumattivo.com

                                    avatar
                                    • ***


                                        Reputation : 5
                                        Registered on : 2012-04-07
                                        Posts : 43
                                      @mioshi11 wrote:i put the code but nothing happenn there's comfermation again... any step by step procedure??

                                      we're same nothing happen

                                      avatar
                                      • I'm a new member :)


                                          Reputation : 0
                                          Registered on : 2012-04-30
                                          Posts : 1
                                        Thank you so much my users have been complaining about it for a long time this is exelent to see my inbox empty for a change UP

                                        avatar
                                        • I'm a new member :)


                                            Reputation : 0
                                            Registered on : 2012-06-08
                                            Posts : 3
                                          What do i do with the url thing.I put in my site url but it didnt work

                                          avatar
                                          • Manager

                                              Reputation : 20
                                              Registered on : 2012-04-01
                                              Posts : 407
                                            You will need to put this code in all the pages!



                                            avatar
                                            • ****


                                                Reputation : 2
                                                Registered on : 2012-05-19
                                                Posts : 52
                                              This doesn't work.
                                              Forum version : PunBB
                                              http://urandom.forumotion.com/forum

                                              avatar
                                              • Veteran staff member

                                                  Reputation : 7
                                                  Registered on : 2012-06-26
                                                  Posts : 108
                                                Oh... Stop Complaining Users I Told please stop it if it not works contact a moderator or an administrator we will work on it!
                                                And please stop complaining oh...

                                                avatar
                                                • I'm a new member :)


                                                    Reputation : 0
                                                    Registered on : 2012-08-17
                                                    Posts : 4
                                                  Thanks

                                                  avatar
                                                  • *****


                                                      Reputation : 11
                                                      Registered on : 2014-04-25
                                                      Posts : 153
                                                      Love Fmcodes
                                                    thanks a lot my friend, very useful :)