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
  #22  
Old 02-02-2006, 06:25 AM
Hasann's Avatar
Hasann Hasann is offline
 
Join Date: Aug 2005
Location: Germany
Posts: 897
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Aftermath

How do I fix that? Please guide me...
open refertofriend template and change this code

HTML Code:
<td class="alt1" valign="top"><b>Message:</b></td>
	<td class="alt1"><textarea name="emailmessage" rows="10" cols="50">I thought you might be interested in joining me at $vboptions[bbtitle]! Click here to check it out:
$vboptions[bburl]/index.php?referrerid=$bbuserinfo[userid]
to
HTML Code:
<td class="alt1" valign="top"><b>Message:</b></td>
	<td class="alt1"><textarea name="emailmessage" rows="10" cols="30">I thought you might be interested in joining me at $vboptions[bbtitle]! Click here to check it out:
$vboptions[bburl]/index.php?referrerid=$bbuserinfo[userid]
Reply With Quote
  #23  
Old 02-02-2006, 07:36 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tried that and it still the same.
Reply With Quote
  #24  
Old 02-05-2006, 04:06 PM
Darkfire122333 Darkfire122333 is offline
 
Join Date: Mar 2005
Location: Canada
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by swa
Would it be possible to have this come up after someone signs up for your site?
PHP Code:
        <if condition="$show['member']">
            <
td class="vbmenu_control"><a href="sendmessage.php?do=sendtofriend&refer=1">Send to Friend</a></td>
        </if> 
There you go, Enjoy.
Reply With Quote
  #25  
Old 02-05-2006, 04:08 PM
Darkfire122333 Darkfire122333 is offline
 
Join Date: Mar 2005
Location: Canada
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Aftermath
I tried that and it still the same.
What do you exactly want changed? If I know the source that you wanted changed, I could modify it for you.

Just quote what you wanted changed, and a little definition of what you wanted it to look like, and I could work from there.
Reply With Quote
  #26  
Old 02-05-2006, 04:33 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Look at this image...

http://img67.imageshack.us/img67/1696/probfr5qp.jpg

It's looking kinda messed up because of my skin as it is modified differently. You see, that blank black bg thingy is messing up with the skin...
Reply With Quote
  #27  
Old 02-05-2006, 05:13 PM
Darkfire122333 Darkfire122333 is offline
 
Join Date: Mar 2005
Location: Canada
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In Template refertofriend

Replace:
PHP Code:
 <table cellpadding="$stylevar[outerborderwidth]cellspacing="0" border="0" class="tborder" width="$stylevar[tablewidth]align="center"><tr><td>
<
table cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%"
With:
PHP Code:
 <table cellpadding="1" cellspacing="1" border="1" class="tborder" width="0" align="center"><tr><td>
<
table cellpadding="1" cellspacing="1" border="1" width="100%"
DEMO:
http://fortsask.be/sendmessage.php?d...friend&refer=1

Hint: To remove the mini borders, just excange the 1's to 0's and they will be gone.
Reply With Quote
  #28  
Old 02-05-2006, 05:19 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nevermind...

Thanks!
Reply With Quote
  #29  
Old 02-05-2006, 05:26 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah it's working now. Thank you.
Reply With Quote
  #30  
Old 02-05-2006, 05:27 PM
Darkfire122333 Darkfire122333 is offline
 
Join Date: Mar 2005
Location: Canada
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No Problem, Just glad to help.
Reply With Quote
  #31  
Old 02-06-2006, 09:35 PM
blackpheonix blackpheonix is offline
 
Join Date: Nov 2004
Location: Great Yarmouth - UK
Posts: 167
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sorry i didnt like your template very much so i changed it a little hope you dont mind in case anyone else wants teh same template as me

Code:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - Refer $vboptions[bbtitle] to a Friend</title>
</head>
<body>
$header
<if condition="$navbar">$navbar<else /><br /><br /></if>


<form action="sendmessage.php" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />


<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">

		<b>Refer $vboptions[bbtitle] to a Friend</b>	
	</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div style="width:$stylevar[formwidth]" align="$stylevar[left]">
		
			<fieldset class="fieldset">
				<legend>Your Friends Details</legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
				<tr>
					<td>
						<b>Send To (Person's Name):</b><br />
						<input type="text" class="bginput" name="sendtoname" size="50" maxlength="75" />
					</td>
				</tr>
				<tr>
					<td>
						<b>Send To (Email Address):</b><br />
						<input type="text" class="bginput" name="sendtoemail" size="50" maxlength="100" />
					</td>
				</tr>
				<tr>
					<td>
						<b>Subject:</b><br />
						<input type="text" class="bginput" name="emailsubject" value="Join me at this website!" size="50" maxlength="100" />
					</td>
				</tr>

				</table>
			</fieldset>

			
			<div class="fieldset">
				$vbphrase[message]:<br />
				<textarea name="emailmessage" rows="10" cols="50" wrap="virtual" style="width:$stylevar[messagewidth]">I thought you might be interested in joining me at $vboptions[bbtitle]! Click here to check it out:
$vboptions[bburl]/index.php?referrerid=$bbuserinfo[userid]

From,
$bbuserinfo[username]
</textarea>
			</div>
		
		</div>
	</div>
	
	<div style="margin-top:$stylevar[cellpadding]px">
	        <input type="submit" class="button" value="Send Email Now!" accesskey="s" />
                <input type="hidden" name="t" value="$threadid" />
	        <input type="hidden" name="url" value="$url" />
	        <input type="hidden" name="refer" value="1" />
	        <input type="hidden" name="do" value="dosendtofriend" />
	</div>
	</td>
</tr>
</table>

</form>

$footer

</body>
</html>
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 07:53 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.05971 seconds
  • Memory Usage 2,337KB
  • Queries Executed 26 (?)
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_code
  • (3)bbcode_html
  • (3)bbcode_php
  • (3)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
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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