Jump to content

Pompeylad

Members
  • Content count

    114
  • Joined

  • Last visited

Posts posted by Pompeylad


  1. Hi Les,

     

    You told me to change the '<td>' to '<tr>', which line up the text and flags horizontally. This has been a great help and I am very greatful for this. But you or nobody else has told me to how to link up the flags, not the text.

     

    I have tried many ways so far, but nothing works.

     

    Pompeylad.


  2. <!-- languages //-->
    	<tr>
               <td>
    
    <?php
    $Babellink = "http://babelfish.altavista.com/babelfish/tr?doit=done&url=";
    $MainURL = $_SERVER["HTTP_HOST"];
    $URLlink = $_SERVER["REQUEST_URI"];
    $LINKext = "&lp=en_";
    
     $info_box_contents = array();
     $info_box_contents[] = array('text' => 'Babelfish Translation');
    
     new infoBoxHeading($info_box_contents, false, false);
    
     $info_box_contents = array();
     $info_box_contents[] = array('text' => '
    
    <!-- BEGIN ALL EDITING -->
    <table width="100" border="0">
     <tr>
       <tr><script type="text/javascript">
    //<![CDATA[
    document.write("<a style=\"color:#000000;font-weight:normal;\" target=\"_top\" href=\"'.$URLlink.'\">English</a>");
    document.close();
    //]]>
    </script></tr>
       <tr><img src="images/languages/english.gif" width="18" height="12" alt="English" border="1"></tr>
     </tr><tr>
       <tr><script type="text/javascript">
    //<![CDATA[
    document.write("<a style=\"color:#000000;font-weight:normal;\" target=\"_top\" href=\"'.$Babellink.$MainURL.$URLlink.$LINKext.'zh\"><img src=\"images/languages/chinese_L.gif\" width=\"24\" height=\"11\" border=\"0\" alt=\"Chinese\" /></a>");
    document.close();
    //]]>
    </script></tr>
       <tr><img src="images/languages/chinese.gif" width="18" height="12" alt="Chinese" border="1"></tr>
     </tr><tr>
       <tr><script type="text/javascript">
    //<![CDATA[
    document.write("<a style=\"color:#000000;font-weight:normal;\" target=\"_top\" href=\"'.$Babellink.$MainURL.$URLlink.$LINKext.'fr\">Français</a>");
    document.close();
    //]]>
    </script></tr>
       <tr><img src="images/languages/french.gif" width="18" height="12" alt="French" border="1"></tr>
     </tr><tr>
       <tr><script type="text/javascript">
    //<![CDATA[
    document.write("<a style=\"color:#000000;font-weight:normal;\" target=\"_top\" href=\"'.$Babellink.$MainURL.$URLlink.$LINKext.'nl\">Nederlands</a>");
    document.close();
    //]]>
    </script></tr>
       <tr><img src="images/languages/dutch.gif" width="20" height="14" alt="Dutch" border="0"></tr>
     </tr><tr>
       <tr><script type="text/javascript">
    //<![CDATA[
    document.write("<a style=\"color:#000000;font-weight:normal;\" target=\"_top\" href=\"'.$Babellink.$MainURL.$URLlink.$LINKext.'de\">Deutsch</a>");
    document.close();
    //]]>
    </script></tr>
       <tr><img src="images/languages/german.gif" width="18" height="12" alt="German" border="1"></tr>
     </tr><tr>
       <tr><script type="text/javascript">
    //<![CDATA[
    document.write("<a style=\"color:#000000;font-weight:normal;\" target=\"_top\" href=\"'.$Babellink.$MainURL.$URLlink.$LINKext.'el\">Ελληνικα</a>");
    document.close();
    //]]>
    </script></tr>
       <tr><img src="images/languages/greek.gif" width="20" height="14" alt="Greek" border="0"></tr>
     </tr><tr>
       <tr><script type="text/javascript">
    //<![CDATA[
    document.write("<a style=\"color:#000000;font-weight:normal;\" target=\"_top\" href=\"'.$Babellink.$MainURL.$URLlink.$LINKext.'it\">Italiano</a>");
    document.close();
    //]]>
    </script></tr>
       <tr><img src="images/languages/italian.gif" width="18" height="12" alt="Italian" border="1"></tr>
     </tr><tr>
       <tr><script type="text/javascript">
    //<![CDATA[
    document.write("<a style=\"color:#000000;font-weight:normal;\" target=\"_top\" href=\"'.$Babellink.$MainURL.$URLlink.$LINKext.'ja\"><img src=\"images/languages/japanese_L.gif\" width=\"36\" height=\"11\" border=\"0\" alt=\"Japanese\" /></a>");
    document.close();
    //]]>
    </script></tr>
       <tr><img src="images/languages/japanese.gif" width="18" height="12" alt="Japanese" border="1"></tr>
     </tr><tr>
       <tr><script type="text/javascript">
    //<![CDATA[
    document.write("<a style=\"color:#000000;font-weight:normal;\" target=\"_top\" href=\"'.$Babellink.$MainURL.$URLlink.$LINKext.'ko\"><img src=\"images/languages/korean_L.gif\" width=\"36\" height=\"12\" border=\"0\" alt=\"Korean\" /></a>");
    document.close();
    //]]>
    </script></tr>
       <tr><img src="images/languages/korean.gif" width="18" height="12" alt="Korean" border="1"></tr>
     </tr><tr>
       <tr><script type="text/javascript">
    //<![CDATA[
    document.write("<a style=\"color:#000000;font-weight:normal;\" target=\"_top\" href=\"'.$Babellink.$MainURL.$URLlink.$LINKext.'pt\">Portuguese</a>");
    document.close();
    //]]>
    </script></tr>
       <tr><img src="images/languages/portuguese.gif" width="18" height="12" alt="Portuguese" border="1"></tr>
     </tr><tr>
       <tr><script type="text/javascript">
    //<![CDATA[
    document.write("<a style=\"color:#000000;font-weight:normal;\" target=\"_top\" href=\"'.$Babellink.$MainURL.$URLlink.$LINKext.'ru\">Pyccko</a>");
    document.close();
    //]]>
    </script></tr>
       <tr><img src="images/languages/russian.gif" width="20" height="14" alt="Russian" border="0"></tr>
     </tr><tr>
       <tr><script type="text/javascript">
    //<![CDATA[
    document.write("<a style=\"color:#000000;font-weight:normal;\" target=\"_top\" href=\"'.$Babellink.$MainURL.$URLlink.$LINKext.'es\">Español</a>");
    document.close();
    //]]>
    </script></tr>
       <tr><img src="images/languages/spanish.gif" width="18" height="12" alt="Spanish" border="1"></tr>
     </tr>
    </table>
    
    <!-- FINISH ALL EDITING -->
    
    ');
    
     new infoBox($info_box_contents);
    ?>
    		</td>
         	</tr>
    <!-- languages_eof //--> 

     

    Hi,

     

    Does anybody know how to link up the <a href="http://babelfish.altavista.com/babelfish/tr?doit=done&url='. HTTP_SERVER .'&lp=en_de"> to the flags and remove the text?

     

    Thanks,

    Pompeylad.


  3. Hi,

     

    In the admin section I am getting this error when I try to make my .XML sitemaps,

     

    Creating site map index file dated: 2008-02-10T17:19:50+00:00

    Finding files in http://sitename.co.uk/

    1146 - Table 'hostname-databasename.sitemap_exclude' doesn't exist

     

    select exclude_file from sitemap_exclude where exclude_type != "0" and is_box="0"

     

    Can anybody tell me what is going wrong?

     

    Thanks,

    Pompeylad.


  4. Hi,

     

    In the admin section I am getting this error when I try to make my .XML sitemaps,

     

    Creating site map index file dated: 2008-02-10T17:19:50+00:00

    Finding files in http://sitename.co.uk/

    1146 - Table 'hostname-databasename.sitemap_exclude' doesn't exist

     

    select exclude_file from sitemap_exclude where exclude_type != "0" and is_box="0"

     

    Can anybody tell me what is going wrong?

     

    Thanks,

    Pompeylad.


  5. Thanks for the info, but now I just want to leave the flags on there.

     

    But the text is the link, not the flags. Would you (or anybody else) know how to link up the flags to Bablefish?

     

    Also how do I get the flags to line up against each other? And not in a grid as they are now set out.

     

    Thanks,

    Pompeylad.


  6. AAAAGGGGGGHHHHHHHHHHHHH!!!!

     

    Nah, no hope there!

     

    Is it 'cos I have V1.5? As I have read many posts which have problems with this version. Maybe I used try V1.4?

     

    I have reinstalled this contrib many times but still get the same problem.

     

    Pompeylad.


  7. Ok,

     

    So line 29 is....

     

    require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_WPCALLBACK);

     

    ...and it means that it can not find wpcallback.php in the English folder, but it is in there.

     

    And line 29 in file english/wpcallback.php is...

     

    define('HEADING_TITLE', 'Thank you for shopping with ' . STORE_NAME . ' .... ');

     

    ...which is (I guess) the same as everybody else's.

     

    Well, I have to say that I am beating. Is it really worth all this trouble?

     

    Pompeylad :blink:


  8. Ok,

     

    Nimmit I hope you are reading this as your OSC mail box is full. I did try to send you this...

     

    Ok I did that now I got a warning saying...

     

    Fatal error: Failed opening required 'includes/languages/english/FILENAME_WPCALLBACK' (include_path='.:/usr/share/pear') in /home/wj32/public_html/catalog/wpcallback.php on line 29

     

    ...so what do you think? I am checking out wpcallback.php line 29 now.

     

    Pompeylad.

     

    ...ok I checked out the line 29 which is...

     

    define('HEADING_TITLE', 'Thank you for shopping with ' . STORE_NAME . ' .... ');

     

    So what could it be? Looks fine to me.

     

    Pompeylad.


  9. Hi,

     

    I know there are many posts on this subject but I have read most of them but I still can not find the answer to why my wpcallback is not working.

     

    I will list out everything which I have done.

     

    Ok I am using the Worldpay 4.0 version 1.6 contrib, which I have installed corectly, as I have gone over it with a fine tooth comb!! I have also read the readme file many times and I have done all it has told me to do. I have also set up my WorldPay admin how I was told to in the read me file.

     

    But I still get this email every time a test order is processed.

     

    A 404 file not found error occurred on your website mysite.com with the following details:-

     

    URL: http://mysite.com/catalog/FILENAME_WPCALLBACK

     

    I have also entered....

     

    PLUS add: define('FILENAME_WPCALLBACK', 'wpcallback.php'); To catalog/includes/filenames.php

     

    ....into filenames.php....

     

    Released under the GNU General Public License

    */

     

    // define the filenames used in the project

      define('FILENAME_ACCOUNT', 'account.php');

      define('FILENAME_ACCOUNT_EDIT', 'account_edit.php');

      define('FILENAME_ACCOUNT_HISTORY', 'account_history.php');

      define('FILENAME_ACCOUNT_HISTORY_INFO', 'account_history_info.php');

      define('FILENAME_ACCOUNT_NEWSLETTERS', 'account_newsletters.php');

      define('FILENAME_ACCOUNT_NOTIFICATIONS', 'account_notifications.php');

      define('FILENAME_ACCOUNT_PASSWORD', 'account_password.php');

      define('FILENAME_ADDRESS_BOOK', 'address_book.php');

      define('FILENAME_ADDRESS_BOOK_PROCESS', 'address_book_process.php');

      define('FILENAME_ADVANCED_SEARCH', 'advanced_search.php');

      define('FILENAME_ADVANCED_SEARCH_RESULT', 'advanced_search_result.php');

      define('FILENAME_ALSO_PURCHASED_PRODUCTS', 'also_purchased_products.php');

      define('FILENAME_CHECKOUT_CONFIRMATION', 'checkout_confirmation.php');

      define('FILENAME_CHECKOUT_PAYMENT', 'checkout_payment.php');

      define('FILENAME_CHECKOUT_PAYMENT_ADDRESS', 'checkout_payment_address.php');

      define('FILENAME_CHECKOUT_PROCESS', 'checkout_process.php');

      define('FILENAME_CHECKOUT_SHIPPING', 'checkout_shipping.php');

      define('FILENAME_CHECKOUT_SHIPPING_ADDRESS', 'checkout_shipping_address.php');

      define('FILENAME_CHECKOUT_SUCCESS', 'checkout_success.php');

      define('FILENAME_CONTACT_US', 'contact_us.php');

      define('FILENAME_CONDITIONS', 'conditions.php');

      define('FILENAME_COOKIE_USAGE', 'cookie_usage.php');

      define('FILENAME_CREATE_ACCOUNT', 'create_account.php');

      define('FILENAME_CREATE_ACCOUNT_SUCCESS', 'create_account_success.php');

      define('FILENAME_DEFAULT', 'index.php');

      define('FILENAME_DOWNLOAD', 'download.php');

      define('FILENAME_INFO_SHOPPING_CART', 'info_shopping_cart.php');

      define('FILENAME_LOGIN', 'login.php');

      define('FILENAME_LOGOFF', 'logoff.php');

      define('FILENAME_NEW_PRODUCTS', 'new_products.php');

      define('FILENAME_PASSWORD_FORGOTTEN', 'password_forgotten.php');

      define('FILENAME_POPUP_IMAGE', 'popup_image.php');

      define('FILENAME_POPUP_SEARCH_HELP', 'popup_search_help.php');

      define('FILENAME_PRIVACY', 'privacy.php');

      define('FILENAME_PRODUCT_INFO', 'product_info.php');

      define('FILENAME_PRODUCT_LISTING', 'product_listing.php');

      define('FILENAME_PRODUCT_REVIEWS', 'product_reviews.php');

      define('FILENAME_PRODUCT_REVIEWS_INFO', 'product_reviews_info.php');

      define('FILENAME_PRODUCT_REVIEWS_WRITE', 'product_reviews_write.php');

      define('FILENAME_PRODUCTS_NEW', 'products_new.php');

      define('FILENAME_REDIRECT', 'redirect.php');

      define('FILENAME_REVIEWS', 'reviews.php');

      define('FILENAME_SHIPPING', 'shipping.php');

      define('FILENAME_SHOPPING_CART', 'shopping_cart.php');

      define('FILENAME_SPECIALS', 'specials.php');

      define('FILENAME_SSL_CHECK', 'ssl_check.php');

      define('FILENAME_TELL_A_FRIEND', 'tell_a_friend.php');

      define('FILENAME_UPCOMING_PRODUCTS', 'upcoming_products.php');

      define('FILENAME_WPCALLBACK', 'wpcallback.php');

    ?>

     

    ....so does anybody know what's wrong?

     

    Pompeylad.


  10. Saying that I have just got this email from my host:

     

    Dear Webmaster,

     

    A 404 file not found error occurred on your website gadgetxs.com with the following details:-

     

    URL: http://gadgetxs.com/catalog/FILENAME_WPCALLBACK

    Date and Time: Tue Apr 20 21:02:55 2004

    Referring Page: .

     

    You may have a broken link or the user may have specified an incorrect URL

     

    Any ideas whats wrong?

     

    Pompeylad


  11. Sam,

     

    I did that but it seems to stay on the WorldPay page. My thinking is that it would rediect the buyer back to my site, or am I mistaken?

     

    Also when I process a test order I get an email from WP but not from OSC telling me the order and who has ordered it. The WP email tells me the address but not the post code?!?

     

    Am I missing something?

     

    Pompeylad.

     

    And there was me thinking I was so close!


  12. Sam,

     

    Don't worry, you could never sound rude as you have given me and so many others so much help.

     

    The answers er............no. I had better read them tonight.

     

    Thanks yet again,

    Pompeylad.


  13. Is it me or is WorldPay very slow? I have run tests but they still have not run theirs. I have filled out all the forms i.e. the activation form, but still no reply. Is or did anybody else have/ing this problem?

     

    Thanks,

    Pompeylad.

×