XF 2.2 Change default Alert User ID

tomnjerry74

Member
For anonymous or "default" alerts, data-user-id="0". Is there somewhere in the templates I can change the default ID to something other than 0? Or does it involve changing an actual php file?
 
Do you intend to just change out that data-user-id property on the element for some other value or do you want to actually change the user that the alert is coming from?
 
Do you intend to just change out that data-user-id property on the element for some other value or do you want to actually change the user that the alert is coming from?

Thanks for the reply. The goal was to make all the anonymous alerts actually come from a real user (that I set up as a 'bot'). For some reason I assumed it would be as simple as changing an ID somewhere from 0 to whatever the bot's is but I should have explained it better.
 
Top Bottom