Resource icon

[CTA] Countdown Timer 1.7.5_00_EQnoble

No permission to download
Fantastic one but a problem. In my forum the countdown appear at the very end of the sidebar so it's almost useless. How can I take it to the top or near the top?

Thanks!
 
ftp to: /library/CTA/CDtimer/

edit: Listener.php

find:
case 'page_container_sidebar':


To place at the very top replace with:
Code:
case 'ad_sidebar_top':
ad_sidebar_top.webp





to appear below the login button/visitor panel case

Code:
 'ad_sidebar_below_visitor_panel':

ad_sidebar_below_visitor_panel.webp
 
Just installed (v1.4.5), and only getting 'West Brom v United 00:00:00' on mine.
Have set config as per /admin.php?options/list/cta_countdown

What have I missed?
 
Uninstall it completely and re-upload all files and reinstall. I believe there was a custom one I made for someone and shouldn't have been really used by others. It's settings may have carried over from a previous install of that custom version.

When youfirst install the addon you must go to the options panel and save changes even if you make none to make all of the settings take.
 
Uninstall it completely and re-upload all files and reinstall. I believe there was a custom one I made for someone and shouldn't have been really used by others. It's settings may have carried over from a previous install of that custom version.
Never had it installed before. Literally only installed for the very first time 15min ago

When youfirst install the addon you must go to the options panel and save changes even if you make none to make all of the settings take.
Yes, I've set title, URL link, date/time ... and saved.
 
Just uninstall the addon and reupload all of the files and reinstall.
Then set your timer and save.


The main version of this doesn't even have West Brom v United in it anywhere
cantfind.webp

________________________________________________________________________________


christmas.webp

By default it would read Days till Christmas
 
Just uninstall the addon and reupload all of the files and reinstall.
Then set your timer and save.
Same result!
Even did a delete (inc sub-dirs) of library/CTA/* after the uninstall and prior to re-install.

By default it would read Days till Christmas
The date default was 25/12/2013, which I changed to Apr(4) and saved.
Still getting 'West Brom v United 00:00:00' no matter what I do.
 
Code:
jQuery(document).ready(function() {
$('#countdown').countDown({
targetDate: {
'day': 14,
'month': 8,
'year': 2011,
'hour': 15,
'min': 00,
'sec': 0,
'utc': true
}
});
});

this is the config script from your site.....it says it expired in 2011

without looking at the admin side of things the only thing I can tell you is that your timer is set for aug 14 2011 at 3pm

If you want me to take a look at your acp I will but other than that I am limited as to what I can do for you...I test installed it 3 times on fresh xf installs and it displayed as it should.
 
Even after uninstalling the add-on, the following templates still remain:
cta_countdown_main
cta_countdown_sidebar
cta_countdown_timer

... with cta_countdown_sidebar containing the hard-coded 'West Brom v United':

HTML:
<div class="section">
    <div class="secondaryContent">
        <h3>West Brom v United</h3>
        <div id="countdown">
            <div class="dash first weeks_dash">
                <span class="dash_title">Weeks</span>
                <div class="digit">0</div>
                <div class="digit">0</div>
            </div>
            <div class="dash days_dash">
                <span class="dash_title">Days</span>
                <div class="digit">0</div>
                <div class="digit">0</div>
            </div>
            <div class="dash hours_dash">
                <span class="dash_title">Hrs</span>
                <div class="digit">0</div>
                <div class="digit">0</div>
            </div>
            <div class="dash minutes_dash">
                <span class="dash_title">Mins</span>
                <div class="digit">0</div>
                <div class="digit">0</div>
            </div>
            <div class="dash seconds_dash">
                <span class="dash_title">Secs</span>
                <div class="digit">0</div>
                <div class="digit">0</div>
            </div>
        </div>
    </div>
</div>

How do I delete remove these templates from my system??

A bug with XF or with the add-on that these were not deleted from the uninstall process?
 
this is the config script from your site.....it says it expired in 2011

without looking at the admin side of things the only thing I can tell you is that your timer is set for aug 14 2011 at 3pm

... coming from template cta_countdown_timer that remains after add-on uninstall:

Code:
<script type="text/javascript">
jQuery(document).ready(function() {
    $('#countdown').countDown({
        targetDate: {
            'day':      14,
            'month':    8,
            'year':    2011,
            'hour':    15,
            'min':      00,
            'sec':      0,
            'utc':        true
        }
    });
});
</script>
 
<xen:include template="cta_countdown_sidebar" />
 
Are you talking about the master style or your custom style

Both. Had to revert the templates for my style, then do the same for the parent style, and then the same for master style. I was then removed/deleted, and I tried installation again. This time it worked, and brought in the correct templates.

But I now have the issue where the counter is line wrapping for seconds - how to correct this so that the whole time fits on one line? Thanks.
 
edit this in the custom style since that is probably the only one with that width of sidebar....
Template: cta_countdown_main
Code:
.dash {
    width: 20px;
    height:44px;
    float: left;
    margin-left: 12px;
    padding-left: 12px;
    border-left: 1px solid @primaryLighterStill;
    position: relative;
}
 
    .first {
        margin-left: 20px;
        padding-left: 0;
        border-left: 0;
    }

Change it to read

Code:
.dash {
    width: 20px;
    height:44px;
    float: left;
    margin-left: 2px;
    padding-left: 12px;
    border-left: 1px solid @primaryLighterStill;
    position: relative;
}
 
    .first {
        margin-left: 11px;
        padding-left: 0;
        border-left: 0;
    }
 
Is it possible to display this on some HTML page after done with the setup in the setting? Of course in the same Xenforo system.
 
Yes, correct, EQnoble. For example: I have created a page node, then i want to display this one in the middle of HTML page, what do i need to copy to display it after done with setup in the setting of Xenforo?
 
Back
Top Bottom