Page 23 of 50 FirstFirst ... 13212223242533 ... LastLast
Results 221 to 230 of 500
  1. #221
    Join Date
    Sep 2008
    Location
    DownUnder, overlooking South Pole.
    Posts
    984
    Plugin Contributions
    6

    Default Re: Event Calendar

    Events Calendar 139h for php5.3 is available for download.

    http://www.zen-cart.com/downloads.php?do=file&id=521

  2. #222
    Join Date
    May 2004
    Posts
    105
    Plugin Contributions
    2

    Default Re: Event Calendar

    Is there anything new with this? I'm trying to put it into a v1.5.1. I'm finding that:

    1) the sidebox for it tries to pull up a full page instead of just the include
    2) no link in the admin
    3) actual page not showing my test entry
    http://www.htmldoctor.com/guardian/i...vents_calendar

  3. #223
    Join Date
    Sep 2008
    Location
    DownUnder, overlooking South Pole.
    Posts
    984
    Plugin Contributions
    6

    Default Re: Event Calendar

    Mod has not yet been upgraded for v1.50+.

  4. #224
    Join Date
    Sep 2008
    Location
    DownUnder, overlooking South Pole.
    Posts
    984
    Plugin Contributions
    6

    Default Re: Event Calendar

    Looking into upgrading this mod for v150, I am wondering whether the sql needs entries for the configuration and configuration group tables, that is, that the sql only needs admin page registration. After all, there is no further configuration required for the mod once the events calendar table has been created.

    Clarity appreciated.

  5. #225
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Event Calendar

    Quote Originally Posted by dw08gm View Post
    Looking into upgrading this mod for v150, I am wondering whether the sql needs entries for the configuration and configuration group tables, that is, that the sql only needs admin page registration. After all, there is no further configuration required for the mod once the events calendar table has been created.

    Clarity appreciated.
    You need to create admin page registrations and a definition file for ANY page the add-on uses whether they are visible on the menus or not. So for example in Super Orders, there are a number of "pages" that are actually pop-up windows. They must include a page registration with a visibility setting of "N" because they will not appear on a menu. However if the store admin creates a profile that will be accessing any page which calls this popup, they must be registered so permissions to the page can be granted.

    There is a LOT more info on this and a whole discussion thread surrounding this on the 1.3 - 1.5 migration thread..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  6. #226
    Join Date
    Sep 2008
    Location
    DownUnder, overlooking South Pole.
    Posts
    984
    Plugin Contributions
    6

    Default Re: Event Calendar

    Hi Folks

    Please find attached Events Calendar update for zencart 151 and php5.3.

    Comments and criticisms appreciated prior to my uploading to Plugins.

    ec_4_alpha.zip

    Cheers

  7. #227
    Join Date
    Mar 2013
    Location
    New Orleans
    Posts
    81
    Plugin Contributions
    0

    Default Re: Event Calendar

    Quote Originally Posted by dw08gm View Post
    Hi Folks

    Please find attached Events Calendar update for zencart 151 and php5.3.

    Comments and criticisms appreciated prior to my uploading to Plugins.

    ec_4_alpha.zip

    Cheers
    Hello,

    First let me thank you for the job you did on the events calendar...thanks!

    I installed your ec_4_alpha.zip with zen cart v1.5.1 (LAMP Centos 6.4 x86_64), and it appears to be working fine. I ran into some problems, (probably old ones or zen cart 1.5.1 induced) and made some changes to a few of the programs. I am just getting involved with zen carts and if I'm stepping on toes or am not following protocol I apologize...I just figured that the changes I made could help someone somewhere.

    If you are looking to see what I cut/changed/added then look for remarks in the php files with the word "rus" in them.

    First I made 2 changes to:
    .../your_www/includes/templates/your_template/templates/tpl_events_calendar_default.php

    1) I altered the view all_events query to not look at H:i:s: since the dates when written to the events table had no time. This defaults the times to midnight (00:00:00) which means you would never see events that ended today (because your current date & time would always be greater, unless you clicked exactly at midnight).
    2) Put in a simple change to not create html code for an event image if none existed in the db events table.
    -------------
    Next I made a number of changes to the following programs:
    .../your_www/your_zen_admin/events_manager.php
    .../your_www/your_zen_admin/includes/events_manager_drop_dns.php

    1) I noticed that any file type could be uploaded when attaching images. If a client doesn't know what they are doing and they upload certain file types that could be a security risk. So I check for jpg, jpeg, gif, and png and if the file is not any of these it shows an error.
    2) When you go to review an added event the file appears to be written regardless of which error flag is set. The only way to easily (without chasing down the code) avoid writing the image would be to blank the _POST image variable and reload the script. To avoid that I put in a workaround that deletes the file at the end of the script if an error was flagged.
    3) I put in a define (EVENT_FILE_MAX_WIDTH) at the beginning of events_manager.php (it is currently set to 600) that is used to check against the width of the uploaded file, if it is greater then the image is reduced to 600 px wide...height is proportionate.
    4) In my scenario I could think of no good reason not to overwrite an existing file. Perhaps it would have been better to use a popup and ask to overwrite the image...instead I just check for the old, remove it and save the new. This means any pre-existing event that used the old image will now use the new image.
    5) changed FILENAME_DEFAULT_CATALOG to reflect "index" instead of "index.php" when creating links to manufacturers/categories/products. This may be a zen 1.5.1 thing that was missed.
    6) I was having an issue with the manufacturer always overriding the categories and products when ceating a shop link. I added some javascript changes and a new manufacturer select box option ("No Manufacturer") that will remove the shop link. Perhaps a checkbox in the future would be cleaner, this works, a little ugly...for instance to remove a category or product shop link you have to select a manufacturer first then select "No Manufacturer" to remove the link.
    7) Since the manufacturer isn't saved to the db event table I pull the manufacturer id from the shop link so that the correct manufacturer remains highlighted ("selected") in the select box. I may eventually do this for categories and products but it would require not using zen cart's "box" class and I hadn't researched it enough (yet) to know what kind of dependencies I might be affecting.
    8) On a parsing error when file is uploaded no error was being reported, it does now.
    9) The manufacturer created links would open a new tab, categories and products would not, now they all act the same way (by opening a new tab).

    -------------
    Finally I added:
    .../your_www/your_zen_admin/includes/classes/image_manipulator.php

    This is Phil Brown's image manipulator class (https://gist.github.com/philBrown/880506) used to resize uploaded images.
    -------------

    Zip is attached.
    ec_4_alpha_rus_alpha.zip

    After installing ec_4_alpha.zip from previous message just put the 4 files in the appropriate directories.

    Thanks again and I hope this helps,
    Rus Camus

  8. #228
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Event Calendar

    Not stepping on toes at all, and the community ALWAYS welcomes those who roll up their sleeves and jump in with GOOD stuff.. I'm sure dw08gm will TOTALLY appreciate someone jumping in to help with this since he's been solo on this for a while now.. Another set of eyes (and hands) NEVER hurts!!

    Going back to lurk mode on this thread..

    Quote Originally Posted by LaCamus View Post
    Hello,

    First let me thank you for the job you did on the events calendar...thanks!

    I installed your ec_4_alpha.zip with zen cart v1.5.1 (LAMP Centos 6.4 x86_64), and it appears to be working fine. I ran into some problems, (probably old ones or zen cart 1.5.1 induced) and made some changes to a few of the programs. I am just getting involved with zen carts and if I'm stepping on toes or am not following protocol I apologize...I just figured that the changes I made could help someone somewhere.

    If you are looking to see what I cut/changed/added then look for remarks in the php files with the word "rus" in them.

    First I made 2 changes to:
    .../your_www/includes/templates/your_template/templates/tpl_events_calendar_default.php

    1) I altered the view all_events query to not look at H:i:s: since the dates when written to the events table had no time. This defaults the times to midnight (00:00:00) which means you would never see events that ended today (because your current date & time would always be greater, unless you clicked exactly at midnight).
    2) Put in a simple change to not create html code for an event image if none existed in the db events table.
    -------------
    Next I made a number of changes to the following programs:
    .../your_www/your_zen_admin/events_manager.php
    .../your_www/your_zen_admin/includes/events_manager_drop_dns.php

    1) I noticed that any file type could be uploaded when attaching images. If a client doesn't know what they are doing and they upload certain file types that could be a security risk. So I check for jpg, jpeg, gif, and png and if the file is not any of these it shows an error.
    2) When you go to review an added event the file appears to be written regardless of which error flag is set. The only way to easily (without chasing down the code) avoid writing the image would be to blank the _POST image variable and reload the script. To avoid that I put in a workaround that deletes the file at the end of the script if an error was flagged.
    3) I put in a define (EVENT_FILE_MAX_WIDTH) at the beginning of events_manager.php (it is currently set to 600) that is used to check against the width of the uploaded file, if it is greater then the image is reduced to 600 px wide...height is proportionate.
    4) In my scenario I could think of no good reason not to overwrite an existing file. Perhaps it would have been better to use a popup and ask to overwrite the image...instead I just check for the old, remove it and save the new. This means any pre-existing event that used the old image will now use the new image.
    5) changed FILENAME_DEFAULT_CATALOG to reflect "index" instead of "index.php" when creating links to manufacturers/categories/products. This may be a zen 1.5.1 thing that was missed.
    6) I was having an issue with the manufacturer always overriding the categories and products when ceating a shop link. I added some javascript changes and a new manufacturer select box option ("No Manufacturer") that will remove the shop link. Perhaps a checkbox in the future would be cleaner, this works, a little ugly...for instance to remove a category or product shop link you have to select a manufacturer first then select "No Manufacturer" to remove the link.
    7) Since the manufacturer isn't saved to the db event table I pull the manufacturer id from the shop link so that the correct manufacturer remains highlighted ("selected") in the select box. I may eventually do this for categories and products but it would require not using zen cart's "box" class and I hadn't researched it enough (yet) to know what kind of dependencies I might be affecting.
    8) On a parsing error when file is uploaded no error was being reported, it does now.
    9) The manufacturer created links would open a new tab, categories and products would not, now they all act the same way (by opening a new tab).

    -------------
    Finally I added:
    .../your_www/your_zen_admin/includes/classes/image_manipulator.php

    This is Phil Brown's image manipulator class (https://gist.github.com/philBrown/880506) used to resize uploaded images.
    -------------

    Zip is attached.
    ec_4_alpha_rus_alpha.zip

    After installing ec_4_alpha.zip from previous message just put the 4 files in the appropriate directories.

    Thanks again and I hope this helps,
    Rus Camus
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  9. #229
    Join Date
    Sep 2008
    Location
    DownUnder, overlooking South Pole.
    Posts
    984
    Plugin Contributions
    6

    Default Re: Event Calendar

    Hi Rus

    Thanks for looking into the code and offering numerous improvements. The mod has a long history of problems, but since coding is not my forte, I have been unable to do anymore than superficial upgrades. Give me a few days to back to you, probably over Easter.

    Cheers

  10. #230
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Event Calendar

    Quote Originally Posted by dw08gm View Post
    Hi Rus

    Thanks for looking into the code and offering numerous improvements. The mod has a long history of problems, but since coding is not my forte, I have been unable to do anymore than superficial upgrades. Give me a few days to back to you, probably over Easter.

    Cheers
    I totally relate to this! You've been holding this thing together pretty well though..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

 

 
Page 23 of 50 FirstFirst ... 13212223242533 ... LastLast

Similar Threads

  1. Timeslot Booking Event Calendar
    By escapis in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 31 Jan 2014, 12:45 AM
  2. Multiple Choices error with Event Booking Calendar addon
    By FukienMan in forum All Other Contributions/Addons
    Replies: 9
    Last Post: 16 Feb 2012, 12:17 AM
  3. Help with Event Calendar add-on
    By blabay in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 24 Mar 2010, 01:34 PM
  4. Event Calendar Broken - take out of download section!
    By Asmodai in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 10 Nov 2007, 07:22 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg