Ask A Question

Views: 120,992

Results 121 to 140 of 399
14 Jun 2007, 6:33 AM
#121
meltdown avatar

meltdown

Totally Zenned

Join Date:
Jun 2006
Location:
My family and I live in Brighton, England
Posts:
947
Plugin Contributions:
0

Ask A Question

Wow - What a sweet add-on! Worked like a charm right out of the box. Scott, thanks for taking the time to update & re-release this!

3 Jul 2007, 7:33 PM
#122
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Ask A Question

Hi!

I'd like this mod to send to a specific email address, different from the main site admin email address, but at the same time I don't want the customer to be able to choose the email it gets sent to. For example, I want to use an email address called "[email protected]" and the only thing I want going there are these ask a question emails. Any idea how I should go about that?

Thanks!

3 Jul 2007, 8:44 PM
#123
swguy avatar

swguy

Administrator

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

Re: Ask A Question

Modify ./includes/modules/pages/ask_a_question/header_php.php
Look for the call to zen_mail. The email address is the second parameter.

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.

23 Jul 2007, 3:00 AM
#124
gogolf avatar

gogolf

New Zenner

Join Date:
Mar 2006
Posts:
57
Plugin Contributions:
0

Re: Ask A Question

I enjoyed using the earlier version of Ask A Question with the earlier 1.2x Zen.
It worked without of hitch. However since updating to Zen 1.3.7 and the new Ask A Question I have hit a wall with my mail server's Spam filters.

My mailserver uses SpamAssassin and for some reason using Zen 1.3.7 with the new Ask A Question finds all the emails going into the Spam folder no matter what filters I put in place. However if I use my old Zen 1.2x with the older Ask contrib I have no problems, the emails arrive in the inbox.

Any suggestions?

24 Jul 2007, 12:21 AM
#125
gogolf avatar

gogolf

New Zenner

Join Date:
Mar 2006
Posts:
57
Plugin Contributions:
0

Re: Ask A Question

I ran into alike problem when I modified my Product Type Info Page Layout options :: Product - General settings. However playing around with the settings I found that the Ask A Question text dropped off the page only when I set the Show Quantity in Stock to false or "0".

Is there any fix around this? Can you still have your Show Qty in Stock set to false and have Ask a Question appear?

ellivir:

I figured a kind of a bug out:
if you have edited in admin the Layout for the Product type by switching off model number, weight etc., the text for Ask A Question will not appear!

Settings when it won't appear:
Product Type Info Page Layout options :: Product - General
Title Value Action
Show Model Number 0 Info
Show Weight 0
Show Attribute Weight 0 Info

So, I do not want model numbers etc. visible, how would we make this add-on working in that case?

For the Document - General type of Product this is not the problem but something else... so I would need to find out how to make it work with that one anyway...

Elli

24 Jul 2007, 12:31 AM
#126
swguy avatar

swguy

Administrator

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

Re: Ask A Question

gogolf:

I ran into alike problem when I modified my Product Type Info Page Layout options :: Product - General settings. However playing around with the settings I found that the Ask A Question text dropped off the page only when I set the Show Quantity in Stock to false or "0".

Is there any fix around this? Can you still have your Show Qty in Stock set to false and have Ask a Question appear?

Look carefully at where you have placed the AAQ code. It sounds like you've accidentally placed it within an if block.

SoftwareGuy

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 Jul 2007, 2:22 AM
#127
gogolf avatar

gogolf

New Zenner

Join Date:
Mar 2006
Posts:
57
Plugin Contributions:
0

Re: Ask A Question

I appreciate the help here. When you say "placed the AAQ code", what is the code and where is it typically placed (clueless here).

swguy:

Look carefully at where you have placed the AAQ code. It sounds like you've accidentally placed it within an if block.

SoftwareGuy

24 Jul 2007, 2:36 AM
#128
swguy avatar

swguy

Administrator

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

Re: Ask A Question

In 1.3.7, place it after l. 164 in tpl_product_info_display.php (end of additional product images). Then, move to taste. The Zen core team has helpfully included comments that say

<!--eof whatever whatever -->

These indicate the end of some block of functionality, and are likely good candidate spots.

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.

24 Jul 2007, 2:47 AM
#129
gogolf avatar

gogolf

New Zenner

Join Date:
Mar 2006
Posts:
57
Plugin Contributions:
0

