Not Solved [General] How to display something like “there is XX days before the event" in a thread
#1
Not Solved
Hi, 

I'm a web developer and very new to mybb & its coding.

I want to post in a thread something like “there is XX days before the event”. 
(This XX days would/could be dynamical.)
 
As I work on Wordpress, I have a special add-on for this with a shortcode to post in my message.
 
Have we something like that in mybb? A shortocode I can use for my special thread?.
 
Thanks in advance (and happy Easter Wink )
Reply
#2
Not Solved
You can do this via a MyCode Filter, which you can create in the ACP

If needed, I'll try to make one for you.
Arne Van Daele - Developer


Private Support? Send me a private message
Reply
#3
Not Solved
(2016-03-28, 09:03 AM)ArneVD Wrote: You can do this via a MyCode Filter, which you can create in the ACP

If needed, I'll try to make one for you.


Thanks a ton for the quick and positive response !!

Can you show me, how to do that.
Reply
#4
Not Solved
E.g. you can add:
\[event=([0-9]+)\]
as regular expression and:
There are $1 days before the event.
as replacement.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)