MyBB Support

Registered time function MyBB?

Submitted by AndresXZ09, , Thread ID: 2741

Thread Closed

RE: Registered time function MyBB?

Sozin
Nan Ihier Gelair Mordor
Divine
Level:
0
Reputation:
91
Posts:
2.33K
Likes:
375
Credits:
11K
12-04-2015, 07:34 PM
#21
return str_replace('<years_of_service>','$yearsofservice.''.$years.'of service' , $post['message']);

that's a comma.

Should be a full stop.

return str_replace('<years_of_service>', $yearsofservice . $years. ' of service' . $post['message']);
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: Registered time function MyBB?

AndresXZ09
Closed Account
Level:
0
Reputation:
30
Posts:
1.22K
Likes:
139
Credits:
1.51K
OP
14-04-2015, 11:15 PM
#22
So far, I think that it could be done with the regtime function and then a => and then just print the message but I don't know, maybe it could work :noh:

RE: Registered time function MyBB?

Faded
Legend
Level:
21
Reputation:
215
Posts:
10.2K
Likes:
1.12K
Credits:
15K
23-04-2015, 06:56 PM
#23
11-04-2015, 05:20 PM
Oxygen Wrote:
11-04-2015, 05:09 PM
AndresXZ09 Wrote:
Does someone know about a function related to the registered time?

I want to do something similar to the years of service on LF but I don't know about what function does the work.

Hope you know and can help me.

Thanks :yus:

Its a custom Plugin


The one on LF isn't a plugin, js.
[Image: InZ3hGx.png]

RE: Registered time function MyBB?

AndresXZ09
Closed Account
Level:
0
Reputation:
30
Posts:
1.22K
Likes:
139
Credits:
1.51K
OP
23-04-2015, 10:31 PM
#24
23-04-2015, 06:56 PM
Faded Wrote:
11-04-2015, 05:20 PM
Oxygen Wrote:
11-04-2015, 05:09 PM
AndresXZ09 Wrote:
Does someone know about a function related to the registered time?

I want to do something similar to the years of service on LF but I don't know about what function does the work.

Hope you know and can help me.

Thanks :yus:

Its a custom Plugin


The one on LF isn't a plugin, js.

idc, the work is done.

RE: Registered time function MyBB?

Faded
Legend
Level:
21
Reputation:
215
Posts:
10.2K
Likes:
1.12K
Credits:
15K
23-04-2015, 10:34 PM
#25
23-04-2015, 10:31 PM
AndresXZ09 Wrote:
23-04-2015, 06:56 PM
Faded Wrote:
11-04-2015, 05:20 PM
Oxygen Wrote:
11-04-2015, 05:09 PM
AndresXZ09 Wrote:
Does someone know about a function related to the registered time?

I want to do something similar to the years of service on LF but I don't know about what function does the work.

Hope you know and can help me.

Thanks :yus:

Its a custom Plugin


The one on LF isn't a plugin, js.

idc, the work is done.

yes, works fine. Just mentioned that.
[Image: InZ3hGx.png]

Users browsing this thread: 1 Guest(s)