Re: Ask A Question

Trying to figure out why SpamAssassin is placing my Ask a Question About emails in my spam folder using Zen 1.3.7 and the new contrib, however on my older Zen site which uses Zen Cart 1.2.6 and the older contrib of Ask A Question, I looked at the headers for the emails and this is what it shows:

With Zen 1.2.6:
tests=BAYES_00,NO_RELAYS autolearn=ham version=3.1.8

With Zen 1.3.7:
tests=BAYES_00,NO_RELAYS, URIBL_AB_SURBL,URIBL_SC_SURBL autolearn=no version=3.1.8

I'm not that familiar with response noted in the headers. Does anyone have a clue about this? Is the new contrib for Ask a Question sending something out different in the email than the old contrib which would trigger Spam Assassin to rate it as spam?

gogolf:

I enjoyed using the earlier version of Ask A Question with the earlier 1.2x Zen.
It worked without of hitch. However since updating to Zen 1.3.7 and the new Ask A Question I have hit a wall with my mail server's Spam filters.

My mailserver uses SpamAssassin and for some reason using Zen 1.3.7 with the new Ask A Question finds all the emails going into the Spam folder no matter what filters I put in place. However if I use my old Zen 1.2x with the older Ask contrib I have no problems, the emails arrive in the inbox.

Any suggestions?

24 Jul 2007, 9:20 AM
#130
swguy avatar

swguy

Administrator

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

Re: Ask A Question

gogolf:

Trying to figure out why SpamAssassin is placing my Ask a Question About emails in my spam folder using Zen 1.3.7 and the new contrib, however on my older Zen site which uses Zen Cart 1.2.6 and the older contrib of Ask A Question, I looked at the headers for the emails and this is what it shows ...

This might be better posed to an SA mailing list or forum - I'm sure they see things like this all the time.

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.

24 Jul 2007, 12:19 PM
#131
gogolf avatar

gogolf

New Zenner

Join Date:
Mar 2006
Posts:
57
Plugin Contributions:
0

Re: Ask A Question

AH HAAA!

So by putting in the following:

<!--bof Ask A Question About This Product --> <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" /> <!--eof Ask A Question About This Product -->

after line 164 in the file tpl_product_info_display.php you won't have problems if you modify your Product Type Info Page Layout options :: Product - General settings to not show things like stock levels.

IT WORKED, SIMPLY AMAZING! ZEN'D AGAIN.

Now if I can figure out problem with the email transport with previous version of Zen and this mod vs. the current versions ... I'm a happy camper.

Thank you.

swguy:

In 1.3.7, place it after l. 164 in tpl_product_info_display.php (end of additional product images). Then, move to taste. The Zen core team has helpfully included comments that say

<!--eof whatever whatever -->

These indicate the end of some block of functionality, and are likely good candidate spots.

Good luck,
Scott

25 Jul 2007, 2:46 AM
#132
gogolf avatar

gogolf

New Zenner

Join Date:
Mar 2006
Posts:
57
Plugin Contributions:
0

Re: Ask A Question

OK. I think I found a solution if you have a problem like I mentioned below; basically SpamAssassin is preventing your Ask About Questions from reaching your InBox.

Taking swguy's suggestion in visiting the Email- Newsletters Forum in Zen-Cart.com I found a post by DrByte that suggested in a like problem to go to your store's
Admin-Config-Email Options - Emails must send from known domain?
and set it to "Yes".

I then tried sending an Ask About Question and typed in a fake email address (domain does not exist). When I did this the "from" in the Ask About email has my store's email contact address rather than the fake address I typed into the Ask About Question. However when I open the Ask About email the fake address appears; if you replied to the question the fake email address will be formated into the "to" address. Soooo.... IT WORKS.

To test if SpamAssassin would dump the Ask About email with the fake email address (and my Emails must send from known domain set to Yes) I set SpamAssassin's required_score to a low of 1 and high of 10 and it no longer dumped my Ask About emails into the spam folder at a conservative or liberal spam setting.

THANK YOU ALL.

gogolf:

Trying to figure out why SpamAssassin is placing my Ask a Question About emails in my spam folder using Zen 1.3.7 and the new contrib, however on my older Zen site which uses Zen Cart 1.2.6 and the older contrib of Ask A Question, I looked at the headers for the emails and this is what it shows:

