The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Is valid URL function
Hello,
I'm wondering if there is any vB function similar to is_valid_email() which will validates if the input is a valid link. I found in a class_xxx.php file something verify_link() but I was getting errors when I tried to use it. Thank you Christos PS: I'm looking for native vB function. I've a PHP function which does this work. |
#2
|
|||
|
|||
There's no good vBulletin function to verify URL's as far as I know.
I looked at the code of the edit profile page where you can set your homepage, but that uses the verify_link function which is pretty much pointless. It accepts URL's such as "http://" without a hostname. |
#3
|
||||
|
||||
Quote:
|
#4
|
||||
|
||||
Hey whatever works right? If it still works and there are no potential security risks with it noted then I see no problem in using an older form of the code.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|