X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   Events Calendar addin (https://forum.x-cart.com/showthread.php?t=3845)

walteis 08-02-2003 01:23 PM

Events Calendar addin
 
Hi all. I'm putting the finishing touches on an events calendar for xcart for one of our clients. It will allow you to display a small calendar in the "standard" x-cart column along with upcoming events, plus a larger calendar that will display in the main area as well as a detailed view of the event.

Is anyone interested in something like this? I will probably charge a small amount for it, but don't know how much that will be (although it will be minimal).

I'll have a working version ready to post by the end of next week hopefully.

Walt

DataViking 08-03-2003 09:27 AM

Let me know when you finish.
and please send me a link to see it

groovico 08-03-2003 10:28 AM

Sounds interesting, let us know when there's a demo available and how much modifying of the main cart you need to do to implement it. Always interested in mods that don't affect the base installatin too much.

snorocket 08-04-2003 08:30 PM

bring it on
 
we'd be interested in it and a mod of this type is reasonable to pay for as i'm sure it took more then moving smarty tags around, let us know. We we're actually getting ready to buy a calendar script but we're in no hurry so we'll wait when your ready to release yours.

John7 08-14-2003 08:03 PM

Sounds Cool
 
Sounds cool. I would love to see what it looks like when your finished.

chairbrain 10-23-2003 10:36 AM

Did this mod ever get completed or are you still working on it? Thanks for the update,


John

John7 05-21-2004 12:16 AM

Where do they go?
 
Sounds like a great idea, but where did you go?

Thats a tease!

GM 05-21-2004 02:41 PM

FREE! Get it here http://kevin.tridubdesign.com/download.php?list.2

bluecobalt 07-21-2004 11:30 AM

this link doesn't work. i'm very interested in this mod.

PhilJ 07-21-2004 11:48 AM

try

http://portal.ksouthworth.net/download.php?list.2

It's called OrgCal. Good luck.

bluecobalt 07-21-2004 11:54 AM

awesome, thanks so much!

adpboss 07-21-2004 07:31 PM

Maybe someone should move this to miscellaneous.

There is no shared code here and the links are dead.

shan 07-22-2004 07:03 AM

link works ok

John7 07-25-2004 07:38 AM

Dead links
 
The page cannot be displayed
The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings.



&


No input file specified.

The links are dead...

This should be fixed or moved. Anyone have this mod?

PhilJ 07-27-2004 01:19 AM

for heavens sake ](*,)

try

http://portal.ksouthworth.net

carlisleglass 07-27-2004 04:35 AM

direct link ...

http://portal.ksouthworth.net/php/e107/download.php?list.2

tntdesigns 07-20-2005 05:41 AM

Calendar in speed bar
 
I added the calendar to my speed bar but, can any one tell me how to insert the calendar in the store its self?
All is working fine with the calendar but it opens a new window and leaves the store? :?

achintya 07-28-2005 09:14 AM

org cal
 
Hi

er... how does this relate to x-cart? I downloaded it and it looks like a completely separate piece of separate.

This thread (I thought) was all about a calendar which sequed into x-cart and somehow it has morphed into this?

Or am I missing something?


achintya

tntdesigns 07-28-2005 10:01 AM

I understand, Yes and no it a free PHP mod that you can use with x-cart
and it works great!
I'm using it at this site check it outhttp://www.melendrezdancestudios.com/store/pages.php?pageid=10

achintya 07-28-2005 11:47 AM

er... ok ... how?
 
Ok

But I see no instructions for integrating it into x-cart?

Do you know how?

Please spill the beans....


achintya

tntdesigns 07-28-2005 11:53 AM

Well the direction are in the zip file and not very detailed.
you need set it up like you did with x-cat create a blank database and it's own Dir, and then static page to it.
and don't for get to 777 it.

rcci@mindspring.com 09-29-2005 01:05 PM

Fantastic little mod, I love it!

On issue I see, however. I can login fine in Firefox, but when you login in IE, it says 'LOGIN OK', then drops it, taking you back to the main calendar page, not logged in. I tried it in both browsers, and I can get in fine and add/change events ok in Firefox, but not in IE.

Any ideas? The reason I ask is that my client uses IE. I've advised them to download Netscape or Firefox, but they tend to IE, so I thought I'd point this out. Not a show stopper.

Thanks for a great mod!

tntdesigns 09-30-2005 07:05 AM

Try login directly in the Calendar's http not via your website.
and add to your Faverites for easy Admin access.

rcci@mindspring.com 10-03-2005 07:17 AM

Yep, that worked! Thanks!

Odd that it doesn't inside the shopping cart, but not a problem. I've already told the client.

Still a great add-in!

Thanks,

simitpatel 02-06-2006 12:41 PM

does anyone have the rar for this mod? i can't find it on any of the websites.

crunch42 04-02-2006 11:10 PM

How to integrate?
 
I'd love to know how to integrate this script into x-cart as an embedded static page, which http://www.melendrezdancestudios.com/store/pages.php?pageid=10 seems to have successfully done. Anyone know?

ShishaPipeUK 04-07-2006 04:52 AM

Crunch42, I have also used this script and below is the information how to place this in your x-cart software.

I first made a static page in my admin area and called it "Calender of events", below is the code:

Code:



<IFRAME border=0 name=calender align=center marginWidth=1 marginHeight=1 src="../orgcal/view.php" frameBorder=0 width=100% scrolling=no height=700>
Your browser does not support inline frames or is currently configured not to display inline frames.
</IFRAME></P>


I placed the directory "orgcal" in my root, so it did not have anything to do with my xcart directory which is websitename/shopcart/ that's the reason for the "../orgcal/view.php" by using the ../ I just instructed to go back a directory and then into the orgcal directory.

Now the index.php that comes with the orgcal mod, just delete it, you dont need it.

What you do need is:
Folder: orgcal/js/
Folder: orgcal/js/overlib400/
Folder: orgcal/js/overlib400/mini/

Folder: orgcal/include/main.php
Folder: orgcal/include/db.php - This is the file you enter your MYSQL info
Code:

$OC_CONFIG['DBHOST'] = 'your database server'; // database server
$OC_CONFIG['DBUSER'] = 'database user';        // username
$OC_CONFIG['DBPASS'] = 'database password'; // password
$OC_CONFIG['DBNAME'] = 'database name'; // database name
$OC_CONFIG['DBTYPE'] = 'mysql';


Folder: orgcal/include/classes/
Folder: orgcal/include/classes/adodb400-lite/
Folder: orgcal/include/classes/adodb400-lite/lang/
Folder: orgcal/include/classes/adodb400-lite/drivers/
Folder: orgcal/include/classes/adodb400-lite/datadict/
Folder: orgcal/include/classes/adodb400-lite/CVS/

Folder: orgcal/images/up.gif - http://www.shisha.co.uk/orgcal/images/up.gif
Folder: orgcal/images/icon_edit.png - http://www.shisha.co.uk/orgcal/images/icon_edit.png
Folder: orgcal/images/icon_del.png - http://www.shisha.co.uk/orgcal/images/icon_del.png
Folder: orgcal/images/down.gif - http://www.shisha.co.uk/orgcal/images/down.gif
Folder: orgcal/images/calendar.gif - http://www.shisha.co.uk/orgcal/images/calendar.gif

Folder: orgcal/css/simplecalendar.css
Folder: orgcal/css/oc-week.css
Folder: orgcal/css/oc-month.css
Folder: orgcal/css/oc-minical.css
Folder: orgcal/css/oc-main.css
Folder: orgcal/css/oc-event.css
Folder: orgcal/css/oc-day.css

The php files
File: orgcal/user.php
File: orgcal/view.php
File: orgcal/minical.php
File: orgcal/event.php
File: orgcal/config.php

You can still download all these files (217 KB) from http://www.kevinsouthworth.com/Projects/OrgCal/tabid/60/Default.aspx

