Quote:
Originally Posted by squidsk
You can try the same change I used for the same problem for the Separate Sticky and Normal Threads Product
Assuming you have compressed javascript make the following changes to clientscript/vbulletin-core.js
Search for this.collection[A].checkbox.check and you add the bit in red:
Code:
if(this.collection[A].checkbox&&this.collection[A].checkbox.checked)
The next two changes are trickier because you need to surround lines of code with an if statement.
Search for this.checkbox.checked=! and add the two bits in red:
Code:
if(this.checkbox){switch(A[1]){case"invert":this.checkbox.checked=!this.checkbox.checked;break;case"none":this.checkbox.checked=false;break;case"class":this.checkbox.checked=YAHOO.util.Dom.hasClass(this.container,A[2]);break;case"flag":if(typeof A[2]!=undefined&&!isNaN(A[2])){this.checkbox.checked=this.checkbox.value&A[2]}else{this.checkbox.checked=true}break;default:case"all":this.checkbox.checked=true;break}}
Search for this.checkbox.check? and add the two bits in red:
Code:
if(this.checkbox){var A=(this.checkbox.checked?"addClass":"removeClass");YAHOO.util.Dom[A](this.container,"imod_highlight");console.log("Set Inlinemod State for %s - %s",this.itemid,A)}
You can also vote to have the bug patched at http://tracker.vbulletin.com/browse/VBIV-6156, you'll need to be logged in to vb.com to see the bug report.
|
I am running vbulletin 4.2.1 tried doing the above and messed my forum up.Good job i saved a copy lol
Can you not just give me a copy of your vbulletin-core.js file :up: