From: Tomas K. <to...@us...> - 2004-05-12 11:59:02
|
> I'm writing a nag screen plugin that informs our users about the data > protection laws and stores the time()-stamp of his/her confirmation in > the user's preferences: > > http://www.stahl.bau.tu-bs.de/~hildeb/naguser.tar.gz > > Since I'm a plugin agnostic, I have two questions now: > > 1) The plugin shows up in the right frame which enables the users to > "escape" by clicking on the stuff in the left frame. > > How can I make it use the whole screen? It does not matter if user sees some parts of interface. It only matters that user can't use interface (send or read mail) and gets TOS before his/her eyes on every click. see attached. Plugin is not finished. I've just cleaned some stuff. It would take more time to make it compatible with older sm versions and clean it to production state. In order to block use of interface completely, plugin needs hooks that are not included in SM. Third party plugins that use 'menuline' have to be hooked. If hooks are part of 1.5.1cvs, sorry I haven't checked all hooks. You have used functions that are available only in 1.5.1cvs. I have tested plugin in 1.4.3cvs. Sometimes blockcopy of info plugin does not work. You should have used newuser_wiz plugin instead. One question. Is it ok to use iframes in that plugin? Iframe is special html element that allows displaying different pages inside html pages. It is supported by IE and Gecko browsers. Haven't tested Opera. It should support iframes, if browser supports _all_ features of html v.4.0. Konqueror might have flaws. Links v.0.x does not support them. Message to other readers: Plugin is not finished, it is not official. Don't use it, if you don't understand what is does. Don't use if you don't understand German. You might have problems if you don't understand English too :). -- Tomas |