The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Block others from iframing your pages
I use one line of code in the headinclude that works great at stopping others from iframing any of your pages or parts of your pages.
Code:
<script type='text/javascript'>if (top !== self) top.location.href = self.location.href;</script> Now here comes the little annoyance. ...it all works fine EXCEPT for when logging into vB Admin Control Panel. Seems like every once in awhile (like the first time of the day when logging into the Admin Panel) that this code will kick you back out to the main website (I assume due to some sort of iframing that the Admin CP does). Just clicking back to the Admin CP always works fine on the second try but it is kind of an annoyance. Like I said, I only seem to encounter it maybe once out of 20 times logging into the Admin CP but if anyone has an idea of how to fix it let me know. |
#2
|
|||
|
|||
Simply exclude it from loading in the admin panel. Move it to a different template that the admin cp doesn't use.
|
#3
|
||||
|
||||
It appears the Admin CP pages do not use the footer template so that's probably a good place for it since most other pages of the website do use it.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|