Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Countdown Event V1.1b1 for YaBB 2.4 (Read 4 times)
Jeff
God Member
*****
Offline


There are no bugs there
are only features

Posts: 2552
Joined: Jan 14th, 2005
Gender: Male
Countdown Event V1.1b1 for YaBB 2.4
Apr 19th, 2009 at 12:00pm
Print Post  
Hello YaBBer

deti and I update Countdown Mod for YaBB 2.4

-----------------------------------------------
C o u n t d o w n  E v e n t V1.1b1
-----------------------------------------------


Description:
=============
Adds a javascript countdown to a certain date in the board index.

Live Demo:
=============
http://www.yabbworld.com/cgi-bin/forum/YaBB.pl

Countdown Event Settings:
=============
The Event can be changed from within the admin section.



Installation:
=============
1) Modify YaBB files using BoardMod or manually.
2) Load modified files to your server in ASCII mode.  

AdminIndex.pl
/Admin/AdminSubList.pl (ASCII)
/Admin/ManageTemplates.pl (ASCII)
/Admin/ModList.pl (ASCII)
/Sources/BoardIndex.pl (ASCII)
/Templates/default/BoardIndex.template (ASCII)
/Templates/yabb21/BoardIndex.template (ASCII)

NOTE: Upload BoardIndex.template to your custom template dir.
Example: /Templates/templatename/BoardIndex.template (ASCII)

From Package:
=============
/Admin/CountdownAdmin.pl (ASCII and Chmod 755)
/Languages/English/Countdown.lng (ASCII and Chmod 666)
/Sources/Countdown.pl (ASCII and Chmod 755)

/yabbfiles/ModImages/Countdown/default/countdown.gif (Binary)
/yabbfiles/ModImages/Countdown/yabb21/countdown.gif (Binary)

NOTE: If you have a custom template, create a new dir. for your image
Example: /yabbfiles/ModImages/Countdown/templatename/countdown.gif (Binary)

Credits:
=============
Mod: Countdown Mod [beta 1]
Original code by Christian Tribelnig (XTC) http://www.yabbserver.com

Extended Version Countdown Event V1.1 for YaBB 2.4 by
- Jeffrey Man (Jet Li) http://www.yabbworld.com
- Thomas Müller (ThM) http://www.yabbwelt.de
- Detlef Pilzecker (deti)

Mod History:
=============
Status Countdown Event V1.1b1 ( July 23th, 2009 )
- Countdown Setting Layout updated

Status Countdown Event V1.1 ( April 19th, 2009 )
- Updated for YaBB 2.4
- XHTML Valid on BoardIndex

ToDo List:
=============
- Add Color Picker

Download:
=============
Countdown Event V1.1
« Last Edit: Jan 1st, 2011 at 11:05am by Jeff »  

greetings
Jeff
Back to top
WWW  
IP Logged
 
Johnfromhere
New Member
*
Offline



Posts: 23
Joined: May 21st, 2008
Re: Countdown Event V1.1 for YaBB 2.4
Reply #1 - Jul 18th, 2009 at 2:18pm
Print Post  
Hi JetLi

Many thanks for the update of this mod.

I just installed it and in admin, when I was setting up an event, the 'day' and all the following figures (time etc) were misaligned.  I filled them in and when I tried to Save' I got :-
Untrapped Error :
Illegal octal digit '9' at ./Variables/countdown.txt line 10, at end of line Compilation failed in require at ./Admin/CountdownAdmin.pl line 29. Compilation failed in require at AdminIndex.pl line 123. '

Have I done something wrong or is this a bug, please?

Regards.

John.

PS - Sorry I just realised that I might have posted this in the wrong place - think it should be in 'Mod Troubleshooting'?
Apologies.
  
Back to top
 
IP Logged
 
Jeff
God Member
*****
Offline


There are no bugs there
are only features

Posts: 2552
Joined: Jan 14th, 2005
Gender: Male
Re: Countdown Event V1.1 for YaBB 2.4
Reply #2 - Jul 18th, 2009 at 3:00pm
Print Post  
Johnfromhere wrote on Jul 18th, 2009 at 2:18pm:
Untrapped Error :
Illegal octal digit '9' at ./Variables/countdown.txt line 10, at end of line Compilation failed in require at ./Admin/CountdownAdmin.pl line 29. Compilation failed in require at AdminIndex.pl line 123. '

wrong input. Days should be 01 - 09

open Variables/countdown.txt and fix it.
  

greetings
Jeff
Back to top
WWW  
IP Logged
 
Johnfromhere
New Member
*
Offline



Posts: 23
Joined: May 21st, 2008
Re: Countdown Event V1.1 for YaBB 2.4
Reply #3 - Jul 18th, 2009 at 6:36pm
Print Post  
Thanks for your quick reply, JetLi.

I looked at Variables\countdown.txt and the day was 09 !
I altered it to a straight '9' with no zero and it works!

The formatting in the admin screen still seems not aligned properly after the  'Target month of countdown (in number format)'.

(I tried to post a JPG image here using the 'Insert Image' button but couldn't!)

Regards

John.
  
Back to top
 
IP Logged
 
Johnfromhere
New Member
*
Offline



Posts: 23
Joined: May 21st, 2008
Re: Countdown Event V1.1 for YaBB 2.4
Reply #4 - Jul 19th, 2009 at 12:57pm
Print Post  
The misalignment in the admin screen appears to be something to do with the length of the lines in Languages/English/Countdown.lng :-

Quote:
'03' => 'Target month of countdown (in number format)',
'04' => 'Target date of countdown',
'05' => 'Target hour of countdown (in 24-hour format)',


If it is altered to :-

Quote:
'03' => 'Target month of countdown',
'04' => 'Target date of countdown',
'05' => 'Target hour of countdown',


the formatting appears correct.

I assume that whatever formats the text (elsewhere in the routine) needs altering but I do not have sufficient knowledge to find out where  Smiley.

Hope this helps.

Regards.

John.
  
Back to top
 
IP Logged
 
Johnfromhere
New Member
*
Offline



Posts: 23
Joined: May 21st, 2008
Re: Countdown Event V1.1 for YaBB 2.4
Reply #5 - Jul 23rd, 2009 at 9:21am
Print Post  
I just learned how to post an image!

Here's what my Admin screen looks like - with the strange formatting:-



Any ideas please?

Many thanks.

John.
  
Back to top
 
IP Logged
 
Jeff
God Member
*****
Offline


There are no bugs there
are only features

Posts: 2552
Joined: Jan 14th, 2005
Gender: Male
Re: Countdown Event V1.1b1 for YaBB 2.4
Reply #6 - Jul 23rd, 2009 at 7:03pm
Print Post  
New update.

Mod History:
=============
Status Countdown Event V1.1b1 ( July 23th, 2009 )
- Countdown Setting Layout updated
  

greetings
Jeff
Back to top
WWW  
IP Logged
 
Captain John
Senior Member
****
Offline


Pass to Port !

Posts: 264
Location: Reno Beach
Joined: Jan 18th, 2007
Gender: Male
Re: Countdown Event V1.1b1 for YaBB 2.4
Reply #7 - Dec 21st, 2009 at 10:28pm
Print Post  
maybe a glitch ...

icon display works great in the default template:
Forum/yabbfiles/ModImages/Countdown/default/countdown.gif

But if using another different template:
Forum/yabbfiles/ModImages/Countdown/midnyte/countdown.gif

requires coping icon to a newly created folder under Modimages/Countdown (for each template used).
« Last Edit: Dec 22nd, 2009 at 12:06am by Captain John »  

Love to live and love on the water
Back to top
 
IP Logged
 
Jeff
God Member
*****
Offline


There are no bugs there
are only features

Posts: 2552
Joined: Jan 14th, 2005
Gender: Male
Re: Countdown Event V1.1b1 for YaBB 2.4
Reply #8 - Dec 22nd, 2009 at 5:34am
Print Post  
Captain John wrote on Dec 21st, 2009 at 10:28pm:
But if using another different template:
Forum/yabbfiles/ModImages/Countdown/midnyte/countdown.gif

requires coping icon to a newly created folder under Modimages/Countdown (for each template used

Jeff wrote on Apr 19th, 2009 at 12:00pm:
NOTE: If you have a custom template, create a new dir. for your image
Example: /yabbfiles/ModImages/Countdown/templatename/countdown.gif (Binary)

  

greetings
Jeff
Back to top
WWW  
IP Logged
 
Captain John
Senior Member
****
Offline


Pass to Port !

Posts: 264
Location: Reno Beach
Joined: Jan 18th, 2007
Gender: Male
Re: Countdown Event V1.1b1 for YaBB 2.4
Reply #9 - Dec 22nd, 2009 at 3:13pm
Print Post  
Great ... another MOD that is different !  From the normal ...
  

Love to live and love on the water
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint