The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Recycle Bin & Moderator Log Details »» | |||||||||||||||||||||||||
THIS IS A REAL BETA HACK, DO NOT INSTALL ON A LIVE BOARD
Ok, I brought up the idea over in this thread . Here is a BETA hack for a recycle bin and mod logging system I've been working on. It logs all mod activity for editing/deleting posts, moving threads etc. all admin selectable to log or not. It creates a Forum (preferably hidden) to hold all the deleted threads - the logging function takes care of where they are from and who put them there. It also dumps a copy of all user or mod (and admin) posts into an edited posts thread, also all deleted posts are dumped into a deleted posts thread. Most of the logging is sorted, and configurable, I've probably forgotten something somewhere - which is why this is beta The log info in the admin display is functional but still needs some work. I think the actual recycle logging functions themselves are up to scratch. More (short ) notes in the readme. I repeat do not install this hack on a live board On the installer, this is probably more beta then the actual hack, thanks to firefly (Chen) for letting me borrow some of his hack installer code. The installer works with a vanilla install of 2.2.9 but i have no idea what it will do with a hacked board, or different versions. Also the hack itself is only tested on 2.2.9 The installer will (if you let it) install all of the forums, threads, templates and even do the file mod's. There is also a FTP function to ftp locally if you don't have chmod 777 set, failing direct file access or ftp, you can choose to download the hacked file without having to do all the edits by hand. (damn that took me some working) The installer is still a little raw, I'll work on it more with some feed back. Now what the hack actually does. On the straight logging side. How much and what is logged is selectable via the script in the admin CP Code has been added to make an entry in the logdata table each time, a mod or user edits, deletes, opens, closes, sticks - basically everything.. a thread or a post. (I think I have it logging all relevant information, but I may have missed something.) You are then able to view the log history in the admin CP, also in the admin CP you can clear the logs, view stats, track down actions by a specific user. I am working on a function to allow you to rebuild the thread and show edits/deletes as they happened in the timeline, but this part is not a high priority atm for me. On the Recycle bin side. -Uses the logging functions to keep track of the threads/posts. The installer set up the recycle bin forum as a Posts do not count forum. Most of the larger code inserts keep track of the posts/threads and provide undelete/full delete functions. the main index.php has a small code insert to hide how many posts/threads are in the recycle bin forum from showing on the main page. When a post/thread is deleted, the post count is still reduced form the users file, and the posts are unindexed from the search index. If a thread/post is undeleted, the post counts are increased and the posts are re added to the search index. If you 'return' an original post after editing, nothing changes with post counts etc. The code also protects the Edited posts header post, and the Deleted posts header post. so while in the recycle bin, if you choose to 'full delete' either thread the main post and thread remains intact. See this post for pics I will try to dig up some older versions of vBB to check the installer with them.. Bugs.... Probably lots, but nothing really worrying that i can see Todo Better install instructions Fix up the admin cp script so its pretty. Make the Install script a little more stable. Add anything that you think would be good, and won't take me another 10 solid days to program (I think the wife is going to leave me :speechless: ) Fixed: Fixed - hopefully - the forum and post creation section on hacked forums I'm looking forward to feed back etc This hack is free, but I won't say no to paypal donations for a damn big beer Dan Edit, uploaded a new zip file due to a bug in the alternate download section of the installer. Show Your Support
|
Comments |
#42
|
||||
|
||||
Are there any plans, for further updates to improve this hack, or is this final?
thanks, Metro. |
#43
|
||||
|
||||
Apart from bug fixes, in the install, some work in the report script and a few bugs here and there its more or less good to go.
I've been very busy recently with getting ready to leave my Job, as well as my primary BB. Left the job on monday this week, been spending some QT with the wife, and I should get some coding time early next week - Oh god I hope i can get some codeing time next week Dan |
#44
|
||||
|
||||
I get the error during the installation
You have an error in your SQL syntax near '$DB_site->query("INSERT INTO forum VALUES (NULL, 1, 'RCBforum', '', 1, 1, 0, 0, ' at line 1 I get this when installing with the default values or when I try to do it manually. However, I get zero instruction on the screen (in manual mode) for setting up the database and noting in the readme file either. |
#45
|
||||
|
||||
That is a bug - I should be able to get to withing the next 24 hours - wife and QT permitting.
Dan |
#46
|
||||
|
||||
Ok, the installer is fixed regarding the forum creation errors.
I'll do my best to get to other stuff soon. Dan |
#47
|
||||
|
||||
Quote:
and my index page is Kapoof! http://www.libragrrl.com/forums/index.php |
#48
|
||||
|
||||
Sue, check your PM
|
#49
|
||||
|
||||
Quote:
Sue, the board is up and runmning again. I fixed everything. Check your Emails. |
#50
|
||||
|
||||
Zzed, I'm most interested what was the fault...
Dan |
#51
|
||||
|
||||
Quote:
index.php had been reduced to a 0 byte file, which I restored from the backup copies created by emacs. The file permissions on forumdisplay.php had changed to -rw-rw--w-. Since Apache is not the same user and usergroup as Sue's ID on the server it had no read permission to read that file and hence the error message would pop. I cured that puppy with a chmod 644 forumdisplay.php. |
#52
|
||||
|
||||
Ok, my next question .... (probably for Sue) when you installed it, did you use the ftp update or the direct file update?
I'm not quite sure why it would have changed the permissions... I'll have to check, but the more info I can get on the install the better chance I have of makeing sure it never happens again. Zzed if this hack is still installed, the only lines for index.php are related to keeping the postcount/threadcount from the bin hidden on the main page... two lines. I'm not at my main box atm so if you need them I'll have to drag them up later.. Dan |
#53
|
||||
|
||||
I am not sure how index.php got clubbered, or how the permissions on forumdisplay.php changed sonce Sue was the one who did the install.
I was just fortunate enough to have shell access and had installed some of my hacks for her and ended up with backup copies. I may have to reinstall your hack for her again. My guess is that the FTP program she used may have been the culprit here. I prefer to edit files on site. P.S. I told Sue earlier that I was going to kill her. :laugh::banana: I was kidding of course. |
#54
|
||||
|
||||
hehe np, when you find out if you can let me know...
Thanks Dan |
#55
|
|||
|
|||
This is a great hack! I'll be running it offline for a little while (until it's released as stable) and i'll report any bugs
|
#56
|
||||
|
||||
How's progress on this ?
|
#57
|
|||||
|
|||||
Installation Bugs ###############################
Quote:
Quote:
Quote:
Quote:
Notes: Tested on vb2.2.9 | Don't know if it works on vb2.3.0, can't get it Tried both automatic and manual installation options. Find it works best if everything is done automatically, except for template changes. Quote:
Much thanks [ mY edit note: Corrected one or two things i wrote originally. Listed a bit more details If you're unsure what i'm on about with anything you can email me at info@radgam.fsworld.co.uk ] |
#58
|
|||
|
|||
I succesfully installed this hack on 2.2.9, with no errors during the install. I went to the forum index page and recieved this error:
Fatal error: Call to undefined function: getlogset() in /....../httpdocs/forums/index.php on line 50 Any suggestions would be much appreciated, thank you for creating this hack (even though it isn't working for me yet ) |
#59
|
|||
|
|||
Check your email
|
#60
|
|||
|
|||
I got the same error as Karbon. Ive installed it on 2.3.0. Didnt get any errors, but I noticed the admin commands dont appear either so it seems it havnt changed some files as it should.
|
#61
|
|||
|
|||
It seems to be a problem with the automated installer. It works best if you do the file mods by hand
|
#62
|
|||
|
|||
ah, I guessed it was something like that. I usally dont like to run those automatic programs cause you never know what they do. But I guess I gotta sit down someday and break it down, so I find out where to do the changes. (Or is there released a howto txt file ? I havnt seen one at least)
Anyway thanks for the reply. |
#63
|
|||
|
|||
There sure is
If you select to do the code modifications by hand the last step will have a link for each file that needs modified with a list of all the changes but there are a few bugs which you should check on previous page. I'm hoping to attach the updates/fixes to the file changes later but i've been a bit caught up with stuff the past few days :/ |
#64
|
|||
|
|||
ah ok, Ill try that. Just one more question, does it run any of the queries if I chose "by hand" ? Kinda dont want the script to do anything again.
|
#65
|
|||
|
|||
No, although if you let it do everything except file modifications it turns out pretty good
|
#66
|
|||
|
|||
Love this hack. Works absolutely fine except for the installation. It all installed except for the editpost.php and admin/functions which I had to edit myself manually. Everything is perfect. I installed it on a vb 2.30 board btw with vbportal 2.30 aswell to. The other thing is that the system doesn't show up in the admin cp. I just manually added it in but just letting you know.
Great hack Hope those vb guys are watching this one cos its very very useful. |
#67
|
||||
|
||||
this gonna come outta beta?
|
#68
|
|||
|
|||
i need to change my editpost.php manualy. I dont understand this:
Modification No.4 The Highlighted text indicates the modification that has been done. The Highlighted text indicates script that has been removed. $threadinfo[threadid]$threadreturn the $threadinfo[threadid] is red. I would love to use this, but No offence to you, do to the rapid changes in vbulletin, the file editing portion of the installer is really crappy. You need to make MUCH better manual install instructions, b/c i get a parse error in every file i do. |
#69
|
|||
|
|||
A real grate hack. it this hack gone come out off beta ???
I don`t whant to start jusing vb3, to many bugs yet. |
#70
|
|||
|
|||
I know it's been asked, but there's a real need for this on a board, and don't want to install unless it's out of beta and all is well.
Has this passed the beta stage? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|