Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Moderator Activity Logging (updated) Details »»
Moderator Activity Logging (updated)
Version: 1.00, by Overgrow Overgrow is offline
Developer Last Online: Jun 2004 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 03-01-2002 Last Update: Never Installs: 180
 
No support by the author.

<font size="3">Moderator Activity Log for 2.x</font>

Disclaimer:

-No support is offered for this hack. If you PM or email for support, it will be joyfully ignored. When I have time, I will answer questions in this thread.

** FREE LICENSE ** You must leave the header and footer intact.

Design Spec:

Track moderator and admin activites including: closing, opening, moving, and deleting threads. You are able to set the number of logs you view at one time and you can focus down to just one moderator by clicking on their name.

Installation (never had ModLog installed):

-upload install_modlog.php to your admin directory
-upload modlog.php to your admin directory
-run install_modlog.php, follow instructions
-delete install_modlog.php

Installation (have a previous version running successfully):

-upload modlog.php to your admin directory

Changes from the previous version:

-now has a fancy install routine instead of boring text instructions. Installing will now be easier and more fun!

-puts a link on the left side of your Admin CPanel under Admin Logs

Works on:

-vB 2.2.1
-untested on everything else but should work with the whole 2.x line and even 1.x if you figure out the postings.php modifications.

Screenshot attached, files attached in replies. Questions? Read the disclaimer at the top of this post. Thanks~

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 03-10-2002, 05:47 PM
camoboy camoboy is offline
 
Join Date: Feb 2002
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Tarion
i had a problem on V 2.2.1:

Fatal error: Call to undefined function: htmlheader() in /kunden/fanwerk.com/webseiten/vbb2/admin/modlog.php on line 56

the header is still intact and all changes are made i don't know what happend???
I get the same problem when viewing modlog.php

Any fix??
Reply With Quote
  #23  
Old 03-10-2002, 09:45 PM
Overgrow's Avatar
Overgrow Overgrow is offline
 
Join Date: Nov 2001
Posts: 320
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

>>Call to undefined function: htmlheader()

Sure, upgrade your PHP.. sounds like you're using PHP3.

I'll work on delete logs and other stuff in a bit, thanks.
Reply With Quote
  #24  
Old 03-11-2002, 02:15 AM
achilles achilles is offline
 
Join Date: Jan 2002
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I also get the "Fatal error: Call to undefined function: htmlheader()"

Im running PHP 4.1.2


Great hack btw
Reply With Quote
  #25  
Old 03-11-2002, 05:26 AM
FWC's Avatar
FWC FWC is offline
 
Join Date: Oct 2001
Location: Ontario, CA
Posts: 821
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well done, Overgrow!
Reply With Quote
  #26  
Old 03-11-2002, 08:13 AM
Hellburn Hellburn is offline
 
Join Date: Mar 2002
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have installed yesterday vB 2.2.4 and install this hack in to. It's working fine but i can not clear the Logs in the cp. At Version 2.2.2 i don't have this Problem. Hope you can help me.

mfg

Hellburn
Reply With Quote
  #27  
Old 03-12-2002, 12:57 AM
69-FLy-gUy's Avatar
69-FLy-gUy 69-FLy-gUy is offline
 
Join Date: Oct 2001
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it wortks for me.. the only thing i can't get to work is in the moved threads.. the To and From forum... anyone else hasve this problem????
Reply With Quote
  #28  
Old 03-12-2002, 08:02 AM
Overgrow's Avatar
Overgrow Overgrow is offline
 
Join Date: Nov 2001
Posts: 320
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you cannot clear the logs, open modlog.php, find:

<a href=\"javascript:void(0);\" onClick=\"javascript:if(confirm('Click OK to clear all moderator logs.')) {document.location.href='$PHP_SELF?rt=".time()."&c learLogs=yes&showLimit=$showLimit';}\">CLEAR ALL LOGS</a>

Replace with:

<a href=\"$PHP_SELF?rt=".time()."&clearLogs=yes&showL imit=$showLimit';}\">CLEAR ALL LOGS</a>


If you have the htmlheader() problem, find two times:

HTMLHeader()

replace with

htmlheader()


hope that helps, but who knows
Reply With Quote
  #29  
Old 03-12-2002, 09:51 AM
Hellburn Hellburn is offline
 
Join Date: Mar 2002
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When i replace this code i have the follow error:

Parse error: parse error in /is/htdocs/12566/www.***********.com/vbb2/admin/modlog.php on line 232

mfg

Hellburn
Reply With Quote
  #30  
Old 03-12-2002, 10:06 AM
Overgrow's Avatar
Overgrow Overgrow is offline
 
Join Date: Nov 2001
Posts: 320
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That was probably VB's php code thingy messing with the slashes. Try it again with the above code, I removed it from the PHP block.
Reply With Quote
  #31  
Old 03-12-2002, 10:34 AM
Hellburn Hellburn is offline
 
Join Date: Mar 2002
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Now when i wont clear the logs comes this error:

Database error in vBulletin Control Panel 2.2.4:

Invalid SQL: SELECT type,modlog.userid as userid,modlog.threadid as threadid,fromforumid,toforumid,modlog.timestamp as timestamp,threadtitle,username
FROM modlog
LEFT JOIN user ON modlog.userid = user.userid
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:46 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04991 seconds
  • Memory Usage 2,303KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete