The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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? |
#2
|
||||
|
||||
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] |
#3
|
|||
|
|||
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. |
#4
|
||||
|
||||
so if someone types a bad word, the admin can click on the word which will be a link to the ban script?
|
#5
|
|||
|
|||
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.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|