Thank you Kevin for a great mod :D

You can see the finished calender at: http://www.shisha.co.uk/shopcart/pages.php?pageid=25

Don't forget to add in the below patch file in admin/patch / upgrade section:


Code:


CREATE TABLE `config` (
  `config_name` varchar(45) NOT NULL default '',
  `config_value` varchar(100) default NULL,
  PRIMARY KEY  (`config_name`)
) TYPE=MyISAM;

INSERT INTO `config` VALUES ('week_starts_on_mon', 'N');
INSERT INTO `config` VALUES ('tz_offset', '0');
INSERT INTO `config` VALUES ('12_hour', 'Y');
INSERT INTO `config` VALUES ('time_in_link', 'Y');
INSERT INTO `config` VALUES ('name_in_link', 'Y');

CREATE TABLE `event` (
  `e_id` int(11) NOT NULL auto_increment,
  `e_override_id` int(11) default NULL,
  `e_ext_id` int(11) default NULL,
  `e_date` int(11) NOT NULL default '0',
  `e_time` varchar(6) default '-1',
  `e_duration` int(11) NOT NULL default '0',
  `e_repeat` char(1) default 'N',
  `e_access` char(1) default 'P',
  `e_name` varchar(80) NOT NULL default '',
  `e_description` text,
  PRIMARY KEY  (`e_id`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;


CREATE TABLE `event_repeats` (
  `e_id` int(11) NOT NULL default '0',
  `e_type` varchar(20) default NULL,
  `e_end` int(11) default NULL,
  `e_frequency` int(11) default '1',
  `e_days` varchar(7) default NULL,
  PRIMARY KEY  (`e_id`)
) TYPE=MyISAM;


CREATE TABLE `event_repeats_not` (
  `e_id` int(11) NOT NULL default '0',
  `e_date` int(11) NOT NULL default '0',
  PRIMARY KEY  (`e_id`,`e_date`)
) TYPE=MyISAM;


CREATE TABLE `users` (
  `id` int(11) NOT NULL auto_increment,
  `uname` varchar(15) NOT NULL default '',
  `upass` varchar(15) NOT NULL default '',
  `ulevel` tinyint(1) NOT NULL default '0',
  PRIMARY KEY  (`id`)
) TYPE=MyISAM AUTO_INCREMENT=2 ;


INSERT INTO `users` VALUES (1, 'admin', 'admin', 1);


crunch42 04-07-2006 12:08 PM

perfect!
 
:D Thanks!

I didn't think to use iframes, but that works great!

Also, I didn't like how in the monthly view the events all get squished together, so I modified line 152 of orgcal/include/classes/OCMonth.class.php from:

Code:

$eventLink = ''.$event->getLinkText().'
';


and added an asterisk (*) to the beginning and a line break to the end so that it becomes:

Code:

$eventLink = '* '.$event->getLinkText().'

';


- Julian

katandmouse 06-15-2006 09:11 AM

Calendar mod and repeating events
 
Does that calendar mod allow for repeating events?

crunch42 06-15-2006 09:43 AM

Yes.

Corto_Maltese 06-15-2006 10:55 AM

Great mod but I have some errors

Notice: Undefined index: view in C:\sokkit\site\xcart\orgcal\view.php on line 15

Notice: Undefined offset: 2 in C:\sokkit\site\xcart\orgcal\include\classes\OCMont h.class.php on line 108

Notice: Undefined offset: 2 in C:\sokkit\site\xcart\orgcal\include\classes\OCMont h.class.php on line 108

Notice: Undefined offset: 2 in C:\sokkit\site\xcart\orgcal\include\classes\OCMont h.class.php on line 108

Notice: Undefined offset: 2 in C:\sokkit\site\xcart\orgcal\include\classes\OCMont h.class.php on line 108

Notice: Undefined index: USERID in C:\sokkit\site\xcart\orgcal\include\classes\OrgCal Auth.class.php on line 184

Notice: Undefined index: USERID in C:\sokkit\site\xcart\orgcal\include\classes\OrgCal Auth.class.php on line 184

Any idea ?

Thanks

josebueso 06-15-2006 04:14 PM

Quote:

Originally Posted by ShishaPipeUK
Crunch42, I have also used this script and below is the information how to place this in your x-cart software.

I first made a static page in my admin area and called it "Calender of events", below is the code:

Code:



<IFRAME border=0 name=calender align=center marginWidth=1 marginHeight=1 src="../orgcal/view.php" frameBorder=0 width=100% scrolling=no height=700>
Your browser does not support inline frames or is currently configured not to display inline frames.
</IFRAME></P>


I got the followin error,Can someone help please?

Fatal error: Call to a member function on a non-object in /home/uncionmu/public_html/orgcal/include/classes/OrgCalConfig.class.php on line 28

I placed the directory "orgcal" in my root, so it did not have anything to do with my xcart directory which is websitename/shopcart/ that's the reason for the "../orgcal/view.php" by using the ../ I just instructed to go back a directory and then into the orgcal directory.

Now the index.php that comes with the orgcal mod, just delete it, you dont need it.

What you do need is:
Folder: orgcal/js/
Folder: orgcal/js/overlib400/
Folder: orgcal/js/overlib400/mini/

Folder: orgcal/include/main.php
Folder: orgcal/include/db.php - This is the file you enter your MYSQL info
Code:

$OC_CONFIG['DBHOST'] = 'your database server'; // database server
$OC_CONFIG['DBUSER'] = 'database user';        // username
$OC_CONFIG['DBPASS'] = 'database password'; // password
$OC_CONFIG['DBNAME'] = 'database name'; // database name
$OC_CONFIG['DBTYPE'] = 'mysql';


Folder: orgcal/include/classes/
Folder: orgcal/include/classes/adodb400-lite/
Folder: orgcal/include/classes/adodb400-lite/lang/
Folder: orgcal/include/classes/adodb400-lite/drivers/
Folder: orgcal/include/classes/adodb400-lite/datadict/
Folder: orgcal/include/classes/adodb400-lite/CVS/

Folder: orgcal/images/up.gif - http://www.shisha.co.uk/orgcal/images/up.gif
Folder: orgcal/images/icon_edit.png - http://www.shisha.co.uk/orgcal/images/icon_edit.png
Folder: orgcal/images/icon_del.png - http://www.shisha.co.uk/orgcal/images/icon_del.png
Folder: orgcal/images/down.gif - http://www.shisha.co.uk/orgcal/images/down.gif
Folder: orgcal/images/calendar.gif - http://www.shisha.co.uk/orgcal/images/calendar.gif

Folder: orgcal/css/simplecalendar.css
Folder: orgcal/css/oc-week.css
Folder: orgcal/css/oc-month.css
Folder: orgcal/css/oc-minical.css
Folder: orgcal/css/oc-main.css
Folder: orgcal/css/oc-event.css
Folder: orgcal/css/oc-day.css

The php files
File: orgcal/user.php
File: orgcal/view.php
File: orgcal/minical.php
File: orgcal/event.php
File: orgcal/config.php

You can still download all these files (217 KB) from http://www.kevinsouthworth.com/Projects/OrgCal/tabid/60/Default.aspx

Thank you Kevin for a great mod :D

You can see the finished calender at: http://www.shisha.co.uk/shopcart/pages.php?pageid=25

Don't forget to add in the below patch file in admin/patch / upgrade section:


Code:


CREATE TABLE `config` (
  `config_name` varchar(45) NOT NULL default '',
  `config_value` varchar(100) default NULL,
  PRIMARY KEY  (`config_name`)
) TYPE=MyISAM;

INSERT INTO `config` VALUES ('week_starts_on_mon', 'N');
INSERT INTO `config` VALUES ('tz_offset', '0');
INSERT INTO `config` VALUES ('12_hour', 'Y');
INSERT INTO `config` VALUES ('time_in_link', 'Y');
INSERT INTO `config` VALUES ('name_in_link', 'Y');

CREATE TABLE `event` (
  `e_id` int(11) NOT NULL auto_increment,
  `e_override_id` int(11) default NULL,
  `e_ext_id` int(11) default NULL,
  `e_date` int(11) NOT NULL default '0',
  `e_time` varchar(6) default '-1',
  `e_duration` int(11) NOT NULL default '0',
  `e_repeat` char(1) default 'N',
  `e_access` char(1) default 'P',
  `e_name` varchar(80) NOT NULL default '',
  `e_description` text,
  PRIMARY KEY  (`e_id`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;


CREATE TABLE `event_repeats` (
  `e_id` int(11) NOT NULL default '0',
  `e_type` varchar(20) default NULL,
  `e_end` int(11) default NULL,
  `e_frequency` int(11) default '1',
  `e_days` varchar(7) default NULL,
  PRIMARY KEY  (`e_id`)
) TYPE=MyISAM;


CREATE TABLE `event_repeats_not` (
  `e_id` int(11) NOT NULL default '0',
  `e_date` int(11) NOT NULL default '0',
  PRIMARY KEY  (`e_id`,`e_date`)
) TYPE=MyISAM;


CREATE TABLE `users` (
  `id` int(11) NOT NULL auto_increment,
  `uname` varchar(15) NOT NULL default '',
  `upass` varchar(15) NOT NULL default '',
  `ulevel` tinyint(1) NOT NULL default '0',
  PRIMARY KEY  (`id`)
) TYPE=MyISAM AUTO_INCREMENT=2 ;


INSERT INTO `users` VALUES (1, 'admin', 'admin', 1);



josebueso 06-15-2006 04:21 PM

Fatal Error
 
I got the following error after I went thru all the steps. can someone tell what I did wrong and to correct the problem.

Fatal error: Call to a member function on a non-object in /home/uncionmu/public_html/orgcal/include/classes/OrgCalConfig.class.php on line 28

josebueso 06-15-2006 06:34 PM

got it.

Thanxs for your help anyways
Looks very cool. http://uncionmusic.com/pages.php?pageid=3

Now I need to figureout how transelate the calendar to Spanish.

Jose

Corto_Maltese 06-16-2006 11:57 AM

Hello, nobody for my problem ?

Thanks

katandmouse 06-16-2006 11:43 PM

how does this tie into xcart
 
I have yet to see an example of the calendar where it actually ties into the store. Does someone have a calendar item that does that? How does this work? Is it that you enter a product and assign it a calendar item and it them posts to the calendar with link to register, or what?

josebueso 06-16-2006 11:55 PM

Re: how does this tie into xcart
 
Quote:

Originally Posted by katandmouse
I have yet to see an example of the calendar where it actually ties into the store. Does someone have a calendar item that does that? How does this work? Is it that you enter a product and assign it a calendar item and it them posts to the calendar with link to register, or what?


It worked for me, Just follow the instructions on the original tread.
You can look at mime here/
http://www.uncionmusic.com/pages.php?pageid=3

katandmouse 06-17-2006 10:33 PM

All I see is a blank calendar with no events posted. What date do you have an event posted on? I'm looking at June and July. All dates are blank. I would like to see how it ties into the store.

katandmouse 07-09-2006 10:27 PM

download link down
 
Don't know if it was temporary or not, but the url for the download link generates a server can't be found error. Try this instead: http://www.kevinsouthworth.com/Projects/OrgCal/tabid/60/Default.aspx

katandmouse 07-09-2006 11:03 PM

Ok. I think I may have answered my own question since no one else did. This calendar script doesn't really tie into xcart - it merely sits INSIDE it from what I can tell. I was hoping for something that would actually share data from the products table. Guess I have to pay someone to write that for me. Any offers? Other than that, this is a great script. I generally purchase a calendar script for my clients, but this is as good as the one I buy with the exception that it is missing the tell-a-friend feature. Thanks, Kevin.


All times are GMT -8. The time now is 01:09 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.