le6ha2
-
Posts
32 -
Joined
-
Last visited
Posts posted by le6ha2
-
-
A new version has been uploaded, fixing some mistakes in the last version. To upgrade, just replace the includes/classes/seo.class.php file.
Hello Jack,
How can we change the url from .html to .blabla? I try to edit the .htaccess but not working/
thanks
-
As you don't say what your trying to do I cant give a precise answer, but if you look at the code in Simple Multi Image Add-on (Un-Limited) with Fancy Popups http://addons.oscommerce.com/info/7008 that is done as part of that, perhaps you can work it out from there.
Hello Sam,
Okay, this is what I want. If I want to get the image path of a product from its product id (=1234 for example): get_image.php?proId=1234
//connect database $product_info_query = tep_db_query("select p.products_image from " . TABLE_PRODUCTS . " p where p.products_id = '" . $_GET['proId'] . "'"); $product_info = tep_db_fetch_array($product_info_query); $filePath= DIR_WS_IMAGES . $product_info['products_image'];
So It will return the products_image, and it is not encrypted. My question is how can we get the encrypt file name from oscthumb?
Could you show me a demo of website using Simple Multi Image Add-on and oscThumb?
BTW, on Simple Multi Image Add-on, there is a field products_image_array. Can you show an example of its value?
thank you for your great help.
-
If you install this & have encrypt file name enabled then that will apply to product_info.php as well
The purpose of the watermark is to protect the image, you cannot stop it being saved, after all, to be displayed in the browser it must be saved on the local machine already, so any save disable can be bypassed by searching the cache, or they can just use print screen etc etc.
Hello Sam,
thank you for your post. Could you help me 4. My main question, if we know the product_id, how can we get the encrypt filename of its image? (write a new .php file)
-
Thank for your contrib! I have installed on my localhost, it works very well and have some questions:
1. How does it protect the image? watermark and encrypt file name? I still can use "save image as..." command and save to local PC and open it. How can protect that user cannot save the image?
2. How to get this image url: http://localhost/shoptest/oscthumb.php?src=kNXSwNvN1J3JzszC1ZPJ5M8.&w=1000&h=1440&f=jpg&q=100&hash=da3e9c93979ed352af1afecb5b530533 on product_info.php page?
3. If i want to embed an image with <img src="img_path"> tag, how can we encrypt this img_path on product_info.php page? just using tep_image() function?
4. My main question, if we know the product_id, how can we get the encrypt filename of its image?
thanks for your help
-
Hello everybody,
I add a field on table Products_Attributes (called options_weight)
How to change EP that can handle this field?
thank you so much
-
I have the same trouble here.
this loop command looks like does not work.
for ($i=0, $n=sizeof($order_totals); $i<$n; $i++) { $email_order .= strip_tags($order_totals[$i]['title']) . ' ' . strip_tags($order_totals[$i]['text']) . "\n"; }
Did you find the solution?
thank you
-
Hello,
I try /admin/froogle.php and get this error:
Error the data base does not exist
But i have typed correct database name:
$base="<mydatabasename>"; on froogle.php
Please let me know
Thank a lot
-
I received cron email:
Status: 404
X-Powered-By: PHP/4.4.1
Content-type: text/html
No input file specified.
I do not know how to edit the right path for cron job? please let me know, thanks
-
to remove the account_password_new at checkout success just comment
this
if(tep_session_is_registered('createaccount')) tep_redirect(tep_href_link('account_password_new.php','thx=1'));}
to change the wording look in the language files
Hi Nana, I have a problem about weight of shipping like previous post. Now I have:
Hello,
I go to Admin -> Catalog -> Product expected / Review and have this problem:
Products Expected
1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-20, 20' at line 1
select pd.products_id, pd.products_name, p.products_date_available from products_description pd, products p where p.products_id = pd.products_id and p.products_date_available != '' and pd.language_id = '1' order by p.products_date_available DESC limit -20, 20
[TEP STOP]
Reviews
1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-20, 20' at line 1
select reviews_id, products_id, date_added, last_modified, reviews_rating from reviews order by date_added DESC limit -20, 20
[TEP STOP]
I used Easy Populate, and Fast Easy Check out contribute.
Anyone help me with this problem? Thank you very much
-
Hi Nana,
I overwrited checkout_shipping.php you postes #482 but I still have the problem:
My item's weight is 1, when i order 1 item and check out, shipping module calculate weight is 4 ??? if i order 2 items, the weght in shipping calculate is 5, I dont know why does it add 3 lbs? I use Zone rate shipping
Please let me know, thanks
-
Hi all,
When a customer order compete, there is an email to store owner (and also to customer). I think there is a bit inconvenience here: the email "Order process" to owner store doesn't have the email adress of customer. I have to go to admin pages -> customer and find the customer to reply him/her.
It is easy for me (and all of OS user) if the email "order process" is sent from customer's email (of course, the email "order process" to customer is sent from the store owner). Then, we just click reply to contact with the customer and vice versa, customers too.
I think, we have to 2 mail function while checkout processing, one to customer (sent from store owner) and one to us (sent from customer's email adress).
Or at least, in "order process" email, we should include customer's adress.
{ I aslo want to include IP address of customer )
Please give me an advice,
thanks a lot.
-
create_account.php
I dont see a textbox for State? How can we add it?
-
I have a problem when check out:
Secure connection: fatal error (47)
Transmission failure.
I think this because I do not use SSL for my store.
How to fix it? many thanks
Contrib #5682 - Add telephone number to shipping & billing addresses official thread
in General Add-Ons Support
Posted
I have the same problem, has anyone resolve this issue?