Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How Did You Hear About Us - Support


Recommended Posts

I've just loaded this contrib. and it works well. Customers can sign-up fill out the new 'how did you find us' bits, so basically pleased.

 

Howver... When I try to view the contents of a category, I get this message

1146 - Table 'myname_osc1.Catalogue' doesn't exist

 

select category_description from Catalogue description where categories_id = '42'

 

[TEP STOP]

The catalogue does exist as its all viewable/editable in admin. On the front page I can click on a new product and view all its details and purchase it. Its just the category I'm having problems with :(

 

Any ideas on where to look or make good please?

 

Thanks in advance.

____________________________________________________________________

____________________________________________________________________

Link to comment
Share on other sites

  • Replies 318
  • Created
  • Last Reply

Top Posters In This Topic

That error is in no way relates to the heard about us mod.

 

If you installed the heard about us mod ... you must have accidentally removed or altered some code having to do with I am guessing ... one of the Categories Description Mods.

 

Did you by chance install a mod for Categories Descriptions?

Link to comment
Share on other sites

That error is in no way relates to the heard about us mod.

 

If you installed the heard about us mod ... you must have accidentally removed or altered some code having to do with I am guessing ... one of the Categories Description Mods.

 

Did you by chance install a mod for Categories Descriptions?

Hi,

 

I do have a contrib for cat descriptions, however I've been using that for several months. Since then, there hasn't been any other mods until I add the 'How did you hear about us' mod yesterday.

 

Looks like I'll have to start reloading my back-up files one by one to see which one sorts out the error. Unless someone else has any ideas please?

____________________________________________________________________

____________________________________________________________________

Link to comment
Share on other sites

Is it just me having problems posting on this forum since the layout has been changed?

 

Shame its not possible to post on the Lo-fi version

 

Anyway....

Ya and try it a few times. I have done that. Sometimes it takes a few go's at it before it kicks in .. or u realize you missed one small step etc.
Well I've gone two steps back and removed this contrib. and the previous one which was showing errors. I've reloaded a different version of the previous contrib. I've now reloaded this contrib. and now get an error on the create_account.php page which says
1146 - Table 'myname_osc1.TABLE_SOURCES' doesn't exist

 

select sources_id, sources_name from TABLE_SOURCES order by sources_name

 

[TEP STOP]

The error message is not true, as I can view the list of erreral sources (Google, AOL etc.) and the list of where the customers were referred from.

 

Any ideas over why I'm getting the error please?

____________________________________________________________________

____________________________________________________________________

Link to comment
Share on other sites

  • 4 weeks later...

Can anyone help with getting the menu selection to be required? I have it set in Admin --> required=yes but I do not get a required error message if I leave it as default on the create_account.php file.

 

I've tried inserting this code:

if (strrev($source) == '999')
{
$error = true;
$messageStack->add('create_account',ENTRY_SOURCE_ERROR);
}

 

But that doesn't seem to do anything... This is supposed to be a function when you install it out of the box right? I can't get it to work, any ideas would be gladly entertained.

 

Mike

Installed Modules:

Dynamenu, InfoBox Admin, Master Products v.1.2, Header Tags Controller, Multiple Products Manager, Quick Edit in Admin, Secure Admin, Ultimate SEO URL's, EZ Secure Order, Easy Populate v.2.76d MS2, AuthorizeNet_AIM, ChangeFinal Breadcrumb Title, FedEx Labels, Fedex Direct 2.06, How Did you Hear 1.5, Login a la Amazon, UPS XML 1.2.4, USPS Labels, USPS Methods API MS2

Link to comment
Share on other sites

  • 1 month later...

I just installed the contribution with the text box only option. It seems to be working great but the box alignment is off. There is a big gap between "How did you hear about us?" and the text box as seen at

 

https://www.absolute-designs.biz/catalog/cr...2c8426c69ec4d6e

 

It has then pushed the password boxes out of alignment also.

 

How can I fix this?

 

Thanks.

 

Samantha

Link to comment
Share on other sites

  • 4 weeks later...

Hi all. I'm new to this forum and have a question about v1.6

 

In the readme it says:

 

"* Updated backend reporting to include more useful data such as referral dates."

 

 

