PDA

View Full Version : Miscellaneous Hacks - Glorious Qur'an


msalman
01-19-2009, 10:00 PM
As-Salamu 'Alaykum (peace be upon you)

What is Qur'an? Muslims believe that the Qur'an is words of God which He revealed to His last Prophet and Messenger, Muhammad (peace be upon him).

I've decided to create this thread for updated version of this mod in the latest vb version mods section to move on with the changes. This mod should work on 3.8.x, 3.7.x and 3.6.x. I don't know about 3.5 or lower versions.

Mod Description: This mod lets the users on your board read the Glorious Qur'an in Arabic and interpretation of the meaning in 25 different languages.

The attached file has everything that you need.

Install time: approx 2-3 mins.
Manual Template Edits: 2
Settings: 2

Demo Link: http://www.islamic-life.com/forums/quran/

FAQ

Question: Can you please translate this mod in language "A"?
Answer: This mod contains 25 different languages: Albanian, Azerbaijani, Bosnian, Brazilian, Dutch, 3 English, Finnish, French, German, Indonesian, Italian, Japanese, Latin, Malaysian, Mexican, Polish, Portugese, Russian, Spanish, Swahili, Thai, Transliteration, Turkish, 2 Urdu. So, please do not request for a language if it can be found in this list.

Mod History:

Version 1.0
-Display the Qur'an in Arabic and English interpretation of the meaning (by Imam Pickthall - May Allah have mercy on him).
-Longer Surahs are handled in multiple pages
-Jump to a Surah functionality

Version 1.05
-Display Arabic text in charset UTF-8 instead of windows-1256
-Fixed bug: WOL (Who's online) not showing Surah's name

Version 1.05a
-Fixed Bug: incorrect database table name

Version 1.25
-Fixed SQL Injection and XSS flaws
-Added meaning of the Qur'aan in 24 different languages and 28 in total
-Added 2 Setting options
- Set default language for your forum
- Set number of ayaat to display on one page
-Added Different Colours for some of the languages
-User's selection of different languages is handled using AJAX

-Known Bugs and Limitations
- The Qur'aan (Arabic text) is fixed as default.
- Weird character maybe displayed for some of the languages
- Multiple Page selection destroys the use of AJAX; so users have to reselect the languages
if they were viewing the meaning of the Qur'aan in non-default languages.

Version 1.27
- Users can choose to get displayed number of ayaat on one page [AJAX]
- Users can choose to display ayaat "From" to "To" [AJAX]
- Display url for each ayah; so that it can be linked
- few other template changes

Standing Features:

1 - Search [coming up soon]
2 - More languages
3 - More English interpretations
4 - MP3 Recitations for each Surah by known Qaris
5 - Display text between two ayaat upon users' selection
6 - Allow users to set number of ayaat to display on one page
7 - Add Bangla and Chinese languages

This is brought to you by islamic-life.com and please click on install if you install this mod. Jazak Allah khair (May Allah grant you goodness) and have a good Ramadan!

rob01
01-19-2009, 10:58 PM
nice release.. thought i dont need it... but i just wanted to mark out a error..

since when Mexican is a language :p ?
mexican == spanish

cheers

kobenes
01-20-2009, 12:02 AM
thanks from Turkey

tafreeh
01-20-2009, 01:39 AM
Thanks allot man... this is very Good.... Specially the new ajax system added :)

muslimmomscafe
01-20-2009, 01:44 AM
Salaam Aleikum

InshaAllah i will be adding this to my forum. Thank you!
w/salaam

oPPoSiTe
01-20-2009, 08:12 AM
Very Thanks.

atmaca
01-20-2009, 09:16 AM
Thank you, very nice hack. ;)

abouahmed
01-20-2009, 09:37 AM
thanks 4 this mod...

installed.

zgrkaralar
01-20-2009, 09:40 AM
I'm have a turkish mean book and all ayat

adhmwagde
01-20-2009, 01:18 PM
very good mashallah

rizelim
01-20-2009, 03:25 PM
Jazak Allah khair (My Allah grant you goodness) Thank you very much!

yilmaz
01-20-2009, 06:30 PM
Thank you, very nice hack

ALHGR
01-21-2009, 03:12 AM
Thank you

جزاك الله خير وجعله في ميزان حسناتك

Phaedrus
01-21-2009, 03:16 AM
That is very cool. I don't think it would fit very well on my site, but it is very very cool!

AzaDiyaR
01-23-2009, 06:47 PM
thank you very much

