![]() |
NUKE posts [FINAL RELEASE]
This hack gives moderators and administrators the ability to disable a post, rather than delete it.
A small asterisk is added at the side of each post. If it is clicked by a moderator, a window will flicker up. The next time the thread is viewed the post will simply be replaced with the word "Nuked", indicating that a moderator has disabled it. Such a feature you may have seen on smaller non-vbulletin forums. Moderators still have the option to see what the post was by clicking the asterisk on a nuked post. They may also restore the post (which isn't possible with deleted posts). http://www.gaters.net/showthread.php?s=&threadid=1168 The above link is an example of a nuked post. Notice the asterisks down the bottom of threads, those are the nukers. There are many practical benefits to nuking a post instead of deleting it. It's fast, it's reversable, it gives users the knowledge that content was removed, and admins may still review the disabled content. Installation: You need vbHacker to install this. Just upload the attatched data file to the /admin directory and run vbHacker to install it. (The hack works by adding a new attribute to each post in the database which determines whether the post is nuked or not. If it is, the post is displayed through a seperate template, much like posts of ignored people.) |
There seems to be some trouble with the vbhacker version of this hack.
Attatched are the instructions for a manual installation. (It requires running an sql query) If you've got a question, or problem, please post it in this thread. |
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/valkyrec/public_html/forums/showthread.php on line 28
Parse error: parse error in /home/valkyrec/public_html/forums/showthread.php on line 48 And everytime I try to reinstall the hack it adds another '*', so far I've got 3 of them. I'll edit them out later. I'd really like this hack, but I can't get it to work. |
the reason you have more *'s everytime you reinstall is because it is adding the query again and again.....
|
and i just got the same error.. are you running vb 2.2.5???
|
To get rid of this-> Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/valkyrec/public_html/forums/showthread.php on line 28
go to that line and where it says: if ($action==/"showdisabled\") { replace that with if ($action=="showdisabled\") { and it will work.. i am trying to figure out the parse error rioght now. |
2.2.5? wtf!!
Hey is this problem you guys are having something I've done? vbhacker seems to have put in a lot of slashes everywhere in the code. |
yeah... i noticed a lot of slashes.....
I am not sure what the problem is... The Keeper.. go to install it with vbhacker, but select "get text file" let me know if that is the right code? |
Yeah that's what I did to see all those slashes. Some of the file replacements have been slashified, others haven't.
|
hmmmm... do you have the orig file you could post or send?
|
<a href="https://vborg.vbsupport.ru/attachment.php?s=&postid=235530" target="_blank">https://vborg.vbsupport.ru/attac...&postid=235530</a>
|
Thanks i will try it now and let you know if it works.
|
one itty bitty problem..
i get a 404 error.. this is what it is trying to point to... http://www.xxxxxxxx.com/"javascript: |
Works for me, try the link in the second post of this thread.
|
stupid me.. it works now. lol thank you
|
Hmm.. one problem though... when i click the asterix.. nothing happens. i have tried logging in under another uiser to view it.. but nothing happens...
i have tried reinstalling it.. but still nothing.. any ideas. |
The code in functions.php will actually do the hiding of the post. Please hit your 'reply' button, and see if the post appears Nuked in the reply page.
Also did you run the query properly? And know that there is that extra nuked column there? btw what's your forum url. |
i will send you a PM.....:)
|
69-FLy-gUy: How come all your posts come in pairs. When you post once there's another one right below it. Some even come in 4's.
|
Ok I give up. It's not working. Somewhere in this line
Quote:
|
Problem solved.
The differenz between void(" ) and void('' ) ist realy difficult to spot in your NukeDocumentation.rtf. It took me a while to figure that out. I should add that I have absolut no experience with javascript. Thanks anyway.... |
Looks like a nice hack - was the vbhacker version ever fixed?
|
is this working in 2.2.6?
|
how would you make it say who it was nuked by?
|
how do you run a query? i'm a beginner and need serious help.
|
[sql]blah[/sql]
click the link above that box :) |
]Great hack but I have a strange error. It works fine for me, I am the admin, but it doesn't work for my moderators. They get a "You don not have permission to access this page" error if they try to nuke a post. What I can do about it ? Many thanks. :)
|
Leo - replace any instances of:
if (!ismoderator($threadinfo[forumid],"candeleteposts")) { in this hack with: if (!ismoderator()) { Otherwise, only mods of the forum the post resides in will be able to use the hack :) |
Oh, i forgot - thanks for the great hack by the way! It works like a charm :)
|
]Thanks Reflex, it works now :D
|
to make sure I get them all, how many instances of
if (!ismoderator($threadinfo[forumid],"candeleteposts")) { are there?? |
Updated this hack just alittle, for 1 i fixed the installation problems you people seem to be having due to \'s
Also added *NUKED BY <Nuker Username>* EDIT: corrected a problem, the content when you view the nuked thread is now formatted, not just raw database output. EDIT EDIT: made it when you click the Nuke '*' it reloads the page so you can see it nuked. Same when you Restore the post it reloads the main thread so you can see it unnuked. |
Quote:
Quote:
But thanks for keeping this hack alive. I still use it for sure, it's proved to be very handy for my mods. |
np man
i just suited this hack to my likings n posted for other ppls :D also made it so it says "*NUKED BY <Username>*" :D |
Sweet, good job
|
just wondering, does anyone have this hack working with 2.2.7 ? because it just stopped working when i upgraded my board with araxis merge
I will fix it tomorrow |
Any news "The Keeper"? I would like to run this on 2.2.8...not sure if it works.
|
I have it working on 2.2.9
EDIT: Here's a fix for this hack that prevents nuked posts showing up in searches. Hope The Keeper doesn't mind me posting this here. |
cool, is it possible to hide the username of the person that had their post 'nuked' ?
|
Quote:
|
All times are GMT. The time now is 02:46 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:
|