Quote:
Originally Posted by michelle81
Ok i found the problem its the post thanks hack when i turn that off the inline mod menu works perfectly.But i like the post thanks hack can you suggest anything i can do for this to work with the post thanks hack turned on
Can i add anything to my config php file for this to work
Many thanks
--------------- Added [DATE]1430993358[/DATE] at [TIME]1430993358[/TIME] ---------------
Hi can anyone help with my last post
Many thanks xxx
|
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.