Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: islam2hamy on September 13, 2008, 05:59:00 PM

Title: Listen to Quran
Post by: islam2hamy on September 13, 2008, 05:59:00 PM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=1392)

Listen to Quran in SMF :

    * For Muslim people ,
      Now you can Listen to Quran from your forum.

    * Work with : (smf 1.1.x & 2.0).

    * You can listen to Quran in arabic with 6 Reciters:
      Abdul-Baasit - As-Sudays & Shryam - Mishari-Rashid
      Saad Al Ghamdi - Sheikh-Ahmed-Ajmi - Shiekh Al-Huzaifi.

    * You can listen to translaton of Quran in 2 langage:
      Eglish - Urbu .

    * You can read the translaton of Quran in 7 langage:
      Deutsch - English - French - Indonesian - Malaysian
      Turkish - Urbu .

    * No modification needed for default theme.

        Theme modification for other themes:

open (index.template.php)

search for
Code: [Select]
// If the user is a guest, show [login] button.
if ($context['user']['is_guest'])
echo ($current_action == 'login' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'login' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=login">' , $txt[34] , '</a>
</td>' , $current_action == 'login' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

add before  it :

Code: [Select]
//Listen to Quran
echo ($current_action == 'quranonline' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'quranonline' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=quranonline">', $txt['quranonline_menu'], '</a>
</td>' , $current_action == 'quranonline' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

other mod : Quran Flash (http://custom.simplemachines.org/mods/index.php?mod=1387)
.
Title: Re: Listen to Quran
Post by: Minare on September 14, 2008, 10:13:15 AM
Thank you, nice mod bro, jazakallah khair
Title: Re: Listen to Quran
Post by: islam2hamy on September 14, 2008, 12:41:39 PM
Thank you, nice mod bro, jazakallah khair
you are welcome, thank you .  :)
Title: Re: Listen to Quran
Post by: Darkness_ on September 14, 2008, 03:27:07 PM
Your mods Are really superb.

But I've had one question.

Can't it be that we listen to the quran en get the translations the same way like this mod (listen to Quran)
but the pictures (lay out) of the quran flash mod.
I think the look of it would be super, and the functionality of both in one, should be an amazing mod.
Title: Re: Listen to Quran
Post by: noxe on September 14, 2008, 04:00:59 PM
excellent mod, thank you
Title: Re: Listen to Quran
Post by: islam2hamy on September 14, 2008, 04:14:44 PM
Your mods Are really superb.

But I've had one question.

Can't it be that we listen to the quran en get the translations the same way like this mod (listen to Quran)
but the pictures (lay out) of the quran flash mod.
I think the look of it would be super, and the functionality of both in one, should be an amazing mod.

first thank you for reply .

about your question ,
mmmm , i thing i can make in the same page the to mod (Quran Flash) at the top ,
and (Listen to Quran) under it , what about that ?
Title: Re: Listen to Quran
Post by: islam2hamy on September 14, 2008, 04:16:36 PM
excellent mod, thank you

you are welcome  ;) .
Title: Re: Listen to Quran
Post by: Darkness_ on September 14, 2008, 04:39:09 PM
Your mods Are really superb.

But I've had one question.

Can't it be that we listen to the quran en get the translations the same way like this mod (listen to Quran)
but the pictures (lay out) of the quran flash mod.
I think the look of it would be super, and the functionality of both in one, should be an amazing mod.

first thank you for reply .

about your question ,
mmmm , i thing i can make in the same page the to mod (Quran Flash) at the top ,
and (Listen to Quran) under it , what about that ?

I would reffer what I've Suggested.
Because I've asked my users about it and they tink the same way as me.
The reason of this, the flash quran looks very beautifull. (Every letter off the is beautifull)
The users asked me to integrate the layout off quran flash with the option to listen to it and read the meaning of it like in listen to quran.
If it can it would be superb.
Title: Re: Listen to Quran
Post by: islam2hamy on September 14, 2008, 05:02:27 PM
I would reffer what I've Suggested.
Because I've asked my users about it and they tink the same way as me.
The reason of this, the flash quran looks very beautifull. (Every letter off the is beautifull)
The users asked me to integrate the layout off quran flash with the option to listen to it and read the meaning of it like in listen to quran.
If it can it would be superb.
ok , i am understand what do you want to do ,
and i wish i cod help you

try this file
Title: Re: Listen to Quran
Post by: Darkness_ on September 14, 2008, 06:42:43 PM
This isn't exactly what I want :/

I don't want them in 1 page but both integrated in eachother.
But there is no need if you can't do it.

I thank you for yout fast reaction.
Title: Re: Listen to Quran
Post by: noxe on September 14, 2008, 10:22:14 PM
One question I have is I implemented the mod on another SMF forum which has Tinyportal installed. Subsequently, TP has both right and left side blocks turned on and the quran content in the middle was only half showing. Is there anyway to show this on a pop up or I know its a TP question but to turn off the right side blocks just for this action page?

Thank you
Title: Re: Listen to Quran
Post by: islam2hamy on September 15, 2008, 03:43:16 AM
This isn't exactly what I want :/

I don't want them in 1 page but both integrated in eachother.
But there is no need if you can't do it.

I thank you for yout fast reaction.
i know that isn't  exactly what you  want
and i wish i cod help you,
but i am very sorry ,i can't help
but i will send e-mail to quranflash.com about this idea .

One question I have is I implemented the mod on another SMF forum which has Tinyportal installed. Subsequently, TP has both right and left side blocks turned on and the quran content in the middle was only half showing. Is there anyway to show this on a pop up or I know its a TP question but to turn off the right side blocks just for this action page?

Thank you
i thing if you turn off the right and left side blocks for this page, it will be best.

you are welcome.
Title: Re: Listen to Quran
Post by: islam2hamy on September 15, 2008, 11:49:37 AM
i contact them and they told me that , they already are planning for this .
Title: Re: Listen to Quran
Post by: Darkness_ on September 15, 2008, 02:31:02 PM
Ohw okey thanks a lot.

If there that is done, could you then send me a PM?
Title: Re: Listen to Quran
Post by: islam2hamy on September 15, 2008, 03:55:41 PM
ok.
Title: Re: Listen to Quran
Post by: Qayyom Ashraf on October 18, 2008, 06:56:07 AM
Asslam o Alycom,

a little problem:

when we use QuranExplorer from the main site: http://www.quranexplorer.com/quran/ the high lighter option works perfectly, but from my site, it does not work.

it is the problem overall with all or just it happens to me.

visit/check the problem:  http://www.jangforum.com/index.php?action=quranonline

waiting your response
Title: Re: Listen to Quran
Post by: islam2hamy on October 19, 2008, 02:41:06 AM
alycom el sallam

i think it is happens to all

take a look in my site : http://www.al3abland.com/index.php?action=quranonline

i don't know what is wrong , but i will try to know what is the problem .
Title: Re: Listen to Quran
Post by: noxe on October 20, 2008, 05:28:19 PM
Asslam o Alycom,

a little problem:

when we use QuranExplorer from the main site: http://www.quranexplorer.com/quran/ the high lighter option works perfectly, but from my site, it does not work.

it is the problem overall with all or just it happens to me.

visit/check the problem:  http://www.jangforum.com/index.php?action=quranonline

waiting your response

i have a question, how were you able to get the mod showing in a full page without any left/right blocks from tinyportal? Thanks in advance
Title: Re: Listen to Quran
Post by: islam2hamy on October 21, 2008, 12:42:46 PM
Asslam o Alycom,

a little problem:

when we use QuranExplorer from the main site: http://www.quranexplorer.com/quran/ the high lighter option works perfectly, but from my site, it does not work.

it is the problem overall with all or just it happens to me.

visit/check the problem:  http://www.jangforum.com/index.php?action=quranonline

waiting your response

i have a question, how were you able to get the mod showing in a full page without any left/right blocks from tinyportal? Thanks in advance

if your tinyportal is v.1.0.x you can make the left/right blocks , hidden for  (quranonline) page.
Title: Re: Listen to Quran
Post by: islam2hamy on October 22, 2008, 01:44:27 AM
i don't understand any thing from you

(pm) me.
Title: Re: Listen to Quran
Post by: Deaks on October 23, 2008, 07:48:04 AM
i don't understand any thing from you

Please just ignore his post it seems to be an insult.
Title: Re: Listen to Quran
Post by: islam2hamy on October 23, 2008, 12:26:59 PM
i don't understand any thing from you

Please just ignore his post it seems to be an insult.

ok, thank you.
Title: Re: Listen to Quran
Post by: jannah on November 10, 2008, 01:19:05 AM
salam & peace to all,

thanx bro! i've been a long time yabb user (like 10 years) but am now glad i switched over to smf for all these nice little things.

take care!!
Title: Re: Listen to Quran
Post by: islam2hamy on November 10, 2008, 04:22:18 AM
you are welcome , bro.
Title: Re: Listen to Quran
Post by: vmgamer on November 10, 2008, 05:28:18 AM
Alhamdulillah,
Nice mod...........
I'll apply it as soon as possible
Title: Re: Listen to Quran
Post by: Fussilet on November 13, 2008, 01:47:36 PM
nice mod bro, Congrats and thanks ;)
Title: Re: Listen to Quran
Post by: islam2hamy on November 14, 2008, 01:48:35 AM
Alhamdulillah,
Nice mod...........
I'll apply it as soon as possible
thank you,
and you are welcome.

nice mod bro, Congrats and thanks ;)

thank you,
and you are welcome.
Title: Re: Listen to Quran
Post by: kizley on November 14, 2008, 06:40:57 AM
nice mod,
can we listen this with browsing other forum pages,i mean listen and browsing at same time.
Title: Re: Listen to Quran
Post by: islam2hamy on November 14, 2008, 10:23:11 AM
thank you,
you can open new tab or window.
Title: Re: Listen to Quran
Post by: Me313 on February 12, 2009, 06:17:42 PM
salamualeykum bro

i got this error when i uninstall the mod due to some problem. this code is at the top of my forum and i dont now hwo to remove it.

$txt['quranonline_menu'] = 'Listen to Quran'; $txt['quranonline_Power'] = 'Powered by (quranexplorer.com)';

with duas,
me
Title: Re: Listen to Quran
Post by: weightman on February 12, 2009, 10:53:41 PM
Great mod. I particularly like these quotes from the quran:

Qur'an:9:5     "Fight and kill the disbelievers wherever you find them, take them captive, harass them, lie in wait and ambush them using every stratagem of war."

Qur'an:9:29     "Fight those who do not believe until they all surrender, paying the protective tax in submission."

Qur'an:8:39     "Fight them until all opposition ends and all submit to Allah."

