The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Warning message when leaving domain
Hi, i'm looking for solution how to warn my users about leaving domain. Just a simple warnig message, when user click on any external links. So if the user click on some link (in post, PM, signature, ... etc), which is outside of the domain, he will get warning message about it, with autoredirect timeout and/or button to redirect immediately.
Some configurable things will be handy, for example: Whitelist - admin can add "trusted" domain, so any whitelisted domain will not activate the warning message and the user will be directly redirected to the requested page. Autoredirect - after XX second on the warning page, user will be redirected to the requested page Continue button - user can click on the button on the warning page and he will be redirected, this can be combined with autoredirect time Enable system on different places - admin can set, where the system will be active. So for example links from posts/comments/signatures will be "protected" via warning page, but links from arcticles not. Trusted group - any usergroup can be set as "trusted" so no link from that user will activate the warning page - for example posts from admins, mods, or any custom group will be always "OK" Something like this (click on any link it that post): https://www.flashback.org/t166537 Any suggestions? |
#2
|
||||
|
||||
You could create a script file like outgoing.php, give the url via param ?url=http://somwhereelse
and then create a warning/redirect page around. Then you create a vbulletin plugin, which hooks into bbcode_parse and replaces all urls from within [url] tags with your redirect script at the beginning. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|