![]() |
Hi, for some reason it doesn't work for me. When I click on close it does show:
Quote:
I have imported it and made the template changes. Do I need to change my threadbit template edit? thanks Edit: Ignore me.. I was editting the wrong template. |
First of all, ty for this little hack, as its a good work overall. I have a feature to propose, that it may help the mods / admins, manage the open / close issues better.
When a thread is answered by users but the mod / admin doesnt know if the prob is actually fixed for the user, to be able to press a button in the Thread Tools, and send automatically a private message to the thread starter with a predefined text. The text could be like this: "Dear $username There have been x days since your thread started and x replies. If u feel that your problem is fixed, please close the thread. If not, post your new results, so users / mods / admins, can reply again for your issues. If you dont do any action in the next 7 days, the thread will be auto closed. Ty for your understanding" And so, after x days, the thread could be auto closed. What do u think? I believe will solve many probs, hope it can be implemented |
Possibly... I'll add it to my 2nd revision which will be sometime after the first!
|
Ty mate, waiting for it then :)
|
Thanks Adrian, I have installed. :)
|
ok ive added this hack but how does it work? im pretty new at this but in options i see all it askes for is forum id. i add it but cant seem to get anything anyway u can help me figure this out thanx.
|
Quote:
The "Normal and "Sticky" seperators are gone, but the "Open and Closed" ones don't appear. When I close a thread it dissappears.. Sly |
I tried installing it and appeared to be working OK except that when a thread was closed it disappeared except for admins. Also, even as an admin I couldn't see the status message for the thread.
Could be a conflict with another plug-in but I don't have time to try and find out which one. |
Slyfox1, if you are still having troubles PM me ACP login info and I will help you get it working.
Capt PPRuNe, are you still having troubles? |
nice hack.
could this be written in TMS ? ;) |
What is TMS?
|
Template Modification System where template modifications are part of
product .xml and after import stored in database. I think its more public at vbhacks-germany.org . |
Quote:
As a newbie, I spent a fair amount of time re-checking my Template Edits thinking there was an error perhaps. When in fact, I just hadn't gotten around to declaring which Forum ID was to be my Support Forum. Thanxx! Nice MOD and easy system to allow my users to bring up any issues found on the forums. |
sorry. will do
|
One other question, not being a coder I rely heavily on exact instructions. Where you say:
Quote:
Do you put that at the absolute beginning of the file? Meaning even before the first <tr> is encountered, or just after that very first <tr> ? Referring to this first one already existing in the template... Code:
<tr> |
Absolute beginning, yes. It will add another row before that one.
|
Thanxx!!
|
When a ticket shows as being resolved, how do I go to re-open it? When I click on 'closed', it only says 'Sorry! This thread is closed!'.
|
You need to set the forum permission which lets users open/close their own threads.
|
Hi!
I can't use this mod in my vB 3.6.3. When i installed the first time, works, but, one day, works no more. I uninstalled and reinstalled, but i can do that this mods works. Can you help me? I use BlueSaint style from vbstyles.com (is not the default style) There is any problem??? Help me, please! And excuse my english Bye! |
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. |
Well, I removed the strpos bit on my installation because I want it to sort by open/closed first regardless of secondary sort order. :)
If you can make it work with subforums automatically, it would be nice. But to make it flexible (e.g. enable subforum inheritance in some forums but not others) you'll need to make a bitfield-based forum setting... :) |
Very, very usefull mod. Just installed it and works like a charm!
|
ok i have a question i have installed this hack but i dont see how it works i might be blind but if you can tell me how would be great ive installed it etc i ahve a forum for support ok now what? im at a losss
im runing vb 3.6.2 |
Made template edits as instructed but do not get the open /Closed in the forum I created for suport. Am I missing something in the options as I only have a field for entering the forum ID which I did. And I edited the correct template for the style I am using. Running 3.6.4
|
Sorry about the delayed update... been super busy.
krazycivik / sinisterpain, are you still having troubles? |
No, I am fine thanks
|
Any news on the possibility of the "-Button to open/close thread" addition that was mentioned in the initial post?
Thanks again for an awesome hack!! |
It should be released within a day or so. :)
|
Quote:
Thanks again! (lol - I'm AJ - you can't be AJ)... :) |
I'll upload it in a few hours...
I won't update the original post with it though, because the changes haven't been thoroughly tested. I'll be out of town for a few days afterwards, so after a good trial run and some possible fixes I will release it officially. |
All times are GMT. The time now is 01:38 PM. |
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:
|