The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
"Unregistered" Poster Idea
On my forum I have a problem with a lot of Unregister's posting. It's extremly hard to tell who is who. I'm thinking about is there a way that if they don't type in a name, and are unregistered, that the forum could automatically just insert their IP for their name, or Anonymous1 and Anonymous2 and so on for each new poster in the same thread? It would make things quite a bit easier...
|
#2
|
||||
|
||||
Not tested, but should work:
edit newthread.php and newreply.php, find: // check max images before that add: if ($ipaddress AND $postusername=='Unregistered') {$postusername=$ipaddress;} (be careful about the caps of 'Unregistered'. Its caps should be exactly as your board uses the word) That's it.. Enjoy Logician |
#3
|
||||
|
||||
How do you stop people registering the name Unregistered?
Some people I have seen like to be annoying... Satan |
#4
|
||||
|
||||
Add Unregistered to the banned usernames... isn't there something like that?
|
#5
|
|||
|
|||
Thanks for the reply, anyone know about having the random username thing?
|
#6
|
||||
|
||||
Not sure...
I think a "switch" statement could be used, but then again I could have been reading my "php in 24 hours" book a little to much Satan |
#7
|
||||
|
||||
Quote:
|
#8
|
|||
|
|||
Just tried that code Logician, it works, thank you very much for the help
|
#9
|
|||
|
|||
Also is there a way to insert their hostname instead of the IP?
|
#10
|
|||
|
|||
Anyone have an idea on the Unregistered to hostname thing?
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|