Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Glorious Qur'an Details »»
Glorious Qur'an
Version: 1.25, by msalman msalman is offline
Developer Last Online: Jul 2013 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.7.x Rating:
Released: 09-09-2008 Last Update: 09-29-2008 Installs: 55
DB Changes Uses Plugins Template Edits
Additional Files Translations  
No support by the author.

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).

This mod will be further updated and supported in 3.8 section, here

I've decided to share this mod upon the request of few users. This mod should work on 3.7 and 3.6. 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.

You can find the readme file in the attached file and vbseo version can also be found in the attached file.

Install time: approx 2-3 mins.
Manual Template Edits: 2
Settings: 2[/b]

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.


Standing Features:

1 - Search
[s]2 - More languages[/s]
[s]3 - More English interpretations[/s]
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!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #82  
Old 10-02-2008, 09:25 PM
Veer Veer is offline
 
Join Date: Feb 2006
Posts: 733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Query:
Code:
SELECT ayat_en3 FROM community_quran WHERE chpNo = 1
Result:
Code:
An error occurred while attempting to execute your query. The following information was returned. 
error number: 1054 
error desc: Unknown column 'ayat_en3' in 'field list'
I'm also getting database errors:
Code:
Database error in vBulletin 3.7.0:

Invalid SQL:

SELECT * FROM community_quran WHERE chpNo = 1 ORDER BY ayatNo ASC LIMIT 0,;

MySQL Error   : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
Error Number  : 1064

Request Date  : Friday, October 3rd 2008 @ 03:26:30 AM
Error Date    : Friday, October 3rd 2008 @ 03:26:30 AM
Script        : http://www.mydomain.com/quran.php?do=displaysura&sno=1

Referrer      : http://www.mydomain.com/quran/
and this one:
Code:
Database error in vBulletin 3.7.0:

Invalid SQL:
SELECT * FROM community_quran WHERE chpNo = 3 ORDER BY ayatNo ASC LIMIT 0,;

MySQL Error   : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
Error Number  : 1064

Request Date  : Thursday, October 2nd 2008 @ 08:04:49 PM
Error Date    : Thursday, October 2nd 2008 @ 08:04:49 PM
Script        : http://www.mydomain.com/quran.php?do=displaysura&sno=3
I think i have to uninstall the old version, may be the newer version will work.
Reply With Quote
  #83  
Old 10-02-2008, 10:51 PM
msalman msalman is offline
 
Join Date: Jun 2007
Location: islamic-life.com
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^you need to change your character set to utf-8
Reply With Quote
  #84  
Old 10-02-2008, 11:43 PM
Megatr0n Megatr0n is offline
 
Join Date: Jul 2007
Posts: 455
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That causes problems for my forum if I set it to utf-8.

Anyway, around that?
Reply With Quote
  #85  
Old 10-03-2008, 01:26 AM
Nadeemjp Nadeemjp is offline
 
Join Date: Aug 2008
Location: Japan
Posts: 601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

JAzak Allah Brother for the Japanese Translation.
by the way the zip folder has vbseo folder as well. which one is the latest and which one do you recommend? i have vb3.7.3 version
Reply With Quote
  #86  
Old 10-03-2008, 02:51 AM
Veer Veer is offline
 
Join Date: Feb 2006
Posts: 733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by msalman View Post
^you need to change your character set to utf-8
Not only Character Set my whole Database (including tables) is in UTF-8
Reply With Quote
  #87  
Old 10-03-2008, 10:52 AM
akulion's Avatar
akulion akulion is offline
 
Join Date: Nov 2005
Location: Canada
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nominated for mod of the month
Reply With Quote
  #88  
Old 10-03-2008, 11:48 AM
msalman msalman is offline
 
Join Date: Jun 2007
Location: islamic-life.com
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Megatr0n View Post
That causes problems for my forum if I set it to utf-8. Anyway, around that?
hmm...if the text for other languages is appearing fine then I can get you the Arabic text in windows-156 format; you'll have to wait for few days though.

Quote:
Originally Posted by Nadeemjp View Post
JAzak Allah Brother for the Japanese Translation.
by the way the zip folder has vbseo folder as well. which one is the latest and which one do you recommend? i have vb3.7.3 version
Barak Allahu feeka brother. Yes, the vbseo folder has the vbseo version of this mod; the only difference is that it has minor changes (the name of the surah in the url and custom re-write rules).

Quote:
Originally Posted by Pehchaan View Post
Not only Character Set my whole Database (including tables) is in UTF-8
bro, that comment was for brother megatr0n and it seems his post was deleted. It seems your installation of database and product file wasn't correct; so, try removing it completely (product and files from the server) and re-install it.

Quote:
Originally Posted by akulion View Post
nominated for mod of the month
lol, Jazak Allah khair
Reply With Quote
  #89  
Old 10-03-2008, 12:33 PM
msalman msalman is offline
 
Join Date: Jun 2007
Location: islamic-life.com
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by akulion View Post
hey bro any chance of developing a "random verse" module for vbadvanced ? If not would it be possible to get the PHP code to generate random verses with english translation? That way I could try and see if I can get someone to make the mod over at vbadvanced.com
bro, I don't have vbadvanced on my forum so I can't really test it. To put it simple, I don't know what changes to make in vbadvanced. I can get you the php code but you'll have to ask someone how to include it on vbadvanced.

try this, let me know if this works:
Reply With Quote
  #90  
Old 10-03-2008, 12:49 PM
Megatr0n Megatr0n is offline
 
Join Date: Jul 2007
Posts: 455
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by msalman View Post
hmm...if the text for other languages is appearing fine then I can get you the Arabic text in windows-156 format; you'll have to wait for few days though.

Barak Allahu feeka brother. Yes, the vbseo folder has the vbseo version of this mod; the only difference is that it has minor changes (the name of the surah in the url and custom re-write rules).

bro, that comment was for brother megatr0n and it seems his post was deleted. It seems your installation of database and product file wasn't correct; so, try removing it completely (product and files from the server) and re-install it.

lol, Jazak Allah khair
Jazakullah bro.
Reply With Quote
  #91  
Old 10-03-2008, 02:19 PM
akulion's Avatar
akulion akulion is offline
 
Join Date: Nov 2005
Location: Canada
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for the vbadvanced file bro, the module is added easily using vbadvanced "add a php file as a module" option, it simply had to be uploaded to its modules directory..however the display of the ayah is a bit strange, could you shed some light on to why it may be doing so? It also displays the english verse 2 times for some reason and shows all the variable names in the output

Screen shot:
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:00 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04716 seconds
  • Memory Usage 2,325KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete