| View previous topic :: View next topic |
| Author |
Message |
werufm
Joined: 27 Mar 2008 Posts: 36
|
Posted: Thu Mar 27, 2008 7:09 pm Post subject: Ability to access fields via mysql? |
|
|
Hi there,
Our station is in need of a community calendar, and so far Thyme is perfect. One thing we want is for a shortened description of an event that anyone posts to be able to be accessed for our programmers on air. An example:
A user submits an event. They fill out the date, time, location, name of event, contact info, and description.
Is there any way to get everything except the description to show on the calendar? Say in the week view? The programmers can't be reading a lengthy description, nor do we have the time as staff to be able to edit every lengthy event that comes in.
Just curious if that can be done.
Thanks! |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5188
|
Posted: Mon Mar 31, 2008 3:07 pm Post subject: |
|
|
Hi,
I'm sorry, but there is no setting for this. |
|
| Back to top |
|
 |
werufm
Joined: 27 Mar 2008 Posts: 36
|
Posted: Mon Mar 31, 2008 6:34 pm Post subject: |
|
|
| Thanks. Is the information from the calendar stored in an sql database? |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5188
|
Posted: Tue Apr 01, 2008 2:22 am Post subject: |
|
|
Hi,
Yes. All the event information is stored in the thyme_Events table. |
|
| Back to top |
|
 |
werufm
Joined: 27 Mar 2008 Posts: 36
|
Posted: Tue Apr 01, 2008 4:23 pm Post subject: |
|
|
| Ok awesome. I'll just pull the info from that. Thanks |
|
| Back to top |
|
 |
werufm
Joined: 27 Mar 2008 Posts: 36
|
Posted: Wed Apr 02, 2008 7:22 pm Post subject: |
|
|
Hmm...maybe you can help me locate that table? I can't seem to find it.
Thanks |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5188
|
Posted: Wed Apr 02, 2008 9:11 pm Post subject: |
|
|
Hi,
It should be in the same database as all of Thyme's other tables. Do you remember which database you installed Thyme in? |
|
| Back to top |
|
 |
werufm
Joined: 27 Mar 2008 Posts: 36
|
Posted: Fri Apr 04, 2008 4:57 pm Post subject: |
|
|
| Nope. Did I have to set one up for the trial version? |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5188
|
Posted: Fri Apr 04, 2008 7:02 pm Post subject: |
|
|
Hi,
If Thyme is installed, it must be in a database somewhere. If you check the line containing _CAL_DBNAME_ in include/config.php inside of Thyme's folder, it should tell you which database Thyme is installed in. |
|
| Back to top |
|
 |
werufm
Joined: 27 Mar 2008 Posts: 36
|
Posted: Tue Apr 08, 2008 6:07 pm Post subject: |
|
|
Weird. All that's in that file is:
<?php
?>
I've installed it and can use it. It's at www.tingull.com/WERU_Calendar
But no database or anything. Again, I'm usinga trial version right now, so that has nothing to do with it? |
|
| Back to top |
|
 |
werufm
Joined: 27 Mar 2008 Posts: 36
|
Posted: Tue Apr 08, 2008 6:31 pm Post subject: |
|
|
Oops...guess it helps to not look at the local folder....found it.
Thanks! |
|
| Back to top |
|
 |
werufm
Joined: 27 Mar 2008 Posts: 36
|
Posted: Fri May 16, 2008 12:54 am Post subject: |
|
|
I've pulled data from the database and I'm trying to make sense of some things.
The starttime comes out with all these numers, 121xxxxxxx and I can't figure out the rhyme or reason to it. Any help is appreciated, as we need to be able to pull this data to our on air studio to be read.
Thanks for telling me how to figure out those numbers. |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5188
|
Posted: Fri May 16, 2008 2:02 am Post subject: |
|
|
Hi,
That is the timestamp in unix format or number of seconds since January 01 1970. If you are pulling this into PHP code, you can use the gmdate() function to translate it into a readable date.
Let me know if you have any questions at all. |
|
| Back to top |
|
 |
|