HomeHome  
  • WelcomeWelcome  
  • Events  
  • PublicationsPublications  
  • FAQFAQ  
  • SearchSearch  
  • MemberlistMemberlist  
  • UsergroupsUsergroups  
  • RegisterRegister  
  • Log inLog in  




  • You are not connected. Please login or register


    How many friends do you have?

    Niko
    • Administrator

        Reputation : 317
        Registered on : 2012-02-22
        Posts : 2362
        School of codes courses: coming soon
      How many friends do you have?

      Description


      With this tutorial, you will be able to show how many friends you have.

      Set up


      Here are the codes that you have to copy/paste in a new widget! yesyes

      phpBB3



      Code:
      <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"></script><script>
      jQuery.get('/profile.forum?mode=viewprofile&u={USERNAME}', function(data) {
        html = jQuery('#profile-advanced-right .module:eq(1) .inner div:eq(1)', data).html();
        jQuery('#friends_list').html(html);
      });
      </script><center><div id="friends_list"></div></center>


      phpBB2



      Code:
      <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"></script><script>
              jQuery.get('/profile.forum?mode=viewprofile&u={USERNAME}', function(data) {
                html = jQuery('.forumline:eq(3) .row1', data).html();
                jQuery('#friends_list').html(html);
              });
              </script><center><div id="friends_list"></div></center>


      PunBB



      Code:
      <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"></script><script>
      jQuery.get('/profile.forum?mode=viewprofile&u={USERNAME}', function(data) {
        html = jQuery('#profile-advanced-right .module:eq(2) .main-content', data).html();
        jQuery('#friends_list').html(html);
      });
      </script><center><div id="friends_list"></div></center>


      Invision



      Code:
      <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"></script><script>
      jQuery.get('/profile.forum?mode=viewprofile&u={USERNAME}', function(data) {
        html = jQuery('#profile-advanced-right .module:eq(2) .box-content', data).html();
        jQuery('#friends_list').html(html);
      });
      </script><center><div id="friends_list"></div></center>

      Technical problems



      The tutorial was tested with all forum versions and with the browser Mozilla Firefox; 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

      Etisalat
      • **


          Reputation : 3
          Registered on : 2012-03-23
          Posts : 14
        It doesn't work for phpbb2 !

        Niko
        • Administrator

            Reputation : 317
            Registered on : 2012-02-22
            Posts : 2362
            School of codes courses: coming soon
          Thanks...
          Tutorial moved to Staff setion (It will be fixed soon) :Good:

          Friendly,



          Niko wants you in the team Guest

          Community manager and Administrator at Forumattivo.com

          MartinoPio
          • Veteran staff member

              Reputation : 14
              Registered on : 2012-02-25
              Posts : 98
            Very Good. It's utility!

            Anonymous
            • Guest

                Tutorial fixed

                razvan
                • I'm a new member :)


                    Reputation : 0
                    Registered on : 2012-04-08
                    Posts : 5
                  Are those tutorials made by you , or your staff member ? because it seems to me that you just copy-paste ..

                  Niko
                  • Administrator

                      Reputation : 317
                      Registered on : 2012-02-22
                      Posts : 2362
                      School of codes courses: coming soon
                    @razvan wrote:Are those tutorials made by you , or your staff member ? because it seems to me that you just copy-paste ..

                    Hello razvan,

                    This tutorial in particular is not ours... We took the idea from the french forum and we fix it because it was broken!

                    But the 99% of our tutorials are ours... If you read "This tutorial was taken from XXX with the authorization of XX" it means that it isn't ours but we can use it (:

                    Friendly,



                    Niko wants you in the team Guest

                    Community manager and Administrator at Forumattivo.com

                    razvan
                    • I'm a new member :)


                        Reputation : 0
                        Registered on : 2012-04-08
                        Posts : 5
                      can you leave me a link from the original tutorial ?

                      Niko
                      • Administrator

                          Reputation : 317
                          Registered on : 2012-02-22
                          Posts : 2362
                          School of codes courses: coming soon
                        @razvan wrote:can you leave me a link from the original tutorial ?

                        Mmh... I don't remember if it is French or Spanish! Try to see in the tutorials section Wink

                        But attention: Their tutorial is broken! (:



                        Niko wants you in the team Guest

                        Community manager and Administrator at Forumattivo.com

                        MartinoPio
                        • Veteran staff member

                            Reputation : 14
                            Registered on : 2012-02-25
                            Posts : 98
                          I've got support from the Italian.

                          Nick
                          • Manager

                              Reputation : 20
                              Registered on : 2012-04-01
                              Posts : 407
                            This will not work on PunBB.



                            How many friends do you have? 15px10
                            magicm00n
                            • **


                                Reputation : 2
                                Registered on : 2012-03-24
                                Posts : 20
                              Very cool!

                              Coddy
                              • **


                                  Reputation : 0
                                  Registered on : 2012-04-07
                                  Posts : 13
                                Why don't you create something original? redred

                                hoanglongnhatbao
                                • ****


                                    Reputation : 3
                                    Registered on : 2012-03-22
                                    Posts : 54
                                  Thanks


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