The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Find post authors (owners)

Go down

Solved Find post authors (owners)

Post by TamDonCo on February 19th 2018, 5:51 pm

Hi All

Can you help me with this code, I try find the authors (owners) of the posts, it only works when they have avatar, if s/he does not have avatar , it does not work

Code:

  for (j=0; j < 20; j++ ) {
    var owner = $('.postprofile dt:eq('+j+')').text();
    console.log(owner);
 }


Last edited by TamDonCo on February 19th 2018, 7:20 pm; edited 1 time in total
avatar
TamDonCo
Forumember

Posts : 313
Reputation : 2
Language : English

http://nhomcho.forummotion.com/

Back to top Go down

Solved Re: Find post authors (owners)

Post by SLGray on February 19th 2018, 6:04 pm

Create an avatar for members who do not have one already.


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

avatar
SLGray
Administrator
Administrator

Male Posts : 42685
Reputation : 3003
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Solved Re: Find post authors (owners)

Post by TamDonCo on February 19th 2018, 7:02 pm

@SLGray wrote:Create an avatar for members who do not have one already.



and a lot of them , I have to create one by one ?
avatar
TamDonCo
Forumember

Posts : 313
Reputation : 2
Language : English

http://nhomcho.forummotion.com/

Back to top Go down

Solved Re: Find post authors (owners)

Post by SLGray on February 19th 2018, 7:13 pm

No just one.


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

avatar
SLGray
Administrator
Administrator

Male Posts : 42685
Reputation : 3003
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Solved Re: Find post authors (owners)

Post by TamDonCo on February 19th 2018, 7:15 pm

@SLGray wrote:No just one.

I do not understand you

how do you make avatar for every one ?
avatar
TamDonCo
Forumember

Posts : 313
Reputation : 2
Language : English

http://nhomcho.forummotion.com/

Back to top Go down

Solved Re: Find post authors (owners)

Post by SLGray on February 19th 2018, 7:18 pm



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

avatar
SLGray
Administrator
Administrator

Male Posts : 42685
Reputation : 3003
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Solved Re: Find post authors (owners)

Post by TamDonCo on February 19th 2018, 7:20 pm

Thank You very much
avatar
TamDonCo
Forumember

Posts : 313
Reputation : 2
Language : English

http://nhomcho.forummotion.com/

Back to top Go down

Solved Re: Find post authors (owners)

Post by SLGray on February 19th 2018, 7:23 pm

You're welcome.
Problem solved & topic archived.
Please read our forum rules:  ESF General Rules


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

avatar
SLGray
Administrator
Administrator

Male Posts : 42685
Reputation : 3003
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum