Shion
  • **


      Reputation : 1
      Registered on : 2012-05-24
      Posts : 18
    I would like to know how to add this button by clicking automatically locks the topic already and leave a message automatically

    Button: Send and block YuKrA

    Niko
    • Administrator

        Reputation : 320
        Registered on : 2012-02-22
        Posts : 2366
        School of codes courses: coming soon
      Hello,

      can you provide the url of the forum where you have seen it (if you had) ?
      Thanks :)



      Niko wants you in the team Guest

      Community manager and Administrator at Forumattivo.com

      Shion
      • **


          Reputation : 1
          Registered on : 2012-05-24
          Posts : 18
        http://spdesign.ativoforum.com/

        Nick
        • Manager

            Reputation : 20
            Registered on : 2012-04-01
            Posts : 407
          Could you provide a link to that page on that website where this is at? I can not locate it.



          Button: Send and block 15px10
          Shion
          • **


              Reputation : 1
              Registered on : 2012-05-24
              Posts : 18
            http://spdesign.ativoforum.com/t1008-avatar#7787
            however this function is only visible to the mod, I am the forum mod but it does not have access to this code. When you click on it automatically pops up a message, and blocks the automatic topic.

            Niko
            • Administrator

                Reputation : 320
                Registered on : 2012-02-22
                Posts : 2366
                School of codes courses: coming soon
              Well, as I can't see the button I need your account (as moderator) to see it...
              Please, send me via PM your datas :D (if you want)

              Thanks...



              Niko wants you in the team Guest

              Community manager and Administrator at Forumattivo.com

              Nick
              • Manager

                  Reputation : 20
                  Registered on : 2012-04-01
                  Posts : 407
                Hello,

                giving us your account see get the codes will be the only was for us to determine this. Please send it VIA PM to us. Thanks!



                Button: Send and block 15px10
                Shion
                • **


                    Reputation : 1
                    Registered on : 2012-05-24
                    Posts : 18
                  already sent Niko

                  Niko
                  • Administrator

                      Reputation : 320
                      Registered on : 2012-02-22
                      Posts : 2366
                      School of codes courses: coming soon
                    I didn't receive it :|



                    Niko wants you in the team Guest

                    Community manager and Administrator at Forumattivo.com

                    Shion
                    • **


                        Reputation : 1
                        Registered on : 2012-05-24
                        Posts : 18
                      became post

                      Niko
                      • Administrator

                          Reputation : 320
                          Registered on : 2012-02-22
                          Posts : 2366
                          School of codes courses: coming soon
                        I Can't find the button :(



                        Niko wants you in the team Guest

                        Community manager and Administrator at Forumattivo.com

                        Shion
                        • **


                            Reputation : 1
                            Registered on : 2012-05-24
                            Posts : 18
                          http://spdesign.ativoforum.com/t1155-outros#8043
                          Link

                          Ryan
                          • ***


                              Reputation : 0
                              Registered on : 2012-04-29
                              Posts : 30
                            so you want a button that locks the current topic and makes you post "solved"?

                            Shion
                            • **


                                Reputation : 1
                                Registered on : 2012-05-24
                                Posts : 18
                              Yes clicking this button automatically appears a message that I decide, understand and solve the topic, for those who did not find the link I showed you he's in the message box quickly.

                              Niko
                              • Administrator

                                  Reputation : 320
                                  Registered on : 2012-02-22
                                  Posts : 2366
                                  School of codes courses: coming soon
                                This is what I see...
                                Button: Send and block Creen10



                                Niko wants you in the team Guest

                                Community manager and Administrator at Forumattivo.com

                                Shion
                                • **


                                    Reputation : 1
                                    Registered on : 2012-05-24
                                    Posts : 18
                                  see the quick reply box next to the button to send.
                                  Button: Send and block Eo2od

                                  Niko
                                  • Administrator

                                      Reputation : 320
                                      Registered on : 2012-02-22
                                      Posts : 2366
                                      School of codes courses: coming soon
                                    Try to add this javascript code:
                                    Code:
                                    jQuery(document).ready(function() {

                                    if(unescape(jQuery('.crumbs:eq(0) a:eq(2)').attr('href')).match(/f(8|9|11|22|31|52)-/))
                                    {jQuery('.frm-buttons input:eq(11)').after(' <input id="bt-enviar" value="Resolve & Block" type="submit" class="button1" name="post" onClick="gerarcodigo();"/>  ');}
                                    });



                                    Niko wants you in the team Guest

                                    Community manager and Administrator at Forumattivo.com

                                    Shion
                                    • **


                                        Reputation : 1
                                        Registered on : 2012-05-24
                                        Posts : 18
                                      the button does not appear

                                      Shion
                                      • **


                                          Reputation : 1
                                          Registered on : 2012-05-24
                                          Posts : 18
                                        up

                                        Shion
                                        • **


                                            Reputation : 1
                                            Registered on : 2012-05-24
                                            Posts : 18
                                          up

                                          Niko
                                          • Administrator

                                              Reputation : 320
                                              Registered on : 2012-02-22
                                              Posts : 2366
                                              School of codes courses: coming soon
                                            Code:
                                            jQuery(document).ready(function() {

                                            if(unescape(jQuery('.crumbs:eq(0) a:eq(2)').attr('href')))
                                            {jQuery('.frm-buttons input').after(' <input id="bt-enviar" value="Resolve & Block" type="submit" class="button1" name="post" onClick="gerarcodigo();"/>  ');}
                                            });

                                            Code:
                                            <script type="text/javascript">function gerarcodigo(){jQuery('[name="t"]').val('1340');jQuery('[name="message"]').val(''+jQuery('#text_editor_textarea').val()+'<br/><br/>[color=darkblue][b][Mensagem automática][/b][/color]<br/><br/>Tópico finalizado e movido para:<br/><a href="/f14-questoes-resolvidas">Questões resolvidas</a><br/><a href="/f13-arquivos-pedidos-finalizados">Pedidos finalizados</a><br/><br/>[b]Motivo:[/b] [color=green]Resolvido.[/color]');jQuery('[id="post_icon_2"]').attr('checked','checked');window.open('/modcp?t=1340&mode=move&mode=lock')}</script><div class="divselect"> <script>function generatee() {if(document.getElementById('text_editor_textarea').value == '') {document.getElementById('text_editor_textarea').value = document.getElementById('mensage').value;} else {document.getElementById('text_editor_textarea').value = document.getElementById('text_editor_textarea').value +'n'+ document.getElementById('mensage').value;}}</script>

                                            Try to add these new codes :D



                                            Niko wants you in the team Guest

                                            Community manager and Administrator at Forumattivo.com

                                            Shion
                                            • **


                                                Reputation : 1
                                                Registered on : 2012-05-24
                                                Posts : 18
                                              places like that can make a tutorial?

                                              Niko
                                              • Administrator

                                                  Reputation : 320
                                                  Registered on : 2012-02-22
                                                  Posts : 2366
                                                  School of codes courses: coming soon
                                                @Shion wrote:places like that can make a tutorial?
                                                just add as javascript codes :D



                                                Niko wants you in the team Guest

                                                Community manager and Administrator at Forumattivo.com

                                                Shion
                                                • **


                                                    Reputation : 1
                                                    Registered on : 2012-05-24
                                                    Posts : 18
                                                  It's no good I added the codes in java scrypt page and not result in anything I do not know to add the code.

                                                  Niko
                                                  • Administrator

                                                      Reputation : 320
                                                      Registered on : 2012-02-22
                                                      Posts : 2366
                                                      School of codes courses: coming soon
                                                    Well, I suggest you to ask to the administrator :(



                                                    Niko wants you in the team Guest

                                                    Community manager and Administrator at Forumattivo.com