Adding a friend.
3 posters
Page 1 of 1
Adding a friend.
so I was wondering if I could make a 'adding a friend' system on my forum?
Like on this link:
^
the code will automatically change to the person's username when someone added him/her.
I'll make a shortcut on contact tab that saying add the person as a friend then after he/she accepted the request, the icon of adding a friend will not show up again to his/her friends.
Like on this link:
- Code:
http://u3gms.findtalk.biz/profile?friend=[USERNAME]&mode=editprofile&page_profil=friendsfoes
^
the code will automatically change to the person's username when someone added him/her.
I'll make a shortcut on contact tab that saying add the person as a friend then after he/she accepted the request, the icon of adding a friend will not show up again to his/her friends.
Re: Adding a friend.
Are you using the friends and foes system that Forumotion has?
Administration Panel > Users & Groups > Users > Users Options
Users Settings Section
Allow friends/foes management : [] Yes [] No
Administration Panel > Users & Groups > Users > Users Options
Users Settings Section
Allow friends/foes management : [] Yes [] No
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: Adding a friend.
slg wrote:Are you using the friends and foes system that Forumotion has?
Administration Panel > Users & Groups > Users > Users Options
Users Settings Section
Allow friends/foes management : [] Yes [] No
yea but I would like to have a shortcut for it on profile tab under the same category as contacts.
Do you want me to add as a friend here in the forums, add other members or get friend requests? Follow this tutorial!
1. Go to 'PROFILE' TAB.
2. Scroll down till you see the 'Add as a Friend' tab on Contact Field.
3. Copy this code:4. Paste that code to your 'Add as a friend' tab and change [USERNAME] to your username.
- Code:
http://u3gms.findtalk.biz/profile?friend=[USERNAME]&mode=editprofile&page_profil=friendsfoes
Ex.
CHANGE [USERNAME] -> http://u3gms.findtalk.biz/profile?friend=[USERNAME]&mode=editprofile&page_profil=friendsfoes
TO YOUR USERNAME -> http://u3gms.findtalk.biz/profile?friend=AdminTensa&mode=editprofile&page_profil=friendsfoes
See?
Now you will get this icon too,
If you see that icon on any member, then you can send him a friend request.
an easy way to do this.
Re: Adding a friend.
LGforum wrote:Here ya'r
http://www.avacweb.com/t17-3-add-as-friend-and-user-wall-link-in-post-profiles
i have phpbb2 forums.
Re: Adding a friend.
- Code:
var CopyrightNotice='Adding Add as Friend and wall link to post profiles for Invision and phpBB2 boards for forumotion. Copyright © by LGforum. All Rights Reserved. Use and modification of this script is not allowed without this entire copyright notice in the original, copied, or modified script. No distribution without consent.';
$(function() {
var a = document.getElementsByClassName('name');
var x = document.getElementsByClassName('poster-profile');
for (i=0;i<a.length;i++){
var uid = a[i].textContent;
var add = document.createElement('a');
add.href = "/profile?friend="+uid+"&mode=editprofile&page_profil=friendsfoes";
add.innerHTML = "Add as Friend";
x[i].appendChild(add);
}
});
pasted this code in js managament and still didn't work for me.
Similar topics
» Adding Friend
» what is the "tell your friend!" link that takes you to a page where you can email a friend about my forum.
» Help about adding moderator,adding stickies and announcement
» adding more legend ,adding topic icons
» Tell a friend?
» what is the "tell your friend!" link that takes you to a page where you can email a friend about my forum.
» Help about adding moderator,adding stickies and announcement
» adding more legend ,adding topic icons
» Tell a friend?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum