The Un-Official Proxomitron Forum
Forum Default Theme - Printable Version

+- The Un-Official Proxomitron Forum (https://www.prxbx.com/forums)
+-- Forum: Forum Related (/forumdisplay.php?fid=37)
+--- Forum: Site/Forum-Related (/forumdisplay.php?fid=18)
+--- Thread: Forum Default Theme (/showthread.php?tid=556)

Pages: 1 2 3


- ProxRocks - Jul. 28, 2005 05:17 PM

*42*? Did Douglas Adams pay us a visit?


- sidki3003 - Jul. 28, 2005 06:15 PM

Was thinking the same thing. Smile!


- sidki3003 - Jul. 29, 2005 07:27 PM

sidki3003 Wrote:Although i do wonder what kind of script needs to sniff "navigator.userAgent" *42* times.
Well, in European politics we have a term called "constructive motion of no-confidence".
It translates to: "If you don't offer an alternative, shut the f**k up!"

So... I don't know if that change can be easily done in the PHP script, but i think a rather resource/CPU/Opera/Prox-filter friendly solution would be to add this script to the <head> block...
Code:
<script language="JavaScript" type="text/javascript"><!--
var isIE = (document.all && document.getElementById && !window.opera) ? 1 : 0;
//--></script>
...and to replace (the forum code tag refused to work for below strings)...
Quote:if ( navigator.userAgent.toLowerCase().indexOf('mozilla') != -1 && navigator.userAgent.indexOf('5.') == -1 && navigator.userAgent.indexOf('6.') == -1 )
...with...
Quote:if (isIE)

Above concerns the ONi theme only. I've just quick-tested it in the three browsers and NN 4.8.

sidki


- Kye-U - Jul. 29, 2005 07:35 PM

Done Smile!


- sidki3003 - Jul. 29, 2005 07:49 PM

Big Teeth


- Kye-U - Jul. 29, 2005 07:54 PM

Thanks Sidki Wink (BTW, happy 500th post Big Teeth)


- sidki3003 - Jul. 29, 2005 11:51 PM

Oh, right! Thanks Smile!


- sidki3003 - Jul. 31, 2005 01:29 PM

The poll is closed.

I've changed the default theme to ONi accordingly. If anyone still gets a broken layout with this theme, please start screaming, and i'll switch back to Iris until Kye-U comes back. Smile!

sidki