Does anyone know if the reporting section has been updated to reflect this change. I'd love to be able to get referral data for a specific time period. Is this available? Is anyone working on it?

 

 

Thanks,

 

Mark.

Link to comment
Share on other sites

  • 1 month later...

Someone there have a fix, so i can chances the customer, when i will edit a customer ???

I have the "How Did You Hear 1.5.1"

I have try, but get error.

 

Hope someone can help me

 

Thanks for a good contri and work

Edited by TheExterminator
Link to comment
Share on other sites

  • 3 weeks later...

Hi All,

 

I have this installed and working great with the 'Other' option, but I have a question, I cant seem to resolve.

 

I need to control the order of the options, and order by ID or by name will not do it. As a temp fix I put the number (of the position I want it to be) in front of the names.

 

IE

 

1. Google

2. ABC

3. Yahoo

 

etc.

 

If this was a procedural coding, I could just find the SQL query and change it, but I have not been able to totally 'wrap my brain' around osC yet.

 

Thanks for the help in advance,

 

Don

Link to comment
Share on other sites

  • 1 month later...

Has anyone added the ability to edit their original answer once they've already registered? I'd like my customers to be able to view/edit their "referral" on their edit customer screen. (i.e. account_edit.php)

 

And, it would be nice if it appeared in the invoice.

 

I already modded it so the referral appears in the email notification.

 

Any help would be greatly appreciated!

 

Ned

Link to comment
Share on other sites

Hi

 

Can you explain how you got the OTHER OPTION working ?

 

Venk

 

 

Hi All,

 

I have this installed and working great with the 'Other' option, but I have a question, I cant seem to resolve.

 

I need to control the order of the options, and order by ID or by name will not do it. As a temp fix I put the number (of the position I want it to be) in front of the names.

 

IE

 

1. Google

2. ABC

3. Yahoo

 

etc.

 

If this was a procedural coding, I could just find the SQL query and change it, but I have not been able to totally 'wrap my brain' around osC yet.

 

Thanks for the help in advance,

 

Don

Link to comment
Share on other sites

Has anyone added the ability to edit their original answer once they've already registered? I'd like my customers to be able to view/edit their "referral" on their edit customer screen. (i.e. account_edit.php)

 

And, it would be nice if it appeared in the invoice.

 

I already modded it so the referral appears in the email notification.

 

Any help would be greatly appreciated!

 

Ned

 

Wouldn't use simply use the same code that was used to add it to the email and instead add it in an appropriate area on invoice.php?

 

BTW, what was the code you used so it displayed in the email notification?

 

Thanks.

Link to comment
Share on other sites

  • 2 weeks later...

I'm getting an error on my site when installing:

 

Parse error: syntax error, unexpected '"' in /home/queenb/public_html/shop/includes/functions/html_output.php on line 134

 

I can't track down the " anywhere around line 134... can you help? (please)

 

_____________

 

Here is the code for the file "html_output.php" that has the error in it

 

_____________

 

////

 

<?php

