By GM on Monday, 11 May 2015
Posted in General
Replies 3
Likes 0
Views 2K
Votes 0
Hello,

I was a Old member - dont have existing subscription
Still - would appreciate - if for benefit been a user of your softwares - can assist in on below query

Some Bots / users using Proxy Server flood in by submitting question as guest user
I have found this code by searching Online to stop in flooding attacks through proxy servr

<?php if(@fsockopen($_SERVER['REMOTE_ADDR'], 80, $errstr, $errno, 1))
die("Proxy access not allowed"); ?>


This has to be added in header. i dont want to use it in template file - as would unncessary cover in all the pages. Could you advise in in which files of easydiscuss software & lines should i add in above php code in easydiscuss so that Proxy users can not access in 'Ask a Question' page having this url

index.php?option=com_easydiscuss&view=ask&category=1&Itemid=10


Would be glad to seek your advise on it

Many thanks
Hi Gagan,

Thank you for your inquiry. My name is Justin and I am Stack Ideas' marketing team member.

We would be more than happy to assist you with your inquiry. However, our support is prioritize only to those who holds an active license with us. I'd highly suggest for you to renew your license so that your component is up-to-date and you have access to our support team.

Let me know if you have any inquiries pertaining to your renewal and I will be more than happy to assist you in any way I can.
·
Tuesday, 12 May 2015 11:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

As i have an active subscription now
Can the support team advise in on the query raised in Question pls

thanks
GM
·
Wednesday, 08 July 2015 11:28
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Gagan,

I am sorry for the delay of this reply.

You can put the code inside your /components/com_easydiscuss/views/ask/view.html.php under the function display(). Refer my screenshot here for the example, http://screencast.com/t/2xn0Z2qNfA .

Hope these help.
·
Wednesday, 08 July 2015 14:24
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post