MyBB Tutorials

Tutorial Years of Service using template conditionals

Submitted by AndresXZ09, , Thread ID: 2820

Thread Closed
15-04-2015, 12:46 PM
This post was last modified: 15-04-2015, 12:49 PM by AndresXZ09
#1
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

Content locked
This content has been locked. Please login or register in order to unlock it.

RE: Tutorial Years of Service using template conditionals

#2
Really A great tutorial. Would be great if a plugin is made by this code :D Tongue
| A | v4hl| Addicted | Senpai | Sui | Sensei | H | fdigl |


RE: Tutorial Years of Service using template conditionals

#3
* 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.

RE: Tutorial Years of Service using template conditionals

#4
Wait...

Is this for every user it shows? Can't we set it to like some few members example UID: 1,2,3 something..

RE: Tutorial Years of Service using template conditionals

This post was last modified: 15-04-2015, 04:26 PM by Akay
#5
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.

RE: Tutorial Years of Service using template conditionals

#6
How can i do it can you tell me please? And how do i change the date like example put todays date?

RE: Tutorial Years of Service using template conditionals

#7
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

RE: Tutorial Years of Service using template conditionals

This post was last modified: 15-04-2015, 05:52 PM by Mr_Joker
#8
Days please and i want to do it for each user like example UID, 1,2,3 or something.

RE: Tutorial Years of Service using template conditionals

OP
This post was last modified: 15-04-2015, 10:25 PM by AndresXZ09
#9
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

RE: Tutorial Years of Service using template conditionals

#10
How do i do 5 years? I want it to say 5 years

Users browsing this thread: 6 Guest(s)