vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Moderator Activity Logging (updated) (https://vborg.vbsupport.ru/showthread.php?t=35585)

Tim Wheatley 03-17-2002 10:25 AM

How can I have this viewable in the mods cp?

JDD 03-18-2002 08:40 PM

Hi...

this is a great Hack.. but one further question.. is it possible to log deletion of postings within a thread also?

Greetz
BitByter

Tim Wheatley 03-19-2002 08:29 AM

Nevermind about my question, I got it doing it, incase anyone else wants mods to be able to see this too:

Open modlog.php,

Search for 'Clear all logs'

delete that.

Upload modlog.php to root/mod

enter a link to modlog inside mod/index.php

This then removes the mods ability to delete their logs, and also means they can see it incase of argument.

Hubsi 03-30-2002 06:22 AM

big THX for this great hack, it´s wonderfull

greats

Hubsi

kidney 03-31-2002 05:43 PM

I would like to know why is there a 5 in this add on, it seems to create a problem....

in the third modification in the posting.php

David Bott 03-31-2002 09:24 PM

Installed on 2.2.4 Very nice and needed. Thanks!

Now if we only had a post recycle-bin for deleted posts and threads. :) Would be a nice addition.

camoboy 04-02-2002 01:40 AM

Quote:

Originally posted by JDD
Hi...

this is a great Hack.. but one further question.. is it possible to log deletion of postings within a thread also?

Greetz
BitByter

This addition would be very helpful

One of our mods has been going round deleting posts, not threads and they don't get logged, so I can't work out who.

Once I find out they're ganna be slapped back down to Registered Member, but this would help a lot.

c-pr0mpt 04-14-2002 02:01 PM

Wonderful hack Overgrow.

When i ran the install I got a mysql error because of modlog table already existing in the vB database. MY vB version is 2.2.5. Does this hack not work with 2.2.5?

Here is the error exactly as it says,

Code:

Database error in vBulletin Control Panel 2.2.5:

Invalid SQL: CREATE TABLE modlog (
                  type tinyint(1) DEFAULT '0' NOT NULL,
                  userid int(10) DEFAULT '0' NOT NULL,
                  threadid int(10) DEFAULT '0' NOT NULL,
                  threadtitle varchar(100) NOT NULL,
                  fromforumid smallint(5),
                  toforumid smallint(5),
                  timestamp int(11) DEFAULT '0' NOT NULL
                )
mysql error: Table 'modlog' already exists

mysql error number: 1050

Date: Sunday 14th of April 2002 10:56:00 AM

Should I delete the current table in there and start over? Thanks for any help from anyone.

Overgrow 04-14-2002 02:05 PM

Did they add this feature with 2.2.5? Or maybe the forum you're working on already had the old version installed?

If you had a previous version installed, you don't need to do any table modifications-- it is the same table schema as the previous version.. just upload modlog.php to your admin directory and create an entry for it on the left hand side menu of your Cpanel.

hth~

c-pr0mpt 04-14-2002 02:32 PM

This is for yaxay. And I checked the modlog table in mysql and it has some threads in it. Looks like all the threads I have deleted in the past, and the userid of who deleted it.

Here is a sshot:

http://www.yaxay.com/linkto/modlogsshot.gif

So I guess this was added in 2.2.5? :confused:

Silenced Soul 04-14-2002 09:19 PM

Nice hack, very useful, now I can prove my mods aren't doing their jobs. =P

ZiRu$ 04-15-2002 03:15 AM

um......can you update this or just give me the code so that it wont log admin activity????

Chris M 04-15-2002 12:05 PM

This is a great Hack...

I shall start right away and install it!

Satan

Esorcista 04-16-2002 11:39 AM

Does it work on Vb 2.2.5?
It didn't work 4 me :(

mak 04-19-2002 09:58 PM

i can't download the attachments at all.
is it a text file or zipped?

i get an attachment.php when i download it.

i'm using a mac and i'm not sure that's the reason why. is it?
i can download the other attachments here with no problem. can someone help me?

this is a real cool hack,

thanks. :)

Ian 04-19-2002 10:35 PM

They work fine for me and there in text.

Sezmarone 04-21-2002 11:59 PM

This is a great hack! It sure would be nice if it had edit in it too!

Mental Stamina 04-29-2002 01:59 AM

i can't d/l the files...can someone post a text link?

