dtbaker does not currently provide support for this item.

Popular questions for this item

Change the from email address to the person sending the mail

Line 184 of phpcode.php change this:

$headers = 'From: '.($website_name ? $website_name : $parts['host']).' <'.$email_address.'>' . "\r\n";

to this:

$headers = 'From: '.preg_replace('#\r|\n#','',$_REQUEST['your_name']).' <'.preg_replace('#\r|\n#','',$_REQUEST['your_email']).'>' . "\r\n";

note: this will most likely cause all “send to friend” emails to be received as spam. because you are sending an email from another persons email address which isn’t linked to your hosting account.

Lightbox isn’t working (it takes me to a new page)

The easiest way to fix your lightbox issue is to add this extra jquery tag just before the send to friend tag:

<script src="send_to_friend/sendfiles/gb/jquery-latest.js" type="text/javascript"></script>

So your page should look something like this:

<script type="text/javascript" src="send_to_friend/sendfiles/gb/jquery-latest.js"></script> <script language="javascript" src="send_to_friend/popup.php?js" type="text/javascript"></script>

make the overlay automatically change its height whenever user scrolls up or down in a page?

to get the GB_overlay on the entire document, and not screen height, add this to function GB_position in greybox.js file.
$.getDocHeight = function(){
       return Math.max(
           /* For opera: */

emails are not getting received

please make sure the $email_address in popup.php is an email address that is linked to your website, not a gmail account or anything. please ask hosting provider if they support the php mail() command.

Show more