Menu

Topic-icon Send email to webmaster to unblock

  • Polleke1959
  • Polleke1959's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
5 months 3 weeks ago #8442 by Polleke1959
Send email to webmaster to unblock was created by Polleke1959
Hi Jose,
In WAF-config -> redirection-> blocked IPs message there is the message a person gets when he/she is blocke form the website.
I would like to have the possebility this person clikc on a link (href mailto) where he sends me his Ip-adres. So i can remove him/her from the blacklist.

I can make that email (no problem) and the link. But i can not send the ipadres in the body :
something like : <a href="mailto:webmaster@amaliavansolms.org?subject=No entrance to website amaliavansolms.org ;body=i like to have entrance to the website Amaliavansolms.org My IP-adres is nnn.nnn.nnn.nnn>Webmaster

Where nnn.nnn.nnn.nnn. should be the correct ipadres.
So <? PHP echo $_SERVER; ?>
does not work .

do you have any ideas.

regards Jan

 

Please Log in or Create an account to join the conversation.

More
5 months 3 weeks ago #8446 by Jose
Replied by Jose on topic Send email to webmaster to unblock
Hi Jan,

Since a couple of versions ago blocked users get a message with his ip and the time remaining to be unblocked. You can add extra info to this message into Waf configuration -> Blocked IPs message. You can put your email here and tell users that can contact you by email adding the ip they see in the message so you can unblock them.

Regards,
Jose

Please Log in or Create an account to join the conversation.

  • Polleke1959
  • Polleke1959's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
5 months 3 weeks ago #8448 by Polleke1959
Replied by Polleke1959 on topic Send email to webmaster to unblock
Hi Jose,
yes i know about this function. It is the same function i was talking about. But in this message i want a "href mailto"-link and in the body of that mailto-link of that mail i would like to have the ipadress.

regards Jan

Please Log in or Create an account to join the conversation.

More
5 months 3 weeks ago #8449 by Jose
Replied by Jose on topic Send email to webmaster to unblock
Hi Jan,

Getting the ip is not trivial. I use several methods to get the REAL ip of the visitor, so you should use the same php code to get the ip shown to your visitor blocked and currently there is no way to do this in the message shown to the user by SCP.

Regards,
Jose

Please Log in or Create an account to join the conversation.

  • Polleke1959
  • Polleke1959's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
5 months 3 weeks ago #8450 by Polleke1959
Replied by Polleke1959 on topic Send email to webmaster to unblock
That why it is on the wish-list :-)

Please Log in or Create an account to join the conversation.

More
5 months 3 weeks ago #8451 by Jose
Replied by Jose on topic Send email to webmaster to unblock
Jajaja, I see. Will try to add something like this in a future.

Regards,
Jose

Please Log in or Create an account to join the conversation.

Time to create page: 0.067 seconds
Powered by Kunena Forum

Login or Sign In