vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Administrative and Maintenance Tools - User Activity Logging (https://vborg.vbsupport.ru/showthread.php?t=145660)

dxguru 04-24-2007 02:54 PM

Quote:

Originally Posted by C_P (Post 1234688)
Yes, that would be nice to also log guest attempts as well as user attempts. Maybe by user group?

Short answer is yes, but you would need to modify the core vB code to add some extra Hook locations.

Basically with this hack you can log any script at any point where there exists a Hook. No hook - no log. But there is nothing preventing us adding our own Hook locations (except ease of upgrades :) )

PM me if you would be interested in discussing having me do this for you.

bell19189 04-24-2007 02:55 PM

:( it killed my forum... i kept getting fatal errors as soon as it was installed, when i removed it everything went back to normal... anyone else had anything similar happen? and or know how to fix it

dxguru 04-24-2007 02:57 PM

Quote:

Originally Posted by Charlie98902 (Post 1234696)
Great potential this mod is I'll wait till it's out of beta stage and tweaked as mentioned above. Yes logging in the users trying to log into another member is a nice feature to have. I assume there is a way to clear this log as well?

Currently the database side is simply to start logging entires. Nothing so far is done with the data and you can turn off database logging if you wish.

My plan is to provide an ACP interface similar to the Moderator Logging already included (which is where I got the basic code idea from)

dxguru 04-24-2007 02:58 PM

Quote:

Originally Posted by bell19189 (Post 1234706)
:( it killed my forum... i kept getting fatal errors as soon as it was installed, when i removed it everything went back to normal... anyone else had anything similar happen? and or know how to fix it

What kind of fatal errors? Could you send me a screen shot please.

C_P 04-24-2007 03:00 PM

Quote:

Originally Posted by dxguru (Post 1234703)
Short answer is yes, but you would need to modify the core vB code to add some extra Hook locations.

Basically with this hack you can log any script at any point where there exists a Hook. No hook - no log. But there is nothing preventing us adding our own Hook locations (except ease of upgrades :) )

PM me if you would be interested in discussing having me do this for you.

PM sent and no bell19189 I have not installed yet. Asking for enhancement to this before I review.

dxguru 04-24-2007 03:08 PM

Just had a thought regarding the fatal errors. Originally I had set the XML to install Inactive because you need to set up the options before turning it on. This is possibly what caused the errors.

I will put some option-error-checking in it for the next update.

dxguru 04-24-2007 03:27 PM

OK, I've done some additional testing with a variety of incorrect option settings ... cannot get it to cause fatal errors.

No User ID's ... nothing gets logged
No Forum Selected ... nothing gets posted
No Posting User ... nothing gets posted
User ID but nothing else ... no postings
etc

I will be really interested to discover what caused the fatal error.

beduino 04-24-2007 04:36 PM

I will test - but the concept is very interesting!
Thanks for share.
All the best
joao barroca
aka beduino
ps. your site it's very useful too :)

Mastar 04-25-2007 12:17 AM

Here is my error:

Code:

Fatal error: Call to undefined function: build_thread_counters() in /home/down/public_html/forums/includes/init.php(319) : eval()'d code on line 89

dxguru 04-25-2007 01:36 AM

Quote:

Originally Posted by Mastar (Post 1235021)
Here is my error:

Code:

Fatal error: Call to undefined function: build_thread_counters() in /home/down/public_html/forums/includes/init.php(319) : eval()'d code on line 89

Thanks Mastar. I didn't think about what would happen if the logging thread was deleted :(

I have corrected this problem and also added an optional AdminCP Log Viewer/Pruner.


All times are GMT. The time now is 02:53 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.01094 seconds
  • Memory Usage 1,740KB
  • 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
  • (2)bbcode_code_printable
  • (5)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
  • (10)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