vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Refer to Friend v1.0 (https://vborg.vbsupport.ru/showthread.php?t=103808)

Hasann 12-26-2005 10:00 PM

Refer to Friend v1.0
 
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 :rolleyes:

BoYagoob 12-27-2005 04:27 AM

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.

Hasann 12-27-2005 04:38 AM

you must new sendmessage.php overwrite with old sendmessage.php

rb290 12-27-2005 04:44 AM

isnt this like the invites system ?

kadafi_alive 12-27-2005 07:42 AM

Hi,

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

See this image

Snake 12-27-2005 11:17 AM

Wow this nice thanks!

nexialys 12-27-2005 11:36 AM

@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.

ReZ 12-27-2005 02:54 PM

It is possible to have this shown in the User CP section?

akanevsky 12-27-2005 03:19 PM

It is not exactly like invites system, because it does not send out invites, but instead only simple referrerid links ;P

Chris M 12-27-2005 05:19 PM

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


All times are GMT. The time now is 12:07 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01496 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete