Convert Gregorian calendar to Jalali
Hello ,
I need to convert Gregorian calendar to Persian Jalali calendar , i have PHP script for Jalali and i want to call this file in MBB date and time file , could you give me a tip ... for PunBB i done it ...
btw , Persian translation for MBB is done if you need i can share it here
Regards,
Abdulhalim
Britney Spears Persian Fans | www.Britney.in

By Yannick 1 February 2015 19:06
Administrator · 1,456 comments
If you have a translation for ModernBB, I would love to see it. You can post it on GitHub in this repository: https://github.com/ModernBB/MBB-Translations.
Anyway, I'm sorry but I'm unfamiliar with calenders that aren't Gregorian. However, the way you did it in PunBB should mostly work on ModernBB too.
You can do anything

By Abdulhalim 1 February 2015 21:38
Member · 59 comments
Could you point me to the MBB date file ?
Github confused me ! i create Farsi branch or something like that ... but i don't know where is it now ...
Britney Spears Persian Fans | www.Britney.in

By Yannick 1 February 2015 22:02
Administrator · 1,456 comments
Can you explain me what steps you've done to get this working in PunBB? ModenrBB doesn't have a "date file" (I can't remember PunBB having it either), anyway, did you follow some kind of tutorial, install a mod, or something?
You can do anything

By Abdulhalim 1 February 2015 22:18
Member · 59 comments
I have php file called pdate.php (Persian Date) ... in PunBB i used include_once "pdate.php"; in include/function.php , then Gregorian converted to Jalali
you can look at these file
http://getpunbb.ir/downloads/PunBB142.zip/download.html
Britney Spears Persian Fans | www.Britney.in

By Abdulhalim 3 February 2015 20:19
Member · 59 comments
Did you have any suggestion for Jalali date ? please it's is so important for me ... 🙂
Britney Spears Persian Fans | www.Britney.in

By Yannick 3 February 2015 20:44
Administrator · 1,456 comments
I'm sorry, not yet. I'm very bussy at the moment. I'll look into it later. Remind me in the weekend. 😉
You can do anything

By Abdulhalim 4 February 2015 04:39
Member · 59 comments
Thank you, i see and i appreciate that 🙂
You are great.
Britney Spears Persian Fans | www.Britney.in

By Yannick 4 February 2015 11:03
Administrator · 1,456 comments
You are great.
I know, right!
You can do anything

By Abdulhalim 7 February 2015 08:49
Member · 59 comments
Hello Yanick , It's almost weekend , if you have time, please look at punbb ,
into function.php file
and pdate.php file
include_once "pdate.php";
btw , in this editor the CODE button doesn't work !
Britney Spears Persian Fans | www.Britney.in

By Abdulhalim 7 February 2015 11:12
Member · 59 comments
😄 Never mind i found out the way how to convert the Gregorian to Jalali , i missed one step , i had to change gmdate to pdate ... , everthing is OK now ... thank toy for your cooperate
Britney Spears Persian Fans | www.Britney.in

By Yannick 7 February 2015 11:21
Administrator · 1,456 comments
I'll take a look at the code button. Thanks for reporting. Perhaps you can post a new topic on how to change the calendar for other people that can use this?
You can do anything

By Abdulhalim 7 February 2015 11:41
Member · 59 comments

By Abdulhalim 1 February 2015 16:36
Member · 59 comments