News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Topic Recent Moderation History v1.2 (Updated for SMF 2.0 RC3)

Started by SMFHacks.com Team, June 25, 2008, 03:33:04 PM

Previous topic - Next topic

SMFHacks.com Team

Topic Recent Modification History (TRMH)




Originally by: Karl Benson

Compatibility: SMF 2.0.x

Link to Mod | Comments | Donate                           

Current Version: 1.2
Languages:



Introduction
When an admin (or someone with moderation ability) views the first page of a topic, then are shown the 10 most recent entries for that topic from the Moderation Log.

Note: Moderation Log must be enabled in order for logging of moderation actions, and then enabled for them to be shown




Features
Pulls 10 most recent moderation entries for that topic (shown on first page of topic only).
Shown to Admins and with moderation ability for the forum that the topic is in.




Installation
Any previous versions of this mod MUST be uninstalled BEFORE installing this version.

Simply install the package to install on the SMF Default Core Theme ONLY.

Useful Links
Manual Installation Of Mods
How Do I Modify Files?




Support
Please use the modification thread for support with this modification.
(Please don't ask me to do the edits for you)




Changelog
v1.2 - 7th June 2009
o Added support for 2.0 RC1 and 2.0 RC1-1

v1.1 - 26th June 2008
o Fixed casing of require_once Modlog
o Fixed casing of loadlanguage Modlog
o Added Turkish Support (Thanks to Yagiz/[SiNaN])

v1.0 - 23rd June 2008
o Initial release
Disclaimer: SMFHacks.com Team is not affiliated with the SMF Team or the SimpleMachines NPO.
SMFHacks.com -  Paid Modifications for SMF
Latest Mods:
Community Suite
Newsletter Pro SMF Gallery Pro SMF Classifieds SMF Store

karlbenson


SantaClaws

Wow, I love your mods, They're great. I'm using this Tyvm. Oh, Wait I can't it's SMF 2.0 Beta only. Why aint you releasing for SMF 1.1.5 so sad, I can't use a very good Mod then  :-[

edi67

#3
as usually BRAVO :)

opps i got this error KARL:

Fatal error: display() [function.require]: Failed opening required '/membri/ediboard/Sources/ModLog.php' (include_path='.:') in /membri/ediboard/Sources/Display.php

PS. Moderation Log are enabled in my forum and im usgin smf 2.0 Publi 3.1
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

bluegray

Is there any way to have the last post edits also included with the moderation log? Or is this never logged?

Yağız...

#5
Very nice mod Karl. Turkish translation:
ModLog.turkish.php
// Start of Topic Recent Moderation History Mod
$txt['trmh'] = 'Moderasyon Geçmişi';
// End of Topic Recent Moderation History Mod

[SiNaN]

This should be better, isn't it Yağız?

// Start of Topic Recent Moderation History Mod
$txt['trmh'] = 'Moderasyon Geçmişi';
// End of Topic Recent Moderation History Mod

Former SMF Core Developer | My Mods | SimplePortal

Yağız...

Yes, maybe :)
Thanks Sinan for the correction.

chrisb

This looks like to be a very great mod , but we should see a version for 1.1.5 as well. This would help alot of sites that have mods and see what they have been upto as well. Anychance of recoding it for the 1.1.5 version.



karlbenson

@chrisb/pk3r 0wn
It is unlikely that there will ever be a 1.1.x version. This is due to the fact the mod re-uses some of the new functions in 2.x. (Saving me from having to write alot of new functions).

@bluegray
Edits not made by the user ARE logged.

@edi67
Oops.  Its due to my incorrect filename. The mod is trying to pull ModLog.php when its Modlog.php
I'll provide a new version asap.

karlbenson

o Fixed casing of require_once Modlog
o Fixed casing of loadlanguage Modlog
o Added Turkish Support (Thanks to Yagiz/[SiNaN])

HecKel

I am pretty sure that I'll use it when I upgrade to 2.0 ;)

Talking about translations..., portuguese here:

// Start of Topic Recent Moderation History Mod
$txt['trmh'] = 'Moderações Recentes no Tópico';
// All other strings are SMF ones pulled from Modlog.{language}.php
// End of Topic Recent Moderation History Mod

Quote from: Eliana Tamerin on August 23, 2008, 04:10:10 PM
SMF 7 is where it gets good. That has time travel. You can go back and post before the guy who flamed you. :P

уιℓмαz

Thanks I installed. I can see topic moderation history but my moderators can't. Why they can't see?

edi67

Quote from: karlbenson on June 26, 2008, 11:55:07 AM
@edi67
Oops.  Its due to my incorrect filename. The mod is trying to pull ModLog.php when its Modlog.php
I'll provide a new version asap.

version 1.1 work like a chamr now thx karl ;) excellent mod
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

^code_future^

great, can this be modified for 1.1.5 ..?

karlbenson

Quote
(It will NOT work for 1.1.x, and I have no intentions of making one for it - because it re-uses some new functions in 2.x).

It wouldn't just need modifying for 1.1.x. It would need many new functions writing. Which is why I won't be doing one for 1.1.x

HecKel

One suggestion, can you put that with Ajax or open in a new page on request?

That is very usefull, but only when requested. Some times are TOO information for the moderator.
Quote from: Eliana Tamerin on August 23, 2008, 04:10:10 PM
SMF 7 is where it gets good. That has time travel. You can go back and post before the guy who flamed you. :P

karlbenson

Yes, I would have liked a +/ buttton to collapse it.
Maybe in future who knows.

JBlaze

Updated for SMF 2.0 RC1-1.

Taken over by me :)
Jason Clemons
Former Team Member 2009 - 2012


Advertisement: