Zen Cart Logo
Forums / All Other Contributions/Addons / Testimonial Manager Support Thread (for ZC v1.5.x)

Testimonial Manager Support Thread (for ZC v1.5.x)

Views: 65,863

Results 141 to 160 of 263
3 Sep 2015, 12:05 PM
#141
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Testimonial Manager Support Thread (for ZC v1.5.x)

jcrewe:

Hi there :)

I'm hoping someone might be able to help me with an issue I just noticed. I'm using ZC version 1.5.4. The quotes on my testimonials are HUGE! So big that they cover part of the testimonial text. Any way to either make these smaller or remove them all together?

Thanks :)

The quotes are image files. Replace them with smaller images.

Jim
Wheaton Website Services

3 Sep 2015, 12:31 PM
#142
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: Testimonial Manager Support Thread (for ZC v1.5.x)

jcrewe:

Hi there :)

I'm hoping someone might be able to help me with an issue I just noticed. I'm using ZC version 1.5.4. The quotes on my testimonials are HUGE! So big that they cover part of the testimonial text. Any way to either make these smaller or remove them all together?

Thanks :)

Try this download includes/templates/YOUR_TEMPLATE/templates/tpl_display_all_testimonials_default.php
Go down to line 49 and replace:

<div class="testimonial">

with

<div id="testimonial">

See if that will solve your problem.

Is your site Upgraded to the current version 1.5.4 Yet?
zencart-upgrades-website-installation

3 Sep 2015, 1:47 PM
#143
jcrewe avatar

jcrewe

Zen Follower

Join Date:
Jul 2011
Posts:
107
Plugin Contributions:
0

Re: Testimonial Manager Support Thread (for ZC v1.5.x)

countrycharm:

Try this download includes/templates/YOUR_TEMPLATE/templates/tpl_display_all_testimonials_default.php
Go down to line 49 and replace:

<div class="testimonial"> ``` > with > > ```php <div id="testimonial"> ``` > > See if that will solve your problem.

Thanks, Countrycharm! While the quotes are still on the large size, at least they are no longer impeding on the actual testimonial so now it's all legible :)

3 Sep 2015, 3:29 PM
#144
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Testimonial Manager Support Thread (for ZC v1.5.x)

jeking:

The quotes are image files. Replace them with smaller images.
IMHO, this is the BEST solution.. One of these days I gonna look into an option to replace the images with an Awesome Font glyph.. or even a Google Fonts quote..
countrycharm:

Try this download includes/templates/YOUR_TEMPLATE/templates/tpl_display_all_testimonials_default.php
Go down to line 49 and replace:

<div class="testimonial"> ``` > with > > ```php <div id="testimonial"> ``` > > See if that will solve your problem. Or.. one could adjust the CSS for the class to reflect whatever the CSS for the ID is..

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.

3 Oct 2015, 5:54 PM
#145
john_large avatar

john_large

New Zenner

Join Date:
Oct 2015
Location:
Cornwall, UK
Posts:
41
Plugin Contributions:
0

Re: Testimonial Manager Support Thread (for ZC v1.5.x)

Hi Everyone.

I've been using this plugin for years & love it. I've found a weird problem with mine though. Googlebot & bingbot amongst others cannot see the sidebox on my homepage. Fine on every other page of my website but the homepage shows all sideboxes with the exception of Testimonials Manager. You can see this if you look at my homepage https://www.koolbadges.co.uk in googles cache. I can't for the life of me figure out why it doesn't display on the homepage but is fine on every other page. Your input would be much appreciated.

If you fetch as bingbot or googlebot in webmater tools you will see it simply doesn't render.

Thanks in advance

22 Dec 2015, 6:06 PM
#146
coins2012 avatar

coins2012

New Zenner

Join Date:
Jan 2012
Posts:
89
Plugin Contributions:
0

Re: Testimonial Manager Support Thread (for ZC v1.5.x)

I am getting spam testimonials even though I have set 'Only registered customers may submit a testimonial', when I look at the customer submitting it I can't find it in my customer database, how is this happening, I tried to submit a testimonial the system tells me you need to be registered.

Any idea why how to fix this issue, I have google captcha but it's not set up for testimonials.

Any suggestions?

24 Dec 2015, 5:14 AM
#147
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: Testimonial Manager Support Thread (for ZC v1.5.x)

Not sure why I didn't see this before, but I just finished updating my form layout and did a test. Got an error to pop-up even through all worked as expected.

Server OS: Linux
Database: MySQL 5.6.23
PHP Version: 5.4.45

error log states at line 13, PHP Warning: mysql_insert_id(): Access denied for user

in /includes/modules/pages/testimonials_add/header_php.php look for the following three lines

13  require(DIR_WS_FUNCTIONS . 'testimonials.php');

29  $testimonials_id = zen_db_prepare_input($_POST['testimonials_id']);

93  $testimonials_id = zen_db_insert_id(); 

you can comment them out or delete all three lines, no need for them. If for some reason you want to keep the id, use

$db->Insert_ID()
instead of
zen_db_insert_id()

you can Remove the file /functions/testimonials.php it's not needed and calls to mysql_insert_id() which creates the error. This may not be an issue with older PHP versions.

Dave
Always forward thinking... Lost my mind!

24 Dec 2015, 6:58 PM
#148
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,102
Plugin Contributions:
56

Re: Testimonial Manager Support Thread (for ZC v1.5.x)

You don't say which version of Zen Cart you're using, but having that direct mysql_ function call isn't going to "play nice" with Zen Cart v1.5.2 or later (since those later versions use mysqli_ function calls).

24 Dec 2015, 9:31 PM
#149
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: Testimonial Manager Support Thread (for ZC v1.5.x)

lat9:

You don't say which version of Zen Cart you're using, but having that direct mysql_ function call isn't going to "play nice" with Zen Cart v1.5.2 or later (since those later versions use mysqli_ function calls).

Zen Cart 1.5.4

Missed adding that bit... the id is not used at all in the way the code is asking, so removing it completely wouldn't heart anything even for later versions.

Dave
Always forward thinking... Lost my mind!

25 Dec 2015, 1:39 PM
#150
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,102
Plugin Contributions:
56

Re: Testimonial Manager Support Thread (for ZC v1.5.x)

davewest:

Zen Cart 1.5.4

Missed adding that bit... the id is not used at all in the way the code is asking, so removing it completely wouldn't heart anything even for later versions.
FWIW, that's what I've been doing on installations that require this plugin.

13 Nov 2016, 6:42 PM
#151
ravynw34 avatar

ravynw34

Zen Follower

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
112
Plugin Contributions:
0

Re: Testimonial Manager Support Thread (for ZC v1.5.x)

Does anyone know if this has been updated for 1.5.5 yet?
Thanks

6 Apr 2017, 11:52 AM
#152
bonheddwr avatar

bonheddwr

Zen Follower

Join Date:
Jun 2007
Location:
Cymru
Posts:
124
Plugin Contributions:
0

Re: Testimonial Manager Support Thread (for ZC v1.5.x)

Hi, I've got this excellent plugin installed on our site. I have v1.5.5 of Zen Cart installed.

English language version of site - https://www.welsh-lovespoons.co.uk/testimonials
Welsh language version of site - https://www.llwyaucaru.com/gairda

I was just wondering how the meta tags for the individual testimonial pages should work? Currently the meta tag title, description and keywords for all of my testimonials are exactly the same, no content is taken from the text added (title or body) in the testimonial themselves. Is this how it should work? Thanks for any advice.

6 Apr 2017, 11:55 AM
#153
bonheddwr avatar

bonheddwr

Zen Follower

Join Date:
Jun 2007
Location:
Cymru
Posts:
124
Plugin Contributions:
0

Re: Testimonial Manager Support Thread (for ZC v1.5.x)

Here is an example of one of the testimonial pages - https://www.welsh-lovespoons.co.uk/index.php?main_page=testimonials_manager&testimonials_id=522

The meta tags are as follows. This is exactly the same for each and every testimonial which isn't great for google.

<title>Testimonial : Welsh Love Spoons, Hand Carved Lovespoons from Wales</title>
<meta name="keywords" content="welsh love spoons, lovespoons, love spoons, love spoon, lovespoon, welsh lovespoons, celtic lovespoon, celtic love spoon, cadwyn Testimonial" />
<meta name="description" content="Welsh Love Spoons : Testimonial - welsh love spoons, lovespoons, love spoons, love spoon, lovespoon, welsh lovespoons, celtic lovespoon, celtic love spoon, cadwyn" />

Thanks for any advice.

19 Apr 2017, 9:59 PM
#154
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Testimonial Manager Support Thread (for ZC v1.5.x)

bonheddwr:

Hi, I've got this excellent plugin installed on our site. I have v1.5.5 of Zen Cart installed.

English language version of site - https://www.welsh-lovespoons.co.uk/testimonials
Welsh language version of site - https://www.llwyaucaru.com/gairda

I was just wondering how the meta tags for the individual testimonial pages should work? Currently the meta tag title, description and keywords for all of my testimonials are exactly the same, no content is taken from the text added (title or body) in the testimonial themselves. Is this how it should work? Thanks for any advice.
Sounds like the plugin hasn't been written to consider metatags.

To do that it would need to:

  • figure out which testimonial is currently displayed
  • generate relevant metatags for that
  • update the default metatags to the ones for the displayed testimonial

The default logic for calculating metatags is in /includes/modules/meta_tags.php
Since v1.5.5 there's support built in to allow writing of Observer classes which avoid having to edit the actual metatags module file itself. But if you don't mind merging your customizations done to the original file when you upgrade next, you can just edit it directly with the requisite logic.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

2 Jun 2017, 6:25 AM
#155
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: Testimonial Manager Support Thread (for ZC v1.5.x)

does this allow for guests to make a testimonial without having to login?

cheers, Mike

2 Jun 2017, 1:31 PM
#156
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Testimonial Manager Support Thread (for ZC v1.5.x)

shags38:

does this allow for guests to make a testimonial without having to login?

cheers, Mike

No, they need an account.

Jim
Wheaton Website Services

2 Jun 2017, 2:16 PM
#157
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: Testimonial Manager Support Thread (for ZC v1.5.x)

There is a admin switch that turns off/on registered only! so yes none account holders can do testimonials...

Dave
Always forward thinking... Lost my mind!

2 Jun 2017, 5:41 PM
#158
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Testimonial Manager Support Thread (for ZC v1.5.x)

davewest:

There is a admin switch that turns off/on registered only! so yes none account holders can do testimonials...

I stand corrected.

Only registered customers may submit a testimonial is a true/false option.

Jim
Wheaton Website Services

20 Jun 2017, 6:29 PM
#159
nick1973 avatar

nick1973

Totally Zenned

Join Date:
Sep 2008
Location:
Cleethorpes
Posts:
1,230
Plugin Contributions:
3

Re: Testimonial Manager Support Thread (for ZC v1.5.x)

Regarding Meta Tags:

I have Testimonials Manager running on 1.5.5e

There is some code in the instructions which needs to be applied into meta_tags.php

This is what it says in the read me

  1. This section is entirely optional.
    To implement metatags for your testimonials;
    open includes/modules/meta_tags.php.
    locate the following line of code (around line 336)
    // NO "break" here. Allow defaults if not overridden at the per-page level
    Immediately above this line copy and paste the code below.
    (save the edited file to includes/modules/YOUR_TEMPLATE/meta_tags.php and upload to your server.

break;
//TESTIMONIALS:
case 'display_all_testimonials':

$sql = "select * from " . TABLE_TESTIMONIALS_MANAGER . " where status = 1 and language_id = '" . (int)$_SESSION['languages_id'] . "' order by date_added DESC, testimonials_title";
$testimonials = $db->Execute($sql);
while (!$testimonials->EOF) {
$testimonial_string_metatags .= zen_clean_html($testimonials->fields['testimonials_title']) . METATAGS_DIVIDER;

$testimonials->MoveNext();

} //EOF
define('META_TAG_TITLE', META_TAG_TITLE_PAGE_TESTIMONIALS_MANAGER_ALL_TESTIMONIALS . $testimonial_string_metatags);
define('META_TAG_DESCRIPTION', META_TAG_TITLE_PAGE_TESTIMONIALS_MANAGER_ALL_TESTIMONIALS . $testimonial_string_metatags);
define('META_TAG_KEYWORDS', META_TAG_TITLE_PAGE_TESTIMONIALS_MANAGER_ALL_TESTIMONIALS . $testimonial_string_metatags);
break;

case 'testimonials_manager':
define('META_TAG_TITLE', META_TAG_TITLE_PAGE_TESTIMONIALS_MANAGER . $page_check->fields['testimonials_title']);
define('META_TAG_DESCRIPTION', META_TAG_TITLE_PAGE_TESTIMONIALS_MANAGER . zen_trunc_string($page_check->fields['testimonials_html_text'],TESTIMONIALS_MANAGER_DESCRIPTION_LENGTH));
define('META_TAG_KEYWORDS', META_TAG_TITLE_PAGE_TESTIMONIALS_MANAGER . $page_check->fields['testimonials_title']);


Trouble is, when I add this code I get this output:

<title>META_TAG_TITLE_PAGE_TESTIMONIALS_MANAGERGreat</title> <meta name="keywords" content="META_TAG_TITLE_PAGE_TESTIMONIALS_MANAGERGreat" /> <meta name="description" content="META_TAG_TITLE_PAGE_TESTIMONIALS_MANAGERThis is just a test submission to show you how it looks, great, eh?" />

Any ideas why it would put META_TAG_TITLE_PAGE_TESTIMONIALS_MANAGER, META_TAG_TITLE_PAGE_TESTIMONIALS_MANAGER, and META_TAG_TITLE_PAGE_TESTIMONIALS_MANAGER before the actual tag content ?

I think I have an idea but not sure.

Nick Smith - Venture Design and Print
https://venturedesignandprint.co.uk

20 Jun 2017, 7:19 PM
#160
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: Testimonial Manager Support Thread (for ZC v1.5.x)

Nick1973:

Regarding Meta Tags:

I have Testimonials Manager running on 1.5.5e

There is some code in the instructions which needs to be applied into meta_tags.php

I think I have an idea but not sure.

your most likely thinking you need to add something to languages

// Testimonial manager meta tags
define('META_TAG_TITLE_PAGE_TESTIMONIALS_MANAGER_ALL_TESTIMONIALS', 'SOME WORDS  '); 
define('META_TAG_TITLE_PAGE_TESTIMONIALS_MANAGER', 'SOME WORDS  ');

I did to includes/languages/english/YOUR_TEMPLATE/meta_tags.php

Or none, depending on what common wording you want to have for each post... I use my site name.

Dave
Always forward thinking... Lost my mind!