Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Tell A Friend + Automatic Referral Code Details »
Tell A Friend + Automatic Referral Code
Mod Version: 1.00, by Steve_S (Member) Steve_S is offline
Developer Last Online: Feb 2006 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 2.2.x Rating: (0 vote - 0 average) Installs: 22
Released: 11 Jan 2002 Last Update: Never Downloads: 2
Not Supported  

Tell A Friend + Automatic Referral Code

Edited 1-13-01. JavaScript pop version available at:

http://www.vbulletin.org/forum/showt...838#post212838

The JS version permits you to place the link anywhere you want on your board.

This version in this post returns your members to the thread they were reading using the same browser window.



Purpose: Permit members to promote your Board via email using their unique Referral code which is automatically inserted. Reward them for x number of referrals

Does not require any modifications to source code but does require hacking.

Requires 3 custom templates and a renamed and hacked version of sendtofriend.php which I have called referbbtofriend.php

1. Create 3 custom templates which are really a save of your current templates with a new name:

sendtofriend saved as referbbtofriend
email_sendtofriend saved as email_referbbtofriend
redirect_sentemail saved as redirect_referbbsentemail

2. Edit your custom templates. See zip for mine

3. Grab your copy of sendtofriend.php and save it as referbbtofriend.php

Edit referbbtofriend.php as follows and place in your forum root:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

4. Insert this link in your Show Thread Templates >> showthread template


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Notes: Uses a redirect to return them to the thread they were reading.

Thoughts and comments welcome.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 11 Jan 2002, 21:36
Steve_S's Avatar
Steve_S Steve_S is offline
 
Join Date: Oct 2001
The screen capture of the prefilled form:
Attached Images
File Type: gif screen-1.gif (8.4 KB, 432 views)
Reply With Quote
  #3  
Old 11 Jan 2002, 22:22
hypedave's Avatar
hypedave hypedave is offline
 
Join Date: Nov 2001
Cool, I get to be the first to install this, I am installing it now
Reply With Quote
  #4  
Old 11 Jan 2002, 22:37
hypedave's Avatar
hypedave hypedave is offline
 
Join Date: Nov 2001
when clicking on the reter to link, I get a blank screen ??
Reply With Quote
  #5  
Old 11 Jan 2002, 23:14
Steve_S's Avatar
Steve_S Steve_S is offline
 
Join Date: Oct 2001
Did you create the 3 custom templates and upload the hacked referbbtofriend.php ?

Please remeber that in the template named referbbtofriend (see the zip) you must call referbbtofriend.php

This:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

HTH
Reply With Quote
  #6  
Old 11 Jan 2002, 23:49
Myke O's Avatar
Myke O Myke O is offline
 
Join Date: Nov 2001
im doing it now ..... i dont have those 2 templates email and the refer one.... i only have sendtoafriend.php.... thats it
Reply With Quote
  #7  
Old 12 Jan 2002, 00:05
Myke O's Avatar
Myke O Myke O is offline
 
Join Date: Nov 2001
ahh i figured it out now... i love this HACK!!!!! thanks!!!!
Reply With Quote
  #8  
Old 12 Jan 2002, 00:17
Steve_S's Avatar
Steve_S Steve_S is offline
 
Join Date: Oct 2001
You welcome

Since this is my first effort I could have been just a tad more lucid in my instructions Another explanation:

You need to create 3 custom templates as per my instructions Here is another way:

1. Download the zip in the first post of this thread and open all 3 files in your editor. I have already edited these templates so if you don't like my stuff just change it.
2. Copy the text to the clipboard
3. Admin >> Templates >> Add
4. Paste the text into the template and name the templates exactly like the file names (no .txt)
5. Click the Save Button
Reply With Quote
  #9  
Old 12 Jan 2002, 03:31
eva2000's Avatar
eva2000 eva2000 is offline
 
Join Date: Oct 2001
nice one funkyduck
__________________
Reply With Quote
  #10  
Old 12 Jan 2002, 04:03
SirSteve SirSteve is offline
 
Join Date: Oct 2001
Excellent! Thanks!
Reply With Quote
  #11  
Old 12 Jan 2002, 06:05
Steve_S's Avatar
Steve_S Steve_S is offline
 
Join Date: Oct 2001
Thanks. A JavaScript Popup version coming tomorrow which might be a little "cleaner" for some folks and faster for the folks on a dial up.
Reply With Quote
  #12  
Old 12 Jan 2002, 06:09
SirSteve SirSteve is offline
 
Join Date: Oct 2001
great.... after I just installed this one!
Reply With Quote
  #13  
Old 12 Jan 2002, 07:30
DelusionalMind's Avatar
DelusionalMind DelusionalMind is offline
 
Join Date: Dec 2001
nice

on my que for tomorrow
Reply With Quote
  #14  
Old 12 Jan 2002, 11:18
Lesane's Avatar
Lesane Lesane is offline
 
Join Date: Oct 2001
Real name: Maurice
Thumbs up

Nice hack, thanks.
Reply With Quote
  #15  
Old 12 Jan 2002, 19:27
Steve_S's Avatar
Steve_S Steve_S is offline
 
Join Date: Oct 2001
Arrow New JavaScript Pop Up Version

NEW: Tell A Friend + Automatic Referral Code via JavaScript Pop Up Instructions edited on 1-13-02 for new features.

NOTE: if you previously installed the "redirect" version but wan't to use the JS pop up version, please start over and download the zip in this post :)

Includes welcome and thank you by member name. Requires 4 custom templates.

1. Please download the .zip first which contains all the custom templates.

2. Grab your copy of sendtofriend.php and save it as referbbtofriend.php

Edit referbbtofriend.php as follows and place in your forum root:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

REMOVE these 2 lines in referbbtofriend.php:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

2. Create the following 4 custom templates using the files which I have provided in the zip:

referbbtofriend_pop
error_referbbtofriend
email_referbbtofriend
referbbsentemail_thanks

Change my text in these templates to fit your site.

3. Insert the following JavaScript code anywhere on your Board you wish. Try header, footer, top of forums, user cp. Anywhere.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

NOTE: In the last line (href) of the JS code above remove the space between java script so it reads javascript

Edited 1-13-02 for new features.


Enjoy :)
Attached Files
File Type: zip tellfriendaboutbb_js.zip (2.6 KB, 125 views)

Last edited by Steve_S; 13 Jan 2002 at 18:54.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 02:35.

Layout Options | Width: Wide Color: