Yesterday, I was able to fix another issue affecting UTStats v4.4.2 and possibly other versions. After adding or removing a player to/from your watchlist, you are presented with the following page:
The issue was that the player search presented on this page was not working. The search button would not respond to being pressed. Additionally, entering a name to search and pressing the Enter key did nothing. Thanks to bustacell for finding this issue and letting me know about it 👍️
After comparing the player search fields on other pages that were working to this one that was not, it was found that the following code was missing from this non-working search:
<form name="playersearch" method="post" action="./?p=psearch">
So I changed lines 40 and 41 in pages/players_info.php from this:
echo '<div class="darksearch">Or search another player:<br>
<span><input type="text" class="search square" placeholder="Search player..." name="name"><input class="searchbutton" type="submit" value="Search"></span></div></div>';
To this: (with some rearrangement for improved readability)
echo '<form name="playersearch" method="post" action="./?p=psearch">
<div class="darksearch">Or search another player:<br>
<span>
<input type="text" class="search square" placeholder="Search player..." name="name">
<input class="searchbutton" type="submit" value="Search">
</span>
</div>
</div>';
Now the player search seems to work on that page. This wasn't the highest priority on the list of issues to fix but it seemed to be shallow enough to make me think it would be a quick fix which motivated me to work on it. 😅