× Here you can get community support related to ReDJ.

Exclude referers does not work

  • Marchert
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 11 months ago #28 by Marchert
Exclude referers does not work was created by Marchert
Hello,

I'm using the Enterprise version (1.6.0) and have the problem that I get all referers listet incl. that I have exluded in the plugin:

www.google
{self}
{none}

For example I have in the referers list:

www.google.at
www.google.de
www.google.ch
www.outlook-stuff.com (that is my domain, should be "{self}")

Only the makro "{none}" seems to work.

The plugin is the first system plugin in Joomla! (2.5.4)

I have searched in the old forum but nobody have had this problem before?

Thanks for any help in advance!

Peter

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

More
11 years 11 months ago #29 by admin
Replied by admin on topic Re: Exclude referers does not work
Hi Peter,
thanks for reporting. I'm going to check if this could be a bug or any kidn of problem related to porting for J2.5.

I will get back as soon as possible.

Kind regards,
Luigi
The following user(s) said Thank You: Marchert

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

More
11 years 11 months ago #30 by admin
Replied by admin on topic Re: Exclude referers does not work
Hi Peter,
you are right, with J2.5 the code to parse list of referrers to esclude seems not work properly. It depends maybe in a change of line terminator. So I'm going to fix the code. Meanwhile open the redj.php file under plugin folder. Find this row:
// Track referers URL calls
      $excludereferers = explode("\n", $this->params->def('excludereferers', ''));

And replace as follow:
$excludereferers = preg_split("/[\r\n]+/", $this->params->def('excludereferers', ''));

Please, let me know.

Kind regards,
Luigi
The following user(s) said Thank You: Marchert

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

  • Marchert
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 11 months ago #31 by Marchert
Replied by Marchert on topic Re: Exclude referers does not work
Thank you! Yes that work as described.

But could you make it to work this term too:

www.google

So I do not have to exclude www.google.com, www.google.de etc.

Thanks
Peter

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

  • Marchert
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 11 months ago #32 by Marchert
Replied by Marchert on topic Re: Exclude referers does not work
Or better: A new macro {searchengines} which exludes all popular search engines :-)

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

More
11 years 11 months ago #33 by admin
Replied by admin on topic Re: Exclude referers does not work
Request accepted... :)

Added a new feature for next versions:

-Support for partial domains in the exclude list for referers

Kind regards,
Luigi
The following user(s) said Thank You: Marchert

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

Time to create page: 0.093 seconds