SuperCali Support Forum

A place to post questions and ideas about SuperCali PHP Event Calendar

You are not logged in.

#1 2008-09-11 01:35 pm

Dana C. Hutchins
Administrator
Registered: 2007-05-28
Posts: 270

SuperCali 1.0.6 Released

I am pleased to announce the release of SuperCali 1.0.6.  This version is intended to improve script performance by reducing the number of database calls.  It also addresses some bugs with regard to user permissions to view events.

Due to popular demand, I've also included a new module, "Upcoming", which is designed to be included within another Web page to show a list of upcoming events.  Be sure to take a look at configuration and usage instructions included in the file.

You can download the 1.0.5 to 1.0.6 patch files here:

http://supercali.inforest.com/downloads.php

Best Regards,

Dana C. Hutchins
Inforest Communications

Offline

 

#2 2008-09-12 09:17 am

Crafty
New member
Registered: 2008-07-09
Posts: 3

Re: SuperCali 1.0.6 Released

Awesome!!! I am soo happy the permissions work correctly now. This is great.

Crafty

Offline

 

#3 2008-09-14 08:11 pm

eo
New member
Registered: 2007-09-16
Posts: 3

Re: SuperCali 1.0.6 Released

Dana,

I love the new module but can't seem to figure out how to call the Upcoming events to a seperate web page.   While I can manipulate html my expertise on php and includes is extremely limited.   I may just not be seeing the instructions in a format that I understand, can you provide a sample of what I need to include in my html code to show the "upcoming events"  on a seperate web page.

Thanks

Offline

 

#4 2008-09-19 07:02 pm

Dana C. Hutchins
Administrator
Registered: 2007-05-28
Posts: 270

Re: SuperCali 1.0.6 Released

OK, here is the PHP code for the outside page  Put this where you want your list, assuming that your page is in the root Web folder and your calendar files are in a folder off of this called /calendar.

<?php
/* NOTE: To call this module within your code set $_REQUEST[o] to the ID of this module id shown in modules page of SuperCali.  For example:
$_REQUEST[o] = 5;
$hideheader = true;
include "calendar/index.php";
unset($_SESSION[o]);
*/
?>

Offline

 

#5 2008-11-14 09:08 am

Rob
New member
Registered: 2008-11-14
Posts: 4

Re: SuperCali 1.0.6 Released

Hi Dana,

I've tried to get this working with my calendar and on my home page.

However nothing appears when I input the script.

Here is what I have in my source:


<?php

$_REQUEST[o] = 5;
$hideheader = true;
include "cal/index.php";
unset($_SESSION[o]);

?>

Offline

 

#6 2008-11-14 10:43 am

Dana C. Hutchins
Administrator
Registered: 2007-05-28
Posts: 270

Re: SuperCali 1.0.6 Released

I think it might be that this page is not being parsed as PHP.  Try renaming it index.php

Thanks,

Dana

Offline

 

#7 2008-11-14 03:24 pm

whoneycutt
New member
Registered: 2008-11-13
Posts: 3

Re: SuperCali 1.0.6 Released

> Rob wrote:

> Hi Dana,

I've tried to get this working with my calendar and on my home page.

However nothing appears when I input the script.

Here is what I have in my source:


<?php

$_REQUEST[o] = 5;
$hideheader = true;
include "cal/index.php";
unset($_SESSION[o]);

?>




Rod,


did you get it to work?

my website where I am testing this script is www.fwcnc.com/indexnew.php


and i am having the same issue. My module ID tho is 6. But I still get 0 results.


When I change my page to .pho  I get:



Warning: main(): Failed opening '' for inclusion (include_path='.:/usr/local/lib/php') in /home/content/f/w/w/fwwoc/html/calendar/includes/start.php on line 28

Warning: mysql_connect(): Can't connect to local MySQL server through socket '/usr/local/mysql-5.0/data/mysql.sock' (2) in /home/content/f/w/w/fwwoc/html/calendar/includes/start.php on line 33
Could not connect to database, try again later



I have verified my settings and I know my db name and user are correct.



HELP!!!!!

Offline

 

#8 2008-11-15 09:03 am

Dana C. Hutchins
Administrator
Registered: 2007-05-28
Posts: 270

Re: SuperCali 1.0.6 Released

It looks like the paths to the supercali files aren't being interpreted correctly, since these are relative links.  I'll see about fixing this and issuing it in a few days.

Thanks,

Dana

Offline

 

#9 2008-11-15 06:08 pm

whoneycutt
New member
Registered: 2008-11-13
Posts: 3

Re: SuperCali 1.0.6 Released

> Dana C. Hutchins wrote:

> It looks like the paths to the supercali files aren't being interpreted correctly, since these are relative links.  I'll see about fixing this and issuing it in a few days.

Thanks,

Dana


Please let me know as soon as you do. I am trying to use it on our Church website that has recently been launched!.

Thanks!

Offline

 

#10 2008-11-17 08:06 am

Rob
New member
Registered: 2008-11-14
Posts: 4

Re: SuperCali 1.0.6 Released

Hi Dana,

I tried your suggestion of changing it to index.php

So this is what my script looks like:

<?php
/* NOTE: To call this module within your code set $_REQUEST[o] to the ID of this module id shown in modules page of SuperCali.  For example:
$_REQUEST[o] = 5;
$hideheader = true;
include "index.php";
unset($_SESSION[o]);
*/
?>


It still gives me the same result, I even placed this HTML page in the root folder of the Calendar and it still came up with nothing.

Please find a screen shot of the error here: http://img367.imageshack.us/img367/7066/errorgb5.jpg

This was after renaming my HTML file to .PHP, it also changed the entire colour scheme lol.

If I keep the file to .HTML, no error appears, but nothing else appears either

Am going to try and rename my folder from Cal to calendar and see if that works.

Please can you try and fix asap smile

Thanks,

Rob

Last edited by Rob (2008-11-17 08:11 am)

Offline

 

#11 2008-11-17 10:15 am

whoneycutt
New member
Registered: 2008-11-13
Posts: 3

Re: SuperCali 1.0.6 Released

> Rob wrote:

> Hi Dana,

I tried your suggestion of changing it to index.php

So this is what my script looks like:

<?php
/* NOTE: To call this module within your code set $_REQUEST[o] to the ID of this module id shown in modules page of SuperCali.  For example:
$_REQUEST[o] = 5;
$hideheader = true;
include "index.php";
unset($_SESSION[o]);
*/
?>


It still gives me the same result, I even placed this HTML page in the root folder of the Calendar and it still came up with nothing.

Please find a screen shot of the error here: http://img367.imageshack.us/img367/7066/errorgb5.jpg

This was after renaming my HTML file to .PHP, it also changed the entire colour scheme lol.

If I keep the file to .HTML, no error appears, but nothing else appears either

Am going to try and rename my folder from Cal to calendar and see if that works.

Please can you try and fix asap smile

Thanks,

Rob






Rob,

If you read my post just after your initial, I bet you are having the same issue I am. See her response to me about the bug she has to fix.

I left my page as a php so she could see the errors.  If I left mine as HTML it would appear as "all is ok just no results". When I changed to .php I had a page full of errors dealing with MySql and some other stuff.

Offline

 

#12 2008-11-17 01:34 pm

Rob
New member
Registered: 2008-11-14
Posts: 4

Re: SuperCali 1.0.6 Released

Hi Whoneycutt,

I think we are experiencing the exact same error.

Hope we can resolve this quickly.

Regards,

Rob

Offline

 

#13 2008-11-26 04:20 am

Rob
New member
Registered: 2008-11-14
Posts: 4

Re: SuperCali 1.0.6 Released

Hey Dana,

Been awhile now, any idea as to why its still not working?

Offline

 

#14 2008-12-12 07:26 pm

Dana C. Hutchins
Administrator
Registered: 2007-05-28
Posts: 270

Re: SuperCali 1.0.6 Released

Sorry for the long delay, Version 1.0.7 fixes this, and is released today.

Offline

 

#15 2008-12-13 05:27 am

Sim
Member
Registered: 2008-12-13
Posts: 12

Re: SuperCali 1.0.6 Released

Dear Dana,
Even after installing the 2 files to update the version 1.0.6 to 1.0.7, I can not manage to call the upcoming events from another page. I get always redirected to the install.php and receive the FILE NOT FOUND message. (The requested URL /install.php was not found on this server).
When I check the code, I think this error occurs during the inclusion of includes/start.php where the code checks for the existence of config.php...
I don't know how to fix this problem. Can you help, please.
Thanks.

Offline

 

#16 2008-12-13 06:06 am

Sim
Member
Registered: 2008-12-13
Posts: 12

Re: SuperCali 1.0.6 Released

Sorry,  it works perfectly now!
In fact, the new code to call the upcoming events from another page is in the new upcoming.php file and reads as follows:
/* NOTE: To call this module within your code set $_REQUEST[o] to the ID of this module id shown in modules page of SuperCali.  For example:
$_REQUEST[o] = 5;
$hideheader = true;
chdir ("demo_calendar");
include "index.php";
chdir("../");
unset($_SESSION[o]);
*/
Thanks Dana for this wonderful product.

Offline

 

#17 2009-01-06 10:51 am

Sim
Member
Registered: 2008-12-13
Posts: 12

Re: SuperCali 1.0.6 Released

Hi again, Dana,
I noticed that while the upcoming events are being properly displayed in another website using the supplied code, the links don't point to the correct directory.
see www.bestnoticeboard.com. The links  to the calendar events generated by the script are not correct. They should point to the directory \events where my calendar is installed!
I didn't manage to fix it. Can somebody help, please?
Thanks.

Offline

 

#18 2009-01-06 12:46 pm

Dana C. Hutchins
Administrator
Registered: 2007-05-28
Posts: 270

Re: SuperCali 1.0.6 Released

Hello,

You might see if $calendar_url is set in the config.php file.  Let me know.

Dana

Offline

 

#19 2009-01-07 06:57 am

Sim
Member
Registered: 2008-12-13
Posts: 12

Re: SuperCali 1.0.6 Released

Yes, the $calendar_url is set to "http://www.bestnoticeboard.com/events/".
When you go directly to www.bestnoticeboard.com/events, the calendar is working perfectly and the links are correct. But when I call the upcoming events from another page, such as the homepage, then the links are no longer correct. I thought it might have something to do with the chdir command, but I don't know how to fix the problem!

Offline

 

#20 2009-01-07 11:17 am

Dana C. Hutchins
Administrator
Registered: 2007-05-28
Posts: 270

Re: SuperCali 1.0.6 Released

OK, I found the bug.

On line 51 of modules/upcoming.php, add $calendar_url to the list of global variables:

global $title, $niceday, $start_time, $end_time, $venue, $city, $state, $cat, $color, $background, $ed, $usr, $o, $c, $m, $a, $y, $w, $lang, $ap, $status, $calendar_url;

I think that will fix it.

Dana

Offline

 

#21 2009-01-07 01:10 pm

Sim
Member
Registered: 2008-12-13
Posts: 12

Re: SuperCali 1.0.6 Released

It works. Fantastic.
It is wonderful.
Thanks, Dana.
Sim.

Offline

 

#22 2009-01-22 02:51 pm

Dana C. Hutchins
Administrator
Registered: 2007-05-28
Posts: 270

Re: SuperCali 1.0.6 Released

To be fixed in version 1.0.8

Thanks,

Dana

Offline

 

#23 2010-07-27 02:38 am

penghan
New member
Registered: 2010-07-27
Posts: 2

Re: SuperCali 1.0.6 Released

Thanks Dana.


<a href="http://www.water-treatment-china.com/Calcium-Hypochlorite/">Calcium Hypochlorite Suppliers</a>
<a href="http://www.water-treatment-china.com/Sodium-Dichloroisocyanurate-SDIC/">sodium dichloroisocyanurate Manufacturers</a>
<a href="http://www.water-treatment-china.com/Trichloroisocyanuric-Acid-TCCA/">trichloroisocyanuric acid Manufacturers</a>

Offline

 

#24 2010-08-04 02:01 am

phelpme
New member
Registered: 2010-08-04
Posts: 4
Website

Re: SuperCali 1.0.6 Released

Nice, keep it up


http://reducing-agents.be-long.com/   Sodium Thiosulfate Suppliers

Offline

 

#25 2010-08-13 04:01 am

thena
New member
Registered: 2010-08-10
Posts: 7
Website

Re: SuperCali 1.0.6 Released

I like PHP. and I'm start to learn it.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson

Scripts.com Hotscripts ScriptsBank.com The PHP Resource Index ScriptSearch.com
Inforest CommunicationsSuperCali PHP Event Calendar is a project of Inforest Communications