![]() |
One request. Code another so that threads -in specific forums- can be marked as Sold. I don't want to alter this one because I have a forum for asking questions which I'm using this one in. Or, can I have permission to do it myself? Actually, I already did but would like your blessing on installing it :)
|
I use the term [opgelost] but discovered that it's not showing up on forumhome's "last post" column. I'm not any good in coding, how and where can I fix it so this does show up? Please tell me in e a "search this and replace with this" kind of way.;)
Furthermore it would be nice to have a mandatory "open" status prefix. Can I use the normal prefix manager for that, will this not conflict when a thread is solved and marked solved? |
Fixed the above myself by putting the forums on a mandatory prefix [OPEN] and added that prefix to the "solved" prefix set.
But there is another problem/bug with this mod. When setting a thread to solved, the prefix will be set to solved, but the forum information is not rebuild immediately. This way the "Solved" prefix is only visible in showthread and forumdisplay but not on forumhome! I explained here: https://vborg.vbsupport.ru/showthread.php?p=2110759 How can I fix this? |
Quote:
If you look in your solved.php, on line 117, it has: $threadman->save(); Under that, on a new line, if you put: build_forum_counters($threadinfo['forumid']); it should work fine. The same goes for on line 150. So your end code should be: line 117 Code:
$threadman->save(); Code:
$threadman->save(); While this isn't guaranteed, and on large boards this could cause a performance problem, this should update your fourmhome to reflect any changes. :) |
The normal prefixes also update immediately so that would be a performance problem also then or am I mistaken?
Anyway, many thanks for your solution, I'm going to try this! Thank you! |
Quote:
|
Great, thank you for explaining. I'm still happy with the solution you gave me.:)
|
thanks..
|
Not sure what I am missing but on 3.8.6PL1 i have uploaded everything and did the template edits yet it is not working. I checked under usergroups and Admin's have permission. Yet when I click Thread Tools, there is nothing there about Solved. What am I missing here?
|
SVTCobraLTD: Did you have a look at my post #199 here?
It's explained there what you have to do. |
Yes in Admincp > Thread Prefixes > Thread Prefix Manager
Clicked the box next to the blank item > Edit Selected Prefix Permissions All usergroups are selected > Save Still nothing. What am I missing here? |
Maybe a conflicting mod? I'm having this mod also on a 3.8.6 pl1 without problems.
|
Quote:
|
Quote:
Yes it should be there indeed. Not even an empty space present? If not, try reinstalling the product, re-upload all php files and be sure to upload them in ascii mode. Did you do all the template edits too? And you also did what's in post #7? |
Black Tiger, I did what you said and now it is working. It might have been that I uploaded everything in Auto. But went through each step again and now it is on. Thank you for all your help.
|
You're welcome. Glad to hear everthing is working fine now.
|
I am trying to get an image to show next to the reply button but for some reason, only the sold image will show. Once clicked, it marks the thread like it should but then no image shows and I am unable to mark unsold. Any thoughts?
Code:
<if condition="$show['solvedthread']"><a href="solved.php?$session[sessionurl]do=marksolved&t=$threadinfo[threadid]"><img src="$stylevar[imgdir_button]/sold.gif" border="0" /></a></if> |
My time is very limited these days, with my full time job. I have marked this mod as re-usable code, if any other coder wishes to continue work on it. I may still try to support this mod as time permits.
|
Quote:
|
So what are you saying?, if you mark a thread solved and then go to thread tools the image is still that of "mark as solved", is that correct?, what is the text that shows?
looking at the snippet you supplied i'd say it's correct but did you change that for EVERY occurrence in the steps shown above? |
1 Attachment(s)
See attached screen shot.
This is what the thread looks like before you click "Mark Sold" Once clicked, that thread refreshes and is marked as sold (or solved), however, there will be no image where the current button is. There is supposed to show a button saying "Mark Unsold". If you go to thread tools, it works fine both ways via that menu. |
will this work on vb4.14?
thanks |
Please help me I'm having a problem uninstalling. I got this mod on one forum and tried it on a second, but then wanted to uninstall it again.
Now this is happening: Quote:
I had a look at the solution given in post #34 but this is not good because the uninstall code for 1.1.2 is only: Quote:
How can I fix things so I can uninstall this mod? |
Problem can be ignored because it is fixed.
The prefix was removed before the uninstall. So I deleted the lines below the //#### which uninstalled the prefixset and now the mod uninstalled. |
Great mod. I installed it and modified things a bit so I can have "Solved" or "Unsolved" showing. It works great and in the thread listing in that forum all threads are correctly marked as "Solved" or "Unsolved", but on FORUMHOME, even though the thread has been changed it shows with it's old prefix when it was created. I then Have to go to Maintenance->Update Counters->Rebuild Forum Information for it to show correctly.
|
@Dendrob: Correct. Have a look at post #204 from sheppardzwc, you can use that as a fix. Worked for me too.
|
How come I can't add html to the "SOLVED"?
|
what do you mean add html?
|
Not worked for vB 4.1.7 :(
|
Quote:
|
Possible after marking as solved and closing the thread that it moves the thread into a forum of your choice?
|
All times are GMT. The time now is 01:36 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:
|