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


    Button: Send and block

    Go to page : 1, 2  Next

    avatar
    • **


        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

      avatar
      • Administrator

          Reputation : 315
          Registered on : 2012-02-22
          Posts : 2362
          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

        avatar
        • **


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

          avatar
          • 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.



            avatar
            • **


                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.

              avatar
              • Administrator

                  Reputation : 315
                  Registered on : 2012-02-22
                  Posts : 2362
                  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

                avatar
                • 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!



                  avatar
                  • **


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

                    avatar
                    • Administrator

                        Reputation : 315
                        Registered on : 2012-02-22
                        Posts : 2362
                        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

                      avatar
                      • **


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

                        avatar
                        • Administrator

                            Reputation : 315
                            Registered on : 2012-02-22
                            Posts : 2362
                            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

                          avatar
                          • **


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

                            avatar
                            • ***


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

                              avatar
                              • **


                                  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.

                                avatar
                                • Administrator

                                    Reputation : 315
                                    Registered on : 2012-02-22
                                    Posts : 2362
                                    School of codes courses: coming soon
                                  This is what I see...



                                  Niko wants you in the team Guest

                                  Community manager and Administrator at Forumattivo.com

                                  avatar
                                  • **


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

                                    avatar
                                    • Administrator

                                        Reputation : 315
                                        Registered on : 2012-02-22
                                        Posts : 2362
                                        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

                                      avatar
                                      • **


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

                                        avatar
                                        • **


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

                                          avatar
                                          • **


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

                                            avatar
                                            • Administrator

                                                Reputation : 315
                                                Registered on : 2012-02-22
                                                Posts : 2362
                                                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

                                              avatar
                                              • **


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

                                                avatar
                                                • Administrator

                                                    Reputation : 315
                                                    Registered on : 2012-02-22
                                                    Posts : 2362
                                                    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

                                                  avatar
                                                  • **


                                                      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.

                                                    avatar
                                                    • Administrator

                                                        Reputation : 315
                                                        Registered on : 2012-02-22
                                                        Posts : 2362
                                                        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

                                                      Go to page : 1, 2  Next


                                                      YOUR BANNER HERE
                                                      728x90
                                                      DMCA.com Protection Status
                                                      © PunBB | Contact | Report an abuse