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

Recent

Welcome to TinyPortal. Please login or sign up.

April 18, 2024, 10:04:10 PM

Login with username, password and session length
Members
  • Total Members: 3,885
  • Latest: Growner
Stats
  • Total Posts: 195,164
  • Total Topics: 21,219
  • Online today: 203
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 1
  • Guests: 80
  • Total: 81
  • tino

# of comments | write a comment for Articles

Started by Tziena, August 11, 2010, 10:36:59 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Tziena

I mentioned this in the request area, but you may have a quick answer over here. I'm using SMF 2.0 RC3 and TinyPortal 1.0 beta 5.2.

Quote from: Tziena on August 05, 2010, 10:41:29 PM
I would think this already exists in some fashion, but I can't find it. I hate to double up on $requests to the dbase. Simply I'm looking for a "# comment | write a comment" script that I can plug into the article template so it appears on the front page with the article. Something like this image below.



I understand this works on posts from the forum, but I would like for it to work for articles, too. Thanks!

IchBin

There is no current way to do this sorry. Unless you know someone with the time and know how to code it up for you.

Tziena

Quote from: IchBin on August 11, 2010, 10:57:28 PM
There is no current way to do this sorry. Unless you know someone with the time and know how to code it up for you.

I could probably get the code written, I just didn't want to throw another $request to the server if the information was already nabbed. For example, from the article's page where it numbers the comments.