Add ability to reset notices for guests, without recreating them from scratch

bzcomputers

Well-known member
Currently when resetting a notice it only gets reset for members. It would be nice to not have to completely recreate a notice from scratch for it to get reset for guests.

Add a new xf_notice column for update_number that incremental updates upon clicking "reset" for a notice. Then use a combination cookie id of notice_id-update_number when setting guest cookies. This should allow for an existing guest notice cookie to be invalidated without having to delete and completely recreate the notice each time you want to make a small notice change.

There are other ways to do it, this just seemed the simplest way without affecting the current member notice resetting that currently exists.
 
Upvote 5
What about a 'duplicate' option that gives you a choice to reset it for certain groups, all or none?
 
Back
Top Bottom