James Cridland
12-30-2001, 02:09 PM
Background
This is a rather contentious issue.
It could be said that Opera v6 (the newest one) is broken, since it doesn't display certain bits of vBulletin correctly when vBulletin uses correct HTML code.
It could also be said that these mods are 'illegal', since they use HTML that you're not supposed to use anymore.
However, if all you care about is making your board look perfect, then you can make two amendments to your code to ensure that Opera users get exactly the same user experience as Internet Explorer or Netscape users.
Please note: I do not wish to get into an argument about whether this is good practice or not. I am merely giving these two code amendments to share my discoveries with the rest of the vBulletin community. There are two discussions, one at vBulletin (http://www.vbulletin.com/forum/showthread.php?threadid=35509) and one at Opera (http://my.opera.com/forums/showthread.php?threadid=867) about this point if you wish to debate it. Please don't debate it here.
Having said that, here are the two areas I've found so far, and the simple fixes to make them work.
Redirects are not centered
The 'Thank you for posting' message appears on the left-hand side of the screen, not in the centre.
Edit: "standard_redirect" template
Place <center> tags before the first <TABLE>, and place </center> before the last </TABLE>.
The bottom of the thread view
The "post a reply" and "post new thread" buttons appear in the middle, and are not aligned to the right.
Edit: "showthread" template
find
<td width="100%"><smallfont color="#EEEEFF"><b>$timezone</b></smallfont></td>
<td>
replace with
<td width="100%"><smallfont color="#EEEEFF"><b>$timezone</b></smallfont></td>
<td align="right">
I hope that users find this useful; I'd repeat that I'd really like not to be drawn into an argument whether this is right or wrong: this isn't the place for it.
This is a rather contentious issue.
It could be said that Opera v6 (the newest one) is broken, since it doesn't display certain bits of vBulletin correctly when vBulletin uses correct HTML code.
It could also be said that these mods are 'illegal', since they use HTML that you're not supposed to use anymore.
However, if all you care about is making your board look perfect, then you can make two amendments to your code to ensure that Opera users get exactly the same user experience as Internet Explorer or Netscape users.
Please note: I do not wish to get into an argument about whether this is good practice or not. I am merely giving these two code amendments to share my discoveries with the rest of the vBulletin community. There are two discussions, one at vBulletin (http://www.vbulletin.com/forum/showthread.php?threadid=35509) and one at Opera (http://my.opera.com/forums/showthread.php?threadid=867) about this point if you wish to debate it. Please don't debate it here.
Having said that, here are the two areas I've found so far, and the simple fixes to make them work.
Redirects are not centered
The 'Thank you for posting' message appears on the left-hand side of the screen, not in the centre.
Edit: "standard_redirect" template
Place <center> tags before the first <TABLE>, and place </center> before the last </TABLE>.
The bottom of the thread view
The "post a reply" and "post new thread" buttons appear in the middle, and are not aligned to the right.
Edit: "showthread" template
find
<td width="100%"><smallfont color="#EEEEFF"><b>$timezone</b></smallfont></td>
<td>
replace with
<td width="100%"><smallfont color="#EEEEFF"><b>$timezone</b></smallfont></td>
<td align="right">
I hope that users find this useful; I'd repeat that I'd really like not to be drawn into an argument whether this is right or wrong: this isn't the place for it.