Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
bmw Lunar Calendar - Show Lunar Day in Calendar Details »»
bmw Lunar Calendar - Show Lunar Day in Calendar
Version: 1.00, by bodaudinh bodaudinh is offline
Developer Last Online: Dec 2013 Show Printable Version Email this Page

Category: Calendar Enhancements - Version: 3.8.x Rating:
Released: 04-07-2009 Last Update: Never Installs: 7
Uses Plugins Template Edits
Re-useable Code Additional Files Is in Beta Stage  
No support by the author.

Show the Lunar Day in Calendar
-

Install:
1. Import the product-bmwLunarCal.xml
2. Upload file functions_calendar.lunar.php to ./includes/ folder.
3. Perform the following template edits. (2 templates in CALENDAR Templates)
-- calendar_monthly_day
-- calendar_monthly_day_other

4. Add .lunar ==> Additional CSS Definitions
Code:
.lunar{
float: right; display: inline; /*fixes IE float bug*/ text-align: right; font-size:7pt; //Change font-size font-weight:normal; color:#CCCCCC; //Change color width:100%;
}
Templates Edit:
Template Edit 1: calendar_monthly_day
- FIND
Code:
        <div class="thead">

            <span style="float:$stylevar[right]">
                <if condition="$show['daylink']">
                    <a href="calendar.php?$session[sessionurl]do=getinfo&amp;day=$year-$month-$day&amp;c=$calendarid">$day</a>
                <else />
                    $day
                </if>
            </span>
            $dayname
        </div>
- BELOW ADD
Code:
        <!-- bmwLunarCal -->
            <if condition="$vboptions[bmwLunarCal_status]">
                <span class=lunar>$al[0]/$al[1]</span>
            </if>
        <!-- End - bmwLunarCal -->
Template Edit 2: calendar_monthly_day_other
- FIND
Code:
<div class="thead">
        <span style="float:$stylevar[right]">$otherday$day</span>
        $otherdayname$dayname
    </div>
- BELOW ADD

Code:
<!-- bmwLunarCal -->
            <if condition="$vboptions[bmwLunarCal_status]">
                <span class=lunar>$al[0]/$al[1]</span>
            </if>
        <!-- End - bmwLunarCal -->
#================================================= =====
You are done.

Please remember to click install if you have used this.
Support will only be given to those who click install.

Download Now

File Type: zip vbLunarCal.zip (5.1 KB, 51 views)

Screenshots

File Type: jpg screenshot-bmwLunarCal.jpg (98.5 KB, 0 views)

Show Your Support

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

Comments
  #2  
Old 04-08-2009, 02:56 AM
Jasem's Avatar
Jasem Jasem is offline
 
Join Date: Feb 2006
Location: www.menokia.com
Posts: 594
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice work, thank you!

Installed
Reply With Quote
  #3  
Old 04-08-2009, 09:38 AM
Stoebi Stoebi is offline
 
Join Date: Apr 2006
Location: Germany, Berlin
Posts: 331
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, and thanks for full instruction in the archive.
Reply With Quote
  #4  
Old 04-08-2009, 07:23 PM
yahoooh yahoooh is offline
 
Join Date: Oct 2002
Posts: 567
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank u
is there away to give times of pray in different methods acording to mecca ,azhar,hanafi methods and ofcourse for all cities on the world
Reply With Quote
Reply

Thread Tools

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 04:28 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.03815 seconds
  • Memory Usage 2,246KB
  • Queries Executed 18 (?)
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
  • (5)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (3)postbit
  • (2)postbit_attachment
  • (4)postbit_onlinestatus
  • (4)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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete