? ? Pending

User tests: Successful: Unsuccessful:

avatar SharkyKZ
SharkyKZ
25 Oct 2019

Summary of Changes

This adds prepared statements and cleans up queries in com_banners frontend.

Testing Instructions

Create some banners.
Publish some banner modules.
Browse around frontend.
Click on some banners.
In backend check that banner statistics (impressions and clicks) are still tracked correctly.

Expected result

Works like before.

Documentation Changes Required

No.

avatar SharkyKZ SharkyKZ - open - 25 Oct 2019
avatar SharkyKZ SharkyKZ - change - 25 Oct 2019
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 25 Oct 2019
Category Front End com_banners
avatar SharkyKZ SharkyKZ - change - 25 Oct 2019
The description was changed
avatar SharkyKZ SharkyKZ - edited - 25 Oct 2019
avatar SharkyKZ SharkyKZ - change - 25 Oct 2019
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2019-10-25 06:12:54
Closed_By SharkyKZ
Labels Added: ?
avatar SharkyKZ SharkyKZ - close - 25 Oct 2019
avatar SharkyKZ SharkyKZ - change - 25 Oct 2019
Status Closed New
Closed_Date 2019-10-25 06:12:54
Closed_By SharkyKZ
avatar SharkyKZ SharkyKZ - change - 25 Oct 2019
Status New Pending
avatar SharkyKZ SharkyKZ - reopen - 25 Oct 2019
2a5d466 25 Oct 2019 avatar SharkyKZ CS
avatar joomla-cms-bot joomla-cms-bot - change - 25 Oct 2019
Category Front End com_banners Front End com_banners Modules
avatar joomla-cms-bot joomla-cms-bot - change - 25 Oct 2019
Category Front End com_banners Modules Front End com_banners
24e7ede 25 Oct 2019 avatar SharkyKZ CS
avatar 1apweb 1apweb - test_item - 25 Oct 2019 - Tested successfully
avatar 1apweb
1apweb - comment - 25 Oct 2019

I have tested this item successfully on 24e7ede

The patch now displays the number of clicks correctly. But I created two banners, and when I click one, Total print displays an impression for each banner when there is only one that has been displayed.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/26811.

avatar SharkyKZ
SharkyKZ - comment - 25 Oct 2019

@1apweb Sorry, I don't understand. You show 1 banner but impressions of multiple banners increase?

avatar 1apweb
1apweb - comment - 25 Oct 2019

I've added a third banner and I realize that all three are displayed at the same time, even with the "pinned, randomize" option of the module?


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/26811.

avatar SharkyKZ
SharkyKZ - comment - 25 Oct 2019

That is correct. Set "Count" option to 1 if you want to display one banner at a time.

avatar 1apweb
1apweb - comment - 25 Oct 2019

Oh sorry, the test is now ok. Thank you


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/26811.

7bf4db9 25 Oct 2019 avatar SharkyKZ CS
avatar 1apweb 1apweb - test_item - 25 Oct 2019 - Tested successfully
avatar 1apweb
1apweb - comment - 25 Oct 2019

I have tested this item successfully on 7bf4db9


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/26811.

avatar 1apweb
1apweb - comment - 25 Oct 2019

Nice


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/26811.

avatar waader waader - test_item - 25 Oct 2019 - Tested successfully
avatar waader
waader - comment - 25 Oct 2019

I have tested this item successfully on 7bf4db9


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/26811.

avatar Quy Quy - change - 25 Oct 2019
Status Pending Ready to Commit
avatar Quy
Quy - comment - 25 Oct 2019

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/26811.

avatar wilsonge wilsonge - change - 25 Oct 2019
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2019-10-25 22:05:00
Closed_By wilsonge
Labels Added: ?
avatar wilsonge
wilsonge - comment - 25 Oct 2019

Thanks!

Add a Comment

Login with GitHub to post a comment