MyBB Tutorials

Tutorial Years of Service using template conditionals

Submitted by AndresXZ09, , Thread ID: 2820

Thread Closed
AndresXZ09
Closed Account
Level:
0
Reputation:
30
Posts:
1.22K
Likes:
139
Credits:
1.51K
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

linkzy
No pressure, no diamonds
Level:
0
Reputation:
181
Posts:
5.34K
Likes:
341
Credits:
54
15-04-2015, 02:36 PM
#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

Sozin
Nan Ihier Gelair Mordor
Divine
Level:
0
Reputation:
91
Posts:
2.33K
Likes:
374
Credits:
11K
15-04-2015, 03:00 PM
#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

Mr_Joker
YouR JuSt G4Y
Level:
0
Reputation:
3
Posts:
795
Likes:
51
Credits:
493
15-04-2015, 03:09 PM
#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

Akay
We are!
Level:
0
Reputation:
28
Posts:
946
Likes:
109
Credits:
2.05K
15-04-2015, 04:25 PM
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

Mr_Joker
YouR JuSt G4Y
Level:
0
Reputation:
3
Posts:
795
Likes:
51
Credits:
493
15-04-2015, 04:31 PM
#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

Akay
We are!
Level:
0
Reputation:
28
Posts:
946
Likes:
109
Credits:
2.05K
15-04-2015, 04:34 PM
#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

Mr_Joker
YouR JuSt G4Y
Level:
0
Reputation:
3
Posts:
795
Likes:
51
Credits:
493
15-04-2015, 05:51 PM
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

AndresXZ09
Closed Account
Level:
0
Reputation:
30
Posts:
1.22K
Likes:
139
Credits:
1.51K
OP
15-04-2015, 10:24 PM
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

Mr_Joker
YouR JuSt G4Y
Level:
0
Reputation:
3
Posts:
795
Likes:
51
Credits:
493
19-04-2015, 11:01 AM
#10
How do i do 5 years? I want it to say 5 years

Users browsing this thread: 1 Guest(s)