![]() |
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. ;) |
cool ! Gotta install this hack right after I'm out for 1h :p
|
You're on a roll :) I'll be using this definately.. but what would be better is a screenshot ;)
|
greatness :D i'll have to install this one :)
|
Screenshot added to first post as requested.
|
Thanks Erwin :p you could basically tell what it should look like from the html but an image takes about a second to understand ;)
|
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? :) |
Parse error: parse error in /home/macshrin/public_html/forums/sendmessage.php on line 245
i get that error message, what do i do? |
Quote:
|
Quote:
|
Quote:
You could also add a phrase for Refer a friend and other text as they are hardcoded as of now. |
Erwin, nice and i'll use that but vB3 has a 'select your language' feature... Would be nice if you could update this hack to use the phrasing system.
|
Quote:
|
Excellent, thanks for another great hack that's pulling me towards vB3!
|
Thanks Erwin...another Install!
|
Perfect, Installed flawlessly
Clicks install |
Great addition, had no probs at all.
Thx Carl |
Another great feature Erwin. :)
|
Great hack. Very easy install.
|
Hey erwin, I was just viewing the Refer page and noticed this:
Page generated in 0.08029 seconds with 7 queries (2 queries for uncached templates) 2 Uncached templates... How would I make them cached? |
Erwin, is it just me, or would everytime someone use this, it gives referer points to the Admin because you got
sendtofriend&refer=1 or am i mistaken? |
Quote:
The referrerid is the userid of the person using the form. :) |
Quote:
|
Quote:
In sendmessage.php Find: Code:
$globaltemplates = array( Code:
'refertofriend', |
when i install this when click the link i just got an emtpy page.. :confused:
|
This is what I'm getting when I click it on my test forum
Quote:
|
Never mind -- I retraced my steps for the third time and it worked. However I screwed up -- I managed to do it twice.
Great Hack Installed Thanx |
Nice hack and good instructions.. Very usful for some upcoming contests
|
Thank you Erwin. Installed. :)
|
I redid the hack three times but still get Parse error: parse error in /home/******/www/forum/sendmessage.php on line 248
I have PHP Code:
OTHERS))) line 248 ---->>> { print_n |
/me bumps hoping to get help
|
Zip that php file up and upload it on ur server, then send me a PM linking to that zip file and i will take a look for you
|
Erwin, I LOVE your hacks! They're so great and really user-friendly to install!
*clicks install* |
I get a no permission error message when I try to use refer.
I am the admin what is wrong? Please help StarBuG |
This hack was working for just great but for some reason now every that goes to the page gets an error saying they cannot access the page. I have checked and I canot see anything that might have changed - any idea where I should start to look?
chris www.rustysoaptraders.com |
Are there any changes required to install this under Gold version of vBulletin?
|
works perfectly, installed without a hitch :D
|
Can anyone help me with my problem?
Why do i get a permission denied as administrator? StarBuG |
<i>StarBug</i>: If you've recently upgraded you will need to do the file edit again.
If not, make sure you have uploaded the modified file and added the template.. |
Wicked hack! Just installed it at http://globalboards.com :) Thanks!
|
All times are GMT. The time now is 03:18 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|