/*

$Id: html_output.php,v 1.56 2003/07/09 01:15:48 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

////

// The HTML href link wrapper function

function tep_href_link($page = '', $parameters = '', $connection = 'NONSSL', $add_session_id = true, $search_engine_safe = true) {

global $request_type, $session_started, $SID;

 

if (!tep_not_null($page)) {

die('</td></tr></table></td></tr></table><br><br><font color="#ff0000"><b>Error!</b></font><br><br><b>Unable to determine the page link!<br><br>');

}

 

if ($connection == 'NONSSL') {

$link = HTTP_SERVER . DIR_WS_HTTP_CATALOG;

} elseif ($connection == 'SSL') {

if (ENABLE_SSL == true) {

$link = HTTPS_SERVER . DIR_WS_HTTPS_CATALOG;

} else {

$link = HTTP_SERVER . DIR_WS_HTTP_CATALOG;

}

} else {

die('</td></tr></table></td></tr></table><br><br><font color="#ff0000"><b>Error!</b></font><br><br><b>Unable to determine connection method on a link!<br><br>Known methods: NONSSL SSL</b><br><br>');

}

 

if (tep_not_null($parameters)) {

$link .= $page . '?' . tep_output_string($parameters);

$separator = '&';

} else {

$link .= $page;

$separator = '?';

}

 

while ( (substr($link, -1) == '&') || (substr($link, -1) == '?') ) $link = substr($link, 0, -1);

 

// Add the session ID when moving from different HTTP and HTTPS servers, or when SID is defined

if ( ($add_session_id == true) && ($session_started == true) && (SESSION_FORCE_COOKIE_USE == 'False') ) {

if (tep_not_null($SID)) {

$_sid = $SID;

} elseif ( ( ($request_type == 'NONSSL') && ($connection == 'SSL') && (ENABLE_SSL == true) ) || ( ($request_type == 'SSL') && ($connection == 'NONSSL') ) ) {

if (HTTP_COOKIE_DOMAIN != HTTPS_COOKIE_DOMAIN) {

$_sid = tep_session_name() . '=' . tep_session_id();

}

}

}

 

if ( (SEARCH_ENGINE_FRIENDLY_URLS == 'true') && ($search_engine_safe == true) ) {

while (strstr($link, '&&')) $link = str_replace('&&', '&', $link);

 

$link = str_replace('?', '/', $link);

$link = str_replace('&', '/', $link);

$link = str_replace('=', '/', $link);

 

$separator = '?';

}

 

if (isset($_sid)) {

$link .= $separator . $_sid;

}

 

return $link;

}

 

////

 

 

function calculateCacheSubDir($width, $height)

{

if ($width == SMALL_IMAGE_WIDTH && $height == SMALL_IMAGE_HEIGHT) return 'small';

if ($width == HEADING_IMAGE_WIDTH && $height == HEADING_IMAGE_HEIGHT) return 'heading';

if ($width == SUBCATEGORY_IMAGE_WIDTH && $height == SUBCATEGORY_IMAGE_HEIGHT) return 'subcategory';

if ($width == ULT_THUMB_IMAGE_WIDTH && $height == ULT_THUMB_IMAGE_HEIGHT) return 'additional';

if ($width == MEDIUM_IMAGE_WIDTH && $height == MEDIUM_IMAGE_HEIGHT) return 'medium';

if ($width == LARGE_IMAGE_WIDTH && $height == LARGE_IMAGE_HEIGHT) return 'large';

 

return 'imagecache';

}

 

// The HTML image wrapper function

function tep_image($src, $alt = '', $width = '', $height = '', $parameters = '')

{

if ( (empty($src) || ($src == DIR_WS_IMAGES)) && (IMAGE_REQUIRED == 'false') )

{

return false;

}

 

if ($image_size = @getimagesize($src))

{

if (CONFIG_CALCULATE_IMAGE_SIZE == 'true' &&

$src != DIR_WS_IMAGES . 'pixel_black.gif' &&

$src != DIR_WS_IMAGES . 'pixel_trans.gif' &&

$src != DIR_WS_IMAGES . 'pixel_silver.gif' )

{

if ( ($width) || ($height))

{

if ( $width=="100%" )

{

$width = $image_size[0];

}

elseif ( $height=="100%" )

{

$height = $image_size[1];

}

elseif ( $width==0 )

{

unset($width);

}

elseif ( $height==0 )

{

unset($height);

}

 

$imagePath = DIR_FS_CATALOG . '/' .$src;

$cacheDir = DIR_FS_CATALOG . '/' . DIR_WS_IMAGES . 'imagecache';

$cacheDir = DIR_FS_CATALOG . '/' . DIR_WS_IMAGES . calculateCacheSubDir($width, $height);

 

$src = thumbimage($imagePath, $width, $height, 1, 1, $cacheDir);

 

if ((($image_size[1]/$height) > ($image_size[0]/$width) ) && $height>0)

{

$width=ceil(($image_size[0]/$image_size[1])* $height);

}

elseif ($width>0)

{

$height=ceil($width/($image_size[0]/$image_size[1]));

}

}

}

}

elseif (IMAGE_REQUIRED == 'false')

{

return '';

}

 

// alt is added to the img tag even if it is null to prevent browsers from outputting

// the image filename as default

$image = '<img src="' . tep_output_string($src) . '" border="0" alt="' . tep_output_string($alt) . '"';

 

if (tep_not_null($alt))

{

$image .= ' title=" ' . tep_output_string($alt) . ' '"';

}

 

 

// BEGIN Code Keep Image Proportions

if (tep_not_null($width) && tep_not_null($height))

{

if (IMAGE_CONSTRAIN_PROPORTIONS == 'true' )

{

$image_size = @getimagesize($src);

if ($image_size[0] <> 0)

{

$ratio = $width / $image_size[0];

if ($image_size[1]*$ratio > $height)

{

$ratio = $height / $image_size[1];

$width = $image_size[0] * $ratio;

}

else

{

$height = $image_size[1] * $ratio;

}

}

if (($image_size[0] < $width) && ($image_size[1] < $height)) {

$width = $image_size[0];

$height = $image_size[1];

}

$image .= ' width="' . tep_output_string($width) . '" height="' . tep_output_string($height) . '"';

}

else {

$image .= ' width="' . tep_output_string($width) . '" height="' . tep_output_string($height) . '"';

}

}

// END Code Keep Image Proportions

 

if (tep_not_null($parameters)) $image .= ' ' . $parameters;

 

$image .= '>';

 

 

return $image;

}

 

////

// The HTML form submit button wrapper function

// Outputs a button in the selected language

// BEGIN: CSS Buttons Everywhere

function tep_image_submit($image, $value = '-AltValue-', $parameters = '') {

global $language;

$css_submit = '<input type="submit" class="cssButton" value="' . tep_output_string($value) . '" />';

return $css_submit;

}

// END: CSS Buttons Everywhere

 

////

// Output a function button in the selected language

// BEGIN: CSS Buttons Everywhere

function tep_image_button($image, $value = '-AltValue-', $parameters = '') {

global $language;

$image = '<div class="cssButton"> ' . tep_output_string($value) . ' </div>';

return $image;

}

// END: CSS Buttons Everywhere

 

////

// Output a separator either through whitespace, or with an image

function tep_draw_separator($image = 'pixel_black.gif', $width = '100%', $height = '1') {

return tep_image(DIR_WS_IMAGES . $image, '', $width, $height);

}

 

////

// Output a form

function tep_draw_form($name, $action, $method = 'post', $parameters = '') {

$form = '<form name="' . tep_output_string($name) . '" action="' . tep_output_string($action) . '" method="' . tep_output_string($method) . '"';

 

if (tep_not_null($parameters)) $form .= ' ' . $parameters;

 

$form .= '>';

 

return $form;

}

 

////

////// Output a form input field

function tep_draw_input_field($name, $value = '', $parameters = '', $type = 'text', $reinsert_value = true) {

$field = '<input type="' . tep_output_string($type) . '" name="' . tep_output_string($name) . '"';

 

if ( (isset($GLOBALS[$name])) && ($reinsert_value == true) ) {

$field .= ' value="' . tep_output_string(stripslashes($GLOBALS[$name])) . '"';

} elseif (tep_not_null($value)) {

$field .= ' value="' . tep_output_string($value) . '"';

}

 

if (tep_not_null($parameters)) $field .= ' ' . $parameters;

 

$field .= '>';

 

return $field;

}

 

////

////// Output a form password field

function tep_draw_password_field($name, $value = '', $parameters = 'maxlength="40"') {

return tep_draw_input_field($name, $value, $parameters, 'password', false);

}

 

////

////// Output a selection field - alias function for tep_draw_checkbox_field() and tep_draw_radio_field()

function tep_draw_selection_field($name, $type, $value = '', $checked = false, $parameters = '') {

$selection = '<input type="' . tep_output_string($type) . '" name="' . tep_output_string($name) . '"';

 

if (tep_not_null($value)) $selection .= ' value="' . tep_output_string($value) . '"';

 

if ( ($checked == true) || ( isset($GLOBALS[$name]) && is_string($GLOBALS[$name]) && ( ($GLOBALS[$name] == 'on') || (isset($value) && (stripslashes($GLOBALS[$name]) == $value)) ) ) ) {

$selection .= ' CHECKED';

}

 

if (tep_not_null($parameters)) $selection .= ' ' . $parameters;

 

$selection .= '>';

 

return $selection;

}

 

////

////// Output a form checkbox field already checked

function tep_draw_checkbox_field_checked($name, $value = '', $checked = true, $parameters = '') {

return tep_draw_selection_field($name, 'checkbox', $value, $checked = true, $parameters);

}

 

////

////// Output a form checkbox field

function tep_draw_checkbox_field($name, $value = '', $checked = false, $parameters = '') {

return tep_draw_selection_field($name, 'checkbox', $value, $checked = false, $parameters);

}

 

////

////// Output a form radio field

function tep_draw_radio_field($name, $value = '', $checked = false, $parameters = '') {

return tep_draw_selection_field($name, 'radio', $value, $checked, $parameters);

}

 

////

////// Output a form textarea field

function tep_draw_textarea_field($name, $wrap, $width, $height, $text = '', $parameters = '', $reinsert_value = true) {

$field = '<textarea name="' . tep_output_string($name) . '" wrap="' . tep_output_string($wrap) . '" cols="' . tep_output_string($width) . '" rows="' . tep_output_string($height) . '"';

 

if (tep_not_null($parameters)) $field .= ' ' . $parameters;

 

$field .= '>';

 

if ( (isset($GLOBALS[$name])) && ($reinsert_value == true) ) {

$field .= stripslashes($GLOBALS[$name]);

} elseif (tep_not_null($text)) {

$field .= $text;

}

 

$field .= '</textarea>';

 

return $field;

}

 

////

////// Output a form hidden field

function tep_draw_hidden_field($name, $value = '', $parameters = '') {

$field = '<input type="hidden" name="' . tep_output_string($name) . '"';

 

if (tep_not_null($value)) {

$field .= ' value="' . tep_output_string($value) . '"';

} elseif (isset($GLOBALS[$name])) {

$field .= ' value="' . tep_output_string(stripslashes($GLOBALS[$name])) . '"';

}

 

if (tep_not_null($parameters)) $field .= ' ' . $parameters;

 

$field .= '>';

 

return $field;

}

 

////

////// Hide form elements

function tep_hide_session_id() {

global $session_started, $SID;

 

if (($session_started == true) && tep_not_null($SID)) {

return tep_draw_hidden_field(tep_session_name(), tep_session_id());

}

}

 

////

////// Output a form pull down menu

function tep_draw_pull_down_menu($name, $values, $default = '', $parameters = '', $required = false) {

$field = '<select name="' . tep_output_string($name) . '"';

 

if (tep_not_null($parameters)) $field .= ' ' . $parameters;

 

$field .= '>';

 

if (empty($default) && isset($GLOBALS[$name])) $default = stripslashes($GLOBALS[$name]);

 

for ($i=0, $n=sizeof($values); $i<$n; $i++) {

$field .= '<option value="' . tep_output_string($values[$i]['id']) . '"';

if ($default == $values[$i]['id']) {

$field .= ' SELECTED';

}

 

$field .= '>' . tep_output_string($values[$i]['text'], array('"' '"'=> '"', '\'' => ''', '<' => '<', '>' => '>')) . '</option>';

}

$field .= '</select>';

 

if ($required == true) $field .= TEXT_FIELD_REQUIRED;

 

return $field;

}

 

////

// Creates a pull-down list of countries

function tep_get_country_list($name, $selected = '', $parameters = '') {

$countries_array = array(array('id' => '', 'text' => PULL_DOWN_DEFAULT));

$countries = tep_get_countries();

 

for ($i=0, $n=sizeof($countries); $i<$n; $i++) {

$countries_array[] = array('id' => $countries[$i]['countries_id'], 'text' => $countries[$i]['countries_name']);

}

 

return tep_draw_pull_down_menu($name, $countries_array, $selected, $parameters);

}

 

function thumbimage ($image, $x, $y, $aspectratio, $resize, $cachedir)

{

$saveErrorReportingLevel = error_reporting(0);

 

$types = array (1 => "gif", "jpeg", "png", "swf", "psd", "wbmp");

$not_supported_formats = array ("GIF"); // Write in capital Letters!!

umask(0);

!is_dir ($cachedir)

? mkdir ($cachedir, 0777)

: system ("chmod 0777 ".$cachedir);

 

(!isset ($x) || ereg ('^[0-9]{1,}$', $x, $regs)) &&

(!isset ($y) || ereg ('^[0-9]{1,}$', $y, $regs)) &&

(isset ($x) || isset ($y))

? true

: DIE ('Fehlende® oder ungültige® Größenparameter!');

 

!isset ($resize) || !ereg ('^[0|1]$', $resize, $regs)

? $resize = 0

: $resize;

 

!isset ($aspectratio) || !ereg ('^[0|1]$', $aspectratio, $regs)

? isset ($x) && isset ($y)

? $aspectratio = 1

: $aspectratio = 0

: $aspectratio;

 

!isset ($image)

? DIE ('Es wurde kein Bild angegeben!')

: !file_exists($image)

? DIE ('Die angegebene Datei konnte nicht auf dem Server gefunden werden!')

: false;

 

$imagedata = getimagesize($image);

 

 

!$imagedata[2] || $imagedata[2] == 4 || $imagedata[2] == 5

? DIE ('Bei der angegebenen Datei handelt es sich nicht um ein Bild!')

: false;

 

$imageTypeSupported = imagetypes() & constant("IMG_".strtoupper($types[$imagedata[2]]));

 

if (!$imageTypeSupported || (in_array(strtoupper(array_pop(explode('.', basename($image)))),$not_supported_formats)))

{

$image = substr ($image, (strrpos (DIR_FS_CATALOG . '/', '/'))+1);

 

error_reporting($saveErrorReportingLevel);

return $image;

}

 

if (!isset ($x)) $x = floor ($y * $imagedata[0] / $imagedata[1]);

if (!isset ($y)) $y = floor ($x * $imagedata[1] / $imagedata[0]);

 

if ($aspectratio && isset ($x) && isset ($y)) {

if ((($imagedata[1]/$y) > ($imagedata[0]/$x) )){

$x=ceil(($imagedata[0]/$imagedata[1])* $y);

} else {

$y=ceil($x/($imagedata[0]/$imagedata[1]));

}

}

$thumbfile = '/' . basename($image);

if (file_exists ($cachedir.$thumbfile)) {

$thumbdata = getimagesize ($cachedir.$thumbfile);

$thumbdata[0] == $x && $thumbdata[1] == $y

? $iscached = true

: $iscached = false;

if (@filemtime($cachedir.$thumbfile) < @filemtime($image))

$iscached = false;

} else {

$iscached = false;

}

 

if (!$iscached) {

($imagedata[0] > $x || $imagedata[1] > $y) || (($imagedata[0] < $x || $imagedata[1] < $y) && $resize)

? $makethumb = true

: $makethumb = false;

} else {

$makethumb = false;

}

 

 

$subdir = preg_replace('[.*/]', "", $cachedir);

 

if ($makethumb)

{

//echo "imagecreatefrom".$types[$imagedata[2]];

$image = call_user_func("imagecreatefrom".$types[$imagedata[2]], $image);

if (function_exists("imagecreatetruecolor") && ($thumb = imagecreatetruecolor ($x, $y)))

{

imagecopyresampled ($thumb, $image, 0, 0, 0, 0, $x, $y, $imagedata[0], $imagedata[1]);

}

else

{

$thumb = imagecreate ($x, $y);

imagecopyresized ($thumb, $image, 0, 0, 0, 0, $x, $y, $imagedata[0], $imagedata[1]);

}

call_user_func("image".$types[$imagedata[2]], $thumb, $cachedir.$thumbfile);

imagedestroy ($image);

imagedestroy ($thumb);

$image = DIR_WS_IMAGES . $subdir . $thumbfile;

}

else

{

$iscached

? $image = DIR_WS_IMAGES . $subdir . $thumbfile

: $image = substr ($image, (strrpos (DIR_FS_CATALOG . '/', '/'))+1);

}

 

error_reporting($saveErrorReportingLevel);

return $image;

}

 

////rmh referral

 

// Creates a pull-down list of sources

 

function tep_get_source_list($name, $show_other = false, $selected = '', $parameters = '') {

 

$sources_array = array(array('id' => '', 'text' => PULL_DOWN_DEFAULT));

 

$sources = tep_get_sources();

 

 

 

for ($i=0, $n=sizeof($sources); $i<$n; $i++) {

 

$sources_array[] = array('id' => $sources[$i]['sources_id'], 'text' => $sources[$i]['sources_name']);

 

}

 

 

 

if ($show_other == 'true') {

 

$sources_array[] = array('id' => '9999', 'text' => PULL_DOWN_OTHER);

 

}

 

 

 

return tep_draw_pull_down_menu($name, $sources_array, $selected, $parameters);

 

}

 

 

 

 

?>

Link to comment
Share on other sites

  • 1 month later...

Hello, I have installed How Did You Hear About Us 1.6 into a fairly heavily modified shop that also has Purchase Without Account installed... If I choose to checkout without creating an account, I don't get the dropdown field, however, if I continue to the next page, I get an error stating I need to fill in this field (which doesn't show).

 

I've looked through this forum for a workaround, but the only information I found was very old and no longer applicable as the file mentioned is no longer included in the base installation.

 

Has anybody gotten this to work with Purchase Without Account, and/or was there an alternative contribution that resolved this issue?

 

Many thanks,

Janet

Link to comment
Share on other sites

  • 3 weeks later...
  • 2 weeks later...

im still having the same problem.. anyone know why im not being told where people are coming from? also, something else i want to do is add the how did you about us option to the screen where customers purchase without creating an account...

Link to comment
Share on other sites

You said:

"hi, ive just started to modify the files, but on the first one (catalog/create_account) i cant find line 495, mine only has 340 lines. i done a search for the text i was meant to replace, but thats not there neither. "

 

I am having the same issue. The text I am supposed to paste below is not in my file. What did you do??

Link to comment
Share on other sites

  • 3 weeks later...
You said:

"hi, ive just started to modify the files, but on the first one (catalog/create_account) i cant find line 495, mine only has 340 lines. i done a search for the text i was meant to replace, but thats not there neither. "

 

