SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
May 23, 2012, 01:26:59 pm

Login with username, password and session length
Members
Total Members: 10069
Latest: tetsujrock
Stats
Total Posts: 28682
Total Topics: 4975
Online Today: 94
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 0
Guests: 53
Total: 53
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
| | | | |-+ 
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: [Mod] Quran Flash (updated : 2008/9/10)  (Read 2293 times)
islam2hamy
Newbie
*
Offline Offline

Posts: 1


View Profile
« on: September 07, 2008, 06:50:12 am »

Quran Flash
SMF Version: 1.1.5 & 2.0

Description:

Quran flash in SMF :

    *updated : 2008/9/10
      v1.5 , now  work  with  (smf 1.1.x & 2.0).
      v1.5 , enable the button for Guests/unregistered Visitors.

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

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

    * if you want Quran with english translation go to :

        more options > book type > english transliteration

    * No modification needed for default theme.

        Theme modification for other themes:

open (index.template.php)

search for
Code:
    // the [member] list button
    if ($context['allow_memberlist'])
        echo ($current_action == 'mlist' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
                <td valign="top" class="maintab_' , $current_action == 'mlist' ? 'active_back' : 'back' , '">
                    <a href="', $scripturl, '?action=mlist">' , $txt[331] , '</a>
                </td>' , $current_action == 'mlist' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

add before  it :

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

Link to Mod
« Last Edit: September 10, 2008, 11:35:12 am by islam2hamy » Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Recent
[May 21, 2012, 08:54:11 am]

[May 20, 2012, 11:06:52 am]

[May 20, 2012, 05:58:11 am]

[May 19, 2012, 06:16:58 pm]

[May 19, 2012, 05:42:37 pm]

[May 18, 2012, 03:08:38 pm]

[May 17, 2012, 06:07:46 pm]

[May 17, 2012, 02:22:07 pm]

[May 17, 2012, 12:38:16 pm]

[May 15, 2012, 09:32:27 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.16 | SMF © 2006-2011, Simple Machines LLC
TinyPortal v0.9.7 © Bloc
SMF and SimpleMachines are registered trademarks of Simple Machines. SMFHacks.com is not affiliated with nor endorsed by Simple Machines.
Page created in 0.197 seconds with 21 queries.