The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
lost
I can't seem to locate the thread(s) about how to disable HTML tags. A search on the word "HTML" doesn't seem to yield the thread(s) I'm looking for.
:ermm: - I want to disable all HTML tags. without disabling the vb codes. - I want "Automatically parse URLs: automatically adds and around internet addresses. " to always be "no" - I want the button http:// to not work I want to stop my website url from showing up on other servers via referrers. I host a private site on a private url and intend to keep it that way. (We've been hacked and cracked at least 4 times already and want to do everything we can to stop it.) |
#2
|
||||
|
||||
Firstly, to remove the http:// and prevent automaticly putting [ URL ] around URLS you need to remove the vb code for the [ URL ] tag in the admin CP, to disable HTML in posts you change the relevent option in the vBulletin Options part of the Admin CP.
Hope this helps, Lee |
#3
|
|||
|
|||
Quote:
I've looked all around the admin Cp and the php files.... In templates the response for the "automatically parse urls" is a $parseurlChecked value... how and where do I set that value so that it is permanently unchecked. |
#4
|
||||
|
||||
OK, To remove the Parsing of URL's I think you need to remove the following from functions.php (Make sure you backup the file first, I haven't tested it and am not resposible if it goes wrong )
And remove $parseurlChecked from the template PHP Code:
|
#5
|
|||
|
|||
I'll try that. Right now one of our servers just crashed... might be sometime before I get back to you. Thank you for the quick reply.
|
#6
|
||||
|
||||
No problem Dixiemill I hope it works for you
|
#7
|
|||
|
|||
I found that removing the code from checkurl and parseurl erases the whole message if a link is anywhere in the message.
But your lead was not in vain... I was successfully able to disable "hotlinks" by simply changing the last line in the function checkurl from: return "<a href=\"$righturl\" target=\"_blank\">".str_replace('\"', '"', $hyperlink)."</a>"; to: return "<a =\"$righturl\" >".str_replace('\"', '"', $hyperlink)."</a>"; now when I type www.test.com in the message or use the http:// button in the vbcode area the url appears as text not a hotlink. |
#8
|
||||
|
||||
I knew that code had something to do with it, and as it wasn't a vB code in the admin CP I guessed it would be in funcions.php so I just did a quick serach, I'm glad it helped
Was there anything else that you needed help on or was it just the hyperlinks? |
#9
|
|||
|
|||
Just the hyperlinks... I'm trying to keep my site url from appearing on other servers via referrers.
Thanks again for all the help. |
#10
|
||||
|
||||
No problem, glad I could help you out.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|