I am having the same issue. The text I am supposed to paste below is not in my file. What did you do??

 

 

hi i cant remember exactly what i did, but i know the parts i needed to change were within other files... i have a heavily modified site, so i had to do a bit of searching, sorry i cant help anymore...

Link to comment
Share on other sites

  • 3 weeks later...

Hello,

 

I executed an absolute installation of How_Did_You_Hear_1.5

 

Everything acts ok except for the links to the reports from the Admin to:

 

-Reports:

referral_sources -> stats_referral_sources.php (opend a "The webpage cannot be found" page)

-Customers:

referrals -> referrals.php (opend a "The webpage cannot be found" page)

 

Is someone coulde point on solution to that trouble?

 

Thanks, Max Hasson

Link to comment
Share on other sites

Love this mod!! but I have a problem with my customers information since this mod has been installed. I get the error below at the top of the admin/customers.php page when I click to view a customer. Also when I look at their order page it is missing the customer name, email address, and some other things that I have checked are in the database. The other thing to comment on that is a problem is that the customer information is all blank on the /admin/customers.php. If I try to edit the information on that page by adding everything back in there it still does no good.

 

The error is this:

 

Warning: reset(): Passed variable is not an array or object in /html/admin/includes/classes/object_info.php on line 10

 

Warning: Variable passed to each() is not an array or object in /html/admin/includes/classes/object_info.php on line 11

 

Again this problem is only since adding this mod and even if I go back to a backup of my entire site except the db the admin/customers.php page still exhibits the same issue.

 

My next option is to go back and try a complete install of this mod from a scratch site and then on my live site and see if it works. Please please help???

Link to comment
Share on other sites

  • 1 month later...

Got the 1.5 full version working first time, not a problem.

 

Has anyone managed to get this working on the 'Purchase Without Account' as well .. while the basic 'how did you hear' works on the page where they register, the 'purchase without account' doesn't use the 'create account' page, rather the 'order-info.php'

 

I'm sure others would like this as well, anyone able to help?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...