TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,026
  • Total Topics: 21,333
  • Online today: 396
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 259
  • Total: 259

New TP version 1.1 and guest comments

Started by wildenborch, September 14, 2015, 02:11:05 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

IchBin

This part of the code is not right.
$comment['posterID'] == $context['user']['id']['is_logged'])

That is comparing the poserID to a boolean if the user is logged in or not. Illori shows the correct code. :)

lurkalot

Quote from: IchBin™ on September 17, 2015, 06:22:34 PM
This part of the code is not right.
$comment['posterID'] == $context['user']['id']['is_logged'])

That is comparing the poserID to a boolean if the user is logged in or not. Illori shows the correct code. :)

Thanks Brad. I asked before Illori posted the solution. Even so, it's good to see we're on the right track.  O0

This website is proudly hosted on Crocweb Cloud Website Hosting.