![]() |
code has been added to: skin1/common_templates.tpl. If it is removed from skin1/common_templates.tpl, there is the message 'page cannot be found'. There is obviously something wrong .... somewhere.
|
Validate that skin1/customer/sendtofriend.tpl exists and contains the correct content.
You can also try running cleanup.php in the root of your x-cart install to clear the templates_c/ folder so smarty rebuilds all templates. |
There is not file on server!
How can i download this mod? |
try now
|
The same file is available on cart-lab.com under freebies.
|
I was wondering if we can attach product thumbnail with these emails. My cart thumbnails are on the file system (not in database). Will these two situations have to be delt with differently?
Thanks Boomer for this great, great feature. :D |
For version 3.4.14
Wonderful mod, thank you! Got the bulk of it up very quickly, and now I'm just hoping to add one extra piece of info.
I see that a couple people asked about adding product name/description into the e-mails, but I have not seen anyone acomplish this yet. Has anyone figured it out? It occured to me that without adding at least the product name to the e-mail, it looked fairly suspicious, like a piece of spam. Unless my "friend" had actually included his/her real full name (which I imagine not everyone will be apt to do) I would be likely to delete the e-mail without visiting the mystery link. Any help would be greatly appreciated! :D |
Is anyone willing to help figure this out for a small fee? I need at least the product name in the e-mail, and a description and thumbnail would be good, too.
|
Feel free to send me a request to requests@cart-lab.com and I'll see what I can do, shouldn't be too terribly difficult. ;)
|
hi friends
where can i get the latest version (4.0.2) of "Enquire_Mod and Send to Friend Mod".. if anyone here uses or has it could you please share it with me? :cry: Thanks for your help... :roll: |
You can find copies of the installs here:
:arrow: http://www.cart-lab.com/lab/customer/pages.php?pageid=3 |
hi again
i tried that code but it doesn't work..i'm using version 4.0.2. thanks for your help |
4.0 has a send to friend module out-of-box.
|
cart-lab
download on BOOMERS site cart-lab.com, look under freebies on the left menu at the bottom
|
send to friend is built into v4.
|
Anyone mod this so that the emails are saved?
I would love to have that as marketing info to see how useful Send to friend really is. |
i somehow disabled the send to friend feature and now i cant figure out where to turn it back on again... im sure its somewhere obvious :P
im trying to get it to work with Boomers Tabbed Product Menu |
Modules???
|
nope... thats where i thought it would be, but its not an option
i cant for the life of me remember how i turned it off.. maybe i deleted something :/ |
you must have deleted it from products.tpl
|
this is making me scratch my head... http://www.motionzoo.com/forum/images/smilies/more/headscratch.gif
i unzipped the original, unedited 4.0.0 installation and products.tpl contains no references to "send to friend" product.tpl is calling it through the cartlab-tabs.tpl include so it seems like it should be working... are you really sure theres no option somewhere to turn it on/off? |
well i dont know if there is a better way to do it with a conditional to make it work with Boomers tabbed product menu mod, but i added
Quote:
to cartlab-tabs.tpl and it shows up now |
also now that send to friend is part of the default xcart, is there any way to stop people from abusing this and spamming 10000 emails through it?
|
Sorry, yeh product.tpl
EnriqueHavoc, have you seen the send to friend being spammed ? if so this needs to be fixed |
nope- i havent seen it be spammed, but i just suspect it could be abused.
|
I can't seem to get this to work in my 3.5.10 test shop. When you click on the Send-To-A-Friend link, I get a blank page with a url like this:
http://domain-name.com/customer/sendtofriend.php?mode=update&productid=16164 Any ideas where I might have messed up? |
hi guys,
I have 4.12 installed which has send to friend by default, but I like the fuctionality of a text link instead of it filling up the product page. Any ideas how to link to send to friend? I have tried Code:
<A href="send_to_friend.php?mode=update&productid={$product.productid}"> |
I really like this mod, much more than the out of the box functionality of 4.x. Is there anyway to make this work on a 4.x installation?
|
Quote:
Install it and comment out the out of can mod and now you only use the custom mod. then it is done. |
Quote:
That did not work for me. I had to do my own sendtofriend.php page, by simply including current can. Code:
<?php and since I display image of item to be sent in that send page, here is my send_to_friend.tpl Code:
{* $Id: send_to_friend.tpl,v 1.6.2.2 2004/12/10 13:14:52 max Exp $ *} I had the textarea mod already installed. This turned out to be better. It simply does not display the outgoing template. |
Quote:
sendtofriend.php NOT send_to_friend.php ;) Here's an updated sendtofriend.php file that SHOULD be 4.0.x compatible, I've not tested it but, it all essesence should be the only part of the mod that needs to be updated, mainly the func_display() function call at the end instead of $smarty->display(); Code:
<?php |
Hi Lionel,
thanks for your reply. I changed require "./auth.php"; to require "../auth.php"; But now I got this error: Warning: main(send_to_friend.php): failed to open stream: No such file or directory in /usr/home/bardolino/domains/bardolino.nl/public_html/xcart/customer/sendtofriend.php on line 17 Warning: main(): Failed opening 'send_to_friend.php' for inclusion (include_path='/usr/home/bardolino/domains/bardolino.nl/public_html/xcart/include/templater: in /usr/home/bardolino/domains/bardolino.nl/public_html/xcart/customer/sendtofriend.php on line 17 Any ideas? |
Hi Boomer,
I also tried your modification, but got this error: Warning: main(./auth.php): failed to open stream: No such file or directory in /usr/home/bardolino/domains/bardolino.nl/public_html/xcart/customer/sendtofriend.php on line 6 Fatal error: main(): Failed opening required './auth.php' (include_path='.:/usr/local/lib/php') in /usr/home/bardolino/domains/bardolino.nl/public_html/xcart/customer/sendtofriend.php on line 6 After changing: require "./auth.php"; to require "../auth.php"; I got the same error as I described in my post to lionel.. There should be .. in stead of just one . right? |
Never mind! I uploaded the Boomer sendtofriend.php file again, refreshed and the error was gone.
Thanks!!! :D |
Btw lionel, I am using your send_to_friend.tpl page, looks great with the image en text, thanks!
|
I got no errors anymore and assumed it was working... i was wrong. When i triend to mail a product and clicked on send, I got this error:
Not Found The requested URL /xcart/customer/product.php was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. What should i change? |
Quote:
You'll need to update the paths in the mod to just product.php and NOT customer/product.php as this was a pre 4.0.x file structure. |
Hi Boomer,
Yes, thats what I thought, but I searched every file, but I can't find a line that contains[customer/product/php] anywhere... Can you give me a hint to where /what i should search? |
(I mean: customer/product.php)
|
Boomer's updated code did not work for me on 4.18. I had to reuse the one I posted.
|
All times are GMT -8. The time now is 03:00 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.