![]() |
Prefix for closed threads
As requested by some peeps. :eek. Here it is. After several hours of b***hing at the PHP. :D.
Screenie posted two posts below. ;) Note: I did not know what to search for to see if this hack has already been made. But if it has, then get rid of this thread. :D. Also, if you can make this better, release it as your own for all I care. :). Edit: Added the file itself. But with a new addon! :). You can now change the values in the Admin CP Options. |
Nice hack, but someone may want to rename this thread to something like "Prefix for closed threads"
as I had no idea what this hack was when I read the thread :) |
Screenie here. :p. And I added a new feature to it, DWZ. :D.
|
ABSOLUTELY FANTASTIC HACK!!!
this shud be included in vbulletin itself ... |
The databse query didn't work... I got this error:
Quote:
|
Good hack! Installed without a hitch.
|
yeah, i suggested this at vb.com - and the more then one prefix hack will work also
|
Very nice! *installing now*
|
Quote:
Quote:
|
Where do I edit this in the admin cp?
|
In the options screen where the Sticky, Poll, and moved attributes. :). And where you also turn your board off. The vBulletin Options. :p.
|
I must have done something wrong because its not there for me. :(
However it does work nicely, so I thank you for the hack. :) |
This is where it should be located. :eek:.
http://www.genuineone.com/prefix.gif And this is what you added in the http://www.yoursite.com/forums/admin/setting.php under Forum Display Options. http://www.genuineone.com/fdo.gif |
Thanks bro. I had something in the Code to generate option. lol
Thanks again for the hack. :) |
ooh this is good. they should throw this in vb 3 =p
gj |
/me thanks Billy Cowen!
|
work with version 2.2.5 ??
|
Yes. It should work with all versions ov vB if I am not mistaken. :)
|
[high]* Chris M likes this Hack!!!
[/high] *installs* Satan |
Nice and simple. Good idea - thanks.
|
The DB query didn't work, but I did it the second way and it worked. You might want to look into updating that DB query, as it doesn't work :(
Regardless, this is a cool hack, great job :) |
Hmm. Will look into it. :o.
Edit: Just redid it and got the same query with nothing being changed. :(. So, I do not know why it won't work for you guys. :( |
I'll try this on my local board, and see if its something on my webserver.
|
Very, very cool hack! Makes it a lot easier to see, at a glance, what threads are closed.
Thanks!!! |
You must do that, so moderators could wright comments why it's closing the thread... And it must wright lower than the thread...
And when you push "close the thread" it must send to the marked page where is situated CLOSE button special field for comments. Example here https://vborg.vbsupport.ru/attachmen...&postid=256489 |
What? :confused:
|
I think he means:
You should make it so that moderators can include a reason for closing the thread after they close it. It should be displayed under the post itself (near the signature I assume). And I think the next part says that there should be a text box in the edit page to add the reason. Don't quote me on that though!! hahaha |
I think that is what he means. :D. But that wouldn't count as an add on though. ;). :p.
|
plattopus:
10x My english is too bad... You right explain my need! :) Well... how i can do this ? |
Currently working on it. LOL. :)
|
the query didnt work for me, any ideas? I get this error when I add it
SQL-query : $DB_site->query("INSERT INTO setting (settingid,settinggroupid,title,varname,value,desc ription,optioncode,displayorde r) VALUES (NULL,9,'Prefix for closed threads.','closethreadprefix','Closed Thread: ','Prefix to append to the beginning of closed thread titles. (You may use HTML)','','11')") MySQL said: You have an error in your SQL syntax near '$DB_site->query("INSERT INTO setting (settingid,settinggroupid,title,varname,val' at line 1 |
The query does not work for some reason. I do not know what is causing it. USe the second option to do what the query is supposed to do. The one about where you have to head over to setting.php and add a field. :p
|
worked well for me! Thanks
|
Umm.. am I missing something? Looks like the attachment is only an addon for this hack. Where is the original hack at?
|
I'm not seeing it either....There is no query or anything here.
Looks like I will have to pull apart my code and do this myself. |
what do I put here.... Code to generate option:
It doesn't say in the hack thingy O_o |
nvm, but I do get the query error, and WHERE IS the original hack? this just seems an upgrade O_o
|
All times are GMT. The time now is 04:44 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:
|