View Single Post
  #6  
Old 11 Mar 2016, 18:45
Dr.CustUmz's Avatar
Dr.CustUmz Dr.CustUmz is offline
 
Join Date: Aug 2013
Real name: Ryan
the goal is to remove the insert that showthread.php adds through a plugin

this is the query in showthread.php

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

i can make it do what i want by editing the showthread.php using if conditions, but im trying make it so there are no file edits.

so i have my plugin set to

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

this is saying if thread viewer is thread starter remove the view that the showthread query added.

BUT

if the thread has no views in the time the cron keeps them in the threadviews table (before placing them in thread table >views column) on the hour for most forums. it will add a view to the threadviews table even if it is thread starter viewing.
__________________
If you need custom work done please use Dirt RIF CustUmz
Owner of vBTeam
vBulletin 3.8.14 DRC Edition PHP 7.4 Compatible- NOT a null, NOT complete files Requires a legit copy of vBulletin 3.8.11.
Reply With Quote