View Full Version : Forum Invitation Form
KingsGambit
11-30-2002, 10:00 PM
All information is in attached text file. This hack creates a page for users to enter a friend's Email address and an optional message. Their friend will then receive an EMail inviting them to join the board. :) Feel free to edit to suit your forums to your hearts content. :)
Involves creating and uploading 1 new PHP file to forum rootdir, and 5 new templates.
Any questions, I cannot guarantee prompt response but I don't mind an Email (kingsgambit@lineone.net) with any questions, or just post in here.
Dean C
12-01-2002, 01:40 PM
Such hacks have already been released but thanks for sharing it with us anyway :D
Regards
- miSt
Question: Would it be possible, say if the friend signs up with the same email that the msg was sent to, the person who sent it gets a referral for it?
KingsGambit
12-01-2002, 03:27 PM
I don't see why not N9ne, quite a good idea, but this doesn't involve any tables to memorise such things. The link they receive to the registration page contains &referrerid=$bbuserinfo[userid] in it, so referring member gets credit. :)
Next step for this might be to register user as well, and send them a username and random password in the Email perhaps?
Unknown553
12-01-2002, 04:26 PM
<a href="https://vborg.vbsupport.ru/showthread.php?s=&threadid=40355" target="_blank">https://vborg.vbsupport.ru/showt...threadid=40355</a>
Originally posted by KingsGambit
I don't see why not N9ne, quite a good idea, but this doesn't involve any tables to memorise such things. The link they receive to the registration page contains &referrerid=$bbuserinfo[userid] in it, so referring member gets credit. :)
Next step for this might be to register user as well, and send them a username and random password in the Email perhaps?
I don't think registering the user and sending username and password is such a good idea...
So the url sent contains the referrerid link? If so, that's fine :D
Erwin
12-01-2002, 09:06 PM
Mmm... this is similar to Unknown's Refer Friends hack...
Cool. i'm going to try this @ my forum
One single question.
Are 2.2.8 (and earlier version) hacks working correctly on 2.2.9?
KingsGambit
12-11-2002, 10:55 PM
AFAIK they should do, and this one is really straightforward but quite effective, and I don't think 2.2.9 has made that much changes. I have it but am afraid to upgrade with all the hacks I've played with. :)
Molok
12-14-2002, 10:33 PM
i installed the hack and it works very good.
I want set a Link to the Invitation Form in the User CP under New Private Messages and before Subscribed Forums.
Title of the Link
Invite a Friend
Here you can invite your friendy they are not registred.
My programming nowledge is very :( so i have no idea how i can do
KingsGambit
12-14-2002, 10:51 PM
Molok, if you mean where I think you mean, you could try putting this bit of code in the usercp template. Admin CP => Templates => Modify => User Control Panel Templates [Expand] => usercp. Find:
$privatemessages
Below that put the following code (before $forumlist):
<table cellpadding="0" width="100%" bgcolor="#0A293E" cellspacing="0" border="0" align="center"><tr><td>
<table cellspacing="1" cellpadding="4" border="0" width="100%">
<tr id="cat">
<td bgcolor="#336D95" background="https://vborg.vbsupport.ru/images/catagory_backing.gif" background="https://vborg.vbsupport.ru/images/catimage.gif" colspan="5">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr id="cat">
<td><a href="invite.php?s=$session[sessionhash]"><normalfont color="#000000"><b>Invite a Friend</b></normalfont></a></td>
</tr>
</table>
</td>
</tr>
<tr>
<td bgcolor="#13486D"><normalfont>Here you can invite your friends if they are not registred</normalfont></td>
</tr>
</table>
</td></tr></table>
<br>
:)
Molok
12-14-2002, 10:56 PM
yes you mean the right was i mean. with my very bad english its not easy to write here the right.
its work an I kiss you feets :-)
KingsGambit
12-14-2002, 11:02 PM
LOL, it was a pleasure mate, and your english is fine. I understood it fine and I *only* speak bad english. :D
Molok
12-14-2002, 11:17 PM
really good news :-)
I have here a little Upgrade of your Code.
So the Tables takes automatically the colors wheres setting as standard in the style
<table cellpadding="{tableouterborderwidth}" width="100%" bgcolor="{tablebordercolor}" cellspacing="0" border="0" align="center"><tr><td>
<table cellspacing="1" cellpadding="4" border="0" width="100%">
<tr id="cat">
<td bgcolor="{categorybackcolor}" colspan="5">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr id="cat">
<td><a href="invite.php?s=$session[sessionhash]"><normalfont color="{categoryfontcolor}"><b>Lade einen Freund/Freundin ein.</b></normalfont></a></td>
</tr>
</table>
</td>
</tr>
<tr>
<td bgcolor="{secondaltcolor}"><normalfont>Hier kannst du jemandem, der noch nicht im Forum registriert ist, eine Einladung senden.</normalfont></td>
</tr>
</table>
</td></tr></table>
<br>
XrayHead
12-18-2002, 09:04 PM
Installed mate..... Thank you :-)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.