![]() |
How do i create something like "do=banuser"14"
How would i go about creating the PHP code for that?
And since i want to add this to replacement variables, how do i make the userid number a variable based on the post of the replaced words? |
I understand the first part, in your php script, you would have to assign the user to be banned to a variable such as $introuble['userid'] then in your html template, use:
Code:
www.yoursite.com/yourscript.php?do=banuser$introuble[userid] |
oh, its so people get autobanned when using inappropriate phrases or REALLY bad words like the n word.
Me thinks that will take me to the page to ban the user.I need to run a query or something that will automatically ban the user. |
so if someone types a bad word, the admin can click on the word which will be a link to the ban script?
|
No, an autoban. Basically once the word runs through the replacement variable script it will automatically replace the word and then automatically ban the user, without running through an admin.
|
All times are GMT. The time now is 03:28 PM. |
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:
|