vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Miscellaneous Hacks - Glorious Qur'an (https://vborg.vbsupport.ru/showthread.php?t=202398)

msalman 01-19-2009 10:00 PM

Glorious Qur'an
 
1 Attachment(s)
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]
[s]2 - More languages[/s]
[s]3 - More English interpretations[/s]
4 - MP3 Recitations for each Surah by known Qaris
[s]5 - Display text between two ayaat upon users' selection[/s]
[s]6 - Allow users to set number of ayaat to display on one page[/s]
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

Code:

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

Quote:

Originally Posted by AzaDiyaR (Post 1723674)
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.

Quote:

Originally Posted by mizamlar (Post 1723797)
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

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

Quote:

Originally Posted by digitaldome (Post 1724099)
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

1 Attachment(s)
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

Quote:

Originally Posted by msalman (Post 1755357)
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.

جزاک اللہ


All times are GMT. The time now is 08:05 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01309 seconds
  • Memory Usage 1,818KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete