Hide Affiliates All Clicks Link

  • Posts: 6
  • Thank you received: 0
  • Hikashop Business
1 year 4 months ago #346450

-- HikaShop version -- : 4.6.1
-- Joomla version -- : 3.10.2
-- PHP version -- : 7.4
-- Browser(s) name and version -- : All
-- Error-message(debug-mod must be tuned on) -- : NA

I see this has been raised before but no answer on how it is resolved

I want to hide the ALL CLICKS under stats in the frontend.

Reason for this is affiliates should not be able to see IP addresses especially under GDPR.

The rest of the dashboard is fine and we only offer affiliate program on confirmed sales not leads or clicks

I can hide via css but anyone who was snooping could undo this and see the IPS.

Can you advise on how this can be turned off for the ALL CLICKS popup only

Do i have to edit the frontend view for affiliate display and comment out the PHP for this option

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

  • Posts: 81361
  • Thank you received: 13037
  • MODERATOR
1 year 4 months ago #346455

Hi,


I would recommend keeping the clicks popup and just removing the IP address from the table there.
Because first, if you remove the link to the popup, technically, someone could still access the URL of the popup to get the IP addresses. And second, besides the IP addresses, I think it's quite useful for the partner to see the clicks when he adds the banner on his website and doing tests, to make sure it's working fine.

To just remove the IP addresses from the popup, you can edit the file affiliate / clicks via the menu Display>Views and remove:

<th class="title">
					<?php echo JHTML::_('grid.sort', JText::_('IP'), 'a.click_ip', $this->pageInfo->filter->order->dir,$this->pageInfo->filter->order->value ); ?>
				</th>
and:
<td>
						<?php echo $row->click_ip; ?>
					</td>

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

Time to create page: 0.056 seconds
Powered by Kunena Forum