The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Problems with inline mod dropdown
Can someone help me please? I'm having problems with the inline mod dropdown menu. Specifically, I am trying to select unapproved posts, but nothing happens. Then I tried to select all, and that only selects the first post of the thread. Any ideas?
I'm the administrator of a forum, but not the forum owner. I'm trying to fix this problem for the owner because he is on paternity leave at the moment. I just had my moderators go through a thread that was well over 100 pages deep, had them "unapprove" all posts that were off topic, and now I want to select all those unapproved posts so I can move them all to a new thread, for this off topic discussion. I would love some help from the geniuses here. Thank you. Can i also state its now showing post to moderate 1,298 in admin cp.We need all them going in one thread |
#3
|
|||
|
|||
Thank you for the response!
No I haven't done that, but I should say that I immediately did think this might have been a browser/javascript problem, so I tried to perform the function on IE, Firefox, and Chrome. Oh, and also Opera on my android phone. The problem occurs in every browser. I'll go ahead and check the console on my Firefox install though, since that's my primary browser... --------------- Added [DATE]1430933985[/DATE] at [TIME]1430933985[/TIME] --------------- Okay so I opened the browser console in Firefox, then navigated to my forum, then to the thread in which I am trying to select all unapproved posts, then I cleared the browser console log so I could have a blank slate. Then, back on the forum page, I clicked "Select Unapproved Posts" from the inline mod dropdown, and now the browser console has this message: TypeError: this.checkbox is null vbulletin-core.js:11:34601 "Do:Select <b>Unapproved</b> Posts, IDost_imodsel:flag:1" vbulletin-core.js:11:31997 "Set Inlinemod State for 841923356 - removeClass" Does that mean anything to anyone? I'm sorry, I'm just not as computer literate as I'd like to be. --------------- Added [DATE]1430937082[/DATE] at [TIME]1430937082[/TIME] --------------- Is this something in the settings that i need to tweak? |
#4
|
||||
|
||||
If you have the Separate Sticky and Normal Threads product installed there's an incompatibility between it and stock vbulletin code (particularly the vbulletin-core.js file) where stock vbulletin is not checking if a variable is not null before trying to do stuff with it, which causes the error you're seeing. If you look in the thread I've got a fix posted for editing the vbulletin-core.js file and there's another fix listed there as well. Others have moved to other mods for separating stickies and non-stickies.
|
#5
|
|||
|
|||
Ok i have just disable the plugin system and it now works
So how do i find which plugin was doing this and not making it work Many thanks |
#6
|
|||
|
|||
That error is the reason it's not working, but it doesn't say exactly what's causing the error. The standard response to a question like yours should be to tell you to try a new style and disable hooks and see if you still have the problem, and I didn't tell you that, but fortunately squidsk did (or at least figured out that it was probably a mod).
Anyway, you pretty much just have to enable (or disable) them one at a time and see which one causes the problem. If you have one or more that have to do with threads you could start with those and it might save time. |
#7
|
||||
|
||||
Do you have the Separate Sticky and Normal Threads product? As I mentioned this has a known conflict with core vbulletin that behaves exactly as you described above.
|
#8
|
|||
|
|||
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 |
#9
|
||||
|
||||
Quote:
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) 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}} 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)} |
#10
|
|||
|
|||
Wow have you seen all the coding in that clientscript/vbulletin-core.js file
I will have to be very careful not to mess anything up. Would you suggest i download it before i try and make any changes just encase i make any mistakes Many thanks |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|