![]() |
Force Guests to Enter Username via Javascript
Hi,
I installed this Hack to force guests to enter a valid username: https://vborg.vbsupport.ru/showthread.php?t=148686 However, this error checking takes place on the next page and when you click back the post is lost -- more often than not. I looked into the Javascript code for validating the subject and post length, but that seems very hard to extend with a custom check to force Guests from using a username that's not "Unregistered." Do you have any ideas how to do this? Thanks, Alex |
Quote:
Its best you ask that question in the mod thread as the author and other users will be better equipped to answer you Good luck ;) |
Thanks for your reply.
However, I'm not interested in the original plugin / mod because it isn't the solution I need. It uses 2 PHP lines of code to check validity. I want something completely different, done in Javascript. So I need advice how to mod Javascript callback when a user creates a post. Alex |
|
No, it's not particularly useful... I'm more curious how to modify the vBulletin code in the first place, since it's obfuscated / compressed Javascript. (The code itself is rather easy if there was a hook.)
How do people normally do this? Alex |
Quote:
|
All times are GMT. The time now is 10:50 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:
|