CJi 04-30-2002 05:25 PM

Does this work with 2.2.5? Don't want to risk trying it on a production board.

Chris M 04-30-2002 06:28 PM

@CJi...

Yes it does...

We have it installed on our vB 2.2.5, and it works perfectly...

3 Things Overgrow - 2 have already been suggested, but either you missed them or dont know...

1.) Would it be possible to include an "edit" feature, to show posts that were edited by mods
2.) Would it be possible to exclude admins from the log
3.) Would it be possible to include a code for Posts that have been deleted, not just threads...

Satan

Sinecure 05-24-2002 04:33 PM

Thanks Overgrow, it worked flawlessly :)

dogbomb 05-25-2002 03:48 PM

For those people who wanted this hack to show up in their CP Panel. You will need to edit admin/index.php

FIND:
PHP Code:

makenavoption("Permissions","forumpermission.php?action=modify"); 

REPLACE WITH:
PHP Code:

makenavoption("Permissions","forumpermission.php?action=modify","<br>"); 

ADD UNDERNEATH:
PHP Code:

makenavoption("Activity Log","modlog.php?showLimit=100"); 

And that hopefully should work for you :)

mak 06-04-2002 08:48 PM

can someone attach the install_modlog.php and modlog.php again?

i can't download them at all.

thanks.

Ian 06-06-2002 12:10 AM

Here you go!

Ian 06-06-2002 12:11 AM

Here you go!

dreamhost 06-30-2002 02:14 PM

this hack is worth more than the $ of the board...hehehehe

Heineken77 07-17-2002 07:56 PM

Hey Overgrow :)

Long time!!!

Thank you! :)
Heineken

Mephisteus 07-18-2002 08:55 AM

Works perfect :) I have had no need for deleting so far, so no probs :p

santeematt 07-18-2002 01:59 PM

sweet, i cant trust those damn moderators of mine :P

Meirion 07-23-2002 02:00 PM

one minor change to this class hack to make it work with the "Recycle Bin" hack.

This lets you click the titles of the deleted threads to view them.

in modlog.php find:

PHP Code:

if ($subArray[type] != "2"// Deleted?
            
echo "<a href=\"../showthread.php?threadid=$subArray[threadid]\" target=\"_blank\">$subArray[threadtitle]</a>";
        else
            echo 
"$subArray[threadtitle]"

replace with
PHP Code:

if ($subArray[type] != "2"// Deleted?
            
echo "<a href=\"../showthread.php?threadid=$subArray[threadid]\" target=\"_blank\">$subArray[threadtitle]</a>";
        else
                        echo 
"<a href=\"../showthread.php?threadid=$subArray[threadid]\" target=\"_blank\">$subArray[threadtitle]</a>"

Don't forget you need the recycle bin hack for this to work.

deano1 08-05-2002 01:29 AM

when i install this hack
i get this error
when running the install

Warning: Failed opening '/home/deanosw/public_html/vbtest/admin/install_modlog.php' for inclusion (include_path='') in Unknown on line 0

redd 09-30-2002 09:13 AM

Does this work with 2.7 ?

N9ne 09-30-2002 05:39 PM

Yeah does it work with 2.2.8?

Ian 09-30-2002 09:07 PM

Quote:

Originally posted by Tha Rock
Yeah does it work with 2.2.8?
Yes.

Exo 10-01-2002 08:44 PM

hm it only logs complete Threads, how can i make it so that it logs posts too. If a Moderator delete a post in a Thread, its very important to know that! :(

Gizmo99 10-06-2002 04:43 PM

Sexy is not the word :banana:

Giz

BigCheeze 10-19-2002 05:21 PM

Installed and working perfectly in 2.2.8! w00t w00t!! Can't trust them dam mods! LOL

neocorteqz 10-23-2002 05:52 PM

It's not logging my test mods activity..

Nice install though. I will go over the file hacks again.. see if I missed something.

Nice Job:)

Larry@IOG 10-24-2002 09:03 PM

I installed it with no problems. So far my mods have done nothing for me too see

Larry

Larry@IOG 10-25-2002 12:19 AM

Ok I have it installed but it does not log any of the mods actions,

2.2.8

Larry


All times are GMT. The time now is 06:21 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
  • Page Generation 0.01439 seconds
  • Memory Usage 1,800KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (5)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete