Friend / Foe List
3 posters
Page 1 of 1
Friend / Foe List
Is it possible we use script to get Friend / Foe List ??
Last edited by TamDonCo on September 10th 2016, 2:18 pm; edited 1 time in total
Re: Friend / Foe List
please explain better
add friends? or display a friend list in specific place you want?
add friends? or display a friend list in specific place you want?
Ch@lo Valdez- Forumember
- Posts : 138
Reputation : 50
Language : spanish
Re: Friend / Foe List
Ch@lo Valdez wrote:please explain better
add friends? or display a friend list in specific place you want?
get a list of friends / foes under current login user ..
Re: Friend / Foe List
is possible but where we will place the list?
users logged -- check
always visible?
the place of this list ....
thinks your idea and give more complete specifications
users logged -- check
always visible?
the place of this list ....
thinks your idea and give more complete specifications
Ch@lo Valdez- Forumember
- Posts : 138
Reputation : 50
Language : spanish
Re: Friend / Foe List
Ch@lo Valdez wrote:is possible but where we will place the list?
users logged -- check
always visible?
the place of this list ....
thinks your idea and give more complete specifications
I do not want to place any where, just get the list and I do something with my code
for testing just use console.log
Re: Friend / Foe List
for test in the console:
- Code:
var id = '1' //<--- change the id
$.get('/u' + id + 'friends', function (e) {
console.log(e); //<--- all html tree from friend page in the profile
});
Ch@lo Valdez- Forumember
- Posts : 138
Reputation : 50
Language : spanish
Re: Friend / Foe List
Thanks, looks like on the right track
How do I strip out the name list or ID list ?
How do I strip out the name list or ID list ?
Re: Friend / Foe List
Does this help: http://fmdesign.forumotion.com/t394-widget-friends-list ?
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: Friend / Foe List
Thanks SLGray, I will take a look
@Ch@lo Valdez
That code works only for ADMIN right, normal user gets blank even his/her friends/foes
@Ch@lo Valdez
That code works only for ADMIN right, normal user gets blank even his/her friends/foes
Re: Friend / Foe List
@Ch@lo Valdez
just update, the code works fine
it did not work before because I disable "view profile" , only Admin right can do it
how about foe list ?
just update, the code works fine
it did not work before because I disable "view profile" , only Admin right can do it
how about foe list ?
Re: Friend / Foe List
foes list :
- Code:
$.get('/profile?mode=editprofile&page_profil=friendsfoes', function(e) {
var a = $('.panel:eq(4)', e).html(); console.log(a) // foes list
});
Ch@lo Valdez- Forumember
- Posts : 138
Reputation : 50
Language : spanish
Re: Friend / Foe List
Problem solved & topic archived.
|
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.
Similar topics
» "add friend" js code help
» Foes list/ignore list name change
» I need help for my friend
» How to add someone as your friend
» Friend Notifictions
» Foes list/ignore list name change
» I need help for my friend
» How to add someone as your friend
» Friend Notifictions
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum