Jump to content

draxion

Members
  • Content count

    141
  • Joined

  • Last visited

Everything posted by draxion

  1. I had the exact problem with version J "parse error: syntax error, unexpected T_REQUIRE" However, version J now works fine on my v.4.x.x of PHP. The problem ended up being a corrupt version of the product_extra_fields.php under the /admin/ directory. Not sure what exactly the problem was but whenever I tried looking at the file under editplus, the code was all over the place and many lines commented out by the first comment. Anyways, I just wanted to let everyone know that the version J of this mod works great under all my versions of 4.x.x and my version 5x as well. I used a different FTP program and uploaded the new v. J of the file and problem solved. Check your file! Have fun, Shayne
  2. Flag Fix... If anyone is interested and wants to fix the missing "flag" images here's what I did to fix the problem: Add the following line to catalog/admin/includes/configure.php define('DIR_WS_FLAGS', 'images/flags/'); Download the latest version of User Tracking with Admin 1.0 Contribution http://www.oscommerce-fr.info/forum/index....showtopic=32459 and copy admin/images/flags directory (from the above contribution) to catalog/admin/images/ Worked for me! Cheers, Shayne
  3. draxion

    Contribution Issue

    Hey Everyone, Ok... finally got this contribution installed and working. Well almost. Pages added from the admin work fine and links are built and go where they should. Expect for the Contact Us page. Added the contact us page as type 2 and followed the instructions, but with the current code it doesn't work. The link is there but it links to id=7 as oposed to the contact_us.php. However.... if I change the following code: if($page['intorext'] == 1) { $page_list .= '<tr><td class="infoBoxContents"><a target="'.$target.'" href="' . $page['externallink'] . '">' . $page['pages_title'] . '</a></td></tr>'; } else { // commented for fix of cart empty 4.40 by azer $page_list .= '<tr><td class="infoBoxContents"><a target="'.$target.'" href="' . tep_href_link($link) . '">' . $page['pages_title'] . '</a></td></tr>'; $page_list .= '<tr><td class="infoBoxContents"><a target="'.$target.'" href="' . tep_href_link(FILENAME_PAGES, 'pages_id=' .$page['pages_id'], 'NONSSL') . '">' . $page['pages_title'] . '</a></td></tr>'; } } and remove the comments from azer and remove the other $page_list .= xxxx , the contact_us.php pages displays properly. I'm no php programer, but if I read the following code... if($page['pages_title'] != 'Contact Us'){ $link = FILENAME_PAGES . '?pages_id=' . $page['pages_id']; }else{ $link = FILENAME_CONTACT_US; } is $link not required when trying to output the contact_us.php links? Not sure... hope someone here can help out. Thanks! Shayne
  4. draxion

    QBI Quickbooks Import

    Hey Adam, where do I find ver. 3? Can't seem to find it in the contrib section? thanks! Shayne
  5. draxion

    Trouble with Canada Post module

    I'm not sure that I can help but I just wanted to let you know that I have the "Canada Post Shipping Module with dimensions" and it works fine. Actually, works great! You might want to go throught the install again and make sure your settings are right. Also check the "contrib Support" forum area. I think you'll get more help there. I assume you have a Shipping Profile account? Any other contributions installed that may be causing issues? What browser are you testing with?
  6. draxion

    Estimated Shipping Costs

    Hi, I'm wondering if you ever figured that XML parsing error. I also use the Canada Post shipping mod, but can't get it to work with this (fantastic) mod. Would be great if someone could figure it out and post their results. Thanks! Shayne
  7. draxion

    Canada Post Customer ID and UPSXML

    I just went through this today... call this number and they'll set you right up. 1-866-511-0546 You need to call to setup your profile. Takes like 30 seconds. You want to speak to a "SELL ONLINE" agent. Option 2. Have fun.
  8. draxion

    Thumbnail PDF Catalogue

    Hi, I'm wondering if this contrib could easily be adapted to work with 'On the Fly' Auto Thumbnailer using GD Library #2226. Also wondering if anyone has been able to have this work with SPPC? I'd really only need the catalogue for my dealers. So this would be very helpful. Thanks! Shayne
  9. draxion

    "Dynamenu" for osCommerce

    Ya I couln't find anything either but ended up using photoshop to modify the "+" & "-" symbols. I didn't realize that these were images included with the contrib. I changed them all to the same color as the lines. Works well and looks good!
  10. draxion

    "Dynamenu" for osCommerce

    Great Contribution! Easy to install and configure! However, I have one question. I'm sure this is simple, but I just can't seem to figure it out. I'm using the tree menu style and wondering how I go about changing the color of the "+" & "-" symbols. They are currently black and my background is also black so you can't really see them. I'd like to change them to white if possible. Thanks in advance for any help! Shayne
  11. draxion

    Autologon

    I was having way to many problems with this contrib so I've removed it. I agree... this contrib doesn't work.
  12. draxion

    Estimated Shipping Costs

    Hi, Great contribution. I've just installed the pop up version and seems to do what it's suppose to. However... my shop is Canadian and I'm using multiple shipping table rates with zones and a different rates for each province. How hard to modify this contribution to show a province drop down (when county Canada is selected) instead of the zip code box. Once the proper province is selected, shipping cost would be displayed for that zone. Make any sense? Anyways, I'm just wondering how hard it might be to modify this contrib to do this. Thanks for any advise / help on this. Shayne!
  13. installed the version with SPPC support. Seems to work fine for me. However, I think you need SPPC contrib installed. SQL error though.
  14. I've got the same problem. If I find the fix, I'll let you know. There's another Quick Update contrib that is more recent. I might use that instead.
  15. draxion

    NEW! Complete Order Editing Tool!

    Hi, I just installed this mod but I'm getting the following SQL Syntax error when trying to edit an order: 1064 - You have an error in your SQL syntax near 'on op.products_id = p.products_id where orders_id = '78'' at line 13 select op.orders_products_id, op.products_name, op.products_model, op.products_price, op.products_tax, op.products_quantity, op.final_price, p.products_tax_class_id from orders_products op join products p on op.products_id = p.products_id where orders_id = '78' [TEP STOP] I've search around here but wasn't able to find anything. Any help would be greatly appriciated. Thanks! Shayne
  16. draxion

    Attribute Sets Plus

    I think you might be looking for the QTPro Contribution. You can find it here: http://www.oscommerce.com/community/contri...l/search,qt+pro I've been able to install both the Attribute Sets Plus and QTpro. It takes a little tweaking but they seem to both work well together. Good luck! Shayne
  17. I'm an idiot! Sorry about the above posts... what the hell happened! I'm not sure how I ended up posting my question 3 times. Again... so sorry. Is there anyway to delete the extra 2 posts?
  18. Hi, Great contribution! I have this installed on my test site along with Attribute Sets Plus and the Paypal IPN V1.1 and everything works great. However, I'm trying to figure out how to force the selection of attributes from the product_info page. In my live site, I have this working where I have attribute called "-Please Select-" as the default option that shows in the list and if selected, a box pops up telling the you to that you need to select an option. This was easily implemented with some basic java script similar to one of the contributions currently available. I'd like to be able to have this option but I just can't figure out where to put java script code. My coding abilities are limited so I'm wondering if anyone else has had any luck implementing something similar with the QT Pro contrib and wouldn't mind sharing. If not, can anyone suggest where to modify the code or where to start. Thanks! Shayne
  19. Hi, Great contribution! I have this installed on my test site along with Attribute Sets Plus and the Paypal IPN V1.1 and everything works great. However, I'm trying to figure out how to force the selection of attributes from the product_info page. In my live site, I have this working where I have attribute called "-Please Select-" as the default option that shows in the list and if selected, a box pops up telling the you to that you need to select an option. This was easly implemented with some basic java script similar to one of the contributions currently available. I'd like to be able to have this option but I just can't figure out where to put java script code. My coding abilities are limited so I'm wondering if anyone else has had any luck impletementing something similar with the QT Pro contrib and wouldn't mind sharing. If not, can anyone suggest where to modify the code or where to start. Thanks! Shayne
  20. Hi, Great contribution! I have this installed on my test site along with Attribute Sets Plus and the Paypal IPN V1.1 and everything works great. However, I'm trying to figure out how to force the selection of attributes from the product_info page. In my live site, I have this working where I have attribute called "-Please Select-" as the default option that shows in the list and if selected, a box pops up telling the you to that you need to select an option. This was easly implemented with some basic java script similar to one of the contributions currently available. I'd like to be able to have this option but I just can't figure out where to put java script code. My coding abilities are limited so I'm wondering if anyone else has had any luck impletementing something similar with the QT Pro contrib and wouldn't mind sharing. If not, can anyone suggest where to modify the code or where to start. Thanks! Shayne
  21. Jack! Thanks a bunch. That worked. Actually, the email.php file looks like it was corrupted. So I just replaced it with an original and now works fine! I installed the contrib yesterday and have been testing. Everything seems to work great! I've also modified quite a bit including the links listing as suggested in some of the earlier posts. One of the things I've tried to do is list the category name at the top of the listing page, but I just can't seem to list the right one. My PHP skills are very very limited so I'm wondering if anyone can take a quick look and help me out... here's the piece of code I've inserted in links.php just under the HEADING_TITLE (cut and paste from code above). <?php // Get the category name $categories_query = tep_db_query("select lc.link_categories_id, lcd.link_categories_name, lcd.link_categories_description, lc.link_categories_image from " . TABLE_LINK_CATEGORIES . " lc, " . TABLE_LINK_CATEGORIES_DESCRIPTION . " lcd where lc.link_categories_id = lcd.link_categories_id and lc.link_categories_status = '1' and lcd.language_id = '" . (int)$languages_id . "' order by lcd.link_categories_name"); $number_of_categories = tep_db_num_rows($categories_query); $categories = tep_db_fetch_array($categories_query) ?> <tr> <td class="fieldKey"><img border="0" src="images/sub_arrow.jpg" width="61" height="21"><?php echo TEXT_CATEGORY . ($categories['link_categories_name']); ?></td> </tr> What I was hopping to accomplish was to display the current category. Instead it's displaying the first category in the list. Here's a link to my site if anyone cares to take a look: http://www.draxion.com/shop/links.php Feel free to add some links as well :D . The site is not live, but should be up in about two weeks. Thanks again everyone! Shayne
  22. First let me start off by saying, thanks to everyone for a great contribution. I installed this morning with no issues and have been playing around with it most of the day. Everything seems to work fine except for one little issue. After a new link has been submitted... from the Admin, Link Manager, I go to edit the link, change the status to approve (or any other option) and check the notify contact box and hit the update button... I get the following error: Fatal error: Cannot instantiate non-existent class: email in /home/virtual/site189/fst/var/www/html/shop/admin/includes/functions/general.php on line 1157 Line 1157 in general.php reads: $message = new email(array('X-Mailer: osCommerce')); If I don't check the notify contact box, I don't get the error. The link gets approved either way, however, the notify doesn't work obviously. If anyone can lend a hand or point me in the right direction, that would be great. I've searched in this thread, the rest of the forum and googled a bunch, but I haven't been able to find anything helpful. Thanks again! Shayne
  23. draxion

    Super Contact us enhancement 1.0

    Cool! I'll try it out tonight and see what happens. Thanks again! I appriciate the help. Shayne
  24. draxion

    Super Contact us enhancement 1.0

    That's great! Thanks for the reply and the help. I'm having a hard time integrating your modified code from contact us and the Visual Verify code... specificaly where you modify the top part of the above the </head> section. Here's your code... $enquiry = tep_db_prepare_input($HTTP_POST_VARS['enquiry']); if (tep_validate_email($email_address)) { tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, EMAIL_SUBJECT, $enquiry, $name, $email_address); replace with the following lines : // BOF Super Contact us enhancement 1.0 $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 And here's the modified code from the Visual Verify... $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']); $enquiry = tep_db_prepare_input($HTTP_POST_VARS['enquiry']); if (tep_validate_email($email_address) == false) { $error = true; $messageStack->add('contact', ENTRY_EMAIL_ADDRESS_CHECK_ERROR); } //VISUAL VERIFY CODE start require(DIR_WS_FUNCTIONS . 'visual_verify_code.php'); $code_query = tep_db_query("select code from visual_verify_code where oscsid = '" . tep_session_id($HTTP_GET_VARS[tep_session_name()]) . "'"); $code_array = tep_db_fetch_array($code_query); $code = $code_array['code']; tep_db_query("DELETE FROM " . TABLE_VISUAL_VERIFY_CODE . " WHERE oscsid='" . $vvcode_oscsid . "'"); //remove the visual verify code associated with this session to clean database and ensure new results $user_entered_code = $HTTP_POST_VARS['visual_verify_code']; if (!(strcasecmp($user_entered_code, $code) == 0)) { //make the check case insensitive $error = true; $messageStack->add('contact', VISUAL_VERIFY_CODE_ENTRY_ERROR); } //VISUAL VERIFY CODE stop if ($error == false) { tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, EMAIL_SUBJECT, $enquiry, $name, $email_address); tep_redirect(tep_href_link(FILENAME_CONTACT_US, 'action=success')); } } Thanks again!
  25. draxion

    Super Contact us enhancement 1.0

    Nice Contribution. I like it. However, I tried to install. Everything seems to work except that I'm having a hard time integrating it with the Visual Verify Code http://www.oscommerce.com/community/contri...h,visual+verify I'm not much of coder and have very limited php knowledge. I'm wondering if anyone else has had any luck with the two contributions. Thanks! Shayne
×