PDA

View Full Version : tell a friend


sphinx
01-10-2002, 10:00 PM
nice little hack

The hack can be found here: (post #7)
https://vborg.vbsupport.ru/showthread.php?postid=212652#post212652
- FF.

Lesane
01-11-2002, 06:50 PM
:confused:

qwaz
01-11-2002, 07:05 PM
I think he is pointing out that whatever thread is started in here ends up being on the main page as a "Latest Hack".

Lesane
01-11-2002, 07:09 PM
Weird, in the thread listing it says that bokhalifa started the thread and also on the main page and inside in the thread it says that sphinx it did :confused:

bokhalifa
01-11-2002, 07:12 PM
:confused:sorry I have post this hack but it doesn?t appear :rolleyes:

qwaz
01-11-2002, 07:12 PM
Buggy, overhacked vb?

bokhalifa
01-12-2002, 12:21 AM
This is hack to allowed your forum?s guests/ users to tell their friends about your forum , it is a nice simple hack.

:confused:sorry I have post this hack but it doesn?t appear :rolleyes:

bokhalifa
01-12-2002, 12:21 AM
:)

bokhalifa
01-12-2002, 12:24 AM
:cool:

illogicalx
01-13-2002, 02:09 PM
nice bokhalifa
thanks

bokhalifa
01-13-2002, 05:52 PM
sphinx :)

thanks

Lionel
01-22-2002, 02:12 AM
How can I make this hack use the referral system?

squawell
01-22-2002, 11:09 AM
what a wonderful hack u made~~

thankz:D:D:D

Lucky
01-22-2002, 12:05 PM
I'm not sure if bokhalifa had this hack posted earlier as I have installed it a week or so ago, and yes it does refer users in the hack I downloaded then.

Visionray
03-30-2002, 06:24 PM
eh couldnt get it to work man. I did everything fine until the last part when I tried to upload vbsfriend.php...and none of my ftp programs would let me for some odd reason. But I can upload anything else. I'll post back later.

Roody
04-25-2002, 01:35 PM
im having some issues with it also. first i uploaded the file and went to my forum site with vbsfriend.php at the end but it loaded and the screen was blank.

also, where do i go on my own board to see where this option is placed once it is working?

Jeremy W.
05-23-2002, 03:05 PM
It took some mangling but I got it to work :)

I also changed the email_sfriend template to this, as it made more sense:
{htmldoctype}
<html>
<head>
<title>$bbtitle - tell a friend</title>
$headinclude
</head>
<body>
$header
<table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center">
<tr>
<td><img src="{imagesfolder}/vb_bullet.gif" align="middle" alt="vBulletin">
<normalfont><b>&nbsp; tell a friend</b></normalfont></td>
</tr>
</table>

<br>

<form action="vbsfriend.php" method="post">


<table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td>
<table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">
<tr>
<td bgcolor="{tableheadbgcolor}" colspan="2">
<p align="center"><normalfont color="{tableheadtextcolor}" class="thtcolor"><b>{tell a friend about us} </b></normalfont></p>
</td>
</tr>
$logincode
<tr>
<td bgcolor="{secondaltcolor}"><normalfont><b>Name Your Friend&nbsp; :</b></normalfont></td>
<td bgcolor="{secondaltcolor}"><normalfont><input type="text" class="bginput" name="sendtoname" size="25" maxlength="75"></normalfont></td>
</tr>
<tr>
<td bgcolor="{firstaltcolor}"><normalfont><b>E-mail Your Friend:</b></normalfont></td>
<td bgcolor="{firstaltcolor}"><normalfont><input type="text" class="bginput" name="sendtoemail" size="25" maxlength="100"></normalfont></td>
</tr>
<tr>
<td bgcolor="{secondaltcolor}"><normalfont><b>Subject:</b></normalfont></td>
<td bgcolor="{secondaltcolor}"><normalfont>
<input type="text" class="bginput" name="emailsubject" value="An invitation from $bbuserinfo[username]" size="25" maxlength="100">
</normalfont></td>
</tr>
<tr>
<td bgcolor="{firstaltcolor}" valign="top"><normalfont><b>Your Message:</b></normalfont></td>
<td bgcolor="{firstaltcolor}"><textarea name="emailmessage" rows="10" cols="50">Hey!

I've found $bbtitle ( $bburl/ ) and I love it! It's a great Lord of the Rings community with an amazing Image Gallery, come visit me!

See you there!

$bbuserinfo[username]</textarea></td>
</tr>
</table>
</td></tr></table>

<br>

<table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center">
<tr>
<td align="center"><normalfont>
<input type="submit" class="bginput" name="submit" value="Send" accesskey="s">
<input type="hidden" name="action" value="sendfriend">
</normalfont></td>
</tr>
</table>

$footer

</form>

</body>
</html>

Jeremy W.
05-23-2002, 03:06 PM
Rudy, go to your Forum Homepage, and if you did it as the instructions suggested it will be right beside your "Newest Member".

Personally I put it beside "Subscribed Threads" as that made more sense :)

JZarate
06-01-2002, 11:53 PM
Thanks it works.

JustinBr
02-24-2007, 07:16 AM
I'd love to use this feature on my 3.6.4 board. I'm guessing this version isn't going to work. Is there a version out there that is compatible with 3.6.4?