TinyPortal

Development => Block Codes => Topic started by: akulion on May 06, 2006, 01:34:39 PM

Title: Recommend A Page Block (with admin panel)
Post by: akulion on May 06, 2006, 01:34:39 PM
This free php script allows your web site visitors to easily recommend your web site to their friends and family. This is a simple, free way to get free expsoure and traffic to your web site.

Features and Key Benefits:

    * step-by-step installation instructions in PDF

    * Header and footer template files are included so you can easily match the design of your Tell a Friend page to the rest of your web site.

    * Easily set how many friends a visitor can recommend at once (up to 10). This allows your visitors to easily recommend your web site to their friends without the hassle of sending the recommendation one-by-one.

    * Your visitors can also add their own personal message to the recommendation email sent to their friends. This will help their friends know the email came from them.

    * The recommender will also receive an email after successfully completing your Tell a Friend form. This allows you to not only send an automated thank you email to the visitor, but it also allows you to place advertising in the email.

     * Full admin interface which gives you complete control of every aspect of the script

    * After successfully completing your Tell a Friend form, the visitor is automatically redirected to a web page that you set. So if you set your home page as the redirection URL, then thatââ,¬â,,¢s where theyââ,¬â,,¢ll go after successfully recommending your web site. You can redirect them to your home page, to a page selling your product or service, an affiliate product, or any web site you want.

Screen Shots: (reduced image sizes to fit screen - these are images from my page so the logo is my pages logo, you can set your own up easy as pie!)

Admin Entry
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fpath-to-peace.net%2Fmisc%2Fadminarea.jpg&hash=f9f0f6cad6271b3a613a8a3e3b30e0e2daa45c2a)

Admin Interface
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fpath-to-peace.net%2Fmisc%2Fadminarea2.jpg&hash=bce8f0a0a28c656e549baebe4964702b14dfb0fb)

Tell A friend Interface (what you get finally)
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fpath-to-peace.net%2Fmisc%2Ftellafriend.jpg&hash=38fef8e21c78d13881cbc649165e1b819eb1a12e)

Demo: click here and look on the left side for a button (http://path-to-peace.net/forum/index.php)

Requirements to Properly Run This Script:

    * A website hosted on a Linux or Unix server.
    * PHP version 4.10 or higher.

Cons: 2 small links appear at the end of your "recommend" page but they are worth it :D

Download: Here (http://sitehelpcenter.com/atm/go.php?c=tell_a_friend)

Install Instructions: ALL included in the zip package - all you will have to do is create a link to your "recommend page" using a call to the _blank page like so:



<a href="http://www.www.com/etcetc/rell.php" target=_blank>Recomend this page</a>



be sure to replace all the directory and site addys in there :p

Homepage of this script (http://sitehelpcenter.com/free-php-scripts/download-free-php-scripts.php)
Title: Re: Recommend A Page Block (with admin panel)
Post by: akulion on May 07, 2006, 04:21:20 PM
Here is a better way to create a link! It allows your popup window to be "sized" exactly how you want it to be sized (just fiddle with the width and height until u get ur desired results. Be sure to replace the "http://www.yoursite.com/forum/recommend/" with the address location of where the script is on your server:

Popup window generator (http://dynamicdrive.com/dynamicindex8/popwin.htm) (2 bits of code will be generated just put them both in ur block)

Also here is a "thanks.html" page - download, unzip and put the addy of your logo in there also you can change the message in it - contains a "close this window" script in it :)

Click here to download thanks.html (http://path-to-peace.net/misc/thanks.zip)

The thanks.html file should be set as the "return url" in your admin area for it to work.

Screenshot of thanks.html

(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fpath-to-peace.net%2Fmisc%2Fthanks.jpg&hash=db26ca5832c407d02a3a9ffb71fabc15acf2b2b4)


PS: for the above code, please also create a small "recommend this page" button and name it "recommendbutton.gif" and upload to the same directory


PPS: here is a small button i made using the button generator on TP, u can use it if u like or create ur own (https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fpath-to-peace.net%2Fmisc%2Ftellafriend.gif&hash=a09f603e525c1c48bced6bb99c07d5de91d760b0)
Title: Re: Recommend A Page Block (with admin panel)
Post by: elpvn on June 15, 2006, 02:36:45 PM
Hey, that's like a third party option than rather, but nice to recommaned  :laugh: