Thread: Ask A Question

Page 1 of 2 12 LastLast
Results 1 to 10 of 399

Hybrid View

  1. #1
    Join Date
    Sep 2004
    Posts
    2,420
    Plugin Contributions
    2

    Default Re: Ask A Question

    In case anyone wants to visit the support thread for the previous mod version:
    http://www.zen-cart.com/forum/showthread.php?t=36598

    And the previous archives for that thread is at http://www.zen-cart.com/forum/showthread.php?t=6098

  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,511
    Plugin Contributions
    126

    Default Re: Ask A Question

    Your changes look good.

    I have only verified this with 1.3.0.2; you would have to verify it with other 1.3's. And I have no idea about 1.2.

    I downloaded Marg's contribution prior to it being deleted and there was no button in it. These things were all text prior to 1.3.

    Good luck,
    Scott
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  3. #3
    Join Date
    Sep 2004
    Posts
    2,420
    Plugin Contributions
    2

    Default Re: Ask A Question

    Quote Originally Posted by swguy
    I have only verified this with 1.3.0.2; you would have to verify it with other 1.3's. And I have no idea about 1.2.
    Yes that is why I was wondering why Marg's version was removed from the downloads area as it also support previous ZC versions

    Quote Originally Posted by swguy
    I downloaded Marg's contribution prior to it being deleted and there was no button in it. These things were all text prior to 1.3.
    Marg updated her "ask_a_question_v1.3.0" for 1.3x (last file change is May 24, 2006). I have it running on Zen Cart 1.3.0.1. Including the graphic button provided in that same version. Previous version from Apr 06, 2006, which also ran on ZC 1.3x also had the button included.

    Button is attached.
    Attached Images Attached Images  

  4. #4
    Join Date
    Oct 2005
    Posts
    38
    Plugin Contributions
    0

    Default Re: Ask A Question

    I have installed this contribution and it works fine - except when HTML emails are slected. The emaila is still sent but there is no reference to the actual product that the question is being asked about. Any ideas as to why this is?

  5. #5
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,511
    Plugin Contributions
    126

    Default Re: Ask A Question

    With the html email, I think you'd have to add another file in the email directory ... I haven't used that so I didn't look into it.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  6. #6
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,511
    Plugin Contributions
    126

    Default Re: Ask A Question

    Re: Marg's contribution

    I looked for it when I started working on this, which was only about a month ago, and didn't see it. I really can't speak to the question of its deletion; perhaps the mods can speak up.

    As noted in the readme file, I ported this myself because I noticed it was missing from 1.3 and I enjoyed using it back in 1.27d.

    Scott
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  7. #7
    Join Date
    Oct 2005
    Posts
    38
    Plugin Contributions
    0

    Default Re: Ask A Question

    There was no call up for the product in the HTML version of the email.
    I ended up modifying /includes/modules/pages/ask_a_question/tpl_header_php.php and it all works fine now.

    For anyone that is interested:
    Replaced -
    Code:
    $html_msg['EMAIL_MESSAGE_HTML'] = strip_tags($_POST['enquiry']);
    With -
    Code:
    $html_msg['EMAIL_MESSAGE_HTML'] = '<b>Product: </b><a href="' . zen_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $_GET['products_id']) . '">' . $product_info->fields['products_name'] . '</a><br />' . strip_tags($_POST['enquiry']);

  8. #8
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,511
    Plugin Contributions
    126

    Default Re: Ask A Question

    I just uploaded a version with the fixes that have been suggested plus the button that was posted. It should be available in a few days after the mods approve it.

    Scott
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  9. #9
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,511
    Plugin Contributions
    126

    Default 1.3.7 Upgrade (AAQ)

    Ask A Question users who are also using the button (instead of a text link): be sure to merge the new 1.3.7 includes/languages/english/button_names.php file changes with your customizations.

    Scott
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  10. #10
    Join Date
    Sep 2005
    Location
    Adelaide South Australia
    Posts
    31
    Plugin Contributions
    0

    Default Re: Ask A Question

    Hi swguy,

    Just installed the AAQ mod and get the follwoing error when clicking on th eAAQ link:

    Warning: require(includes/templates/template_default/templates/tpl_ask_a_question_default.php) [function.require]: failed to open stream: No such file or directory in /***/template_default/common/tpl_main_page.php on line 119

    Fatal error: require() [function.require]: Failed opening required 'includes/templates/template_default/templates/tpl_ask_a_question_default.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /***/template_default/common/tpl_main_page.php on line 119

    This error was mentioned in a couple of eariler posts but other than "dont bother I uninstalled it", and "....figured out what I did wrong...was my own stupidity...."... no other fix or tip for fixing the problem was noted by the author which isn't a lot of help with other cart owners suffering from 4am brain freeze! :)

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Ask A Question module
    By okibi in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 18 Apr 2007, 01:55 PM
  2. Ask a question 1.7
    By Kodam in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 4 Apr 2007, 11:16 PM

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