Welcome, Guest. Please Login or Register.
August 12, 2022, 12:19:23 PM
Home Help Search Login Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  Development  |  Completed mods  |  Topic: [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 137402 times)
tazthedev
Full Member
***
Posts: 161


I'm a llama!


Re:[Beta] Calendar Mod
« Reply #15 on: April 30, 2002, 01: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, 03:18:30 PM »
Reply with quote


what a great mod. thx !!


Thanks, and yer welcome. :)

Quote
So 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, 05:10:54 PM »
Reply with quote

Quote
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?


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, 12: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

Code: [Select]
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
Code: [Select]
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, 12: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, 02: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, 03:30:17 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?


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, 03:32:36 PM »
Reply with quote



Well.. 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, 03: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, 03:43:01 PM by Koth » Logged


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


Some mistakes are too funny to make only once.


WWW
Re:[Beta] Calendar Mod
« Reply #23 on: May 01, 2002, 03: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, 03:47:04 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 ???


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, 03: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, 03: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, 03:52:30 PM »
Reply with quote

I 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, 03: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, 03: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, 03: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, 03: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  |  Topic: [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.0.18 | SMF © 2021, Simple Machines
Valid XHTML 1.0! Valid CSS!
Page created in 0.098 seconds with 19 queries.