![]() |
Super Close Threads v1.0
As requested by Ice Melee...
a big thanks to GoldKnight for helping me beta test this one and get things squared away ;) What does this hack do? Well if your and Administrator and at times you don't want anyone editing or replying to a closed thread (including Moderators and S Moderators) this hack will prevent then from doing so... Super Close and Super Open thread are special admin features that i have included in the admin optioins... once a super close is implemented it will decline moderators and smoderators from replying editing and even accessing the edit thread options... It is a new type of close that can only be induced by an Administrator in the admin thread options... a Super Close will overide both a close and an open thread at anytime... Well i hope that some use can be made of this hack :) To Dos? File Modifiactions (10) Template Modifiactions (2) Template Additions (1) If you like this hack i'd be greatful if you clicked install ;) regards... Enjoy... g-force2k2 |
Screenshot A :: the super close thread redirect
Note: it can be configured in the template ;) g-force2k2 |
Screenshot B :: Admin Options Drop Down list
Of course the Moderators S Moderators don't have permission to use this action ;) g-force2k2 |
Screenshot C :: Threads Edit Thread Options
This option is only available to the Administrators ;) to Moderators and S Moderators this option is not viewable :p g-force2k2 |
Since I already have one so...
[high]* Goldknight install [/high] As I stated before.. you have been on the roll for making hacks and release hacks. As usual, always best hacker in my book. :cool: |
Add any extra queries?
|
This one's REALLY Functional, especially for my community, thanks...
[high]* kmfdm_kid2000 Installs [/high] Takes a bit, but VERY Worth it...Now if only someone would fill in MY REQUEST, I'd be ONE happy person :D |
Ok, g-force2k2, buddy, here I am looking for my daily "fix" from you. :)
Here is the code I have in the showthread.php: Code:
if ($thread[open]) { Code:
// +++++++ Super Close Thread Hack [ g-force2k2 ] +++++++ |
Sucks having to install a hack on top of another...I somehow intergrated the Strike Thru Closed topics with this one on the first try, but there was only 1 small line of PHP that needed intergration...For what it's worth, maybe this'll help someone down the road...*NOTE* This is for having this hack intergrated with Strike thru closed topics!!!
In forumdisplay.php Replace: PHP Code:
PHP Code:
Thanks again for a GREAT hack!!! EDIT: There's More stuff that you have to do to get that Strike through Hack to work, but those things are described on the thread for that hack...This is the only instance where they kinda "Brush Against" each other... |
Here's how I did it. :)
Code:
// +++++++ Super Close Thread Hack [ g-force2k2 ] +++++++ |
Yeah, your way looks neater...I'm still learning PHP, mostly I'm teaching myself through hacks :p Good to keep code nice and neat though ;)
|
Doing it that way makes it easier later if you have to find a piece of code for a certain hack. Having them all run together can get a little confusing. :)
BTW: I like your sig. A little big for my tastes, but nice graphics to it. :) Quote:
|
Great hack, g-force2k2!
without problem :D |
Ah...So this is a Super Close:)
*installs* Satan |
Quote:
|
Boofo before i attempt any mod for your code... do the templates that are called simply the button coding? regards...
g-force2k2 |
hey looks great
question does the super close option show to mods/s mods/members? or can only admins see that option even so, looks great, ill try to install it tonight |
Quote:
|
somehow i feel version 1.1 coming after this post :)
how about making it so that when a admin super closes, no other admin, other than that admin can touch it im thinking make it based on user id also would be good to have a setting in the admin cp to set it so that super close can be undone by any admin, or only by the admin that closed it, so u can easily turn that on or off maybe even a new close feature, perm close, which means only the closeing admin can reopen it i prefer the term "locked" over super close tho, but anyways, what yall think? |
I think what would be better, is almost how you said it, but that the Main Admin (who you define in the code) can override ANY Admin Super Close;)
Satan |
if you're the only admin that whats to worry about? a simple mod like that? nah its not worth it... if you want it restricted to yourself i will place the code in this post... otherwise something like that isn't worth the effort ;) regards...
g-force2k2 |
at my forum theres 5 admins, tho only 3 are active
and no theres not much to worry about, but just a added security, thats why i said be able to turn that on or off |
Yes, but there is also the closed reason hack (from, you guessed it, Xenon :)) in there. If I enter the first line of code from your hack in my code, there, it works fine, but it shows an empty closed reason at the top for the thread. Any way to have it open up the closed reason to add the reason for closing it also?
Quote:
|
could you link me to his hack? i didn't see it in his profile x_X and i will build an addon for you Boofo :) regards...
g-force2k2 |
|
Okay Boofo i just made a slight alteration ;) try this code...
PHP Code:
g-force2k2 |
This is the only line you changed from that code, right?
Code:
if ($thread[open] == 1) { |
By the way, my regular Open/Close Thread (above the Super Open/Close thread) in the Admin options no longer works. I get a session error. :)
|
well that could be just your sessions... not the coding but i could be wrong :p i didn't get any sessions... and i don't know why you get a blank reason :p but i'll keep on the look out ;) regards...
g-force2k2 |
What about the regular Open/Close Thread in the admin options? Please let me know something as soon as you find out. I really like this hack and don't want to uninstall it if I don't have to. You seem to make pretty good hacks there. :)
|
yeah Boofo but if its not a sintax error it maybe just be the server... cause i know i use to get messed up sessions... but i could be wrong... regards...
g-force2k2 |
?? cuz of your and Boofo's "modify" codes? So far yours work well on my net and local server :p
|
The regular Open/Close Thread worked fine before. :)
Here is the error I get when I try to use it now: Quote:
Quote:
|
ya... i used to always get them (on my old server)... maybe it could have something to do with my code... like i said i could be wrong >_O better off asking someone like Xenon or PPN on this one... regards... (i don't know to much about sessions)
g-force2k2 |
Ok, but why does it only start doing that now? :)
Quote:
|
lol i don't know ;p thats why i said its better off asking one of the more experience vb ppl ;) sorry Boofo :( regards...
g-force2k2 |
I see how you are. :) That's ok, I'll just uninstall it for now. Since it won't work with the closed thread reason installed, anyway. Thanks anyway. :)
|
Nice. This one is good for my little spammy mods who like to take advantage of their abilities to post in closed threads.
Clicks install Works great too. |
Super Hack! Very good!
I have install it! |
Is there going to be a upgrade for this hack so it works along with the reason for closing thread hack?
|
All times are GMT. The time now is 06:33 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:
|