With Zen 1.2.6:
tests=BAYES_00,NO_RELAYS autolearn=ham version=3.1.8

With Zen 1.3.7:
tests=BAYES_00,NO_RELAYS, URIBL_AB_SURBL,URIBL_SC_SURBL autolearn=no version=3.1.8

I'm not that familiar with response noted in the headers. Does anyone have a clue about this? Is the new contrib for Ask a Question sending something out different in the email than the old contrib which would trigger Spam Assassin to rate it as spam?

previous post) I enjoyed using the earlier version of Ask A Question with the earlier 1.2x Zen.
It worked without of hitch. However since updating to Zen 1.3.7 and the new Ask A Question I have hit a wall with my mail server's Spam filters.

My mailserver uses SpamAssassin and for some reason using Zen 1.3.7 with the new Ask A Question finds all the emails going into the Spam folder no matter what filters I put in place. However if I use my old Zen 1.2x with the older Ask contrib I have no problems, the emails arrive in the inbox.

Any suggestions?

25 Jul 2007, 1:22 PM
#133
fluffy_bunny avatar

fluffy_bunny

New Zenner

Join Date:
May 2007
Posts:
76
Plugin Contributions:
0

Re: Ask A Question

Its much easier to install the ask a question with sidebox, the only error that comes up, or something that irritated me was that the sidebox heading was to long, so I made it shorter, otherwise works 101%.

Oh and do select the email from valid e-mail.

18 Sep 2007, 6:00 PM
#134
hendriyani avatar

hendriyani

New Zenner

Join Date:
Aug 2007
Posts:
6
Plugin Contributions:
0

Re: Ask A Question

Can some one help me?
Instead of sending question via e-mail, I want to save it to database. And then it can be viewed when logged in as admin.

  1. Create database to save the question
  2. Change the script in header_php, from 'zen_mail(...' to 'insert into...'
  3. And a lot of work for adding functional in admin: menu, page for seeing the question

Thank you

18 Sep 2007, 6:03 PM
#135
swguy avatar

swguy

Administrator

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

Re: Ask A Question

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.

23 Sep 2007, 12:32 AM
#136
thebooktrunk_com avatar

thebooktrunk_com

New Zenner

Join Date:
Aug 2007
Posts:
30
Plugin Contributions:
0

Re: Ask A Question

Hi, I really like this contribution, i just have a small problem with it, the botton tell a friend moved to the right as you can see here

How can i change this?
Thanks

11 Oct 2007, 5:12 AM
#137
characterdriven avatar

characterdriven

New Zenner

Join Date:
Dec 2006
Location:
Vancouver Island, BC
Posts:
53
Plugin Contributions:
0

Re: Ask A Question

I'm having a hard time getting the button to display. Right now it just says ASK_A_QUESTION where button should be. I've tried uploading the button to various folders other than the one that was in hierarchical folders on unzipping files, but none have worked. Any suggestions?

https://www.characterdriven.com
Character Driven Media

https://www.narnia-productions.com
Stage, Screen and Event Services and Supplies

11 Oct 2007, 7:49 AM
#138
swguy avatar

swguy

Administrator

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

Re: Ask A Question

This zip file assumes your template name is "custom". If you are using another template name, then all directories named "custom" should be renamed "your_template."

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.

12 Oct 2007, 5:06 AM
#139
characterdriven avatar

characterdriven

New Zenner

Join Date:
Dec 2006
Location:
Vancouver Island, BC
Posts:
53
Plugin Contributions:
0

Re: Ask A Question

swguy:

This zip file assumes your template name is "custom". If you are using another template name, then all directories named "custom" should be renamed "your_template."

Scott

I did that when I first unzipped files. I'm wondering if some of the code is pointing to 'custom' rather than my template name, but can't find it. No other reason for the button not to work.

https://www.characterdriven.com
Character Driven Media

https://www.narnia-productions.com
Stage, Screen and Event Services and Supplies

12 Oct 2007, 1:11 PM
#140
gogolf avatar

gogolf

New Zenner

Join Date:
Mar 2006
Posts:
57
Plugin Contributions:
0

Re: Ask A Question

characterdriven:

I did that when I first unzipped files. I'm wondering if some of the code is pointing to 'custom' rather than my template name, but can't find it. No other reason for the button not to work.

I recall something in the mod's instructions that said you had to place some code
to use buttons rather than text. Did you make that change?