Help with making anonymous posting plugin better
#11
hi Omar I noticed if i edited any post in the thread after editing, lastposter and lastposteruid field from mybb_threads table will be updated as well
this is a problem to me b/c if the last post was made with anonymous option it'll get updated to the real user and userid
do you know how i can hook this and prevent this from happening?
Reply
#12
For the index you need to hook to build_forumbits_forum, for the forum thread list you need to hook to forumdisplay_thread_end, and different hooks for the search areas, as well as some other for areas where a thread list might be built, for example in the subscription listing.
Soporte en Español

[Image: signature.png]

Discord at omar.gonzalez (Omar G.#6117); Telegram at @omarugc;
Reply
#13
(2020-05-25, 05:02 AM)Omar G. Wrote: For the index you need to hook to build_forumbits_forum, for the forum thread list you need to hook to forumdisplay_thread_end, and different hooks for the search areas, as well as some other for areas where a thread list might be built, for example in the subscription listing.

thank you for your help
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)