Version: 4.01, by Atakan KOC
Developer Last Online: Mar 2023
Category: Forum Display Enhancements -
Version: 4.0.0 Beta 5
Rating:
Released: 11-14-2009
Last Update: 12-12-2009
Installs: 2665
Uses Plugins Template Edits Auto-Templates
Re-useable Code Translations
No support by the author.
Go to your admin cp, then:
Plugin System -> Manage Products -> [Add/Import Product] -> Select 'product-eparate.xml' from your computer then press 'Import'
Separate Sticky and Normal Threads Setting
Go to your admin cp, then:
vBulletin Options -> Forum Display Options (forumdisplay) ->
Separate Sticky and Normal Threads (Yes/No)
Seems like the [ozzy47] Separate Sticky Threads keeps getting better, now he added the ability to set collapse stickies by forum as well as by usergroups, https://vborg.vbsupport.ru/showthread.php?t=297654
Seems like the [ozzy47] Separate Sticky Threads keeps getting better, now he added the ability to set collapse stickies by forum as well as by usergroups, https://vborg.vbsupport.ru/showthread.php?t=297654
just a note.
if you are using vbulletin mobile, when browsing with the mobile app, for this mod instead of displaying the separator, it will display empty thread with the word (null).
i switch to use template edit with condition instead.
To fix the in-line mod selection problem and have valid xhtml you need to make three changes to your vbulletin-core.js file. No changes are actually required to the plugin itself.
The problem is that the JavaScript that's checking and un-checking the checkboxes from the inline mod menu does not check if there actually is a checkbox before trying to work with the checkbox.
I'll put the changes for those using both the compressed and uncompressed JavaScript.
Uncompressed javascript make the following changes in order otherwise the line numbers will not match up with what I have listed here:
On line 2761 change:
Code:
if (this.collection[i].checkbox.checked)
to
Code:
if (this.collection[i].checkbox && this.collection[i].checkbox.checked)
On line 2889, nest the switch statement in an if statement as follows:
On line 2941 wrap the content of three lines of code in an if statement as follows:
Code:
var func = (this.checkbox.checked ? "addClass" : "removeClass");
YAHOO.util.Dom[func](this.container, "imod_highlight");
console.log("Set Inlinemod State for %s - %s", this.itemid, func);
to
Code:
if(this.checkbox)
{
var func = (this.checkbox.checked ? "addClass" : "removeClass");
YAHOO.util.Dom[func](this.container, "imod_highlight");
console.log("Set Inlinemod State for %s - %s", this.itemid, func);
}
If you're using the compressed javascript then you'll need to make the following equivalent adjustments in the order listed for the column numbers to point to the correct location in the file:
At column 32267 add:
Code:
this.collection[A].checkbox&&
At column 34118 add:
Code:
if(this.checkbox){
At column 34531 add a close swiggly bracket:
Code:
}
At column 34780 add:
Code:
if(this.checkbox){
At column 34964 add a close swiggly bracket:
Code:
}
For the compressed changes, change 1 corresponds to the change 1 from the uncompressed, 2 & 3 correspond to change 2 from the uncompressed and 4 & 5 correspond to change 3 from the uncompressed javascript.
i am a little confused. which files do i need to make these changes in ?