Tutorial Years of Service using template conditionals

by AndresXZ09 - 15-04-2015, 12:46 PM
Closed Account
Posts:
1,383
Joined:
Jan 2015
Likes:
124
Credits:
1,332
Reputation:
30
2 Years of Service
#1
OP
Posted: 15-04-2015, 12:46 PM (This post was last modified: 15-04-2015, 12:49 PM by AndresXZ09.)
Well, I'm not even decent making plugins at this moment but I managed to make this using template conditionals and I know some of you guys would like to learn how to do it so yeah.

So, here's how you're going to do it

Please register or login in order to unlock hidden content.
JMPRockFm
13-06-2015, 02:13 PM
Mr_Joker
15-04-2015, 03:09 PM
Tropical
18-05-2015, 05:40 AM
لا إله إلا الله‎
Posts:
6,327
Joined:
Jan 2015
Likes:
305
Credits:
45
Reputation:
165
2 Years of Service
#2
Posted: 15-04-2015, 02:36 PM
Really A great tutorial. Would be great if a plugin is made by this code :D Tongue
| A- Best forever .. | v4hl - ;) | Addicted | Senpai | sad | Sensei | H | fdigl |
[Image: gZD4Fba.png]

Nan Ihier Gelair Mordor
Posts:
2,636
Joined:
Jan 2015
Likes:
307
Credits:
7,967
Reputation:
92
2 Years of Service
#3
Posted: 15-04-2015, 03:00 PM
* Sozin is hitting his head in a wall.
Do not let your difficulties fill you with anxiety, after all it is only in the darkest nights that stars shine more brightly. - Ali(a.s)

Developer( PHP, Python, C++, HTML+CSS, JS I am available for Hire. Message Me for details.
YouR JuSt G4Y
Posts:
879
Joined:
Feb 2015
Likes:
35
Credits:
365
Reputation:
3
2 Years of Service
#4
Posted: 15-04-2015, 03:09 PM
Wait...

Is this for every user it shows? Can't we set it to like some few members example UID: 1,2,3 something..
We are!
Posts:
1,044
Joined:
Jan 2015
Likes:
108
Credits:
1,946
Reputation:
25
2 Years of Service
#5
Posted: 15-04-2015, 04:25 PM (This post was last modified: 15-04-2015, 04:26 PM by Akay.)
(15-04-2015, 03:09 PM)Mr_Joker Wrote: Wait...

Is this for every user it shows? Can't we set it to like some few members example UID: 1,2,3 something..
This shows for every user, not specific UIDs. And yes, it is possible to do it for a few UIDs.

Also, OP:
Aokie released a plugin for this, but oh well.

* Akay is hitting his head in a wall.
YouR JuSt G4Y
Posts:
879
Joined:
Feb 2015
Likes:
35
Credits:
365
Reputation:
3
2 Years of Service
#6
Posted: 15-04-2015, 04:31 PM
How can i do it can you tell me please? And how do i change the date like example put todays date?
We are!
Posts:
1,044
Joined:
Jan 2015
Likes:
108
Credits:
1,946
Reputation:
25
2 Years of Service
#7
Posted: 15-04-2015, 04:34 PM
(15-04-2015, 04:31 PM)Mr_Joker Wrote: How can i do it can you tell me please? And how do i change the date like example put todays date?

You want it to be month, days, years, what?

more details, lol
YouR JuSt G4Y
Posts:
879
Joined:
Feb 2015
Likes:
35
Credits:
365
Reputation:
3
2 Years of Service
#8
Posted: 15-04-2015, 05:51 PM (This post was last modified: 15-04-2015, 05:52 PM by Mr_Joker.)
Days please and i want to do it for each user like example UID, 1,2,3 or something.
Closed Account
Posts:
1,383
Joined:
Jan 2015
Likes:
124
Credits:
1,332
Reputation:
30
2 Years of Service
#9
OP
Posted: 15-04-2015, 10:24 PM (This post was last modified: 15-04-2015, 10:25 PM by AndresXZ09.)
It works for me.

[Image: WlZPRW0.png]

I changed the 365 with 6 just to show you guys.

That guy registered today, here is my postbit

[Image: dPX94KH.png]

I registered more than six days ago so yay.

It works for me on every user
YouR JuSt G4Y
Posts:
879
Joined:
Feb 2015
Likes:
35
Credits:
365
Reputation:
3
2 Years of Service
#10
Posted: 19-04-2015, 11:01 AM
How do i do 5 years? I want it to say 5 years
The last reply on this thread is older than a month. Please do not unnecessarily bump it.
Register an account or login to reply
Create an account
Create a free account today and start posting right away. It only takes a few seconds.
Login
Log into an existing account.
1 Guest(s)