AzaDiyaR
01-23-2009, 07:12 PM
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 30720 bytes) in /azadiwelat.org/includes/functions.php on line 3357

i cant install :( why ...

plss help me why i cant install :(

msalman
01-24-2009, 03:43 AM
^when did you get this error bro? when dumping the content into database?

kmohamed
01-24-2009, 04:03 AM
thanx
allah bless u bro great work

arabswell
01-24-2009, 04:07 AM
Thank you
جزاكم الله خير

anestetic
01-24-2009, 02:18 PM
DB error
Invalid SQL:
SELECT chpNo, chpName_en, COUNT(ayatNo) AS verses FROM quran GROUP BY chpNo ORDER BY chpNo ASC;

msalman
01-24-2009, 03:10 PM
^bro, did you run the quran_install.php file?

AzaDiyaR
01-24-2009, 08:39 PM
quran_install.php this one.. i can not run... if i run quran_install.php so give this problem..can not be install

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 30720 bytes) in /azadiwelat.org/includes/functions.php on line 3357

can you make quran.sql

so i can upload on my mysql..

mizamlar
01-24-2009, 11:35 PM
CHARACTERS ISO-8859-9 Turkish style
My domains islami web page...
sory arabic font no ¨ÙØ³Ù’مِ اللّهِ الر

my utf-8 and turkish characters bad...

No I can't speak english

digitaldome
01-25-2009, 10:10 AM
it posible to make random 'ayat' in between postbit ?

msalman
01-25-2009, 05:30 PM
quran_install.php this one.. i can not run... if i run quran_install.php so give this problem..can not be install

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 30720 bytes) in /azadiwelat.org/includes/functions.php on line 3357

can you make quran.sql

so i can upload on my mysql..bro, either way you'll have to upload the file in chunks due to its huge size so why don't you try to do that and if still doesn't work then i'll get the .sql file for you.

CHARACTERS ISO-8859-9 Turkish style
My domains islami web page...
sory arabic font no ?ِسْمِ اللّهِ الر

my utf-8 and turkish characters bad...

No I can't speak englishsorry, I can't help right now; i'll have to search for a solution to this character encoding issue

it posible to make random 'ayat' in between postbit ?I'll see; it depends on the demand.

drakola
01-27-2009, 11:10 AM
thank you
this is very well

جزاك الله خير

AzaDiyaR
01-27-2009, 08:23 PM
still not work :( plss make .sql

msalman
01-28-2009, 05:21 AM
^ok, i'm pretty busy with my university assignments; so, you'll have to wait till the weekend.

uydudoktoru
01-28-2009, 10:06 AM
Jazak Allah khair (My Allah grant you goodness) Thank you very much!

F Ali
02-15-2009, 06:23 AM
thank you

:)

ecreweb
02-15-2009, 10:55 AM
Selamün Aleyküm,

Very good hack, thanks msalman!

A.Chakery
02-18-2009, 03:37 AM
really thnx bro.

When I installed this mod , Nothing happened and when I run quran.php manually I have a db error :
Database error in vBulletin 3.8.1:

Invalid SQL:
SELECT chpNo, chpName_en, COUNT(ayatNo) AS verses FROM quran GROUP BY chpNo ORDER BY chpNo ASC;

MySQL Error : Table 'x98a55xd4s55x4_1x54s55ax8d1s8a11x8.quran' doesn't exist
Error Number : 1146
Request Date : Wednesday, February 18th 2009 @ 09:37:24 AM
Error Date : Wednesday, February 18th 2009 @ 09:37:24 AM
Script : http://www.xxxxxxxxxx.com/quran.php
Referrer :
IP Address : 217.219.16.201
Username : S-R
Classname : vB_Database
MySQL Version : 5.0.67-community
---
every one : Dont forget to mention God

yenibeyin
02-18-2009, 10:16 AM
I can't install quran_install.php

when i want to install on internet explorer

http://img15.imageshack.us/img15/2999/adszxl8.jpg

can you help me brothers


1 - Upload the file quran.php from the upload folder to your fourm's root directory :up:
2 - Download quran_install.zip from here: http://www.islamic-life.com/forums/quran_install.zip :up:
3 - Unzip the file and upload quran_install.php to your fourm's root directory:up:
4 - Run the quran_install.php file by invoking it through browser i.e. www.mywebsite.com/forums/quran_install.php. :down:

yenibeyin
02-24-2009, 06:21 AM
where are you brother mselman :)

msalman
02-26-2009, 04:08 PM
As-Salamu 'Alaykum brothers

I apologize for the delayed response, I've been very busy with University.

@yenibeyin
brother, I tried this http://www.yenibeyin.com/forum/quran_install.php and it seems to be working. I didn't get the 404 page not found error. If this doesn't solve the problem for you then give me like a day or two and I'll upload the .sql file for you.

@UIQarena
brother, you need to follow step 2-4 and make sure the file runs smoothlly, meaning it creates the table and dumps the content. If this doesn't work, wait for the .sql file.

matrixc0d3
02-26-2009, 04:09 PM
nice nice nice thanks

yenibeyin
02-27-2009, 08:30 AM
As-Salamu 'Alaykum brothers



@yenibeyin
brother, I tried this http://www.yenibeyin.com/forum/quran_install.php and it seems to be working. I didn't get the 404 page not found error. If this doesn't solve the problem for you then give me like a day or two and I'll upload the .sql file for you.



didn't working on my computer. Same problem

laptop1986
03-02-2009, 04:43 PM
نرد بالعربي بقي

:)

ربنا يبارك فيك يا رب

nooofe
03-02-2009, 05:10 PM
جزاك الله خيرا
thanks

abdulbasitsaeed
03-26-2009, 05:00 AM
Thank you very much for this add-on, msalman.

جزاک اللہ

yemenihor
03-26-2009, 02:59 PM
الله اكبر

الله شئ يفرح القلب

الى الامام اخي الى الامام

amjadz4
04-08-2009, 07:17 AM
jazakallah great mod! Installed!

m3lek
04-08-2009, 07:40 AM
thank you very much

azher
04-10-2009, 12:59 AM
salams,

thanks for the release...it's looking good....i'll hook up some vbAdvanced modules for random ayahs, etc. and PM you when they're ready, if you'd like to include them in a future release.

how's the search feature coming along? :)

fourat
04-10-2009, 01:55 AM
جزاك الله خير الجزاء
jazak allah khair

بانتضار خاصية البحث لأنها مهمة
waiting for searching Feature .. its very important

mallick
04-10-2009, 03:16 AM
Assalam o alaikum borthers and siters..
jazakallah khair msalman for this beautiful mod!

zuhair2008
04-10-2009, 04:03 AM
nice

Qatif
04-10-2009, 08:12 AM
Thank you

مع جزيل الشكر و التقدير

ARB4HOSTING.COM
04-15-2009, 05:36 PM
wa alykm elsalam

Thanks alot for this mod

wa barak allah fik

nNJ
04-15-2009, 06:30 PM
This mod contains 25 different languages: Albanian, Azerbaijani, Bosnian, Brazilian, Dutch, 3 English, Finnish, French, German, Indonesian, Italian, Japanese, Latin, Malaysian, Mexican, Polish, Portugese, Russian, Spanish, Swahili, Thai, Transliteration, Turkish, 2 Urdu. So, please do not request for a language if it can be found in this list.


Mexican is a language?

LOL

kho91
04-16-2009, 01:07 AM
thank you brother,

but i have a problem with the french language

probleme with : à and û...

nomoreturn
04-28-2009, 12:09 AM
installed on 3.8.2 but got error when i try to run install www.mastdunya.com/quran_install.php ( my root directory on main domain )

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 36348 bytes) in /home/******/public_html/quran_install.php on line 5749



i fixed this problem this problem related to my hosting server thanks now its working great

ckusmez
04-28-2009, 01:23 AM
thank you very good. I'll install this hack..

nomoreturn
05-04-2009, 06:09 AM
Salaam every one i need help to fix this in Urdu i attached image please have look at image

Urdu Jalandhry:

imported_ahw
05-04-2009, 05:54 PM
I Hope some other brothers would make some other important tools:
- Praying time for world cities, including notifier for the On-line users about the praying time in their own city.
- Short Says of Prophet -Peace be upon him- that can be post anywhere in the Forum.
- 30 lectures of Ramadan, it can be configured to start at 1s day of Ramadan, Then it start popping-up small notification about (today lecture) which include small lesson and a link to some audio lectures.
Any visit to islamicfinder.com will help more.

relaxiha
05-04-2009, 07:23 PM
thanks

Raz26
05-10-2009, 07:25 PM
thank you very much ... ALLAH bless you

msalman
05-12-2009, 04:02 PM
as-salamu 'alaykum

