killerwhale65
-
Posts
212 -
Joined
-
Last visited
Posts posted by killerwhale65
-
-
Hello,
I am using Paypal also for creditcard payments without Paypal account. The problem is that the link 'do not have a Paypal account? Click here ...' is so small that most customers do not find it without my help. I was wondering is its possible to transfer them directly to the page where you should enter the card details, instead of to the Paypal login screen. Possible?
Thanks!
Matt
-
hello,
the order editor works great, but comes into troubles when editing an order that contains products that are removed from the catalog. They do not show up in the editor, yet remain in the details view. Totals are therefor miscalculated in the editor. Any workarounds for this?
thanks!
Matt
-
One question...Why does this contrib not create a new table (like photo_gallery) instead of having to destroy an already existing table named gallery?
gallery is a new table, it does not already exist in the standard oscommerce installation.
-
Matthias, its a nice, stright forward and easy to use contrub you made. Do you have any idea of when you will have an update with subgalleries, voting and commeting approval?
Thanks. Sorry but i have no timeframe for the next update.
-
But how can I build up categories ?!?
You cannot in this version. It's for the future.
-
so, here is what to do to:
1. have a specified discount redeem automatically when a customer logs in
2. adjust the coupon admin so that you can specify a coupon for "auto redeem"
1. login.php add: //auto redeem discount coupon on login $auto_redeem = tep_db_fetch_array(tep_db_query("SELECT coupon_id FROM coupons WHERE auto_redeem='on'")); if ($auto_redeem['coupon_id'] > 0) { tep_session_unregister('gv_id'); tep_session_unregister('cc_id'); tep_session_register('cc_id'); $cc_id = $auto_redeem['coupon_id']; } //end auto redeem discount coupon on login 2. tabel coupons add field: "auto_redeem" 3. checkout_payment.php: wrap coupon-class call in this IF-statement if you dont want to display the "enter discount coupon form" //auto redeem discount coupon on login $auto_redeem = tep_db_fetch_array(tep_db_query("SELECT coupon_id FROM coupons WHERE auto_redeem='on'")); if (!$auto_redeem['coupon_id'] > 0) { echo $order_total_modules->credit_selection();//ICW ADDED FOR CREDIT CLASS SYSTEM } //end auto redeem discount coupon on login 4. coupon_admin.php add: 121: 'auto_redeem' => tep_db_prepare_input($HTTP_POST_VARS['auto_redeem']), 565: echo tep_draw_hidden_field('auto_redeem', $HTTP_POST_VARS['auto_redeem']); 596: add auto_redeem to query 611: if ($coupon['auto_redeem']=='on') {$auto_redeem = true;} 687: <tr> <td align="left" class="main">Auto load on login</td> <td align="left"><?php echo tep_draw_checkbox_field('auto_redeem', $auto_redeem); ?></td> <td align="left" class="main"> </td> </tr>
It may need some tweaking but it should work.
-
Thanks, i will have a look. Very interesting site you have i think. Cool that my question shows up there after only a few minutes ;-)
ok i found it. It works in the same simple way. I will now make this even more automatic by making it possible to tick a box in the coupon details that this coupon should be redeemed automatically.
I will post the details soon.
-
Very interesting question.
I have no idea how to do this in the CCGV contribution, but in the other Coupons system it's dead easy => http://www.clubosc.com/apply-a-discount-co...omatically.html
Possibly you can take that code and apply it to CCGV somehow?
Thanks, i will have a look. Very interesting site you have i think. Cool that my question shows up there after only a few minutes ;-)
-
Hello,
Does anyone know how i would have a certain discount coupon redeem automatically (for example when the customer logs in)? So that the user does not have to manually enter it anymore at checkout and sees his discount from the moment he logs in. This would be for a site-wide discount, available to every customer during a limited period of time.
Thanks!
Matt
-
Hi again.
Thanks Matt, I'll try to do so.
The maximum number of pictures (now is 6) have some effects or I can upload an unlimited number of photos?
Sorry, but I'm not very good in PHP&MySql.
you will have to change the maximum allowable pics in gallery_user.php
-
Hello Matt
This is a very nice contribution.
I need a photo gallery for my oscommerce site where just the administrator of the website to upload new photos (a variable number, 40-50 for example). The visitors just watching the pictures into a "photo gallery" page.
I think your next version of the contribution will be almost I need, or maybe I'll can adapt the script. What do you think about this?
Sorry for my bad english.
Regards,
Flaviu
simple solution: in gallery.php and account.php, simply remove the link to gallery_user.php. Now nobody will be able to get to the upload page. If you want to upload pics, simply enter the URL manually (yourwebsite.com/gallery_user.php), or make a link somewhere in your admin.
-
I have the Additional images mod installed on my store. Will adding the on the fly mod affect images other than what is in the gallery?
yes, it will also affect your product pictures. It will automatically create a thumbnail for your product pictures, like it does for your gallery images. No idea if it can work together with the additional images contrib.
-
This gallery is great!
How can I change the number of pics that a user can upload?
Thanks.
Samantha
In gallery_user.php, you will find a 4 times the number 6, change it to whatever you like.
-
There is nothing else in that window under admin. SHouldn't I have more things to configure or look at?
If you have no pics uploaded, then this is all you will see. Once you have pics, you will be able to remove them, and edit their comments. More will be added later, as mentioned on the project website.
-
Thanks for the code to show thumbnails in the admin.
I have another problem; almost every day now, some spamming robot is adding hundreds of lines of text and links to other sites in the comment box in the first image.
Does anyone have any ideas how to stop this?
anti spam and other security measures will be incorporated in the next update.
-
Sorry. That is my fault. I am waiting the "future plans", Thanks for great works!
You are most welcome.
-
Hello,
How to allow specified customers to have more pics? I can not find it at admin. Thanks
Please read carefully: these are future plans ;)
-
Hello again.
Just like the user who posted here earlier, I was wondering if there was an easy way to sort the pictures by upload date?
The newest ones are currently added to the end of the page.
Kenny
You can always sort the query to your likings. Sorting will be added in the future.
-
Sorry, I have know enetred code on correct line it now reads
FOR TESTING ONLY/tmp/phpIjROcQ
gallery/3_1.jpg
Warning: copy(gallery/3_1.jpg)[function.copy] :failed to open stream: No such file or directory in/home/*****/public_html/gallery_user.php on line 81
Honestly, i have no idea. It looks like the temporary file on your server does not exist, hence it cannot be copied to the gallery folder. Maybe you should contact your hosting provider to inquire about the use of the php copy function. Maybe it is disabled i don't know.
-
No sorry this photo also showed the same
Warning : copy(gallery/3_1.jpg)[function copy] : failed to open stream:No such file or directory in /home/*****/public_html/gallery_user.php on line 80
I was just pointing out the different code that followed the loading of a different image.
Is it possible I have not loaded a file properly?
I think you have misplaced the code i have given you earlier.
It should read:
$target_path = $target_path . $customer_id."_".$n.".jpg"; echo 'FOR TESTING ONLY'.$file['tmp_name'][$key]."<br>".$target_path; if(copy($file['tmp_name'][$key], $target_path)) {
and not:
echo 'FOR TESTING ONLY'.$file['tmp_name'][$key]."<br>".$target_path; $target_path = $target_path . $customer_id."_".$n.".jpg"; if(copy($file['tmp_name'][$key], $target_path)) {
-
A different photo gave me this
FOR TESTING ONLY/tmp/phpfwwmEp
gallery/
No error? That means this different photo did upload? Can you confirm there are files in your gallery folder?
-
Have changed permissions to 666, but the same error is still showing.
Any other ideas, I really want to upload some photos to see how they look.
In the gallery_user.php file, before this line 80, add the following:
echo 'FOR TESTING ONLY'.$file['tmp_name'][$key]."<br>".$target_path;
Now upload a picture, and now you should see on top of your website the text 'FOR TESTING ONLY'. Let me know what is says next to that text, as well as directly below it.
If that text does NOT appear, do this:
change the following:
if(copy($file['tmp_name'][$key], $target_path)) { //$messageStack->add('gallery_user','success'); $messageStack->add('header',TEXT_FILE. ' '. basename($file['name'][$key]). ' '.TEXT_UPLOADED,'success'); mysql_query("INSERT INTO gallery (cID,pID) VALUES (".$customer_id.",".$n.")"); } else{ //$messageStack->add('There was an error uploading the file '. basename($file['name'][$key]). ', please try again!','error'); $messageStack->add('header','There was an error uploading the file '. basename($file['name'][$key]). ', please try again!','error'); }
into this:
/*if(copy($file['tmp_name'][$key], $target_path)) { //$messageStack->add('gallery_user','success'); $messageStack->add('header',TEXT_FILE. ' '. basename($file['name'][$key]). ' '.TEXT_UPLOADED,'success'); mysql_query("INSERT INTO gallery (cID,pID) VALUES (".$customer_id.",".$n.")"); } else{ //$messageStack->add('There was an error uploading the file '. basename($file['name'][$key]). ', please try again!','error'); $messageStack->add('header','There was an error uploading the file '. basename($file['name'][$key]). ', please try again!','error'); } */
That will deactivate the copy function so it will also not generate an error. Upload a picture. Now you should see the text 'FOR TESTING ONLY', let me know what it says next to it and below it.
-
Yes
Warning : copy(gallery/3_1.jpg)
How do I go about making gallery folder writable?
and thanks for the quick response
In your FTP program, right click on the gallery folder, and choose something like file attributes (depending on the program you use). Now make sure all read/write/execute options are ticked.
-
Have just uploaded your newest version and looking forward to using it.
Have returned this error when uploading picture
[Function copy] : failed to open stream : No such file or directory in home/******/public_html/gallery_user.php on line 80
I think line 80 reads if(copy($file[tmp_name'][$key], $target_path)) (
Very new to html and would appreciate any help.
Looks like something goes wrong during the copying of the file from a temporary folder on your server, to the /gallery folder.
Try to make your gallery folder writable (CHMOD 666).
Before the [function copy], is there anything else listed, such as:
Warning: copy(.....)?
Checkout without paypal account
in PayPal
Posted
Thanks;
What do you mean by PRO? There is only a personal, premier and business account type.