Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Refer Friend Details »»
Refer Friend
Version: 1.00, by Erwin Erwin is offline
Developer Last Online: May 2013 Show Printable Version Email this Page

Version: 3.0.6 Rating:
Released: 01-04-2004 Last Update: 01-07-2004 Installs: 293
 
No support by the author.

Refer Friend

For some reason, there is no "Refer a Friend" form standard in vB3.

This is a simple "Refer a Friend" form based on sendmessage.php.

All you need is to edit 1 PHP file - sendmessage.php, and add 1 template.

Instructions are in the HTML zipped below.

Below is a screenshot, as requested.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #137  
Old 03-07-2005, 05:34 AM
LiewCF's Avatar
LiewCF LiewCF is offline
 
Join Date: Mar 2005
Location: Malaysia
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you very much!
Reply With Quote
  #138  
Old 03-14-2005, 03:11 AM
OrangeFlea OrangeFlea is offline
 
Join Date: Aug 2004
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Oblivion Knight
Any news on being able to refer multiple friends?

It should be easy enough to allow e-mail addresses to be separated by a commar..
Yeah, what he said. Check this out:

http://www.business-students.com/for...er_friend.html

Can we get something like that in the next version? Should be a hit.
Reply With Quote
  #139  
Old 03-15-2005, 12:20 PM
zachlee zachlee is offline
 
Join Date: Nov 2004
Location: Pgh, Pa
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

here is a stupid question (prepares to be stoned)

when someone uses the refer friend page, the recipient recieves a email:
Code:
From: Football-Forums Forums
Subject: Join me at Football-Forums.com
How, or where can I change the From field.
Reply With Quote
  #140  
Old 03-15-2005, 02:21 PM
zachlee zachlee is offline
 
Join Date: Nov 2004
Location: Pgh, Pa
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Oblivion Knight
Since you have 2 uncached templates, I'm guessing the code has changed slightly between the version of vB3 you are using and RC3. In RC3 I had 1 uncached template and I did this:

In sendmessage.php
Find:
Code:
$globaltemplates = array(
	'mailform',
Add below:
Code:
	'refertofriend',
Awesome mod Erwin, thanks for sharing.!
worked like a charm, thanks
Reply With Quote
  #141  
Old 03-21-2005, 05:13 AM
mholtum's Avatar
mholtum mholtum is offline
 
Join Date: May 2004
Location: Arizona
Posts: 697
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Odd. I installed this on 3.0.5 and it works great. Installed it on a fresh install of 3.0.7 and get this error

Code:
fshfanatic, you do not have permission to access this page. This could be due to one of several reasons:

1: Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system? 
2: If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
works here: http://www.ravensrealm.net

doesnt work here: http://www.theflyfishingforum.com

any ideas?
Reply With Quote
  #142  
Old 03-21-2005, 05:31 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Double check the first edit.
Quote:
Originally Posted by mholtum
Odd. I installed this on 3.0.5 and it works great. Installed it on a fresh install of 3.0.7 and get this error

Code:
fshfanatic, you do not have permission to access this page. This could be due to one of several reasons:
 
1: Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system? 
2: If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
works here: http://www.ravensrealm.net

doesnt work here: http://www.theflyfishingforum.com

any ideas?
Reply With Quote
  #143  
Old 03-21-2005, 05:40 AM
mholtum's Avatar
mholtum mholtum is offline
 
Join Date: May 2004
Location: Arizona
Posts: 697
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MarcoH64
Double check the first edit.
Double Checked and got this:
Parse error: parse error, unexpected $ in /home/theflyfi/public_html/forums/sendmessage.php on line 423

this is line 223

?>

If I use the php file from an earlier version of vb it works fine... :ermm:
Reply With Quote
  #144  
Old 03-21-2005, 05:49 AM
mholtum's Avatar
mholtum mholtum is offline
 
Join Date: May 2004
Location: Arizona
Posts: 697
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok downloaded a fresh copy of the file from VB and re-edited the file. Worked... odd..
Reply With Quote
  #145  
Old 03-25-2005, 01:08 AM
rrr rrr is offline
 
Join Date: Oct 2004
Location: California
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed on vB 3.0.7 and working great.

This should definitely be included in the next version of vB
Reply With Quote
  #146  
Old 03-27-2005, 09:25 AM
thesatman thesatman is offline
 
Join Date: Aug 2002
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack thanks.

1 small question After the refer a friend message is sent it just returns to the forum home page, Anyway to show "Message Sent" screen before going to the forum home page.
Reply With Quote
  #147  
Old 04-13-2005, 12:18 PM
Benj's Avatar
Benj Benj is offline
 
Join Date: May 2006
Posts: 180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My Question !

can you send a refer email to more than one email at a time ?? maybe using

"email1@w00t.com,email2@w00t1.com"

???

If so

how hard would it be to have an addon that maybe opens up in a new window sayin import contact from hotmail (or yahoo) which looks at all the ticked email addresses (user imput)that are pulled from the loged in users hotmail / yahoo contact list and says invite these users. The addon would then look at the email address and thouse that are not all ready members ( the emails that are not in the users table of the datbase) and would add the email address to the email field of this form


Good idea i recon just a case of how hard it would be to make
Reply With Quote
  #148  
Old 04-13-2005, 10:08 PM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by thesatman
Great hack thanks.

1 small question After the refer a friend message is sent it just returns to the forum home page, Anyway to show "Message Sent" screen before going to the forum home page.
Sure, don't disable redirect pages in your Admin CP.
Reply With Quote
  #149  
Old 04-16-2005, 03:22 AM
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Location: Google Kansas
Posts: 4,678
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the download link doesn't work for me :| so i can't install yet
Reply With Quote
  #150  
Old 04-16-2005, 06:39 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You mean you can not download the hack? Please try again, because it is working fine for me.
Reply With Quote
  #151  
Old 04-16-2005, 05:52 PM
kobescoresagain kobescoresagain is offline
 
Join Date: Feb 2005
Posts: 327
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can you change it so that it doesn't make a delay? I have people wanting to use it but it delays a little to long. I would like to know the variable where I could adjust this. Thanks
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 02:56 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05193 seconds
  • Memory Usage 2,363KB
  • Queries Executed 30 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (16)post_thanks_box
  • (16)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (16)post_thanks_postbit_info
  • (15)postbit
  • (16)postbit_onlinestatus
  • (16)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete