![]() |
works great!!! thanks firefly
|
It only sends me mail when someone tries accessing with an Admin user name
normal users and their passwords arent emailed made up user names and passwords arent emailed either can this be added in? |
what a cooooooool hack . thank you so much . lol.
|
[QUOTE]Originally posted by Mutt
firefly, I've added alittle to your hack Here's the chunk of code that needs to be added to 2 files PHP Code:
the first addition is in sessions.php as instructed by firefly it goes right after PHP Code:
then second additon is in adim/global.php and it goes right after PHP Code:
now the email gets sent for any incorect login instead of just ones with a correct username and wrong password. If they are somehow listed in sessions under multiple userids, (logged on and then logged on again under a second account) you'll get them all. Firefly, thanks for this. I really like it and plan to keept expanding it. Security is key. I have a bunch of jerkoffs at my Stern site and have been pushing off upgrading it to VB until I had lots of admin tools like this little email notice. I'll be doing something very similar to this which will be used to track multiple accounts. Hey people, let me know if you have any problems with this |
> New at vBulletin.org!
> You can now reply to the thread by replying to this message that is an amaaaaaasing great feature!!!! vbulletin.org, you are real cool guys. |
And they know it...
Satan |
> And they know it...
LOL. Do you think those cool guys would tell me what hack is used to send new posts by email??? |
I dont think it is released...
If it is, then it is a well kept secret... I think FireFly wanted it to be a vb.org exclusive, but I may be wrong... Satan |
@FireFly:
Do you release a new complete explanation for this hack in the first post in this thread? |
I followed many of this long thread tips and now I have at least 5 different points where the email is launched... ;)
To optimize code, I created a function mail2wm() within adminfunctions.php so I simply call it from everywhere passing some parameters... :p So, I can receive many emails each time. A general question is: could I set, within that function, a global variable to tell the function itself it has already done its job ? Sorry, but I'm not too good at php about globals and sessions... Actual question is: such a global variable will be unique for the entire board - each user - or only for that user set it up ? First case, could I 'localize' any way that variable for that particular session ? Thanks a lot, and sorry for the O-T. Bye |
All times are GMT. The time now is 07:05 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|