Scarlet
Member
Posts: 60
Registered: 9-15-2017
Location: England
Member Is Offline
Mood: Excited for XMB's resurrection!
|
|
Registration passkey
I'd like to request a passkey that can be set in the admin panel and then forced on registration so as to stop spammers, and have a private forum that
only privileged people can register on that I have previously approved. My forum is mainly for people I talk to online and not really anyone else at
the moment so I think this will be pretty necessary for my site.
I'll probably need to edit the templates for member_reg and add some things into the member.php file. However, with little PHP knowledge (and even
then my understanding of PHP only extends to one specific forum package which is very badly coded), I won't be able to do this.
It shouldn't be too hard though, just adding an extra security check on the register form and a field I suppose x')
Anyone? ^^
|
|
lottos
Administrator
Posts: 479
Registered: 6-3-2002
Member Is Offline
Mood: pass me a TimTam
|
|
|
|
Scarlet
Member
Posts: 60
Registered: 9-15-2017
Location: England
Member Is Offline
Mood: Excited for XMB's resurrection!
|
|
Thanks for the help, but that seems to deal more with the spam posting rather than their actual registrations. I'm probably more bothered about the
spammers actually registering rather than having to remove their posts
I did try adding an extra field on the registration template called 'passkey' and then adding this to member.php somewhere:
if(isset($_POST['passkey']) && $_POST['passkey'] != "passkey") {
die("Invalid passkey - please contact via outside the board if you need it");
}
(or something like that, I can't remember everything -.-)
Unfortunately, this didn't work, it still let my test registration in. Maybe I need to create a new template? I'm not sure everything about XMB's
codebase.
|
|
Xian
Member
Posts: 50
Registered: 9-12-2017
Location: Los Angeles, California
Member Is Offline
Mood: w00h00!
|
|
|
|
Scarlet
Member
Posts: 60
Registered: 9-15-2017
Location: England
Member Is Offline
Mood: Excited for XMB's resurrection!
|
|
It doesn't have said function because I haven't installed the dependencies for it yet. Also, CAPTCHA doesn't stop persistent humans or such, so is
useless.
For some reason my community has been rather a big target for spammers due to a few feuds I have had with others, usually resulting in me disabling
registration access for a few days. I'd rather keep registrations locked rather than completely disabled, though.
|
|
Xian
Member
Posts: 50
Registered: 9-12-2017
Location: Los Angeles, California
Member Is Offline
Mood: w00h00!
|
|
I'm working on a hack for you.
|
|
Scarlet
Member
Posts: 60
Registered: 9-15-2017
Location: England
Member Is Offline
Mood: Excited for XMB's resurrection!
|
|
Oh cool, thanks! It's awesome to see people are sticking around and helping others out. :3 I appreciate what you're doing A LOT.
|
|
Xian
Member
Posts: 50
Registered: 9-12-2017
Location: Los Angeles, California
Member Is Offline
Mood: w00h00!
|
|
|
|