Qur'an:8:67     "It is not fitting for any prophet to have prisoners until he has made a great slaughter in the land."

Qur'an 66:2     "Allah has already sanctioned for you the dissolution of your vows."

Qur'an 8:59     "The infidels should not think that they can get away from us. Prepare against them whatever arms and weaponry you can muster so that you may terrorize them."

Title: Re: Listen to Quran
Post by: bolubeyi61 on September 06, 2009, 06:43:47 PM
Çok güzel bir çalışma olmuş. Önce flash olanını kurdum. Çok ağır geldi. Kullanması zordu. Şimdi bunu kurdum. İngilizceye de sesli olarak çeviriyor. Sesli olarak türkçeye çevirmek mümkün mü_ Var mı bu özelliği göremedim.
Title: Re: Listen to Quran
Post by: abidejaz4u on April 04, 2010, 09:22:23 AM
i installed this mod...but there is no option Showing for it

Title: Re: Listen to Quran
Post by: islam2hamy on April 04, 2010, 01:05:35 PM
it is not the default theme , you must manually add the Button
Title: Re: Listen to Quran
Post by: abidejaz4u on April 05, 2010, 05:48:24 AM
i did it ...now option is showing...only in guest user ...not for admin or not for any other user????
Title: Re: Listen to Quran
Post by: islam2hamy on April 07, 2010, 04:19:07 PM
can i see the code of the button please
Title: Re: Listen to Quran
Post by: abidejaz4u on April 09, 2010, 08:57:04 AM
this is my forum check it

innerforum.com/forum
Title: Re: Listen to Quran
Post by: abidejaz4u on April 11, 2010, 03:38:20 AM
w8ing
Title: Re: Listen to Quran
Post by: islam2hamy on April 13, 2010, 12:57:12 AM
   //Listen to Quran
   if ($context['allow_memberlist'])
      echo '<li><a href="', $scripturl, '?action=quranonline">' , $txt['quranonline_menu'] , '</a></li>';
Title: Re: Listen to Quran
Post by: abidejaz4u on April 20, 2010, 05:21:55 AM
Can i Replace it ?from wich file?
Title: Re: Listen to Quran
Post by: islam2hamy on April 21, 2010, 11:44:53 PM
yes , "inde.x.template.php"
Title: Re: Listen to Quran
Post by: abidejaz4u on May 02, 2010, 11:37:34 AM
can i add it or replace it
Title: Re: Listen to Quran
Post by: islam2hamy on May 04, 2010, 03:36:22 PM
 replace it
Title: Re: Listen to Quran
Post by: abidejaz4u on June 16, 2010, 04:02:54 AM
Ok its only showing in guest member not on admin or not on moderator?
Title: Re: Listen to Quran
Post by: mrtarkhan on February 27, 2011, 09:22:37 AM
hi,

thanks bro.

it's a good mod

and what about persian translate! how i can have this mod with persian translate (instate of english).

thanks again
Title: Re: Listen to Quran
Post by: islam2hamy on December 30, 2011, 09:22:12 AM
Updated :)
Title: Re: Listen to Quran
Post by: shadav on September 01, 2019, 02:31:55 PM
I'd love to be able to add this to my forum but unfortunately I get a 500 error after install and have to manual uninstall to get site back working, 2.0.15
great work btw (even if I can't seem to be able to use it)