Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome, Guest. Please login or register.
Did you miss your activation email?

October 04, 2022, 10:33:50 AM

Login with username, password and session length
Members
  • Total Members: 3848
  • Latest: rrolle
Stats
  • Total Posts: 193513
  • Total Topics: 21092
  • Online today: 58
  • Online ever: 3540
  • (September 02, 2022, 06:38:54 PM)
Users Online
Users: 0
Guests: 54
Total: 54

Author Topic: # of comments | write a comment for Articles  (Read 2307 times)

0 Members and 1 Guest are viewing this topic.

Offline Tziena

  • Jr. Member
  • **
  • Posts: 6
# of comments | write a comment for Articles
« on: August 11, 2010, 03:36:59 PM »
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.

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!

Offline IchBin

  • Friends
  • *
  • Posts: 16231
Re: # of comments | write a comment for Articles
« Reply #1 on: August 11, 2010, 03: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.

Offline Tziena

  • Jr. Member
  • **
  • Posts: 6
Re: # of comments | write a comment for Articles
« Reply #2 on: August 11, 2010, 04:00:42 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.