Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Refer to Friend v1.0 Details »»
Refer to Friend v1.0
Version: 1.00, by Hasann Hasann is offline
Developer Last Online: Jun 2021 Show Printable Version Email this Page

Version: 3.5.2 Rating:
Released: 12-26-2005 Last Update: 12-26-2005 Installs: 56
Uses Plugins Template Edits
Code Changes  
No support by the author.

This was coded by Erwin for 3.07
https://vborg.vbsupport.ru/showthread.php?t=59708

i have ported for 3.5.x thnkx for Erwin for this g8 hack

Installation is easy
read the readme file

in navbar template put this code somewhere
HTML Code:
<a href="sendmessage.php?do=sendtofriend&refer=1
">Refer to Friend</a>
thats it

Supporters / CoAuthors

Show Your Support

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

Comments
  #2  
Old 12-27-2005, 04:27 AM
BoYagoob BoYagoob is offline
 
Join Date: Jan 2005
Location: Doha
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice hack, Hasann ..

but can you rename this file: sendmessage.php to a different name, because there is already a file in our forums like this:
https://vborg.vbsupport.ru/sendmessage.php

Thanks a lot bro.
Reply With Quote
  #3  
Old 12-27-2005, 04:38 AM
Hasann's Avatar
Hasann Hasann is offline
 
Join Date: Aug 2005
Location: Germany
Posts: 897
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you must new sendmessage.php overwrite with old sendmessage.php
Reply With Quote
  #4  
Old 12-27-2005, 04:44 AM
rb290's Avatar
rb290 rb290 is offline
 
Join Date: Oct 2005
Posts: 333
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

isnt this like the invites system ?
Reply With Quote
  #5  
Old 12-27-2005, 07:42 AM
kadafi_alive kadafi_alive is offline
 
Join Date: Dec 2004
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

For some reason, it doesn't synch with the template.

See this image
Reply With Quote
  #6  
Old 12-27-2005, 11:17 AM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow this nice thanks!
Reply With Quote
  #7  
Old 12-27-2005, 11:36 AM
nexialys
Guest
 
Posts: n/a
Default

@Hasann, this is not the proper way to do things...

you have to use the Hooks system when possible, so people don't have to edit their files.

also, you can't ask for users to overwrite their other files, so if there is some file to edit, please provide the instructions for editing, instead of giving a file to overwrite.
Reply With Quote
  #8  
Old 12-27-2005, 02:54 PM
ReZ ReZ is offline
 
Join Date: Jul 2005
Location: United Kingdom
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It is possible to have this shown in the User CP section?
Reply With Quote
  #9  
Old 12-27-2005, 03:19 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It is not exactly like invites system, because it does not send out invites, but instead only simple referrerid links ;P
Reply With Quote
  #10  
Old 12-27-2005, 05:19 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hasann - Please write instructions in a .txt file of how to modify the sendmessage.php file

Quote:
Originally Posted by Site Rules
3.1 No "spreading of copyrighted Material": Please do not upload, attach or post anything that is copyright or licensed without prior consent of the owner. For example, you cannot upload or attach full copies of vBulletin program files. Partial code reference is allowed, as long as it is not substantial - this will be decided by the staff.
Thank you

Chris
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:24 PM.


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.04396 seconds
  • Memory Usage 2,291KB
  • Queries Executed 24 (?)
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
  • (1)bbcode_html
  • (1)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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (10)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