dtbaker

dtbaker supports this item

Supported

This author's response time can be up to 5 business days.

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(
           $(document).height(),
           $(window).height(),
           /* For opera: */
           document.documentElement.clientHeight
       );
   };
 $("#GB_overlay").css({width:w+"px",height:$.getDocHeight()+"px"});

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

Contact the author

This author will respond to buyers' questions and provides limited support through their own support system.

Additional information from dtbaker:

Item support includes:
  • Responding to questions or problems regarding this item and its features
  • Fixing bugs and reported issues
  • Providing updates to ensure compatibility with new software versions

Item support does not include:

  • Customization and installation services
  • Support for third party software and plug-ins
by
by
by
by
by
by