Erpenator
12-07-2009, 12:28 PM
We've implemented a custom style for our vBulletin forum and so far everything seems to work well. But there are 2 bugs which we do not seem to be able to tackle.
One of these bugs is when you go (for example) to this thread (http://club.myce.com/f34/mobile-fidelity-cds-305616/#post2472435) in Internet Explorer (7 or 8). When you remove the #post2472435 from the URL everything seems to work okay.
The same this occurs when you edit a message. I've debugged as much as possible and it seems, this part of the vBulletin script will move the #content div to the left:
var cpost=document.location.hash;if(cpost){ if(cobj = fetch_object(cpost.substring(1,cpost.length)))cobj .scrollIntoView(true);else {cpostno = cpost.substring(5,cpost.length);if(parseInt(cpostn o)>0 && (cpost.substring(1,5)=='post')){document.location. href='showthread.php?p='+cpostno;};} }
I wasn't able to find the script which is causing the same behavior when editing a message. Hopefully there are some VB, js, css guru's out here who can help me understand why this bug is showing up.
One of these bugs is when you go (for example) to this thread (http://club.myce.com/f34/mobile-fidelity-cds-305616/#post2472435) in Internet Explorer (7 or 8). When you remove the #post2472435 from the URL everything seems to work okay.
The same this occurs when you edit a message. I've debugged as much as possible and it seems, this part of the vBulletin script will move the #content div to the left:
var cpost=document.location.hash;if(cpost){ if(cobj = fetch_object(cpost.substring(1,cpost.length)))cobj .scrollIntoView(true);else {cpostno = cpost.substring(5,cpost.length);if(parseInt(cpostn o)>0 && (cpost.substring(1,5)=='post')){document.location. href='showthread.php?p='+cpostno;};} }
I wasn't able to find the script which is causing the same behavior when editing a message. Hopefully there are some VB, js, css guru's out here who can help me understand why this bug is showing up.