I'll check your changes for (2), but for issue (1), are you sure you have made the changes suggested in functions_showthread.php?
If you have, then the parameter $pnotes should have a value only if $showviewwarnlink is set to 1. The $showviewwarnlink parameter is set to one only for admins or for admins/smods/mods depending on the usage of the hierarchical schema or not.
It should not be necessary to use the code below:
Code:
<if condition="$bbuserinfo[usergroupid] == 7 || $bbuserinfo[usergroupid] == 6 || $bbuserinfo[usergroupid] == 5">
which is actually wrong, since in the latest versions of AWS, the Admins/Smods/Mods groups are defined in the program, so you can have custom admin groups or smod or mod groups.
Check your edits in functions_showthread.php, that's where the check is made. Also check that you have defined your Warning Options about which are your admin, mod, smod groups.