Jump to content
Latest News: (loading..)

medved

Members
  • Content count

    258
  • Joined

  • Last visited

Everything posted by medved

  1. medved

    OsCommerce Download Feature

    Where did you get the password from. I don't have a password there. I have a domain name instead of password. But i am not able to get a download link. So i guess i should put there a password. But what kind of and where should i get the password from? Thanks
  2. medved

    OsC Templates - Lesson Learned

    You probably need to change the layout in product_info.php I believe one of the problems is "Available Options:" drop down menu.
  3. medved

    Is this an OS Commerce powered site?

    I think it is osC site and to modify the layout like that shouldn't be very difficult.
  4. medved

    "Recently purchased" module?

    You should have "Order History" box in the right column after you log in.
  5. medved

    Super Contact us enhancement 1.0

    Hi, I tried it but it didn't work s. But could you plese sned the whole page? I could do just copy and paste. Please Thank you
  6. medved

    Super Contact us enhancement 1.0

    Hi thanks for replay. I don't think they have restrictions, because i use the host also for mz other website and there the form is working. I am sending the code. Maybe you can find something. please let me know. <?php /* $Id: contact_us.php 1739 2007-12-20 00:52:16Z hpdl $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ require('includes/application_top.php'); require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CONTACT_US); $error = false; if (isset($HTTP_GET_VARS['action']) && ($HTTP_GET_VARS['action'] == 'send')) { $name = tep_db_prepare_input($HTTP_POST_VARS['name']); $email_address = tep_db_prepare_input($HTTP_POST_VARS['email']); // BOF Super Contact us enhancement 1.0 $order_id = tep_db_prepare_input($HTTP_POST_VARS['order_id']); if ($order_id <> NULL){ $enquiry = 'Order ID: ' . $order_id . "\n\n" . tep_db_prepare_input($HTTP_POST_VARS['enquiry']); }else{ $enquiry = tep_db_prepare_input($HTTP_POST_VARS['enquiry']); } $emailsubject = tep_db_prepare_input($HTTP_POST_VARS['reason']) . ' ' . EMAIL_SUBJECT; if (tep_validate_email($email_address)) { if (CONTACT_US_LIST !=''){ $send_to_array=explode("," ,CONTACT_US_LIST); preg_match('/\<[^>]+\>/', $send_to_array[$send_to], $send_email_array); $send_to_email= eregi_replace (">", "", $send_email_array[0]); $send_to_email= eregi_replace ("<", "", $send_to_email); tep_mail(preg_replace('/\<[^*]*/', '', $send_to_array[$send_to]), $send_to_email, $emailsubject, $enquiry, $name, $email_address); }else{ tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, $emailsubject, $enquiry, $name, $email_address); } // EOF Super Contact us enhancement 1.0 tep_redirect(tep_href_link(FILENAME_CONTACT_US, 'action=success')); } else { $error = true; $messageStack->add('contact', ENTRY_EMAIL_ADDRESS_CHECK_ERROR); } } $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_CONTACT_US)); ?> <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html <?php echo HTML_PARAMS; ?>> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title><?php echo TITLE; ?></title> <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"> <link rel="stylesheet" type="text/css" href="stylesheet.css"> </head> <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0"> <!-- header //--> <?php require(DIR_WS_INCLUDES . 'header.php'); ?> <!-- header_eof //--> <!-- body //--> <table border="0" width="100%" cellspacing="3" cellpadding="3"> <tr> <?php /*?><td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <!-- left_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?> <!-- left_navigation_eof //--> </table></td><?php */?> <!-- body_text //--> <td width="100%" valign="top"><?php echo tep_draw_form('contact_us', tep_href_link(FILENAME_CONTACT_US, 'action=send')); ?><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> <?php /*?><td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_contact_us.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td><?php */?> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php if ($messageStack->size('contact') > 0) { ?> <tr> <td><?php echo $messageStack->output('contact'); ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php } if (isset($HTTP_GET_VARS['action']) && ($HTTP_GET_VARS['action'] == 'success')) { ?> <tr> <td class="main" align="center"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_man_on_board.gif', HEADING_TITLE, '0', '0', 'align="left"') . TEXT_SUCCESS; ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td align="right"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> </table></td> </tr> </table></td> </tr> <!-- BOF Super Contact us enhancement 1.0 //--> <?php } else { if (tep_session_is_registered('customer_id')) { $account_query = tep_db_query("select customers_firstname, customers_lastname, customers_email_address from " . TABLE_CUSTOMERS . " where customers_id = '" . (int)$customer_id . "'"); $account = tep_db_fetch_array($account_query); $name = $account['customers_firstname'] . ' ' . $account['customers_lastname']; $email = $account['customers_email_address']; } ?> <tr> <td> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td width="650" height="0"></td> <td width="600"></td> </tr> <tr> <td rowspan="11" valign="top"> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td colspan="2" align="left" valign="top" class="main"></td> </tr> <tr> <td width="333" height="120" align="left" valign="top" class="main"> <?php echo nl2br(STORE_NAME_ADDRESS); ?><br> <br><br> <?php echo (OPENING_HOURS); ?> </td> <td width="1"> </td> </tr> <tr> <td align="left" valign="top" class="main"><p> </p></td> </tr> </table> </td> <td height="40" valign="top" class="main"> <strong><?php echo CONTACT_FORM; ?></strong><br> <?php echo ENTRY_NAME; ?><br> <?php echo tep_draw_input_field('name'); ?> </td> </tr> <tr> <td height="4"></td> </tr> <tr> <td height="40" valign="top" class="main"> <?php echo ENTRY_EMAIL; ?><br> <?php echo tep_draw_input_field('email'); ?> </td> </tr> <tr> <td height="4"></td> </tr> <tr> <td height="40" valign="top" class="main"> <?php if (CONTACT_US_LIST !=''){ echo SEND_TO_TEXT . '<br>'; if(SEND_TO_TYPE=='radio'){ foreach(explode("," ,CONTACT_US_LIST) as $k => $v) { if($k==0){ $checked=true; }else{ $checked=false; } echo tep_draw_radio_field('send_to', "$k", $checked). " " .preg_replace('/\<[^*]*/', '', $v); } }else{ foreach(explode("," ,CONTACT_US_LIST) as $k => $v) { $send_to_array[] = array('id' => $k, 'text' => preg_replace('/\<[^*]*/', '', $v)); } echo tep_draw_pull_down_menu('send_to', $send_to_array); } // echo; } ?> </td> </tr> <tr> <td height="4"></td> </tr> <tr> <td height="40" valign="top" class="main"> <?php echo ENTRY_REASON; ?><br> <select name="reason"> <?php echo '<option value="' . REASONS1 . '">' . REASONS1 . '</option>'; ?> <?php echo '<option value="' . REASONS2 . '">' . REASONS2 . '</option>'; ?> <?php echo '<option value="' . REASONS3 . '">' . REASONS3 . '</option>'; ?> <?php echo '<option value="' . REASONS4 . '">' . REASONS4 . '</option>'; ?> <?php echo '<option value="' . REASONS5 . '">' . REASONS5 . '</option>'; ?> <?php echo '<option value="' . REASONS6 . '">' . REASONS6 . '</option>'; ?> </select> </td> </tr> <tr> <td height="4"></td> </tr> <tr> <td height="200" width="350" valign="top" class="main"> <?php echo ENTRY_ENQUIRY; ?><BR> <!-- BOF This is the change for the Form Vunerability Fix //--> <?php echo tep_draw_textarea_field('enquiry', 'soft', 50, 15, tep_sanitize_string($_POST['enquiry']), '', false); ?> <!-- EOF This is the change for the Form Vunerability Fix //--> </td> </tr> <tr> <td height="4"></td> </tr> <tr> <td height="66" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="547" height="62" valign="top" align="right"><?php echo tep_image_submit('button_continue.gif', IMAGE_BUTTON_CONTINUE); ?></td> </tr> <tr> <td height="4"></td> </tr> </table> </td> </tr> <tr> <td height="41" colspan="2" align="left" class="main"><br> </td> </tr> </table> </td> </tr> <tr> <td height="41" colspan="2" align="left" class="main"><br> </td> </tr> <?php } ?> <!-- EOF Super Contact us enhancement 1.0 //--> <tr> <td align="center" valign="top"> <iframe width="740" height="480" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps/ms?f=q&hl=en&ie=UTF8&om=11g&msa=0&msid=102166400234901040066.000445b3000de75bde9d7&ll=48.56025,18.172073&spn=0.013633,0.027466&z=15&output=embed"></iframe><br /><?php /*?><small><a href="http://maps.google.com/maps/ms?f=q&hl=en&ie=UTF8&om=1&msa=0&msid=102166400234901040066.000445b3000de75bde9d7&ll=48.56025,18.172073&spn=0.013633,0.027466&z=15&source=embed" style="color:#0000FF;text-align:center">View Larger Map</a></small><?php */?> </td> </tr> </table></form></td> <!-- body_text_eof //--> <?php /*?> '<?php if (tep_session_is_registered('customer_id')) { ?><td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> '<!-- right_navigation //--> '<?php require(DIR_WS_INCLUDES . 'column_right.php'); ?> '<!-- right_navigation_eof //--> ' </table></td><?php } ?><?php */?> </tr> </table> <!-- body_eof //--> <!-- footer //--> <?php require(DIR_WS_INCLUDES . 'footer.php'); ?> <!-- footer_eof //--> <br> </body> </html> <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>
  7. medved

    Super Contact us enhancement 1.0

    I am not receiving mails from the form. Can anybody tel me please what could be wrong? Thank you very much.
  8. medved

    Product Description 1.3

    After i installed Prod_descr_v_1.5 i am getting tis error: Can anybody tel me please why is this happening? Thank you very much
  9. medved

    [Contribution]Skype Contact

    Hi Today i just found out the problem. It was because i had too many same entries in the database. Before I imported the sql file more than once. I deleted the queries and i imported the sql file again and it works now. Thanks for the great contribution.
  10. medved

    email encoder

    Well they don't know what is blackhole, but that is ok. Your help was good enough. thanks
  11. medved

    email encoder

    Thanks for info. i asked my host about the ":blackhole:" I will see what they say. Will let you know. thank a lot.
  12. medved

    email encoder

    The problem is solved. It works now also in IE. After I restarted the computer. Thank you very much for explaining how it works. I have more simple html sites with emails and I am getting too much spam from those emails. And I didn’t know how to protect from it. Thanks to your explanation and contribution now I know. Thank you very much. I do appreciate it.
  13. medved

    email encoder

    Thank you for your help. I had to install Netscape. In Netscape it works. But not in explorer 6 I cleared cookies, browsers history, and temp. Internet files. i also want to ask. An email that is not a link, but just a text like this mail@web.com can not be taken by harvesters? They only use the mailto function to collect the mail?
  14. medved

    email encoder

    The only way how can I see the source code from contact_us php is to save the page. I can’t use the view source in the browser. After I added the contribution it is not working. But from all other pages I can use the browsers view source link. And this is the code from contact_us.php <TR> <TD class=main>You can select from a number of ways to contact us, to get any information or assistance you might need.<BR><BR><B>Customer Service</B><BR>ICQ# 220335695 <BR>Phone: 416 824 0960<BR>E-mail: <A href="mailto:customerservice@jmimport.com">customerservice@jmimport.com</A><BR>Hours of Operation<BR>Monday to Friday 18:00 - 22:00 <BR>Saturdays 19:00 - 23:00 <BR><BR><B>Have a problem with the site or your order?</B><BR>Visit our Comommon Questions section for more information on our site and our service, or email us at customerservice@jmimport.com <BR><BR> <TABLE> I don’t think this is the way it should look .
  15. medved

    email encoder

    thank you. This is how the code looks like around the e-mail <b>Customer Service</b><br> ICQ# 220335695 <br> Phone: 416 824 0960<br> E-mail: <a href="' . tep_ascii_email(1, "customerservice@jmimport.com") . '">customerservice@jmimport.com</a><br> Hours of Operation<br> Monday to Friday 18:00 - 22:00 <br> Saturdays 19:00 - 23:00 <br><br> But i don’t think it is working. But this time at least i didn’t get any error messages. I am sure if you go to your contuct_us.php (includes/languages/english/contact_us.php )you will know right away why it is not working. The text with the email is part of the define function or whatever it is called. I don’t know. And this is the bottom of catalog/includes/functions/general.php so you can see that it is added. // EOF SPPC, hide products and categories from groups ////rmh referral // Returns an array with sources // TABLES: sources function tep_get_sources($sources_id = '') { $sources_array = array(); if (tep_not_null($sources_id)) { $sources = tep_db_query("select sources_name from " . TABLE_SOURCES . " where sources_id = '" . (int)$sources_id . "'"); $sources_values = tep_db_fetch_array($sources); $sources_array = array('sources_name' => $sources_values['sources_name']); } else { $sources = tep_db_query("select sources_id, sources_name from " . TABLE_SOURCES . " order by sources_name"); while ($sources_values = tep_db_fetch_array($sources)) { $sources_array[] = array('sources_id' => $sources_values['sources_id'], 'sources_name' => $sources_values['sources_name']); } } return $sources_array; } //// // Encode email as ascii to prevent email harvesting function tep_ascii_email($add_mailto, $email) { global $customer_id, $customer_first_name; $encoded_email = (empty($add_mailto)) ? "" : "mailto:"; if (empty($email)) $email = $encoded_email . STORE_OWNER_EMAIL_ADDRESS; for ($i=0; $i < strlen($email); $i++) { $encoded_email .= ''.ord(substr($email,$i)).';'; } return $encoded_email; } ?>
  16. medved

    email encoder

    Thank you for replay. Below is the code from includes/languages/english/contact_us.php Here i can´t put any code from the contribution. <?php /* $Id: contact_us.php,v 1.7 2002/11/19 01:48:08 dgw_ Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2002 osCommerce Released under the GNU General Public License */ define('HEADING_TITLE', 'Contact Us'); define('NAVBAR_TITLE', 'Contact Us'); define('TEXT_INFORMATION', ' You can select from a number of ways to contact us, to get any information or assistance you might need.<br><br> <b>Customer Service</b><br> ICQ# 220335695 <br> Phone: 416 824 0960<br> E-mail: customerservice@jmimport.com<br> Hours of Operation<br> Monday to Friday 18:00 - 22:00 <br> Saturdays 19:00 - 23:00 <br><br> <b>Have a problem with the site or your order?</b><br> Visit our Comommon Questions section for more information on our site and our service, or email us at customerservice@jmimport.com <br><br> <TABLE> <TR><TD width="190" class="main"><B>Corporate Office</B></TD><TD width="130" class="main"><B>Opening Hours</B></TD></TR> <TR><TD class="main">JMimport.com</TD><TD class="main">Monday to friday : 8h30 to 17h00</TD></TR> <TR><TD class="main">2611-40 Homewood Ave.</TD><TD class="main">Week-end : close</TD></TR> <TR><TD class="main">Toronto, Ontario, Canada</TD><TD class="main"></TD></TR> <TR><TD class="main">M4Y 2K2</TD><TD class="main"></TD></TR> <TR><TD class="main"></TD><TD class="main"></TD></TR> </TABLE> <br> <b>Contact Form</b> '); define('TEXT_SUCCESS', 'Your enquiry has been successfully sent to the Store Owner.'); define('EMAIL_SUBJECT', 'Enquiry from ' . STORE_NAME); define('ENTRY_NAME', 'Full Name:'); define('ENTRY_EMAIL', 'E-Mail Address:'); define('ENTRY_ENQUIRY', 'Enquiry:'); // BOF Super Contact us enhancement 1.0 define('OPENING_HOURS', '<strong>OPENING HOURS :</strong><br><br> <TABLE> <TR><TD class="main">Monday to friday : 8h30 to 17h00</TD></TR> <TR><TD class="main">Week-end : close</TR> </TABLE> <BR><BR> For your convenience, please use the form on the right to contact us with any comments or concerns. <BR><BR><BR><BR> Please allow up between 15 minutes to 48 hours for a reply. '); define('ENTRY_REASON', 'The reason of your email : '); define('SEND_TO_TEXT', 'Send Contact Form Email To:'); // define('SEND_TO_TYPE', 'radio'); //this will create a radio buttons for your contact list define('SEND_TO_TYPE', ''); //Change to this for a dropdown menu. define('REASONS1', ' General Inquiry'); define('REASONS2', ' Product Request'); define('REASONS3', ' Registration problem'); define('REASONS4', ' Login problem'); define('REASONS5', ' Order and shipping'); define('REASONS6', ' Return merchandise'); // BOF Super Contact us enhancement 1.0 ?>
  17. medved

    email encoder

    The text is on this page includes/languages/english/contact_us.php But here is not possible to enter the email as described in this contribution. IT'S NOT POSSIBLE. Well at least for me. Maybe for you it is possible. This is what the problem is.
  18. medved

    email encoder

    Ok so I will explain it this way. Please follow these steps: Open this page: catalog/includes/languages/english/contact_us.php There is a text. Add to this text e-mail so that it is protected from the harvesters. So this is what I don’t know. Here I can’t put any code. I don’t now how.
  19. medved

    email encoder

    Thank you for replay. Yes I did install the contribution. But on contact us page the text is coming from an include file. And the e-mail is part of the text in the include file. I opened the include file and I was trying to edit the code for the e-mail. But I don’t know how to do it there.So I don’t know what to do now. You can see it here. Please help.
  20. medved

    email encoder

    And how can i protect my e-mail address on contuct us page. Please help.
  21. medved

    Seperate Pricing Per Customer v3.5

    The “special products” is not modified for CPPC
  22. medved

    ### POINTS AND REWARDS MODULE V1.00 ###

    Hi Aleem, Tanks a lot for the replays. So far it is not working. I am really confused. As you said this looks like a mammoth task, something that I can’t handle unfortunately. I will have someone to look at it. I just want you to ask: do you have installed POINTS AND REWARDS MODULE, Paypal IPN and CCGV(trad) on your site? And is it all working properly for you? Thank you very much for your time. I do appreciate it.
  23. medved

    ### POINTS AND REWARDS MODULE V1.00 ###

    Hi Aleem, Thanks for replay. I didn’t know that this question http://forums.oscommerce.com/index.php?sho...139&st=1404 was answered at all. I thought till now that nobody bothered to answer it. So I asked Rhea directly where it is but he didn’t know. So I gave up on it. But now that you said you answer it, I went back to check again all the replays after my post to see if I missed it somehow. So I just realized that you really answer it. http://forums.oscommerce.com/index.php?sho...139&st=1410 But the answer is included in a post to somebody else and probably the answer was added when that post was edited. So you must admit that it could be easy to miss. Anyway sorry for that and thank you for replay.I normally try to answer all replays. I was searching for that code in txt file. I found a code under this text: “To users with Credit Class & Gift Voucher contribution try using this line” and also Paypal IPN Modifications So probably this is what you meant. I will look at it at certainly will replay. I have installed SPPC, CCGV(trad), POINTS AND REWARDS MODULE, Paypal IPN, Recover Cart Sales, Purchase Limitter, E-mail validation, Quantity Price Breaks for Separate Pricing Per Customer, Show Price list for SPPC 4.1 v1.0, Buy/Add button removal if quantity = 0(for SPPC w/ Column Product Listing), Hide products from customer groups for SPPC, Must Agree to Terms, and some small contribs. Thanks
  24. medved

    ### POINTS AND REWARDS MODULE V1.00 ###

    So there is really no one to help me with this problem please? Is there at least anyone who successfully integrated POINTS AND REWARDS MODULE V1.00 with Paypal IPN ?
  25. medved

    ### POINTS AND REWARDS MODULE V1.00 ###

    Hi all, I have two problems: 1. I have a problem with paypal IPN to function properly with this contrib. During the checkout process when I tick the box to use the points but I don’t complete the order the points are redeemed anyway. 2. Another problem is that the used up points for an order that is later deleted are not added back to my points. That means that I loose points even when I don’t purchase anything. Another words, used up points for an order that is deleted are lost, they are not added back to my points. Anybody who could help me with this please? Any help is greatly appreciated. Thanks
×