![]() |
Resolved Threads
Resolved Threads ==================== Author: Ken 'LiveWire' Iovino Site: www.initialz.com Version: 1.0 ==================== Updates
Add Ons Close thread after thread is considered resloved. Click Here for this Addon (Thanks to BeerMonster) What this does This will give thread starters the option to click a link to make a thread considered resolved. The way it works is simple. It will change the title of the post from 'I Need Help' to '[resloved] I Need Help'. This works as per forum basis and you can have this turned on/off on any forum you want. Only thread starters will see this option. If you want admins to see this option also, see This Thread Here If you would like to change the text, open 'resolved.php' look at line 35. To do list...
Please read carefully and make all the necessary changes as stated. This is will work if installed properly. PLEASE REMEMBER TO BACKUP BEFORE YOU BEGIN! If you like this hack Click It Help & Support Before asking for support Please make sure you have done all necessary changes! If you still need support please post a reply here. Please post bugs and errors here. Hope you like, feedback welcomed. |
Really nice job, thanks Live Wire
|
Nice hack. thanks ;)
|
Do admins see the option and change it?
|
this will work great for one of my homework forums, anyone try it out, any problems?
|
Quote:
HTML Code:
<if condition="$firstpostinfo[userid] == $bbuserinfo[userid]"> HTML Code:
<if condition="$firstpostinfo[userid] == $bbuserinfo[userid] OR $bbuserinfo[usergroupid] == 6"> |
I went to install it but looking at the install file where it says to run this query all I see is this:
+---------------------+ +---------------------+ |
Oppsiee, The query you want to run is
[sql] ALTER TABLE forum ADD ( isresolved smallint(3) not null default '' ) [/sql] Zip Updated. |
I've run the query and did all the hacks. Now I'm getting
Database error in vBulletin 3.0.3: Invalid SQL: SELECT resolved FROM thread WHERE threadid = 21760 mysql error: Unknown column 'resolved' in 'field list' mysql error number: 1054 Date: Saturday 06th of November 2004 01:17:59 PM Script: http://www.techsupportforum.com/showthread.php?t=21760 Referer: http://www.techsupportforum.com/forumdisplay.php?f=98 Username: danrak IP Address: 68.200.117.30 Sorry to be a pain. I think this would be a great addition to one of my sites. |
Can you change the word so it doesn't say "Resolved" but rather "SOLD" ?
|
Great Job, Live Wire.
|
Quote:
[sql] ALTER TABLE thread ADD ( resolved varchar(10) not null default '0' ) [/sql] |
Quote:
PHP Code:
|
Got it working now. Thanks. I'm sure this hack will get some use.
|
Hi,
I'm in the process of adding this hack, and got to the part where I'm suppose to enter this code into the showthread template. <if condition="$firstpostinfo[userid] == $bbuserinfo[userid] OR $bbuserinfo[usergroupid] == 6"> $resolvedlink </if> It says to put it wherever I would like to see the link, I tried entering it once and I didn't noticed anything different on my forum. I've done everything else the instructions said to do. So I'm thinking maybe I'm just entering this code in the wrong place, where has everyone else been putting it? Thanks Chris. |
cdoyle i am having the same problem :(
|
The reason you guys are prolly not seeing anything is cause you need to turn it on, on the forum you want it on. Go to the admincp, and edit the forum you want it to show up on. Click yes to add resloved option, then you will see it there in the post of the forum you have it on.
|
PHP Code:
Freeshares1 clicks install:) On a side note is it possible for a user to un resolve it? |
I knew someone would ask that, but i don't know how to create a query that will edit the title and delete some text from it.
|
oh well, it still rocks. I have so many uses for this (i just need to work out a way of making it so that i can have a message per forum) as some are resolved some are sold.
Thanks again for such a great hack :) |
duh, have to turn it on first.
that fixed it :) Thanks Chris. |
Quote:
Cool feature. And if I come across the query that will edit the title and delete some text from it I will post it here. |
Thanks alot guys for all your feedback and support.
|
It's possible to add an option to solve/unsolve thread in the thread tools
|
Read the few post above yours silentwille
|
Ok, thanks.
I have make an icon for resolve thread. Do you like this ? |
Nice hack, just a little addition to it if possible, could it also automatically close the thread?
|
Quote:
Find: Code:
$DB_site->query(" Code:
$DB_site->query(" |
Thanks alot, i'll add that post to the first thread! :)
|
how can I restrict this fuction for one forum?
|
hi, Live Wire
If you use the same code of stick/unstick, it's possible to adapt for resolve/unresolve, no ? Thx |
No cause stick/unstick doesn't edit the threads title in the database.
|
Quote:
|
Ok, I have a question.
Where in SHOWTHREAD should I insert the code for it? I'd like some suggestions and stuff. Also, how exactly does this work? In what form does the coding for SHOWTHREAD work? |
The code for resolve thread add anywhere
I have make an icon and i have add the code in the postbit/postbit_legacy |
Quote:
|
nice hack Live Wire --adding this to my development 'to do' list :)
|
Very nice. Installed. :)
|
*** PROBLEM FIXED [RESOLVED] :squareeyed:
my FTP client timed out and the "showthread.php" edits were not completed. Nice hack! I added the custom button and changed the [word] to [Solved] Thanks for a nice hack! good work Code:
I installed it, however I see nothing... |
One last question though.
How would I attached a button to the command? I tried linking the $resolved to the button but that didn't work :) I included an image of what I would like it to look like bellow. any help is appreciated |
All times are GMT. The time now is 04:48 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:
|