[CDB] [3.1][3.2] hijri calendar التقويم الهجري

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Get Involved
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
Locked
hubaishan
Translator
Posts: 136
Joined: Sun Apr 10, 2011 2:47 pm
Name: Saeed Hubaishan
Contact:

[CDB] [3.1][3.2] hijri calendar التقويم الهجري

Post by hubaishan » Tue Oct 28, 2014 6:59 pm

Extension Name: Hijri Calendar
Author: hubaishan

Extension Description: This extension will allow you to view Hijri (Islamic) Calendar beside the Gregorian Calendar or instead of it , the extension will not Delete the Gregorian, It only make Possible to view Hijri Calendar, You Can Continue using Gregorian Calendar width out any need to disable the extension.
To view Hijri Calendar you must change date format and add the below letter Symbols. Notice that we use the same letters of date PHP function and only adding underscore(_) prefix to them.
the supported letters to view Hijri Calendar in dateformat are (notice that _ is part of symbol):
_j Day of the month without leading zeros
_d Day of the month, 2 digits with leading zeros
_z The day of the year (starting from 0)
_M A short textual representation of a month, such as 'Ram'
_F A full textual representation of a month, such as 'Ramadan'
_m Numeric representation of a month, with leading zeros
_n Numeric representation of a month, without leading zeros
_t Number of days in the given month
_L Whether it's a leap year, 1 if it is a leap year, 0 otherwise
_Y A full numeric representation of a year, 4 digits
_y A two digit representation of a year
You Can Change default datefomat from Administration Control Panel=>General=>Board settings
Every user can change his personal Dateformat from User Control Panel=>Board Preferences=>Edit Global Setting.
Extension Version: 2.1.0 RC

Features:
  • easy Date Format for Hijri Calendar Same of date() PHP function and adding (_) underscore prefix before the letter
  • easy to translate language files
  • Compatible with all styles
  • Compatible with all browsers
  • Supports 2 methods to Calculate the Hijri Calendar: Um Al-Qura method and Tabular algorithm
  • Ability to Adjust the beginning of hijri months to consensus the sight.
  • Support 20 international languages in viewing Hijri Dates.
  • Ready for 3.2.* and php 7.0.
Screenshots:
Image


What's new in 2.1.0
[/color]

What's new in 2.0.0b
  • add support for UmAlQura Saudi Hijri Calendar from year 1318 to 1500 AH.
  • add ability to adjust date
[/color][/size]

Demo URL: https://salafitech.net
Extension Download:
https://salafitech.net/hubaishan-hijri_2_1_0.zip
Will run only on phpBB 3.1.8RC1 and above
OLD Version:
https://salafitech.net/hubaishan-hijri.zip
NOT Compatible with phpBB 3.1.8RC1 and above
Last edited by hubaishan on Tue May 02, 2017 4:18 pm, edited 9 times in total.

User avatar
MohamedAG
Registered User
Posts: 107
Joined: Mon May 26, 2014 10:06 pm
Location: U.S.A.
Name: Moh Sal
Contact:

Re: [BETA] hijri calendar التقويم الهجري

Post by MohamedAG » Sun Nov 16, 2014 6:52 pm

Nice .. thanks .... :)

It would be nice (since it's a lunar calendar) if it was more comprehensive to include other lunar calendars (if I am not mistaken you would only have to change the starting year of the calender)
people who use lunar calendar are many

Lunar phase
Chinese calendar
Hindu calendar
Mayan Calendar
Islamic calendar
Iranian calendars
Celtic calendar
Epact
Hebrew calendar

User avatar
yasser33311
Registered User
Posts: 266
Joined: Sat Jul 27, 2013 1:27 pm
Location: algeria
Name: yasser ghe
Contact:

Re: [BETA] hijri calendar التقويم الهجري

Post by yasser33311 » Mon Nov 17, 2014 4:56 pm

thank you
PhpBB Services - install, update, upgrade, customize: PM

hubaishan
Translator
Posts: 136
Joined: Sun Apr 10, 2011 2:47 pm
Name: Saeed Hubaishan
Contact:

Re: [BETA] hijri calendar التقويم الهجري

Post by hubaishan » Sat Feb 14, 2015 6:12 pm

Updated
some bug fixes

hubaishan
Translator
Posts: 136
Joined: Sun Apr 10, 2011 2:47 pm
Name: Saeed Hubaishan
Contact:

Re: [BETA] hijri calendar التقويم الهجري

Post by hubaishan » Thu May 21, 2015 6:44 pm

New version 2.0.0b came with support of um Al-qura method, and abillty to adjust the beginning of the months.

User avatar
yasser33311
Registered User
Posts: 266
Joined: Sat Jul 27, 2013 1:27 pm
Location: algeria
Name: yasser ghe
Contact:

Re: [BETA] hijri calendar التقويم الهجري

Post by yasser33311 » Thu May 21, 2015 9:19 pm

thank you
PhpBB Services - install, update, upgrade, customize: PM

jimi007
Registered User
Posts: 11
Joined: Mon Nov 24, 2008 5:57 am

Re: [BETA] hijri calendar التقويم الهجري

Post by jimi007 » Sat May 23, 2015 1:00 am

MashaALLAH... brother you did really great work and I have no words. May ALLAh give you reward in this world and hereafter.

Can I use it in my forum or its not ready yet?

JazakALLAH

hubaishan
Translator
Posts: 136
Joined: Sun Apr 10, 2011 2:47 pm
Name: Saeed Hubaishan
Contact:

Re: [BETA] hijri calendar التقويم الهجري

Post by hubaishan » Sat May 23, 2015 3:14 pm

jimi007 wrote:MashaALLAH... brother you did really great work and I have no words. May ALLAh give you reward in this world and hereafter.

Can I use it in my forum or its not ready yet?

JazakALLAH
Yes, you can use it, but if you want to use long date format you must do this edits to phpBB files:

1-change "includes\ucp_prefs.php" line 89 to
'dateformat' => array('string', false, 1, 50),

2- (includes\acp_users.php line 1556 ) to:
'dateformat' => array('string', false, 1, 50),

3-replace the (maxlength) in the template files (adm\acp_users_prefs.html line 55 ,styles\prosilver\template\ucp_prefs_personal.html line line 73) to 50

hubaishan
Translator
Posts: 136
Joined: Sun Apr 10, 2011 2:47 pm
Name: Saeed Hubaishan
Contact:

Re: [BETA] hijri calendar التقويم الهجري

Post by hubaishan » Tue Sep 15, 2015 2:20 pm

for ext. users
please adjust start of Dul Hijah to 2015-9-15
see http://www.qna.org.qa/en-us/News/150914 ... ptember-24

hubaishan
Translator
Posts: 136
Joined: Sun Apr 10, 2011 2:47 pm
Name: Saeed Hubaishan
Contact:

Re: [BETA] hijri calendar التقويم الهجري

Post by hubaishan » Fri Feb 19, 2016 2:35 pm

As phpBB team increased the size of dateformat field in 3.1.8rc1 and 3.2.0b1 the extension must have some maintenance, and after that RC version will be released.

hubaishan
Translator
Posts: 136
Joined: Sun Apr 10, 2011 2:47 pm
Name: Saeed Hubaishan
Contact:

Re: [RC] hijri calendar التقويم الهجري

Post by hubaishan » Tue Feb 23, 2016 10:30 am

Now, new version 2.1.0

hubaishan
Translator
Posts: 136
Joined: Sun Apr 10, 2011 2:47 pm
Name: Saeed Hubaishan
Contact:

Re: [RC] hijri calendar التقويم الهجري

Post by hubaishan » Mon Jun 06, 2016 7:47 pm

Ramadan Karim

hubaishan
Translator
Posts: 136
Joined: Sun Apr 10, 2011 2:47 pm
Name: Saeed Hubaishan
Contact:

Re: [3.1][3.2][RC] hijri calendar التقويم الهجري

Post by hubaishan » Mon Jan 09, 2017 7:27 am

There is no problems to run the extension in 3.2.0

hubaishan
Translator
Posts: 136
Joined: Sun Apr 10, 2011 2:47 pm
Name: Saeed Hubaishan
Contact:

Re: [3.1][3.2][RC] hijri calendar التقويم الهجري

Post by hubaishan » Tue May 02, 2017 4:17 pm


Locked

Return to “Extensions in Development”