View Full Version : module probs
12-03-2006, 07:29 AM
i just got my new server running
http://youth.kardinia.org.au/ and i have epc running great on it
but on the module it doesnt fit in the space provided
i cant find any settings that are effecting this.
also has anyone thought about remaking the module so it has a add event part, and text feilds ect that send it to the sql db?
12-03-2006, 10:16 AM
Seems like you got the calendar to fit properly.
As far as adding such functionality, it's not something that is supported (yet). This would involve lots of work and with a new version so close, it doesn't make much sense. This is something that I will investigate once version 7 comes out.
12-03-2006, 04:59 PM
the calendar is the right size but the table at the bottom doesnt fit right, http://youth.kardinia.org.au/modules.php?name=Calendar
look at the top how it sticks out.
when is the new version going to be avalible?
if i buy epc now, will it upgrade for free?
12-03-2006, 08:33 PM
12-04-2006, 02:58 AM
As far as letting users add events, what about designing a php form that adds an event directly to the MySQL table without going thru EPC? As a workaround for 6 until 7 is released.
12-04-2006, 02:58 AM
WHOA!! I swear I only hit the "Post Quick Reply" button once and look down at what happened... :-( sorry!
Using FireFox 2.0 on Kubuntu 6.10 "Edgy"
(update.... a bunch of extra posts seem to have corrected and disappeared)
12-04-2006, 10:43 AM
@Servant: Your problem there is how wide the List mode is. Look into /calendar/templates/ for the template you're using (modern.php or monthly.php). Modify the width from the CSS at the top of the file.
@Wakalapi: This is possible, and would be the way that I would tackle it, but since V6 is in feature-freeze, I don't really want to concentrate my efforts on it. If I do get some free time, it is something that I will look into.
12-08-2006, 11:38 PM
I'm still kind of a noob to raw php stuff, but this tutorial makes it look fairly easy:
...for my fellow n00bs out there...
12-09-2006, 09:16 AM
Adding the row to the mySQL database is not the problem. It's converting the date and time to the correct format to make sure that the events you add through your own form match up to the correct dates once displayed in the calendar. There is also a very closely guarded secret about the calculations required to display recurring/floating events.
so, if I understand correctly, is it in fact impossible to create your own add event-form that puts the data directly into the database, because we don't know the calculations for floating events?
would someone who does have access to these codes be willing to create a custom add event-form for us if we pay extra?
01-25-2007, 08:29 PM
There is no one, except for Brian, who has access to the code.
It isn't impossible to create a form to add events, it's the displaying of events that is the tricky bit. To get a basis on what is is you need to gather, copy the form that is used for the Events Administrator. You'll have to figure out the mySQL backend for properly inserting the row in the datbase on your own.
At the moment, I have so many things on my plate already that I cannot take on this project myself. And I do think that this is already on the wishlist and a possibility for version 7, so it would be wasted effort to make one for v6.
vBulletin® v3.8.4, Copyright ©2000-2013, Jelsoft Enterprises Ltd.