Welcome, Guest. Please Login or Register.
April 19, 2024, 09:02:33 AM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Completed mods  |  [Done] Calendar Mod [Ver 1.4] « previous next »
Pages: 1 ... 5 6 [7] 8 9 ... 23 Reply Ignore Print
Author Topic: [Done] Calendar Mod [Ver 1.4]  (Read 148169 times)
lenaP
Jr. Member
**
Posts: 97


Well well...

Re:[Beta] Calendar Mod [New Ver 1.2]
« Reply #90 on: May 06, 2002, 06:35:32 PM »
Reply with quote

The calendar works with my forum now, it's really great!
I have translated it to Swedish now, and with swedish holidays, if anyone is interested? Even the buttons are translated, thanks to a friend of mine.

If I could make a wish, I would like the possibilty to highlight really important events. Mayby it should work best if only admin and moderators were allowed to do so, otherwise it's possible that every event goes highlighted... ;)
« Last Edit: May 06, 2002, 07:09:56 PM by lenaP » Logged
tore-
Sr. Member
****
Posts: 291


I love YaBB SE!

Re:[Beta] Calendar Mod [New Ver 1.2]
« Reply #91 on: May 06, 2002, 06:51:06 PM »
Reply with quote

i cant se why everyone like boardmod so much, since you have to download your forum, then modifi it, and then upload again
Logged

Star wars rules!
Myiasis
Full Member
***
Posts: 178


I'm a llama!

Re:[Beta] Calendar Mod [New Ver 1.2]
« Reply #92 on: May 06, 2002, 10:20:52 PM »
Reply with quote

Quote from: tore- on May 06, 2002, 06:51:06 PMi cant se why everyone like boardmod so much, since you have to download your forum, then modifi it, and then upload again

Or you could just keep a copy of your board on your local computer for a backup. It's not a good idea to trust in your ISP to provide backups of your site. Keep it on your local computer, make the changes and upload the changed files. If something goes wrong and your ISP loses data, you still have your backup copy, or if you get hacked, etc... If you don't have a local copy of all your changes already, you probably should...
Logged
GauGau
Noobie
*
Posts: 18


Klugscheisserei grood recht!

WWW
request for additional features
« Reply #93 on: May 07, 2002, 08:14:33 AM »
Reply with quote

Hi all,

I've been waiting for this mod very long, great work!
For future releases I have some additional features on my wishlist:
  • let the admin/gmod add an event that doesn't point to a new thread, but to an existing one someone else posted (I have a category "calendar" where users often post events without adding it to the calendar in the first place)
  • make the date clickable - some users tend to post the event on the first of the month (which is the default selection in action=calendarpe) - let the date that was clicked be the one that is selected by default
  • in Germany (and some other countries) the week doesn't start on sunday, but on monday - a checkbox in admin center would be nice
  • display a tooltip "edit event" when the mouse points on the asterisk
  • option in admin center "default category" would be nice - users often don't see the dropdown list with the category

For more ideas on additional features, see http://webcalendar.sourceforge.net/
(I played with it on my site a little: gaugau.de/webcalendar/

GauGau

Logged
PHX
Noobie
*
Posts: 47


Bad Ass Mothercrappity smacker!

ICQ - 63918674Phyrexia@hotmail.com WWW
Re:[Beta] Calendar Mod [New Ver 1.2]
« Reply #94 on: May 08, 2002, 12:53:28 AM »
Reply with quote

Quote from: Myiasis on May 06, 2002, 06:09:48 PM
Quote from: PHX on May 06, 2002, 05:57:56 PMmm iwhen i post an event i tpoost the topic but not the event on teh celendar :(

i will try to reinstall callendar mod again from scratch my prefix is yabbse_
so the variables and tables r yabbse_XXXxx
is that rigth?

Yes if you are using "yabbse_" for a prefix all of the table names should have that in front. The easiest solution to that is to do a Search and Replace on the Readme.txt file. Replace all of the "<prefix>" with "yabbse_" and all of the database statements should just work.

Did you check your errors logs? That is really the best place to start before trying to install it again.

Well i installed it from scratch and it is working , now im trying to place an image abobe the calendar a picture for each mont and year like $month$year.jpg  can u tell me the variables of year , month in calendar.php that i could use??
Logged

. : : Phyrexia : : .
Jedi Master

ICQ#: 63918674
MSN: [email protected]

Email: [email protected]
Myiasis
Full Member
***
Posts: 178


I'm a llama!

Re:[Beta] Calendar Mod [New Ver 1.2]
« Reply #95 on: May 08, 2002, 01:12:30 AM »
Reply with quote

QuoteWell i installed it from scratch and it is working , now im trying to place an image abobe the calendar a picture for each mont and year like $month$year.jpg  can u tell me the variables of year , month in calendar.php that i could use??

Those are the correct variable names. The same names are used as form elements so they are available like that in any of the functions.

You'll want to put that code in ShowCalendar and make sure you put it below the month/year validation code. $month starts at 0 (zero=january).
Logged
Myiasis
Full Member
***
Posts: 178


I'm a llama!

Re:[Beta] Calendar Mod [New Ver 1.2]
« Reply #96 on: May 08, 2002, 01:18:19 AM »
Reply with quote

Quote from: lenaP on May 06, 2002, 06:35:32 PMIf I could make a wish, I would like the possibilty to highlight really important events. Mayby it should work best if only admin and moderators were allowed to do so, otherwise it's possible that every event goes highlighted... ;)

I'm not HTML expert. I don't know how, or if, you can make a particular URL on a page stand out from the rest of the URLs. If it can be done and is fairly simple and somebody wants to let me in on the secret I could maybe add the ability to highlight specific events on the Post/Edit forms.
Logged
Myiasis
Full Member
***
Posts: 178


I'm a llama!

Re:[Beta] Calendar Mod [New Ver 1.2]
« Reply #97 on: May 08, 2002, 01:30:00 AM »
Reply with quote

I'm working on a few other things that I might have out a little bit later tonight.

Start week on Monday -- Done, as option.
Days as URLs to Post -- Done, as option.
Default board for posting -- Done.

In progress:
Being able to turn an existing message into an event. I have users on my board that forget they need to start with the event too. Like suggested, this will be available the admins/global mods and probably any moderators of that particular board. It will probably be a button on the message itself -- I really don't like messing with the board code, other than those few hooks I put in, but in this case it seems the most appropriate place to put it.

Still thinking about making the events span multiple dates. There are a few ways to implement something like that and I'm trying to come up with the most efficient way. The easiest and least prone to error is for every day the event occurrs on just put another entry in the calendar table. It's not as easy as just adding a number of days field because the event could actually span a month- or a year-boundary and make selecting the data to find if any are in effect could be tricky (eg post on the 30th and give it a 5 day span). As long as you don't get carried away when entering an event this method could work. If you have a member that decides it would be funny to make an event span 3000 days it might not be the best option. :) I suppose I could make another option that set a limit to the number of days allowed to span for an event... Anyway, still thinking, not sure if I'll have this one tonight or not.
Logged
PHX
Noobie
*
Posts: 47


Bad Ass Mothercrappity smacker!

ICQ - 63918674Phyrexia@hotmail.com WWW
Re:[Beta] Calendar Mod [New Ver 1.2]
« Reply #98 on: May 08, 2002, 01:35:07 AM »
Reply with quote

ADDON FOR CALENDAR
Image addon
Find :
   print "<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" class=\"bordercolor\">";
   print "<tr><td>";

Add after:

        print '<p align="center"><img src="http://www.Your dir/'.$monthp1.$year.'.jpg" border="0"></p>';

Images for each moth should be : 52002.jpg  may of 2002 , etc.

See it at:
http://www.phyrexia.cl/foro/index.php?action=calendar

Pretty nice for my first code :)

Also i wana ask how can i put monday first?
« Last Edit: May 08, 2002, 01:35:53 AM by PHX » Logged

. : : Phyrexia : : .
Jedi Master

ICQ#: 63918674
MSN: [email protected]

Email: [email protected]
Myiasis
Full Member
***
Posts: 178


I'm a llama!

Re:[Beta] Calendar Mod [New Ver 1.2]
« Reply #99 on: May 08, 2002, 01:37:43 AM »
Reply with quote

Quote from: PHX on May 08, 2002, 01:35:07 AMAlso i wana ask how can i put monday first?

That's an option in the next version (1.3). Maybe later tonight that one will be available.
Logged
Myiasis
Full Member
***
Posts: 178


I'm a llama!

Re:[Beta] Calendar Mod [New Ver 1.3]
« Reply #100 on: May 08, 2002, 07:49:46 AM »
Reply with quote

New version is up.

Added ability to start the week with Monday rather than Sunday.

Added a Default Board to Post In, which when posting an event just selects that board. This is only going to work if you pick a Default Board that everybody can see. If you pick on that a user cannot see it won't hurt anything, they just won't have it selected since it isn't an option for them.

Added an option to change the days of the month into URLs to the Post Event form. When using the day-url the day of the month will automatically be filled in. Other than that it does the same thing as hitting the Post Event button.

You can now create a calendar event from an already posted message. The button is found with the other topic-related buttons (sticky, move, etc...). The button will show up for Global Mods, Admins, Moderators of that specific board or the creator of the topic -- assuming they also have access to posting events.
« Last Edit: May 08, 2002, 07:50:32 AM by Myiasis » Logged
lenaP
Jr. Member
**
Posts: 97


Well well...

Re:[Beta] Calendar Mod [New Ver 1.3]
« Reply #101 on: May 08, 2002, 09:32:16 AM »
Reply with quote

Great! I just wonder... is this what is in the zipfil that is linked from the first post in this thread now?
If so, isn't it a good idea to rename the file with 1.3 at the end? Isn't that the ordinary way?

It's a bit confusing to a newbie like me...

Well, I'll try with the file there, and see what is happening  8)
Logged
Myiasis
Full Member
***
Posts: 178


I'm a llama!

Re:[Beta] Calendar Mod [New Ver 1.3]
« Reply #102 on: May 08, 2002, 10:38:31 AM »
Reply with quote

Quote from: lenaP on May 08, 2002, 09:32:16 AMGreat! I just wonder... is this what is in the zipfil that is linked from the first post in this thread now?
If so, isn't it a good idea to rename the file with 1.3 at the end? Isn't that the ordinary way?

It's a bit confusing to a newbie like me...

Well, I'll try with the file there, and see what is happening  8)

Yes, it's the same as the link in the original post. It comes down to me doing what takes the least amount of effort usually. :) If I just leave the filename the same I don't have to worry about anything -- I just replace the file on my site.

I'll start changing the text of the link in that original message now though -- instead of just changing the post's title. I'll probably leave the filename the same (cuz I'm lazy) but at least the link will indicate 1.3. ;)
« Last Edit: May 08, 2002, 10:39:03 AM by Myiasis » Logged
Myiasis
Full Member
***
Posts: 178


I'm a llama!

Re:[Beta] Calendar Mod [New Ver 1.2]
« Reply #103 on: May 08, 2002, 10:50:13 AM »
Reply with quote

Quote from: The Engineer on May 06, 2002, 05:08:10 PMIf you are looking for more features to add to this, how about the ability to span multiable dates with one event.

I didn't get this in yet because I'm still not sure how I want to implement it. However, with the feature to create an event based off an already existing message, you can link the same message to multiple days on the calendar. It's not as easy as just entering the span, but you can do this to get by until I get something in if you need it.
Logged
lenaP
Jr. Member
**
Posts: 97


Well well...

Re:[Beta] Calendar Mod [New Ver 1.3]
« Reply #104 on: May 08, 2002, 11:37:24 AM »
Reply with quote

I'm just done with my upgrade to 1.3 and it's really nice! :)

And now I come to think of another little thing (guess this will never stop ;))... In Sweden we use weeknumbers a lot, it's really a standard here, but I don't know how other countries do?

If we Swedes stands alone with this, I guess it's to much to ask for, but if it's a common thing, then maybe?

Anyway, you've done a great job!
Logged
Pages: 1 ... 5 6 [7] 8 9 ... 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.031 seconds with 20 queries.