Ask A Question

Views: 120,990

Results 181 to 200 of 399
5 Jan 2009, 2:57 PM
#181
decostyle avatar

decostyle

Zen Follower

Join Date:
Mar 2008
Posts:
336
Plugin Contributions:
0

Ask A Question

Hi,

I have successfully added a telephone number field on the Ask a question template and was wanting to have a captcha on it.

I was able to make the captcha come out but I can't figure out where to insert the code in the header.php.php for it to check the captcha?

Right now, it accepts anything you type in it.

Appreciate your help on this! Thanks!

22 Jan 2009, 7:50 PM
#182
donostiarra123 avatar

donostiarra123

New Zenner

Join Date:
Nov 2008
Posts:
46
Plugin Contributions:
0

Re: Ask A Question

Hello.

I would also add the field name and email, phone (not compulsory) and population and postal code required.

I added codes and do not see how I get the blank web ... it is clear that I do not :frusty: :(

Can anyone help me?

Thank you

4 Feb 2009, 4:55 PM
#183
decostyle avatar

decostyle

Zen Follower

Join Date:
Mar 2008
Posts:
336
Plugin Contributions:
0

Re: Ask A Question

Hello everyone,

I wanted to share these files where I was successfully able to add a telephone number field and captcha on the ask a question form. I am not a programmer so please test and use at your own risk.

The telephone number field will appear on the Office Use only portion of the email that you recieve when someone asks a question. I haven't been able to figure out how to make it come out on top, maybe someone can work on this?

donostiarra123:

Hello.

I would also add the field name and email, phone (not compulsory) and population and postal code required.

I added codes and do not see how I get the blank web ... it is clear that I do not :frusty: :(

Can anyone help me?

Thank you

21 Feb 2009, 5:26 PM
#185
supplyman avatar

supplyman

New Zenner

Join Date:
Feb 2008
Location:
Alabama
Posts:
12
Plugin Contributions:
0

Re: Ask A Question

I have added the Ask_A_Question to a clean zen cart installation on my local computer. I am using Zen cart 1.3.8. The problem I have is that on my home page I get a statement above my welcome that says "Ask a Question". This also occurs on my product catagory pages. I hve recheck all the file placement to make sure they are correct. I also used the optional sidebox addon. I am lost as to what I need to do to correct the problem.

21 Feb 2009, 6:21 PM
#186
lankeeyankee avatar

lankeeyankee

Totally Zenned

Join Date:
Jan 2007
Posts:
1,514
Plugin Contributions:
1

Re: Ask A Question

Decostyle:

Sorry forgot the attachment: Download it here:

http://www.yousendit.com/download/WnBSK2VncG9sMHhMWEE9PQ

It's expired on that site, could you please attach it here or possibly package it up as an update to the contribution? Or you can email it to me, I am about to post an update to this mod and can incorporate your changes into mine. I'll give you credit for the code blocks in the files and readme. m a t t (a t ) d r u m f a c t o r y d i r e c t (d o t ) c o m

The update I am about to post to the downloads uses the ddaccordion script to hide the form on the product info page, you are no longer taken to another page to ask a question as the form is now embedded in the product info page. I find that it makes it a better experience for the user since they never leave the page, and the javascript accordion effect is cool. You can place the form anywhere on the product page apart from inside of the product/add to cart form.


Zen Cart and it's community are the best!!

21 Feb 2009, 6:25 PM
#187
lankeeyankee avatar

lankeeyankee

Totally Zenned

Join Date:
Jan 2007
Posts:
1,514
Plugin Contributions:
1

Re: Ask A Question

supplyman:

I have added the Ask_A_Question to a clean zen cart installation on my local computer. I am using Zen cart 1.3.8. The problem I have is that on my home page I get a statement above my welcome that says "Ask a Question". This also occurs on my product catagory pages. I hve recheck all the file placement to make sure they are correct. I also used the optional sidebox addon. I am lost as to what I need to do to correct the problem.

It sounds like you might have uploaded a file to a wrong directory. The easiest way to find out is in the admin panel. Go to tools>developers toolkit. In the last field at the bottom enter the string Ask A Question, and select catalog from the dropdown next to it. See where all instances occur and compare to the original installation files to see if something is out of place. The developer's toolkit is the first place to turn when you are trying to hunt down errant bits of code.


Zen Cart and it's community are the best!!

21 Feb 2009, 9:54 PM
#188
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,729
Plugin Contributions:
56

Re: Ask A Question

lankeeyankee:

It's expired on that site, could you please attach it here or possibly package it up as an update to the contribution? Or you can email it to me, I am about to post an update to this mod and can incorporate your changes into mine.

PLEASE DON'T DO THIS.

If you want to create a new mod, that's fine but don't update this one, particularly changes from someone whose documentation begins with the statement, "I'm not a programmer." Lots of people will not want the complexities of captcha and additional scripts.

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.

21 Feb 2009, 10:11 PM
#189
lankeeyankee avatar

lankeeyankee

Totally Zenned

Join Date:
Jan 2007
Posts:
1,514
Plugin Contributions:
1

Re: Ask A Question

swguy:

PLEASE DON'T DO THIS.

If you want to create a new mod, that's fine but don't update this one, particularly changes from someone whose documentation begins with the statement, "I'm not a programmer." Lots of people will not want the complexities of captcha and additional scripts.

Ah, sorry, I reread what I posted and I apologize for the confusion. What I meant to say was that I am going to post an updated version as a separate module to include the accordion effect etc. I wouldn't post an update to a module without first contacting the original author! Sorry!:blush:


Zen Cart and it's community are the best!!

23 Feb 2009, 11:50 PM
#190
grafx2g avatar

grafx2g

New Zenner

Join Date:
Jan 2009
Location:
Los Angeles, CA
Posts:
69
Plugin Contributions:
0

Re: Ask A Question

I've installed the "AAQ" and I'm using the latest version of Zen.

I followed the instructions provided.

Move includes/templates/template_default/templates/tpl_product_info_display.php
to your own template directory, if it's not already there.  
In this file, find:  <!-- eof Product details list -->

On the following line, insert this block of code: 

   <span id="productQuestions" class="biggerText">
   <br />
   <b><?php echo '<a href="' . zen_href_link(FILENAME_ASK_A_QUESTION, 'products_id=' . $_GET['products_id']) . '">' . ASK_A_QUESTION . '</a>'; ?></b>
   </span>
   <br class="clearBoth" />

Alternately, you may use the button provided.  To do this, insert

   <div id="askQuestion" class="biggerText">
   <?php echo '<a href="' . zen_href_link(FILENAME_ASK_A_QUESTION, 'products_id='
   . $_GET['products_id']) . '">' .
   zen_image_button(BUTTON_IMAGE_ASK_A_QUESTION, BUTTON_ASK_A_QUESTION_ALT) .
   '</a>'; ?></div>
   <br />
   <br class="clearBoth" />

The button link show's up fine on the product page. However when I click on it. the link just takes me to,

index.php?main_page=FILENAME_ASK_A_QUESTION&products_id=416

I thought the latest version as as easy as copying over one file into the includes\templates\template_default\templates\tpl_product_info_display.php

I even created a new path with my template name.

Why isn't this working when I click on it?

24 Feb 2009, 6:51 AM
#191
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,729
Plugin Contributions:
56

Re: Ask A Question

You have not uploaded includes/extra_datafiles/<your template>/ask_a_question.php

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.

24 Feb 2009, 6:25 PM
#192
grafx2g avatar

grafx2g

New Zenner

Join Date:
Jan 2009
Location:
Los Angeles, CA
Posts:
69
Plugin Contributions:
0

Re: Ask A Question

Ok great, so where do I get these extra files for the new Zen? Do I download an older version of the mod? The latest update didn't come with the extra includes.

Please advise.

Thank you

24 Feb 2009, 6:29 PM
#193
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,729
Plugin Contributions:
56

Re: Ask A Question

  1. Copy includes/extra_datafiles/custom/ask_a_question.php
    to
    includes/extra_datafiles/<your template>/ask_a_question.php

Just like you did for the files in includes/languages and includes/templates.

  1. Upload

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.

24 Feb 2009, 6:46 PM
#194
grafx2g avatar

grafx2g

New Zenner

Join Date:
Jan 2009
Location:
Los Angeles, CA
Posts:
69
Plugin Contributions:
0

Re: Ask A Question

I did an easy install for Zen Cart and I haven't changed any configuration files in regards to deleting them.

I looked in my includes directory under extra_datafiles and there isn't anything but Linkpoint_api_database_tables.php and music_type_database_names.php.

I've attached a screen shot of my directory files.

Please advise on where I can get the file so that I can create the folders.

Thank you.

24 Feb 2009, 7:09 PM
#195
grafx2g avatar

grafx2g

New Zenner

Join Date:
Jan 2009
Location:
Los Angeles, CA
Posts:
69
Plugin Contributions:
0

Re: Ask A Question

I read something about these files being removed from the new version? If this is true can you please tell me how to get the ask_a_question.php File.

24 Feb 2009, 8:32 PM
#196
grafx2g avatar

grafx2g

New Zenner

Join Date:
Jan 2009
Location:
Los Angeles, CA
Posts:
69
Plugin Contributions:
0

Re: Ask A Question

I'm sorry for the stupid question. I seen that the files are included in the zip. I don't know what I was thinking. Thank you for replying and helping me out. I got it working great.

Good stuff Zen Guys!!!

25 Apr 2009, 2:55 PM
#197
neboztik avatar

neboztik

New Zenner

Join Date:
Jan 2009
Location:
Czech Republic
Posts:
59
Plugin Contributions:
0

Re: Ask A Question

Does anybody have all-in-one solution? I am new here and I will really appreciate if this interesting contribution works. I download latest versions where is not included sql code and maybe something else. THX :blush:

25 Apr 2009, 3:01 PM
#198
neboztik avatar

neboztik

New Zenner

Join Date:
Jan 2009
Location:
Czech Republic
Posts:
59
Plugin Contributions:
0

Re: Ask A Question

neboztik:

Does anybody have all-in-one solution? I am new here and I will really appreciate if this interesting contribution works. I download latest versions where is not included sql code and maybe something else. THX :blush:
I found it, there it is, maybe it comes to handy: ```
INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Allow Guest To Ask A Product Question', 'ALLOW_GUEST_TO_ASK_A_QUESTION', 'true', 'Allow guests to ask a question about a product', '12', '24', 'zen_cfg_select_option(array('true', 'false'), ', now());
INSERT INTO configuration (configuration_title , configuration_key , configuration_value , configuration_description , configuration_group_id , sort_order , last_modified , date_added ) VALUES ('Ask A Question Email To:', 'ASK_EMAIL', '[email protected]', 'Email address that receives questions.', '12', 25, now(), now());
INSERT INTO configuration (configuration_title , configuration_key , configuration_value , configuration_description , configuration_group_id , sort_order , last_modified , date_added ) VALUES ('Ask A Question Name To', 'ASK_NAME', 'Admin', 'Name to send questions to', '12', 26, now(), now());

25 Apr 2009, 3:32 PM
#199
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,729
Plugin Contributions:
56

Re: Ask A Question

You don't need that stuff anymore. It's not used. What's in the downloads area is complete and sufficient; just follow the instructions.

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.

28 Apr 2009, 7:00 PM
#200
micmed avatar

micmed

Zen Follower

Join Date:
Mar 2008
Location:
The Free South
Posts:
165
Plugin Contributions:
0

Re: Ask A Question

Bots continue to crawl "Ask a Question" on my products even though I have removed this Mod from the site. Any suggestions?

www.thecablestation.com

www.theCableStation.com
"If we restrict liberty to attain security we will lose them both."