Welcome, Guest. Please Login or Register.
March 28, 2024, 03:08:27 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  Development  |  Completed mods  |  [Done] Calendar Mod [Ver 1.4] « previous next »
Pages: 1 [2] 3 4 ... 23 Reply Ignore Print
Author Topic: [Done] Calendar Mod [Ver 1.4]  (Read 147849 times)
tazthedev
Full Member
***
Posts: 161


I'm a llama!

Re:[Beta] Calendar Mod
« Reply #15 on: April 30, 2002, 06:13:01 PM »
Reply with quote

what a great mod. thx !!
Logged
Myiasis
Full Member
***
Posts: 178


I'm a llama!

Re:[Beta] Calendar Mod
« Reply #16 on: April 30, 2002, 08:18:30 PM »
Reply with quote

Quote from: tazthedev on April 30, 2002, 06:13:01 PMwhat a great mod. thx !!

Thanks, and yer welcome. :)

QuoteSo in which File I have to do some translations to german?

I wasn't really sure how to deal with the language issues. I used the months and days from the language files, but didn't know what to do with my other text.  What do most mods do about that? Do they just put text in the files like I did or is there some other method they use?

Editing a language file didn't seem like a best choice at the time. Even if I just stuck to the english file I'm not sure how mods would insert data into that without clashing with the board and other mods on indexes. And if you stick it in a language file, then whoever is using the mod has to be sure that is in every language file they use or the prompts aren't going to work at all in the mod.
Logged
Ironman
Guest
Re:[Beta] Calendar Mod
« Reply #17 on: April 30, 2002, 10:10:54 PM »
Reply with quote

QuoteI used the months and days from the language files, but didn't know what to do with my other text.  What do most mods do about that?

Most mods using only the english Language File, so if you've got a board using another Language, you have to open the english.lng, search for the modifications cut it out and paste to your language File.
Then you've got to open your.lng and translate it.

Not very comfortably, but if there's no other way...  ::)

Well, I think the Mod-Programmers could do it so, that their mods use the Board Language File...  ;D
Logged
vorapoap (vory)
Sr. Member
****
Posts: 424


Not considered either a living or death

WWW
[cosmetic] Calendar Mod
« Reply #18 on: May 01, 2002, 05:08:48 PM »
Reply with quote

Do you like that yellow color for today date?.. No I don't.. Let change the whole box's color.!  :)

In Calendar.Mod
Search...
At Line 144

            if ($today[5] == $curMonth[5] && $today[4] == $curMonth[4] && $nDay == $today[3])
               print "<font color=#FFFF40><b>[$nDay]</b></font>";
            else
               print $nDay;

            if (isset($bday[$nDay]))
               print ("<br><FONT size=\"1\">$bday[$nDay]</font>");

            if (isset($events[$nDay]))
            {
               // If there were also birthdays, make a space.
               if (isset($bday[$nDay]))
                  print "<br>";
               print ("<br><FONT size=\"1\">$events[$nDay]</font>");
            }
Replace with
            if ($today[5] == $curMonth[5] && $today[4] == $curMonth[4] && $nDay == $today[3]) {
               print "<table cellspacing=\"0\" cellpadding=\"0\" width=\"100%\"><td  class=\"windowbg3\" height=\"100\" valign=\"top\">";
               $Vtoday=true;
               print "<B>[$nDay]</B>";
            } else {
               $Vtoday=false;
               print "$nDay";
            }

            if (isset($bday[$nDay]))
               print ("<br><FONT size=\"1\">$bday[$nDay]</font>");

            if (isset($events[$nDay]))
            {
               // If there were also birthdays, make a space.
               if (isset($bday[$nDay]))
                  print "<br>";
               print ("<br><FONT size=\"1\">$events[$nDay]</font>");
            }
            if ($Vtoday)  print "</td></table>";
« Last Edit: May 01, 2002, 05:10:48 PM by vorapoap » Logged

On the route to hell...
Koth
Jr. Member
**
Posts: 91


Your mother was a ham sandwich.

Re:[Beta] Calendar Mod
« Reply #19 on: May 01, 2002, 07:56:56 PM »
Reply with quote

Lol I put all the changes in and yet no calendar button on my min screen so I check the mod settings file and when I try to enable the calendar all goes well cept it doesnt enable.. I checked to see if other settings were being saved and they are its just this one any clue?
Logged


 
vorapoap (vory)
Sr. Member
****
Posts: 424


Not considered either a living or death

WWW
Re:[Beta] Calendar Mod
« Reply #20 on: May 01, 2002, 08:30:17 PM »
Reply with quote

Quote from: Koth on May 01, 2002, 07:56:56 PMLol I put all the changes in and yet no calendar button on my min screen so I check the mod settings file and when I try to enable the calendar all goes well cept it doesnt enable.. I checked to see if other settings were being saved and they are its just this one any clue?

Well.. You forgot to upload index.php :D
Logged

On the route to hell...
Koth
Jr. Member
**
Posts: 91


Your mother was a ham sandwich.

Re:[Beta] Calendar Mod
« Reply #21 on: May 01, 2002, 08:32:36 PM »
Reply with quote

Quote from: vorapoap on May 01, 2002, 08:30:17 PMWell.. You forgot to upload index.php :D

Ack a school boy mistake :'(  I feel so empty and void inside.

Thanks for answering I am gonna go feel dumb in a corner now.  hehehe
Logged


 
Koth
Jr. Member
**
Posts: 91


Your mother was a ham sandwich.

Re:[Beta] Calendar Mod
« Reply #22 on: May 01, 2002, 08:36:33 PM »
Reply with quote

although that still didnt help :(

Though I feel better knowing that even with that show of forgetfullness and moment of scatterbrainology im still sc*wed up lol I think ???
« Last Edit: May 01, 2002, 08:43:01 PM by Koth » Logged


 
Webby
Beta Tester
YaBB God
*****
Posts: 829


Some mistakes are too funny to make only once.

ICQ - 9814812webby@salesplaza.nl WWW
Re:[Beta] Calendar Mod
« Reply #23 on: May 01, 2002, 08:41:51 PM »
Reply with quote

Nice, that little add-on  ;D
Logged

Webby of salesplaza.nl
The YaBBSE buttongenerator : Click HERE !
vorapoap (vory)
Sr. Member
****
Posts: 424


Not considered either a living or death

WWW
Re:[Beta] Calendar Mod
« Reply #24 on: May 01, 2002, 08:47:04 PM »
Reply with quote

Quote from: Koth on May 01, 2002, 08:36:33 PMalthough that still didnt help :(

Though I feel better knowing that even with that show of forgetfullness and moment of scatterbrainology im still sc*wed up lol I think ???

It should work.. Did you forget any other files??? You should get the calendar.gif on the menu.
Logged

On the route to hell...
Koth
Jr. Member
**
Posts: 91


Your mother was a ham sandwich.

Re:[Beta] Calendar Mod
« Reply #25 on: May 01, 2002, 08:49:12 PM »
Reply with quote

I applied the mod by hand (as oppose to board mod which I dont like I used find and replace in Cute ftp pro)

I uploaded index.php and Calendar.php (calendar initially to sources and then to the root aswell just incase)

and the gifs ;)
« Last Edit: May 01, 2002, 08:51:10 PM by Koth » Logged


 
vorapoap (vory)
Sr. Member
****
Posts: 424


Not considered either a living or death

WWW
Re:[Beta] Calendar Mod
« Reply #26 on: May 01, 2002, 08:52:30 PM »
Reply with quote

Quote from: Koth on May 01, 2002, 08:49:12 PMI uploaded index.php and Calendar.php (calendar initially to sources and then to the root aswell just incase)
and the gifs ;)

Well.... Did you notice .MOD carefully?.. It modified many files.. not just index.php... And do you get the menu anyway?
« Last Edit: May 01, 2002, 08:53:39 PM by vorapoap » Logged

On the route to hell...
Koth
Jr. Member
**
Posts: 91


Your mother was a ham sandwich.

Re:[Beta] Calendar Mod
« Reply #27 on: May 01, 2002, 08:53:37 PM »
Reply with quote

YEah I mod the files while they are on my Site and just download backups.

So I go through the mod and just save the changes to each file if I mess up I just upload my backups and start again.
Logged


 
vorapoap (vory)
Sr. Member
****
Posts: 424


Not considered either a living or death

WWW
Re:[Beta] Calendar Mod
« Reply #28 on: May 01, 2002, 08:54:22 PM »
Reply with quote

Do you get any new buttons?...
Logged

On the route to hell...
vorapoap (vory)
Sr. Member
****
Posts: 424


Not considered either a living or death

WWW
Re:[Beta] Calendar Mod
« Reply #29 on: May 01, 2002, 08:57:22 PM »
Reply with quote

I think I know now.. Since u modified online.. You have to modify index.php online, too.. please check the mod.. it changes something in ./index.php ... so it does nothing if you upload the old index.php...

and don't forget to create/alter table and insert new data as mentioned in readme file.
Logged

On the route to hell...
Pages: 1 [2] 3 4 ... 23 Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [Done] Calendar Mod [Ver 1.4] « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.024 seconds with 19 queries.