I want to code "Adffine friend in threads" Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.
4 posters

    I want to code "Adffine friend in threads"

    avatar
    AlFoROoN
    New Member


    Posts : 11
    Reputation : 1
    Language : arabic

    I want to code "Adffine friend in threads" Empty I want to code "Adffine friend in threads"

    Post by AlFoROoN October 1st 2014, 11:14 am

    I want to code "Adffine friend in threads"
    Such as
    https://i.servimg.com/u/f39/16/49/97/40/10710.png

    I want to code "Adffine friend in threads" 10710
    avatar
    AlFoROoN
    New Member


    Posts : 11
    Reputation : 1
    Language : arabic

    I want to code "Adffine friend in threads" Empty Re: I want to code "Adffine friend in threads"

    Post by AlFoROoN October 1st 2014, 3:45 pm

    UP
    avatar
    Guest
    Guest


    I want to code "Adffine friend in threads" Empty Re: I want to code "Adffine friend in threads"

    Post by Guest October 1st 2014, 7:06 pm

    Hello AlFoROoN,
    Could you please explain more about what it is you are wanting done. Your first message doesn't explain what you want, where you want to add it, what your site link is, where you found that image at, ect. This information is very helpful and will help us provide the information you are looking for.

    -Jad
    Ramdaman
    Ramdaman
    Active Poster


    Male Posts : 1590
    Reputation : 99
    Language : English, Albanian, Macedonian, Russian | HTML, CSS
    Location : New York City

    I want to code "Adffine friend in threads" Empty Re: I want to code "Adffine friend in threads"

    Post by Ramdaman October 1st 2014, 9:21 pm

    You mean you want a code (JavaScript) to be able to add a friend from a thread?
    avatar
    AlFoROoN
    New Member


    Posts : 11
    Reputation : 1
    Language : arabic

    I want to code "Adffine friend in threads" Empty Re: I want to code "Adffine friend in threads"

    Post by AlFoROoN October 1st 2014, 10:37 pm

    Jadster wrote:Hello AlFoROoN,
    Could you please explain more about what it is you are wanting done. Your first message doesn't explain what you want, where you want to add it, what your site link is, where you found that image at, ect. This information is very helpful and will help us provide the information you are looking for.

    -Jad
    I found it in one of the Arab forums
    Ramdaman wrote:You mean you want a code (JavaScript) to be able to add a friend from a thread?
    I want a code to activate this feature next to each post
    avatar
    AlFoROoN
    New Member


    Posts : 11
    Reputation : 1
    Language : arabic

    I want to code "Adffine friend in threads" Empty Re: I want to code "Adffine friend in threads"

    Post by AlFoROoN October 2nd 2014, 4:21 pm

    -_-
    avatar
    Guest
    Guest


    I want to code "Adffine friend in threads" Empty Re: I want to code "Adffine friend in threads"

    Post by Guest October 2nd 2014, 4:28 pm

    Hello again AlFoROoN,
    Could you please link us to your site and link us to the site that you found this at so that we can take a further look. I cannot read what the text says in the image so I am at a loss here right now. If you can link me to the site where you found this I can translate it and be able to provide more support.

    -Jad
    avatar
    AlFoROoN
    New Member


    Posts : 11
    Reputation : 1
    Language : arabic

    I want to code "Adffine friend in threads" Empty Re: I want to code "Adffine friend in threads"

    Post by AlFoROoN October 2nd 2014, 4:36 pm

    Translate what's in the code is a rectangle appears in every contribution has a "friend Adffine"
    +
    forum whose property was lost to me, but this property basis, "vb" was the work of code to work on forumotion
    www.malware-site.www/vb
    avatar
    AlFoROoN
    New Member


    Posts : 11
    Reputation : 1
    Language : arabic

    I want to code "Adffine friend in threads" Empty Re: I want to code "Adffine friend in threads"

    Post by AlFoROoN October 5th 2014, 5:13 pm

    up
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


    Male Posts : 2083
    Reputation : 336
    Language : English
    Location : Ms

    I want to code "Adffine friend in threads" Empty Re: I want to code "Adffine friend in threads"

    Post by _Twisted_Mods_ October 5th 2014, 6:36 pm

    not sure this is gonna be possible because theirs no way to get the posters name because in the template the posters name is in link form
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


    Male Posts : 2083
    Reputation : 336
    Language : English
    Location : Ms

    I want to code "Adffine friend in threads" Empty Re: I want to code "Adffine friend in threads"

    Post by _Twisted_Mods_ October 5th 2014, 9:46 pm

    this was a pain to figure out but i was wrong it was posible


    Admin panel -Display - Templates - General - viewtopic_body

    place the code for your version under

    "<script type="text/javascript">//<![CDATA["  at the top of the page




    punbb


    Code:

    $(function(){
               var posts = $('.user-contact', document.getElementById('main-content')), i = 0, p;
               for(; (p = posts[i++]); ) {
                  var userlink = p.getElementsByTagName('a')[0]
                  , name = userlink.innerHTML.replace(/<.*/g, '');
      p.innerHTML += '<a href="/profile?friend=' + name + '&mode=editprofile&page_profil=friendsfoes"><img src="http://i884.photobucket.com/albums/ac50/TwistedKilla/Stuff/add-icon-25x25_zpsa0962703.png" width="20" height="20"></a>';
               }
            });


    phpbb2


    Code:

    $(function(){
               var posts = $('.poster-profile', document.getElementById('main-content')), i = 0, p;
               for(; (p = posts[i++]); ) {
                  var userlink = p.getElementsByTagName('a')[0]
                  , name = userlink.innerHTML.replace(/<.*/g, '');
      p.innerHTML += '<a href="/profile?friend=' + name + '&mode=editprofile&page_profil=friendsfoes"><img src="http://i884.photobucket.com/albums/ac50/TwistedKilla/Stuff/add-icon-25x25_zpsa0962703.png" width="20" height="20"></a>';
               }
            });


    Last edited by thetwistedkilla on October 5th 2014, 10:07 pm; edited 1 time in total
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51561
    Reputation : 3524
    Language : English
    Location : United States

    I want to code "Adffine friend in threads" Empty Re: I want to code "Adffine friend in threads"

    Post by SLGray October 5th 2014, 9:58 pm

    Did you mean phpBB 2 and phpBB 3?



    I want to code "Adffine friend in threads" Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


    Male Posts : 2083
    Reputation : 336
    Language : English
    Location : Ms

    I want to code "Adffine friend in threads" Empty Re: I want to code "Adffine friend in threads"

    Post by _Twisted_Mods_ October 5th 2014, 10:08 pm

    no - fixed - ty
    avatar
    AlFoROoN
    New Member


    Posts : 11
    Reputation : 1
    Language : arabic

    I want to code "Adffine friend in threads" Empty Re: I want to code "Adffine friend in threads"

    Post by AlFoROoN October 6th 2014, 1:45 am

    do not work
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


    Male Posts : 2083
    Reputation : 336
    Language : English
    Location : Ms

    I want to code "Adffine friend in threads" Empty Re: I want to code "Adffine friend in threads"

    Post by _Twisted_Mods_ October 6th 2014, 2:38 am

    the punbb still works but the phpbb 2 stopped working for some reason im trying to figure out y
    avatar
    AlFoROoN
    New Member


    Posts : 11
    Reputation : 1
    Language : arabic

    I want to code "Adffine friend in threads" Empty Re: I want to code "Adffine friend in threads"

    Post by AlFoROoN October 6th 2014, 1:23 pm

    thank you
    wait you
    avatar
    AlFoROoN
    New Member


    Posts : 11
    Reputation : 1
    Language : arabic

    I want to code "Adffine friend in threads" Empty Re: I want to code "Adffine friend in threads"

    Post by AlFoROoN October 11th 2014, 4:27 pm

    -_-
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


    Male Posts : 2083
    Reputation : 336
    Language : English
    Location : Ms

    I want to code "Adffine friend in threads" Empty Re: I want to code "Adffine friend in threads"

    Post by _Twisted_Mods_ October 11th 2014, 5:37 pm

    do what i said up there in my other post just use this code ...put it at the very top of the page

    Code:
    <script>
       
    $(function(){
              var posts = $('.poster-profile', document.getElementById('main-content')), i = 0, p;
              for(; (p = posts[i++]); ) {
                  var userlink = p.getElementsByTagName('a')[0]
                  , name = userlink.innerHTML.replace(/<.*/g, '');
      p.innerHTML += '<a href="/profile?friend=' + name + '&mode=editprofile&page_profil=friendsfoes"><img src="http://i884.photobucket.com/albums/ac50/TwistedKilla/Stuff/add-icon-25x25_zpsa0962703.png" width="20" height="20"></a>';
              }
            });
    </script>