PDA

View Full Version : Private Messages & Email Log



admin
15-08-2010, 11:35 AM
Features:

Log all PM and Emails, sent via forum forms.
Keep logs in separate table with automatic rotation of old records.
Add new menu items in topics and profiles for fast access.
Have nice dynamic menus in search results for cross-searches
Managed access for administrators (except superadmins)

How to install

Upload files to your server
Import product xml
Go to ACP
Select required settings in “Vbulletin options → Private Message Log”
Set access “Can view PM logs” to necessary members in “Usergroups → Administator Permissions”. Super administrators can be skipped.

Notes:

This mod uses full scan for text searches, that can affect SQL-server load at really big boards. Fulltext indexes are not used intentionally, because whose can't produce sharp results and not compatible with innodb. I suppose, that if you really need this mod, you know exactly, what are you doing and what are you going to search. In my practice, ONLY exact matches were useful.

One of tradeoff to reduce SQL-server load – make log size shorter (1-2 months instead of 6). When vB 4.0 provides refactored search framework, search method can be rewritten.

If you install this mod on your server, i recommend to clarify forum rules, and add text, that your project doesn't provide the ways of confidential communication – only public and non public.

PS. This mod is independent. Since could't find one, that satisfy my requirements to functionality and usability, the new one was done from scratch. Code is reuseable. If you can do things better - i'll be glad to install your branch and spend my efforts to another things http://www.vbulletin.org/forum/images/smilies/smile.gif

PPS. Should work with 3.7.x (checked at 3.7.4)

This mod is developped here http://github.com/rcdesign/vb-pm_log . Patches are welcome.

history

2.5
- ported to vb4
...

2.2
- Redesigned database to improve search/paging in some cases
- Should fix conflicts with other mods, that where reported in this threads
- Sources repo is now @ github

... (not public)

1.9
- Ups... another broken link (from message list to user profiles)
- Fixed access for non superadmins, who had "Read PM Log" privilegies.

1.8
- fixed broken link in ACP popup menu
- workaround to show smiles and bbcodes

1.7
- fixed some sql-error

1.6
- first public release

Screenshots:
http://img.photo.zing.vn/file_uploads/gallery/1024x768/2010/08/15/11/59591281846867.gifhttp://img.photo.zing.vn/file_uploads/gallery/1024x768/2010/08/15/11/20621281846876.gifhttp://img.photo.zing.vn/file_uploads/gallery/1024x768/2010/08/15/11/62051281846881.pnghttp://img.photo.zing.vn/file_uploads/gallery/1024x768/2010/08/15/11/58121281846886.pnghttp://img.photo.zing.vn/file_uploads/gallery/1024x768/2010/08/15/11/20781281846893.gif