![]() |
Nuke posts (BETA)
This hack now comes with an installer for use with vbHacker https://vborg.vbsupport.ru/showthrea...threadid=36888 check that thread. The final release of this hack is in that thread. |
ive got 2.2.2 installed. ill give it a shot later on and let you know
|
This as an awesome hack! I'll use it when I get more troublesome members :)
|
WOuld it be possible to get the instructions in a text file?
|
Ok, I've transfered it all into a text file. The Keeper can download it and edit it if he so desires. :)
|
Yeah when I actually release it, it will be in a php file that runs the queries itself and all.
But has anyone tried to install it? And were you successfull? |
I'm looking over it and I think you have a mistake at the top
>>ALTER TABLE thread ADD COLUMN nuked smallint(6) not null; should be altering the post table, since you later call >>UPDATE post SET nuked ='$nuker' |
you're correct. Thanks. It should be 'post'.
|
I fixed the .txt file with the appropriate changes.
|
I just installed it, first off
it needs to be "javascript" (without the space) or else it won't load right. second it isn't working- the window pops up then closes right away, and nothing is done |
Quote:
Quote:
|
There also seems to be a problem where this forum is interpreting {tags} as part of it's own style, and changing the url and color codes to the style of this forum.
So I'll definitly be releasing this in a downloadable html file or something. As long as I'm confident it is working. |
dude, my members get the access denied page, but for mods and admins all it does is have a window quickly pop up then close, and nothign else. even if you refresh.
|
Could you please run this query?
SELECT * FROM post WHERE nuked != 0 If the nuke link works properly, that will return a list of all the posts that you've used the nuke link on, and the problem lies in the display of the post. If it doesn't, then the nuke link is the problem. |
not getting anything from the query
|
course, right now I don't think I'm getting anything- I'm using the command line of it for the 1st time (phpmyadmin's not working right these days)
|
the info is in the database (I had forgotten the ";")
so it has to be the link |
the info is in the database?
you mean, it DID pull up the posts your had 'nuked'? |
I think I know what the problem is.
|
mysql> show columns from post
-> ; +---------------+----------------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +---------------+----------------------+------+-----+---------+----------------+ | postid | int(10) unsigned | | PRI | NULL | auto_increment | | threadid | int(10) unsigned | | MUL | 0 | | | username | varchar(50) | | | | | | userid | int(10) unsigned | | MUL | 0 | | | title | varchar(100) | | | | | | dateline | int(10) unsigned | | | 0 | | | attachmentid | smallint(5) unsigned | | | 0 | | | pagetext | mediumtext | | | | | | allowsmilie | smallint(6) | | | 0 | | | showsignature | smallint(6) | | | 0 | | | ipaddress | varchar(16) | | | | | | iconid | smallint(5) unsigned | | MUL | 0 | | | visible | smallint(6) | | | 0 | | | edituserid | int(10) unsigned | | | 0 | | | editdate | int(10) unsigned | | | 0 | | | editreason | varchar(200) | | | | | | topic | int(2) | | | 0 | | | nuked | smallint(6) | | | 0 | | +---------------+----------------------+------+-----+---------+----------------+ 18 rows in set (0.00 sec) |
and the info is in nuked, it's a lot to pull up though (I tried it several times in different forums :))
|
I forgot this step:
EDIT admin/FUNCTIONS.PHP find: PHP Code:
PHP Code:
|
I'm pretty sure that it should work then. Also make sure it stays nuked on the new reply page.
You will notice the colors and table widths may not match your forum.... you will need to fix the templates, beacause when I posted them here they change to match this forum. The attatched file contains more generic templates that will look better on your forum. |
that was it!
man, this is a great hack, considering that our forum never deletes stuff. my many thanks... works perfectly now on 2.2.4 :thumbsup: |
thanks for your help in getting this documentation complete.
I will now make an installer. |
Thanks for the hack... very useful!
|
Just wanted to test out the vbhacker installer for my hack. I only have one forum/database so I need someone else to take a crack at installing it.
Quote:
You need vbHacker to install this. Just upload the attatched data file to the /admin directory and run vbHacker to install it. Let me know of any problems. |
Had to do some manual file edits.. but other then that, works great :)
|
This hack now comes with an installer for use with vbHacker https://vborg.vbsupport.ru/showthrea...threadid=36888 check that thread. The final release of this hack is in that thread. |
All times are GMT. The time now is 07: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:
|