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)
-   -   Miscellaneous Hacks - user login pm notification (https://vborg.vbsupport.ru/showthread.php?t=145771)

Muellmann 04-25-2007 10:00 PM

user login pm notification
 
This simple product is my first one, I tried to do a request:
I thought I will share and maybe it's useful to someone else here.
It should run fine on vb 3.62 - 3.65.
I added three screenshots: Settings in ACP, the notification PM, the disallowed login.

What does it do:
This hack notifies you about specified users logging in (visiting your site)
with a PM about the time, IP-Address and hostname of the user who logged in.
You can optional disallow the login to all specified users with the result of their cookies
being cleared at a login attempt immediately, but you will still be notified about their
attempt of a login.

What does it not do, additional information:
If the user saved the login data (session) permanently to stay logged in, this won't work.
If the user saved only a passcard and uses this to ease the login, it will still work.

Remarks:
I'm sure it could be improved or more options added, it's supported by me and
don't forget it's my first one.

Version history:
1.00 04-24-07: First version
1.10 04-25-07: Improved version (screenshots updated):
  • Product URL and Update URL included
  • PM sendername errorcheck added
  • Extra option to disable PM notification added
    (one PM notification option must be now not cleared for disabling)
  • Useragent added as additional information in the notification PM

nexialys 04-26-2007 12:33 AM

suggestion: instead of username of the recipient, use the userid, because if your recipient change name, you will receive an error when the pm is sent... bad for the user who will now know he is tracked...

raptor260 04-26-2007 01:26 AM

Muellmann, Thank you.... This is what I was looking for... and your right it does not send the PM unless the user logins every time ... How would I make it send a PM every time a user visits.

Muellmann 04-26-2007 01:44 AM

Quote:

Originally Posted by nexialys
because if your recipient change name, you will receive an error when the pm is sent... bad for the user who will now know he is tracked

If the recipients name would be wrong, the PM wouldn't be send, but a blank
page wouldn't appear and the enduser wouldn't know about the error.
With the sender it's another thing. If the senders name is wrong this can cause an error
in my hack, that's correctly. I will look into this for a better validation, because I plan to do updates.

Quote:

Originally Posted by raptor260
How would I make it send a PM every time a user visits.

If it should detect a visit, then this could be also a guest. So you can't check by username
or userid. In this case the only way (but not 100%) would be a systemcookie to identify the
guest or detecting by hostname/useragent.
I'll rethink how far this is possible to be integrated with this product.

rjmjr69 04-26-2007 05:28 AM

Awesome Idea thanks.

thedvs 04-26-2007 03:38 PM

very very handy, many thanks indeed

The_VarMaster 04-28-2007 07:33 PM

You can track user using "Who is online". When user appears in list, you check, does anyone tracking this user and then add pms into database if needed.

wengi 04-28-2007 08:04 PM

Nice idea m8 :)
Installed

Mrdby 05-08-2007 12:41 PM

any problems with this?

Martin-TMGRS 05-08-2007 12:51 PM

I'm loving this alreadyand I only insalled it 5 mins ago, great work :D :up:


All times are GMT. The time now is 11:48 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.01223 seconds
  • Memory Usage 1,729KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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