News:

Wondering if this will always be free?  See why free is better.

Main Menu

Deleted post logs

Started by PsuFan, July 18, 2012, 08:46:37 PM

Previous topic - Next topic

PsuFan

Is there a way to see who deleted a post? My forum only has myself and one other person allowed to delete posts. And yet a post has disappeared. The messages table in the database skipped that ID (proving it has been deleted). And yes users cannot delete their own posts, they can modify. It also does not ask to delete posts when the account is deleted.

Orangine

Moderate > Moderation log
Admin > Maintenance > Moderation log

Arantor

Well, there is the moderator log but it is disabled by default. If you didn't enable it from Admin > Core Features > Moderation and Administration Logs, that information just won't be available.

Are you sure no user has permission to remove posts? Users are always in at least two user groups, their post count group and another member group, usually 'Regular Members'. Check that no group other than admins/moderators (as you desire) has permission.
Holder of controversial views, all of which my own.


PsuFan

I did create my member groups with sql (because theres 150) but the permissions say no inherited permissions. I turned on the mod logs, thanks.

Arantor

Um, did you check EVERY group? Like the Regular Members group, for example.

Or even use the report function to get a list of which groups have what permissions... (turn that on in Admin > Core Features, view the reports from Admin > Maintenance > Reports)

(I'd really wonder what kind of site needs 150 member groups, there's almost certainly a better way of doing it than managing 150 member groups, especially since you won't be able to put any people into that many groups at once)
Holder of controversial views, all of which my own.


PsuFan

the 150 are just post awarded groups. I don't manage them and they are exactly the same because they were created by an sql script. That picture is from the regular members group, there are 2 groups that inherit the regular members group, 1 global moderator, and 1 administrator.

Ahh, can you explain this pic?

Arantor

That's the Reply Only profile. Are you using that for any of your boards? If so, it means that any user who is a Regular Member (no other primary group) will have that permission within the board or boards that are set to Reply Only.
Holder of controversial views, all of which my own.


PsuFan

I see, and if I would take time to read the red message lol.

I had to go to Admin > Permissions > Edit Profiles > Add New Profile.

Strangely that default profile also allows users to delete their own topic. But reply only means you can't create topics.  :o

Thanks for not thinking I'm stupid  8)

PsuFan

Here's my lovelies if you were interested. They used to have better names but they were copyrighted.

$10 if you know how those images were created 8)

Arantor

I can think of all sorts of ways those images could have been created, I've done similar sorts of things in the past, though I didn't do it by creating 150 post count groups (I'd have done it by creating the images and then hacking the display code to get the post count, divide by 20, round down, and use that to fetch the image to insert in the profile, but that's just me)
Holder of controversial views, all of which my own.


PsuFan

I used PHP imagegd library. It's awesome. Put them all on one page and said save page as in browser. The groups are a simple sql insert script I just repeated.

http://webccgame.com/viewlevels/?id=1

Arantor

Oh, I figured GD was involved, but it depends on whether you were going to draw them entirely in GD or piece them together out of pieces you'd already made elsewhere. Also, if you're using GD you could even just have it save them directly as images.

Ah, interesting, Chip's Challenge - the version from the Microsoft Entertainment Pack, I thought those seven-seg displays looked familiar. Personally, I preferred the release a couple of years before on platforms like the Amiga, looked less sterile to me than the EP release did, but that's just me.

Holder of controversial views, all of which my own.


PsuFan

I did save them as images. Thats what I meant when I put them on one page and said save page as. Some trickery was needed in .htaccess to do that tho  8)

I never heard of Amiga lol. But I knew it was on Lynx. I wrote a Flash version.
http://webccgame.com/?page=play

Arantor

That's not what I meant. If you're using GD to do some trickery with the images, you could have asked GD to simply push them straight to images without having to put them on a page and have it save them, using the imagegif() or imagepng() functions and passing a filename to them to save it for you...

I'm all for writing code to automate all sorts of crazy tasks. (Mind you, I'm the sort of person who'd use GD to write my own CAPTCHA.)
Holder of controversial views, all of which my own.


PsuFan

I didn't figure out how to do that until later. The imagegif() and imagepng() automatically echo out the image binary. You have to intercept that data and save it to a file. Then reset the response stream.

Can you do this?  8)
http://webccgame.com/Images/Counter.gif

Arantor

QuoteYou have to intercept that data and save it to a file.

No, you don't. As per http://php.net/imagepng or its equivalent function imagegif, you can pass in a filename in as the second parameter and it will save it for you automatically.

QuoteCan you do this?

Are you just inserting the frames together in the GIF (there are several GIF animation classes) or doing your own compression by having it assess transparency between frames to keep the file size down?

Btw, I wasn't kidding when I said I made my own CAPTCHA, which has some animated variations. AFAIK, bryandeakin.com is still using it for registration (it generates multiple distinct but different styles, some of which are animated)
Holder of controversial views, all of which my own.


PsuFan

Cool animated variations! I used an animation class but had to modify it to not take files as input. Thats why I needed to intercept the response string (because there's 1000 of them).

Hmm didnt notice the save file parameter. Maybe my host doesn't allow files to be saved by scripts.

Advertisement: