I want to code "Adffine friend in threads"
4 posters
Page 1 of 1
Re: I want to code "Adffine friend in threads"
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
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
Guest- Guest
Re: I want to code "Adffine friend in threads"
You mean you want a code (JavaScript) to be able to add a friend from a thread?
Re: I want to code "Adffine friend in threads"
I found it in one of the Arab forumsJadster 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 want a code to activate this feature next to each postRamdaman wrote:You mean you want a code (JavaScript) to be able to add a friend from a thread?
Re: I want to code "Adffine friend in threads"
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
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
Guest- Guest
Re: I want to code "Adffine friend in threads"
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
+
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
Re: I want to code "Adffine friend in threads"
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
Re: I want to code "Adffine friend in threads"
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
phpbb2
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 Sun 5 Oct - 20:07; edited 1 time in total
Re: I want to code "Adffine friend in threads"
Did you mean phpBB 2 and phpBB 3?
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: I want to code "Adffine friend in threads"
the punbb still works but the phpbb 2 stopped working for some reason im trying to figure out y
Re: I want to code "Adffine friend in threads"
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>
Similar topics
» "add friend" js code help
» Last Threads code
» When i paste a long code via [code][/code] the page expands
» How to add someone as your friend
» My Friend cannot get into her own group
» Last Threads code
» When i paste a long code via [code][/code] the page expands
» How to add someone as your friend
» My Friend cannot get into her own group
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum