The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#197
|
|||
|
|||
Thx Erwin, almost something which I'm lookin for. Cant we modify this hack a bit such that this can be used as "invite friends" on forums where registration is closed. I want something like that on my site, where I have closed registrations, and want to give some invites to "certain" users based on "certain" conditions. I'm not into php and html... so can erwin or someone help me on this pls.
Thx p.s I know of a site which used the same mod and implemented the thing I wanted |
#198
|
|||
|
|||
I would be thrilled if some one can show me how to hide everything from subject down to send.. just keep the functionality, just hide it from users, i tried input="hidden" and got a message required info not filled out..
can anyone help? |
#199
|
|||
|
|||
Quickly installed nice works perfect on v3.0.7
|
#200
|
|||
|
|||
thanks Erwin
how can I block to unregistered users sending refer? I should block that group because.they are using "refer to friend mail" like their mail account,they can send alots of mail to everywhere.. please inform. regards. |
#201
|
|||
|
|||
will this work with the latest vb version? if not can someone make it work?
|
#202
|
|||
|
|||
Can someone tell me what line the code can be found that needs to be changed?
|
#203
|
|||
|
|||
Quote:
If you want to use it on vB 3.5, you need to read this |
#204
|
|||
|
|||
I am using this with vB 3.5.3 and it works fine except that in the recent past I am getting SPAM through this. I am afraid that SPAMers are using this to resend SPAM throug my email server...
Can I limit number of sent by IP adress or somthing? Or can you add image verification? Any other idea? |
#205
|
||||
|
||||
I hope you don't mind this Erwin. Basically what I did to control the spams or unwanted guests to use this feature, I just put a conditional around the template so that only members can use the form,
Code:
$stylevar[htmldoctype] <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]"> <head><title>$vboptions[bbtitle] - Refer $vboptions[bbtitle] to a Friend</title> $headinclude </head> <body> $header $navbar <if condition="$bbuserinfo[userid] == 0"> <table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" class="tborder"> <tr> <td class="thead" colspan="2"><b>Refer $vboptions[bbtitle] to a Friend</b></td> </tr> <tr> <td class="alt2">Sorry, you have to register first to invite your friends.</td> </tr> </table> </td></tr></table> <else /> <form action="sendmessage.php" method="post"> <input type="hidden" name="s" value="$session[sessionhash]" /> <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%"> <tr> <td class="thead" colspan="2"><b>Refer $vboptions[bbtitle] to a Friend</b></td> </tr> $logincode <tr> <td class="alt2"><b>Send To (Person's Name):</b></td> <td class="alt2"><input type="text" class="bginput" name="sendtoname" size="25" maxlength="75" /></td> </tr> <tr> <td class="alt1"><b>Send To (Email Address):</b></td> <td class="alt1"><input type="text" class="bginput" name="sendtoemail" size="25" maxlength="100" /></td> </tr> <tr> <td class="alt2"><b>Subject:</b></td> <td class="alt2"><input type="text" class="bginput" name="emailsubject" value="Join me at this website!" size="25" maxlength="100" /></td> </tr> <tr> <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] From, $bbuserinfo[username] </textarea></td> </tr> </table> </td></tr></table> <br /> <table cellpadding="2" cellspacing="0" border="0" width="$stylevar[tablewidth]" align="center"> <tr> <td align="center"> <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" /> </td> </tr> </table> </form> </if> $footer </body> </html> |
#206
|
|||
|
|||
hi Ewin, i just installed in vb3 3.6 and have the link at the bottom of the page but when i click the link i get a blank page...i see a few others have had the same problem.
what am i doing wrong? |
#207
|
|||
|
|||
Any updates on vb 3.6.0?
|
#208
|
|||
|
|||
hi,
after long time didnt work with vb 353 admin job, i forgot every thing can anyone tell me step by step HOW to Add new template "refertofriend" Thank you. |
#209
|
||||
|
||||
What I did may not be the same as what you did with this hack. If it works great but if it doesn't, sorry.
I?m using 6.2 and cmps 2.2.1 This is for A) look for Code:
// ############################### start send to friend permissions ############################### if ($_REQUEST['do'] == 'sendtofriend' OR $_POST['do'] == 'dosendtofriend') Code:
// ############################### start send to friend permissions ############################### if ($_REQUEST['refer'] == 'sendtofriend' OR $_POST['refer'] == 'dosendtofriend') B) has not changed |
#210
|
|||
|
|||
Does this hack create a link for the user to click that pulls up the form?
Regarding preventing this form being used to send spam, could a captcha be used to prevent bots from sending messages? Or don't bots 'use' this type of form? Thanks. |
#211
|
|||
|
|||
If anyone is using this mod with 3.7 I have it installed and everythign works correct but when i try and send a message i receive this error:
Quote:
anyone got any ideas? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|