![]() |
Try re-applying the template edit.
|
Hi!
Thanks for your answer. How can i do that? (that you can see i'm totally newbie) Thanks for your help!!! Thanks! Bye! |
In the instructions it outlines a template edit you need to make. Just do it again for any styles that aren't working.
|
Hi!
Thanks!! When i can probe, i will tell you the results. Thanks!!! Bye! |
Nice hack, and I'll probably install it at visionscripts, but I am concerned with the fact that some of the plugin code is referring to vBulletin options that do not exist. Also, variables are not properly initialized which causes notice errors at error_reporting(E_ALL) level...
|
I usually make a strong mental note to init variables, but in this case it doesn't really matter as vBulletin generates around 20 notices per page, and unlike other scenarios - this wouldn't affect functionality. If you want to "fix" it, just edit the "Support Forum - Sort By Open" plugin: find
PHP Code:
PHP Code:
|
Ok. Also, perhaps you should replace the vBulletin options with a list of IDs with a per-forum bitfield setting...
and where did $vbulletin->options['supportforum_subforums'] come from? It is not in vBulletin options.. also, what is the reason you check for: strpos($sqlsortfield, 'lastpost') !== false and for: !$thread['sticky'] ? Also, perhaps the thread conditional logic is a bit wrong. Maybe it should be this: Code:
<if condition="can_moderate($foruminfo['forumid'], 'canopenclose')"> |
Wanted to start off simple, as I'm busy with 100 other things. ;)
You're the lucky one to notice the option is missing, Ive been meaning to issue an update but nobody noticed yet lol. I use strpos because between 3.5 and 3.6 (or something along those lines) they changed that value which broke it on some boards. I use !$thread['sticky'] because the separator is dependent on the transitions between the different thread types. It should ignore sticky threads or else you'll get a "Closed Issues" header at the very top of your stickies. My condition is correct. I tested yours and it doesn't work properly. |
Quote:
Quote:
Quote:
Code:
<if condition="$show['supportforum_message']"> |
It changes the sort order so that it sorts by sticky, then closed/open, then last post time IF you have it set to last post time (default). They changed it to or from (trying to remember exact values) lastposttime to thread.lastposttime. So it's not required, but I don't want it affecting other sort orders.
That final template looks better. |
All times are GMT. The time now is 03:30 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|