I apologize for not getting back to people who had issues, because I've been very busy lately. Please give me few more days and I'll post the solutions on the weekend, insha'Allah. wa barakAllahu feekum

islamicvd
05-21-2009, 04:57 PM
can u ADD a macedonien langue pls...thnx in advence

mondiuk
06-14-2009, 03:01 PM
this i grate thanks brother..

Neutral Singh
06-26-2009, 03:34 PM
Its a brilliant plugin. but how does it picks out the data as i do not see any data in the plugin. Does it fetch data from your side of server. Just curious.

TRABZONLUKAPLAN
07-04-2009, 07:03 PM
Thank you very much.

khaled155
08-15-2009, 10:55 PM
Thank you

shakirulqadree
09-06-2009, 08:55 PM
I want to apply a font for Arabic Ayah
and an other font to Urdu Translation
Is it posibal ?

AliMadkour
09-07-2009, 03:01 AM
great job,
جزاك الله خيراً

Ruler68jg
11-01-2009, 11:33 AM
Hello !

Iam useing Version 3.8.4 and I have tried many times , but I can not invoke the install_quran.php form my forum. all the others things work I mean i can import the product and have made changes 2 the templets and it shows up at the navbar bar as soon as I click on it takes me to a database page error, and I can understand it becuse I can not install or run the quran_install.php

Fatal error: Allowed memory size of 25165824 bytes exhausted (tried to allocate 35710 bytes) in /customers/xxxxxxx.xx/xxxxxxx.xx/httpd.www/xxxxformu/quran_install.php on line 4834

any comments on that ?

Ruler68jg
11-05-2009, 02:27 PM
where are you maslman ? you dont answer or asssist I have requested for assistence and sent you a PM too, this is typical of us muslims ! had it been bible or any other religion it would have been very easy to get help.

msalman
11-14-2009, 02:08 PM
^as-salamua alaykum

Jazak Allah khayran brother for your kind comment. Allhamdulillah, I was sick on bed due to surgery when you were complaining.

Right now, I cannot help much with this problem - few other users also had the same issue. The problem has to do with dumping text into the the database but your server runs out of memory because it takes a while for the process to finish. One way to get around this is to increase memory size of your sql server and other way is to wait for next update which will come by end of this year, insha'Allah.

I would suggest you brother to wait for next update please. thank you and may Allah bless you

digitaldome
12-25-2009, 01:59 PM
any update for this mod? need this mod for vb 4.0 gold..thanks

NAZIA
02-01-2010, 05:48 PM
Aslamao Alaikum!

this plug in us really nice, and important ..
I was using its old version, problem in old version (Quran with windows-1256 char set) is, there were some secuirty flaws...
that is why!
yesterday i have updated this version, with UTF-8 ;

But after changing language from windows-1256 to UTF-8, Most of the posts from my forum changed..

111482


So it is impossible to use new version; because it is destroying most of my threads and posts.. those were not posted in UTF-8 char set..
---------- :eek::eek::eek:

is there any solution to use this version with windows-1256 char..??

I am sorry, but i have edited your plugin to work with old database. that was windows-1256 ...

finally i got it, working normal again...

Here is the demo of glorious quran (http://bzupages.com/quran.php);
http://bzupages.com/quran.php
----
as i have read here; http://www.vbulletin.com/forum/showthread.php?331783-change-the-encoding-of-Arabic-from-windows-1256-to-utf-8 vB is not UTF ready. A lot of important features will not work.


So i have also upload modified plugin file and old database of complete quran (eng/urdu only) with windows-1256 char set; for other users whom are feeling problem by converting to UTF-8.

majidgbox
02-06-2010, 05:13 PM
thanks dear! that's good! :)

gsmlover4u
02-07-2010, 11:47 AM
any update of this mod?
need this mod for vb 4.0.1

Medina
02-11-2010, 09:11 AM
Does there comes any update for vB4?

ARSamo
08-06-2010, 08:59 AM
want to add Sindhi Language ... from here (http://zekr.org/quran/en/translations) or direct download from here (http://zekr.org/download/trans/amroti.trans.zip)......


kindly add sindhi language or add an option to add more languages ..
and also include different options for arabic and translation fonts.......

thanx for great mod

ARSamo
08-10-2010, 03:42 PM
any help .....?

ARSamo
02-06-2011, 04:13 PM
any update plz

misericorde
06-09-2011, 05:13 PM
Bonsoir,

Merci de pensée à la version 4.xx

blackberry
06-13-2011, 10:38 PM
thx installed