存档

2009年4月 的存档

How to put a watermark on the photos of VirtueMart

2009年4月11日 没有评论

For all of you that want to watermark productimages with cache, here it is:
Download sript here:
http://fanhaijun.com/wp-content/uploads/files/watermark-with-cache.zip
make a folder called "watermark" in your root and put in the files called:
– cache
– watermark.php
– watermark.png –> change this picture to your picture!
Then set the permissions 777 to the folder "cache".
The change the htaccess.txt to the folowing parameters:

Code:

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule \.(gif|jpeg|jpg)$ ../../../../watermark/watermark.php [QSA,NC]

Now upload the htaccess.txt to components/com_virtuemart/shop_image/product/
and if you want to the thumbnails in components/com_virtuemart/shop_image/product/resized.
AND RENAME TO .htaccess
And you are done.

Works on joomla 1.5.10 and virtuemart 1.1.3.

很特别的一个网站,整合了外贸要用的很多工具

2009年4月10日 没有评论

对外贸业务员帮助很大的一个搜索网站

www.yeskey.net

分类: 外贸 标签:

SMTP, Sendmail, PHP Tutorial For Joomla 1.5 and Gmail Integration.

2009年4月8日 没有评论

If you’re reading this, you’ve probably got the same problem I had: you get some sort of error when you use the Joomla Contact form. You’ve read through all the online tutorials and you’ve probably tried all the suggestions and manipulated the contacts, the server under “global config” etc., but to no avail. Am I right.

For some reason I could not get the PHP or SMTP function to work on my digital signage site. I already have Gmail set up as my email client in Hostmonster and it works fine. I also had all my contact information setup with the client email as my email of use. The problem I was getting was that the sendmail was working for the “copy” email, but it was not sending me the email–which was the most important part of the process.

Here was the problem and here was how I fixed it.

Under my MX mail settings in Hostmonster Cpanel, I changed one thing. Where it says, “Always accept mail locally even if the primary mx does not point to this server” my settings were set to “yes.” I merely changed them back to “no” and now it all works swimmingly. I hope this helps. The reason I’m posting it is because I spent WAY too long trying to figure this out–for just a simple fix.

It doesn’t work, for me……..Haijun

Source link

分类: 技术 标签: , , , ,