MyBB Support

Registered time function MyBB?

Submitted by AndresXZ09, , Thread ID: 2741

Thread Closed

RE: Registered time function MyBB?

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

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

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

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

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