vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Refer Friend (https://vborg.vbsupport.ru/showthread.php?t=59708)

Erwin 01-04-2004 10:00 PM

Refer Friend
 
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. ;)

deathemperor 01-05-2004 03:43 AM

cool ! Gotta install this hack right after I'm out for 1h :p

Koutaru 01-05-2004 06:36 AM

You're on a roll :) I'll be using this definately.. but what would be better is a screenshot ;)

sabret00the 01-05-2004 07:01 AM

greatness :D i'll have to install this one :)

Erwin 01-05-2004 07:49 AM

Screenshot added to first post as requested.

Koutaru 01-05-2004 07:55 AM

Thanks Erwin :p you could basically tell what it should look like from the html but an image takes about a second to understand ;)

SnowBot 01-05-2004 08:23 AM

will that change the contact us link in your instructions to

Refer a friend?

If so how would one add it as a new link instead? :)

macshrine 01-05-2004 09:19 AM

Parse error: parse error in /home/macshrin/public_html/forums/sendmessage.php on line 245

i get that error message, what do i do?

Erwin 01-05-2004 09:22 AM

Quote:

Originally Posted by SnowBot
will that change the contact us link in your instructions to

Refer a friend?

If so how would one add it as a new link instead? :)

Look at my instructions carefully. :) It adds the link, not replace it.

Erwin 01-05-2004 09:22 AM

Quote:

Originally Posted by macshrine
Parse error: parse error in /home/macshrin/public_html/forums/sendmessage.php on line 245

i get that error message, what do i do?

Chances are you installed in wrongly. There should be no parse errors if you follow my instructions exactly. Make sure you are closing all your open { with }.


All times are GMT. The time now is 10:44 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.01583 seconds
  • Memory Usage 1,726KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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