PHP Calendar with MYSQL database

In this section you can share self-made extensions with other users of WYSIWYG Web Builder.
There is a dedicated section for commercial extensions.
User avatar
Eddy
 
 
Posts: 477
Joined: Tue Nov 27, 2007 1:52 am
Location: Nederland.

Post by Eddy » Tue Nov 17, 2009 3:21 pm

joshuafrfld701 wrote:I did test with links but if I remove in the php what removes the html from links than I get strange things , With testing bbcodes did work but links not and I dont know how to change the php to make it work for links
Yes,I did also try to change that but did have the same problem.
I have also tested with an extra formfield for urls but no luck :?

User avatar
Eddy
 
 
Posts: 477
Joined: Tue Nov 27, 2007 1:52 am
Location: Nederland.

Post by Eddy » Tue Dec 29, 2009 11:25 am

Built with Extension Builder 2.0.2

bjlolmaugh
 
 
Posts: 64
Joined: Thu Nov 15, 2007 2:36 pm
Contact:

Post by bjlolmaugh » Tue Feb 02, 2010 4:42 pm

Eddie ... I LOVE IT !!! I've been wanting this feature for a long time.
Thank you for doing such a good job and making it simple for people like me. :D
Sincerely,

Barbara Lolmaugh
http://www.websitesbybarbara.com

User avatar
Eddy
 
 
Posts: 477
Joined: Tue Nov 27, 2007 1:52 am
Location: Nederland.

Post by Eddy » Thu Feb 18, 2010 11:25 pm

iggy81 wrote:Greate work Eddy ... thx

Is it posiblle to change language from english to croatian (months and days)?
I have no idea if thats possible. :?
I think you need also to change the charset in the pages?
There is no language file ,search for the file / file`s with the months and days and try what happens if you change the language..

User avatar
Eddy
 
 
Posts: 477
Joined: Tue Nov 27, 2007 1:52 am
Location: Nederland.

Post by Eddy » Fri Feb 19, 2010 12:33 am

I did seach in the source files but it looks that the month`s are generated from the database.

User avatar
randm
 
 
Posts: 46
Joined: Sat Oct 10, 2009 11:46 pm
Location: Ontario, Canada

Post by randm » Tue Mar 09, 2010 6:41 pm

I have read the instructions for the PHP Calendar Basic - my question is about inserting a new folder through Site Manager. I want to put two separate event calendars on my site, on two different pages. Do I create a different folder for each calendar with one page in each folder, or do I create one calendar folder and include separate pages within the folder for each calendar. (I have already created a separate database for each calendar.)

Thanks in advance

User avatar
randm
 
 
Posts: 46
Joined: Sat Oct 10, 2009 11:46 pm
Location: Ontario, Canada

Post by randm » Tue Mar 09, 2010 7:30 pm

Hi Eddy - I'm having a problem. I created the database on my server. Then I created one folder in my Site Manager and added a page to the folder called index.php. I inserted the calendar extension into that page, and published the folder/page. Then I went to www.mydomain.com/folder1/install.php and successfully installed everything. I also deleted the install.php file from my server.

But now I can't figure out how to access the calendar!! When I type www.mydomain.com/folder1/index.php into my browser, or when I link to that page, which holds the calendar extension, I'm getting redirected back to the install page again. I'm obviously missing something!

User avatar
randm
 
 
Posts: 46
Joined: Sat Oct 10, 2009 11:46 pm
Location: Ontario, Canada

Post by randm » Tue Mar 09, 2010 7:31 pm

Hi Eddy - I'm having a problem. I followed your instructions, I think, the way I should have. I created the database on my server. Then I created one folder in my Site Manager and added a page to the folder called index.php. I inserted the calendar extension into that page, and published the folder/page. Then I went to www.mydomain.com/folder1/install.php and successfully installed everything. I also deleted the install.php file from my server.

But now I can't figure out how to edit the calendar. I can go to www.mydomain.com/folder/index.php and the calendar is there - but I can't do anything to it. How do I make entries to it?

User avatar
Eddy
 
 
Posts: 477
Joined: Tue Nov 27, 2007 1:52 am
Location: Nederland.

Post by Eddy » Tue Mar 09, 2010 11:30 pm

Click on a date number to make a posting in the calendar.

If you have used the password option than you see first the login window before you can post something.

Original example calendar:
http://demos.kubelabs.com/php_calendar/

User avatar
randm
 
 
Posts: 46
Joined: Sat Oct 10, 2009 11:46 pm
Location: Ontario, Canada

Post by randm » Wed Mar 10, 2010 3:22 am

Thanks, Eddy!

User avatar
randm
 
 
Posts: 46
Joined: Sat Oct 10, 2009 11:46 pm
Location: Ontario, Canada

Post by randm » Thu Mar 11, 2010 5:00 am

Two problems: I have installed 3 calendars - all in separate folders with unique names and each with a unique page name - like indexone, indextwo, indexthree. Two of the installations succeeded - the third seemed to, but now I can't access the page at www.mydomain.com/foldername/indexthree.php I keep getting redirected to www.mydomain.com/foldername/install.php If I try to do the install again, it says I don't have access. I have made sure that I've deleted the install.php file, that my page is php, etc., but I'm obviously missing something. I even tried to delete the whole page and start over - but that didn't help either.

The second problem I'm having is that on the successful installs of calendars one and two, I'm not able to add events. The calendar appears on the page at www.mydomain.com/foldername/indexone.php, and when I click on a date I'm prompted with a username and password - which then brings up an add event dialog box. I insert info to add the event and submit - and it goes right back to the log in box . . . and nothing posts in the calendar. What's happening?

User avatar
Eddy
 
 
Posts: 477
Joined: Tue Nov 27, 2007 1:52 am
Location: Nederland.

Post by Eddy » Thu Mar 11, 2010 11:53 am

indexone.php wil not work because the php config etc files are searching for index.php

Make in the site manger three folders with different names and insert in every folder a page named: index

Make also three databases with different names otherwise you see in every calender the same entries.

User avatar
randm
 
 
Posts: 46
Joined: Sat Oct 10, 2009 11:46 pm
Location: Ontario, Canada

Post by randm » Thu Mar 11, 2010 7:30 pm

OK, thanks Eddy, I'll try that. I have the three folders, and the separate databases with different names, so I think the problem must be that I've named the pages other than just index, so I'll fix that and see what happens.

User avatar
randm
 
 
Posts: 46
Joined: Sat Oct 10, 2009 11:46 pm
Location: Ontario, Canada

Post by randm » Sat Mar 13, 2010 6:49 pm

Back again - still having problems. I finally deleted all but one calendar, even removing the folders and index pages for the other two from both WYSIWYG and my server through file manager. I now have just one calendar, on a page named index that's in a folder in Site Manager. I have not made any changes to the calendar as far as the properties because I was having unexpected results with that, too. And I still can't add any events! When I click on a date in the calendar, it opens a log-in box. I type in my username and password and submit, and an event entry box pops up. The date in it is old - Jan 1, 2008 - so I change the date to a date this coming week, add a test event and time and submit. And it goes right back to the log in box again. Nothing added to the calendar.

Another problem I've noticed - every time I re-publish my site, or the page, I have to go through the whole install process again. I'm sure it shouldn't work like that - should it? Will I lose all the events, then, every time I republish?

What am I doing wrong, please?

User avatar
Eddy
 
 
Posts: 477
Joined: Tue Nov 27, 2007 1:52 am
Location: Nederland.

Post by Eddy » Sat Mar 13, 2010 10:19 pm

I type in my username and password and submit, and an event entry box pops up. The date in it is old - Jan 1, 2008 - so I change the date to a date this coming week, add a test event and time and submit.
That`s correct.
And it goes right back to the log in box again. Nothing added to the calendar.
In this page protectourlands did have the same problem,but I don`t know if he solved that. :?
viewtopic.php?t=19106&postdays=0&postorder=asc&start=15


From the pdf:
How to use in webbuilder.

Make first a database with name calendar or whatever name you like.

1. Insert a new folder to your website (in the Site Manager)
2. Add a page to this folder.
3. Insert the calendar extension to this page.
4. Name the calendar page index with the page extension php


5. Open the calendar in webbuilder and change the properties.
6. After uploading go to: http://www.your domain.com/foldername/install.php

After installing remove the file install.php from your server!


If you need to upload the page a second time than fill in the same database settings and all messages wil the same because all messages are stored in the database.

Locked