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.

Check how long the member with the forum

View previous topic View next topic Go down

In progress Check how long the member with the forum

Post by TamDonCo on July 9th 2016, 2:51 pm

Hi All

Is any javascript to check the current login member with the forum since join date ?

Thanks

TamDonCo
Forumember

Posts : 180
Reputation : 2
Language : English

http://nhomcho.forummotion.com/

Back to top Go down

In progress Re: Check how long the member with the forum

Post by SLGray on July 9th 2016, 7:26 pm

I do not understand what you are wanting? Could you please try to explain in detail what you are looking for?


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


SLGray
Administrator
Administrator

Male Posts : 36748
Reputation : 2449
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

In progress Re: Check how long the member with the forum

Post by TamDonCo on July 9th 2016, 7:51 pm

I want to know how many days the current login user join the forum since the join date using javascript so I can do something

TamDonCo
Forumember

Posts : 180
Reputation : 2
Language : English

http://nhomcho.forummotion.com/

Back to top Go down

In progress Re: Check how long the member with the forum

Post by brandon_g on July 9th 2016, 8:14 pm

Hello,

Let me see if I understand you correctly, you want to create a Javascript or something that tells you how many times has logged into your forum since joining? Do I understand correctly?

-Brandon


Remember to mark your topic when a solution is found.

brandon_g
Support Moderator
Support Moderator

Male Posts : 5359
Reputation : 489
Language : English
Location : USA

http://broadcastingduo.forumotion.com/

Back to top Go down

In progress Re: Check how long the member with the forum

Post by TamDonCo on July 9th 2016, 8:38 pm

how many days s/he join the forum

e.g Mr. ABC joined forum on June 1, 2016, he joins the forum 39 days as today is July 9, 2016

if you can find how many times has logged into your forum since joining is useful

TamDonCo
Forumember

Posts : 180
Reputation : 2
Language : English

http://nhomcho.forummotion.com/

Back to top Go down

In progress Re: Check how long the member with the forum

Post by SLGray on July 10th 2016, 12:46 pm

Are you wanting to show the members or just something for you? If for you, you can use this: AP > Users & Groups > Users > Handle Users. Then use the options that are there.


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


SLGray
Administrator
Administrator

Male Posts : 36748
Reputation : 2449
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

In progress Re: Check how long the member with the forum

Post by TamDonCo on July 10th 2016, 2:40 pm

Thanks SLGray

but I want javascript to do automatically , not manually

TamDonCo
Forumember

Posts : 180
Reputation : 2
Language : English

http://nhomcho.forummotion.com/

Back to top Go down

In progress Re: Check how long the member with the forum

Post by SLGray on July 10th 2016, 9:52 pm

Could you please explain what you want to do with this information?


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


SLGray
Administrator
Administrator

Male Posts : 36748
Reputation : 2449
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

In progress Re: Check how long the member with the forum

Post by TamDonCo on July 11th 2016, 4:03 am

I want to disbale some links, pictures ..etc. for members who joins 30+ days with low posts

I can do the other parts except finding join date, I already try user_regdate but it returns nothing ..

TamDonCo
Forumember

Posts : 180
Reputation : 2
Language : English

http://nhomcho.forummotion.com/

Back to top Go down

In progress Re: Check how long the member with the forum

Post by SLGray on July 11th 2016, 4:09 am

Do you mean restrict them from seeing images and links in posts?


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


SLGray
Administrator
Administrator

Male Posts : 36748
Reputation : 2449
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

In progress Re: Check how long the member with the forum

Post by TamDonCo on July 11th 2016, 4:25 am

yes but only members who joins 30+ days with low posts

TamDonCo
Forumember

Posts : 180
Reputation : 2
Language : English

http://nhomcho.forummotion.com/

Back to top Go down

In progress Re: Check how long the member with the forum

Post by SLGray on July 11th 2016, 4:37 am

I really do not know if there is a way. You could create a group then set the permissions for that group for each forum.


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


SLGray
Administrator
Administrator

Male Posts : 36748
Reputation : 2449
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

In progress Re: Check how long the member with the forum

Post by TamDonCo on July 11th 2016, 4:50 am

I can do it except calculating number of days from join date, there is _userdata.user_regdate but seems forummotion disable that parameter ???

TamDonCo
Forumember

Posts : 180
Reputation : 2
Language : English

http://nhomcho.forummotion.com/

Back to top Go down

In progress Re: Check how long the member with the forum

Post by SLGray on July 11th 2016, 5:04 am



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


SLGray
Administrator
Administrator

Male Posts : 36748
Reputation : 2449
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

In progress Re: Check how long the member with the forum

Post by TamDonCo on July 11th 2016, 5:31 am


Thanks

I try that already, it works on HTML , not javascript ..


Thanks again

TamDonCo
Forumember

Posts : 180
Reputation : 2
Language : English

http://nhomcho.forummotion.com/

Back to top Go down

View previous topic View next topic Back to top


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