Page 18 of 23 FirstFirst ... 81617181920 ... LastLast
Results 171 to 180 of 229
  1. #171
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,473
    Plugin Contributions
    11

    Default Re: Scheduled Events Add-On

    @matzgmb - To be more informative, there were plans to move all processes of this mod to the admin, but the changes in 1.5.0 put that on hold till registration is better understood and we can verify that PCI and sanitation will not be broken. All are advised to rename the folder for now and, in some cases, an underscore can be added to the beginning of the directory name. As it is now, the database connection passes PCI scan in all the stores we've installed it in. Of course, you could always put it in it's own database.

    @gemae - That would be a major change to the concept that events are helpful "Information" for the customer. Of course, the beauty of open source is that you can "adjust as required."

    @slingblade01 - There is no database correlation between the event table and purchases. Even an extraction of orders made during event dates could not provide accurate numbers without knowing if all orders were, in fact, because of the event and not just someone arriving after searching Google.

    @jazzman2 - If you are having problems with one-day events or events dropping off the list early, you might find this fix will work.

    In includes/modules/pages/events/header_php.php find
    $result = $db->Execute("SELECT * FROM " . TABLE_EVENTS . " WHERE (event_stop >= NOW()-1) ORDER BY event_start");
    and replace with
    $result = $db->Execute("SELECT * FROM " . TABLE_EVENTS . " WHERE (event_stop >= CURDATE()-1) ORDER BY event_start");
    Since some ISO's work the date differently, it's a better way of handling the event_stop date anyway.
    If we learn from our mistakes, shouldn't I have multiple doctorates by now?

  2. #172
    Join Date
    Jan 2012
    Posts
    60
    Plugin Contributions
    0

    Default Re: Scheduled Events Add-On

    Hello everyone! I was wondering if there's any way to edit the admin. i love the mod and how it looks but there's stuff i don't really need. i just want it to say

    Event Name
    Location
    Date
    Time
    Details

    Can someone help me? My PHP knowledge is very limited.

    Thank you!

  3. #173
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,473
    Plugin Contributions
    11

    Default Re: Scheduled Events Add-On

    Hello Serg, everyone here.
    Scheduled events is set so that some items will not appear in the listing if nothing is added to that field in the database. For instance, Driving Directions will not appear unless something is entered in the map field in the form.
    There is one problem in your case. The lack of a Stop Date (event_stop) will break the operation as the mod needs to know the stop date in order to stop showing the event.
    The display file that sets the titles of each item is located in includes/templates/YOUR_CUSTOM/templates/tpl_events_default.php. What you are wanting to change starts around line 14.
    As an example, if you wanted to say Location instead of Place, you would change
    if ($eventInfo['event_location'] != '') echo "<strong>Place: </strong>" . $eventInfo["event_location"] . "<br />";
    to
    if ($eventInfo['event_location'] != '') echo "<strong>Location: </strong>" . $eventInfo["event_location"] . "<br />";
    Changing
    if ($eventInfo['event_comments'] != '') echo "<strong>Comments: </strong>" . $eventInfo["Comments"] . "<br />";
    to
    if ($eventInfo['event_comments'] != '') echo "<strong>Details: </strong>" . $eventInfo["Comments"] . "<br />";
    would fix your need for a Details item.
    Of course, you can switch the order of any of those to make them show up in the order you want for your site.

  4. #174
    Join Date
    Jan 2012
    Posts
    60
    Plugin Contributions
    0

    Default Re: Scheduled Events Add-On

    Thank you so much everyone! Haha. I will try that tomorrow, my eyes hurt at the moment. I'll see how it goes!

  5. #175
    Join Date
    Jan 2012
    Posts
    60
    Plugin Contributions
    0

    Default Re: Scheduled Events Add-On

    How do i add the event time? and for the 'Details' why is there a limit on how many characters I can have? There's a lot of details i need to put there. thank you!

  6. #176
    Join Date
    Jan 2012
    Posts
    60
    Plugin Contributions
    0

    Default Re: Scheduled Events Add-On

    Nevermind, i figured out the chararecters, But i can't do the time. is there a way to hide the end date? so it only says Start Date?
    thank you!

  7. #177
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,473
    Plugin Contributions
    11

    Default Re: Scheduled Events Add-On

    Any one of the unused items could be used to report a time. You would have to modify the table and tpl file to accept and display a time element or just use one of them as "Hours" and enter something like "Open from 10 AM till 5 PM."

    I'm having a hard time figuring out why you would want to NOT let someone know when the event ended, but, like everything else, it can be hidden in the tpl file. You would just comment out the line.

    Please understand that this thread is to assist with general operation of the Scheduled Events Mod versus help in rewriting a mod for your personal use. We're getting deeper into the "how do I customize this for me?" which is outside the scope of the thread.

    Open Source means you can take it, reverse it, invert it, flatten it, or whatever your wish. But, if you are unable to do so with the information already provided, it might be time to contract someone who is knowledgeable enough to create your new "masterpiece".

    Don't want to cut you off at the knees, but I'm afraid the thread will get too far adrift if we continue with customization versus operation.

    Best of luck with this and, when you've gotten it to your liking, consider submitting it to Add Ons so that it could be available for anyone else that might need your particular version.

  8. #178
    Join Date
    Jan 2012
    Posts
    60
    Plugin Contributions
    0

    Default Re: Scheduled Events Add-On

    Quote Originally Posted by dbltoe View Post
    Any one of the unused items could be used to report a time. You would have to modify the table and tpl file to accept and display a time element or just use one of them as "Hours" and enter something like "Open from 10 AM till 5 PM."

    I'm having a hard time figuring out why you would want to NOT let someone know when the event ended, but, like everything else, it can be hidden in the tpl file. You would just comment out the line.

    Please understand that this thread is to assist with general operation of the Scheduled Events Mod versus help in rewriting a mod for your personal use. We're getting deeper into the "how do I customize this for me?" which is outside the scope of the thread.

    Open Source means you can take it, reverse it, invert it, flatten it, or whatever your wish. But, if you are unable to do so with the information already provided, it might be time to contract someone who is knowledgeable enough to create your new "masterpiece".

    Don't want to cut you off at the knees, but I'm afraid the thread will get too far adrift if we continue with customization versus operation.

    Best of luck with this and, when you've gotten it to your liking, consider submitting it to Add Ons so that it could be available for anyone else that might need your particular version.
    I'm sorry, I'm just learning this whole zen cart situation and I don't know PHP that well. I would love to customize it and add it for everyone to download. I just don't know how. The add-on is great, don't get me wrong. Once again I'm sorry. For the end date, I am not using the events to let people know about sales and stuff like that, it's
    more for in store event, so all I need is the date and time. I will try to figure out how to hide the line. Thank you, and I'm
    Sorry.

  9. #179
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,473
    Plugin Contributions
    11

    Default Re: Scheduled Events Add-On

    No need to be sorry about asking questions. You'll get there one day.
    You might want to open a thread in the general questions area and fully explain what you are trying to do. You'll probably find someone will have a workable solution.
    The more you explain what exactly you want to do, the better your answers will be.

  10. #180
    Join Date
    Feb 2010
    Location
    New South Wales, Australia
    Posts
    228
    Plugin Contributions
    0

    Default Re: Scheduled Events Add-On

    I only just discovered your add-on last week and it is perfect for me.
    It is working well. Except if I have a multi day event it removes the event from the list on the last day rather than the day after the last day. How can I fix this?

 

 
Page 18 of 23 FirstFirst ... 81617181920 ... LastLast

Similar Threads

  1. Scheduled sending of eCards
    By cna-tester in forum General Questions
    Replies: 0
    Last Post: 18 Aug 2010, 09:14 AM
  2. Send scheduled email to customers???
    By hifipj in forum General Questions
    Replies: 2
    Last Post: 16 Oct 2007, 02:39 PM
  3. USPS API Updates Scheduled
    By batteryman in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 25 Apr 2007, 09:43 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR