[BETA] MOD Logbook

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
Post Reply
Merlin Sythove
Registered User
Posts: 2339
Joined: Tue Mar 16, 2004 7:42 am

[BETA] MOD Logbook

Post by Merlin Sythove »

Yesss!! Yet another quality MOD from Merlin!! :lol:

A new mod, based on Morpheus2Matrix log actions mod, but greatly expanded. It keeps track of all post changes (deleted posts, edited posts and titles) and all actions done on whole topics, like move, merge, lock, unlock, delete etc.

The main feature is a logbook page that shows you logbook records, including post changes, where the changes are highlighted in various colours:
  1. Red: the old version had text which is removed in the new version
  2. Orange: both versions have different text here
  3. Green: the new version has added text which the old one did not have
In the past I have happily worked together with Throckmorton and Asinshesq to complete extensive mods, such as my Keep Unread mod, and the Smiley management mod. Maybe this time too someone is willing to test it out on a vanilla board and suggest improvements and help with getting it ready for submission.

Download the documentation with screen shots enclosed:
http://www.silvercircle.org/phpBB_mods/ ... manual.doc

Download the zip file with the mod:
http://www.silvercircle.org/phpBB_mods/ ... ogbook.zip

Happy coding!

Last update: 30 jan 2006 (page 6 of this topic) Version 1.0.1
Last edited by Merlin Sythove on Mon Jan 30, 2006 9:23 am, edited 6 times in total.
User avatar
onigumo
Registered User
Posts: 1755
Joined: Fri Oct 31, 2003 2:32 am
Contact:

Post by onigumo »

How does one allow a certain staff member to be exempt from logging (on the list the MOD provides)? Say, the main administrator.
I write articles on community building
@ The Infinity Program.
User avatar
DeViAnThans3
Registered User
Posts: 877
Joined: Sat Oct 08, 2005 10:39 pm
Location: Belgium

Post by DeViAnThans3 »

However, this MOD looks great! :)
I only provide support via the appropriate topics! Please no PM or mails! :)
My MODs :: [BETA] Facebook Connect
Merlin Sythove
Registered User
Posts: 2339
Joined: Tue Mar 16, 2004 7:42 am

Post by Merlin Sythove »

onigumo wrote: How does one allow a certain staff member to be exempt from logging (on the list the MOD provides)? Say, the main administrator.


There is currently no provision for not logging any changes made by user X, for example. The whole idea is to log all changes. But of course the logbook itself is only visible to the main admin and the mods designated by the main admin, not to all users!!
User avatar
onigumo
Registered User
Posts: 1755
Joined: Fri Oct 31, 2003 2:32 am
Contact:

Post by onigumo »

Merlin Sythove wrote: But of course the logbook itself is only visible to the main admin and the mods designated by the main admin, not to all users!!


Oh, okay. So by default even the other administrators won't be able to see it? So there's password protection? Then never mind. :)
I write articles on community building
@ The Infinity Program.
Merlin Sythove
Registered User
Posts: 2339
Joined: Tue Mar 16, 2004 7:42 am

Post by Merlin Sythove »

True, the main admin can select exactly who is able to see the log. Select any or none from the available admins and moderators.
labfreak
Registered User
Posts: 23
Joined: Sat Oct 08, 2005 11:42 pm

Post by labfreak »

what's wrong?

Image

Image
Merlin Sythove
Registered User
Posts: 2339
Joined: Tue Mar 16, 2004 7:42 am

Post by Merlin Sythove »

Oops - user table needs a field - I'll look into it tomorrow (it is evening here now)
Merlin Sythove
Registered User
Posts: 2339
Joined: Tue Mar 16, 2004 7:42 am

Post by Merlin Sythove »

Execute this SQL statement in phpMyAdmin:

ALTER TABLE `phpbb_users` ADD `user_view_log` TINYINT( 4 ) DEFAULT '0' NOT NULL;

Make sure you change the table prefix if yours is not phpbb !

Zip download in first post updated.
Eminem_Fan
I've Been Banned!
Posts: 120
Joined: Mon Dec 19, 2005 12:36 pm

Post by Eminem_Fan »

Any chance you could upload some screenshots? the documentation doesnt seam to load them.
User avatar
okada1314
Registered User
Posts: 209
Joined: Sat Oct 29, 2005 10:51 am
Location: HK

Post by okada1314 »

need language in admin
labfreak
Registered User
Posts: 23
Joined: Sat Oct 08, 2005 11:42 pm

Post by labfreak »

i use phpbb br plus, but de prefixs are the sames
Merlin Sythove
Registered User
Posts: 2339
Joined: Tue Mar 16, 2004 7:42 am

Post by Merlin Sythove »

Yep, thanks for reminding me!

Code: Select all

#
#-----[ OPEN ]-------------------------------------------------
# Note: Remember to do other languages too. No Dutch version available.
language/lang_english/lang_admin.php	

#
#-----[ FIND ]-------------------------------------------------
#
?>

#
#-----[ BEFORE, ADD ]-------------------------------------------------
#	
//START MOD Logbook
$lang['Log_not_authorized'] = 'Sorry, you\'re not allowed to view this page.';

//Messages
$lang['Log_delete'] = 'Log deleted successfully.';
$lang['Click_return_admin_log'] = 'Click %shere%s to return to the logbook.';
$lang['Log_config_updated'] = 'Logbook configuration successfull.';
$lang['Click_return_admin_log_config'] = 'Click %shere%s to return to the logbook configuration.';

//Config titles
$lang['Log_config'] = 'Logbook configuration';
$lang['Log_config_explain'] = 'Here you will be able to configure some options of the logbook.';
$lang['Log_general_config'] = 'Logbook general configuration';

//Radio button
$lang['Log_allow_all'] = 'Logbook available to the whole list?';
$lang['Log_allow_all_explain'] = 'Make the logbook available to just the main administrator, or to all people on the list below?';

//Authorisation list 
$lang['Add_username_admin_explain'] = 'Select another person who will be allowed to see the logbook.';
$lang['Delete_username_admin_explain'] = 'Select the people you don\'t want to see the logbook anymore.';
$lang['No_other_admins'] = 'No more people to select';
$lang['No_admins_authorized'] = 'No more people authorised';
$lang['Add_Admin_Username'] = 'Add a moderator or administrator';
$lang['Delete_Admin_Username'] = 'Delete one or more moderators or administrators';
$lang['No_admins_allow'] = 'There are no people to allow to view the logbook.';
$lang['No_admins_disallow'] = 'There are no people to remove from viewing the logbook.';
$lang['Admins_add_success'] = 'People have been added to the list successfully.';
$lang['Admins_del_success'] = 'People have been deleted from the list successfully.';
//Logbookpruning
$lang['Log_prune_success'] = 'Logbook pruning completed.';
$lang['Log_prune_nothing'] = 'Sorry, no records to prune.';
$lang['Log_prune_title'] = 'Logbook pruning';
$lang['Log_prune_logbook'] = 'Prune logbook';
$lang['Log_prune'] = 'Prune the logbook';
$lang['Log_prune_submit'] = 'Prune';
$lang['Log_prune_explain'] = 'Enter the number of days prior to which you want to delete all log records. 0 = delete everything.';
$lang['Log_set_prune'] = 'Please fill in a number of days to prune the logbook!';

$lang['File_not_deleted'] = 'You have not yet deleted the file install_tables.php: do it before trying to see this page.';
//END MOD Logbook
Zip file download updated
Merlin Sythove
Registered User
Posts: 2339
Joined: Tue Mar 16, 2004 7:42 am

Post by Merlin Sythove »

Tiny error in logbook 'move' (topic) corrected that kept the entry from being displayed. Zip file updated.
Post Reply

Return to “[2.0.x] MODs in Development”