The BoardMod Project
 The Project | News | Downloads | Mods | FAQ | Templates | Chat | Forum
BoardMod Support Forum
[ Home | Help | Search | Login | Register ]  

31.07.10 at 09:52:10, Welcome, Guest. Please Login or Register

Choose Language:
Page Index Toggle Pages: 1
Countdown Event V1.1b1 for YaBB 2.4 (Read 1906 times)
Jeff
Moderator
*****
Offline

, Netherlands
Posts: 2528



19.04.09 at 12:00:05  
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: 16.04.10 at 20:23:05 by Jeff »  
IP Logged
 

greetings
Jeff
!! Busy with Mods for YaBB 2.4 !!
Johnfromhere
Bloody Novice
*
Offline

Posts: 20



Reply #1 - 18.07.09 at 14:18:44  
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.
 
IP Logged
 
Jeff
Moderator
*****
Offline

, Netherlands
Posts: 2528



Reply #2 - 18.07.09 at 15:00:29  
Johnfromhere wrote on 18.07.09 at 14:18:44:
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.
 
IP Logged
 

greetings
Jeff
!! Busy with Mods for YaBB 2.4 !!
Johnfromhere
Bloody Novice
*
Offline

Posts: 20



Reply #3 - 18.07.09 at 18:36:04  
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.
 
IP Logged
 
Johnfromhere
Bloody Novice
*
Offline

Posts: 20



Reply #4 - 19.07.09 at 12:57:01  
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.
 
IP Logged
 
Johnfromhere
Bloody Novice
*
Offline

Posts: 20



Reply #5 - 23.07.09 at 09:21:27  
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.
 
IP Logged
 
Jeff
Moderator
*****
Offline

, Netherlands
Posts: 2528



Reply #6 - 23.07.09 at 19:03:14  
New update.

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

greetings
Jeff
!! Busy with Mods for YaBB 2.4 !!
Captain John
Hacker Expert
****
Offline

Reno Beach, Ohio, USA
Posts: 250



Reply #7 - 21.12.09 at 22:28:59  
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: 22.12.09 at 00:06:14 by Captain John »  
IP Logged
 

Love to live and love on the water
Jeff
Moderator
*****
Offline

, Netherlands
Posts: 2528



Reply #8 - 22.12.09 at 05:34:45  
Captain John wrote on 21.12.09 at 22:28:59:
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 19.04.09 at 12:00:05:
NOTE: If you have a custom template, create a new dir. for your image
Example: /yabbfiles/ModImages/Countdown/templatename/countdown.gif (Binary)

 
IP Logged
 

greetings
Jeff
!! Busy with Mods for YaBB 2.4 !!
Captain John
Hacker Expert
****
Offline

Reno Beach, Ohio, USA
Posts: 250



Reply #9 - 22.12.09 at 15:13:28  
Great ... another MOD that is different !  From the normal ...
 
IP Logged
 

Love to live and love on the water
Page Index Toggle Pages: 1
© 2000-2009 by - All rights reserved.

SourceForge.net Logo
 The Project | News | Downloads | Mods | FAQ | Templates | Chat | Forum