Thread subject: pHpFusion Nederlands (BE|NL) » Ondersteuning, Themas, Infusies, Modificaties en Installatie :: Forum text admin bezoeken bij

Posted by rcmarc on 21 september 2014, 09:18
#4

Gevonden, bestand viewthreat.php aanpassen.

De regel "
Code

dbquery("UPDATE ".DB_THREADS." SET thread_postcount='$rows', thread_lastpostid='$last_post', thread_views=thread_views+1 WHERE thread_id='".$_GET['thread_id']."'");"


aanpassen naar:
Code

if (!iMOD OR !iADMIN OR !iSADMIN)
    {
      dbquery("UPDATE ".DB_THREADS." SET thread_postcount='$rows', thread_lastpostid='$last_post', thread_views=thread_views+1 WHERE thread_id='".$_GET['thread_id']."'");
    }