so ive got my plugin at showthread_complete, its working pretty good =)
but im trying to add a query to it that reverses something done in showthread.php
This is the code straight from showthread.php
So I would think to reverse that my plugin would have to be
This doesnt give me an error, but it's not working, and threadviews table still continues to grow.
i have also tried
both resulting in database errors.
The goal:
if vb options are not set to update view counts immediately, each view is stored in the threadviews table. this happens with that first block of code from showthread.php
so when you view a thread that query runs, i want my query to just delete the row that first query added.
i have got this all worked out if admins update threads immediately, but i don't want to dictate their having to choose that option.
--------------- Added 10 Mar 2016 at 23:17 ---------------
this is working
is it proper?
No members have liked this post.