TinyPortal

Development => Support => Topic started by: prometheus fire on December 14, 2009, 11:16:07 PM

Title: How do I change this text?
Post by: prometheus fire on December 14, 2009, 11:16:07 PM
I want to figure out how to change the text that appears at the bottom of my articles that says commenting is turned off

"Commenting option has been turned off for this article"

It's great for when I actually do have it turned off, but most of the time it simply appears because a guest is not logged in or registered. I would love for it to say, "You must be logged in to leave a comment."

How/where do I customize this text?
Title: Re: How do I change this text?
Post by: Lesmond on December 14, 2009, 11:53:08 PM
prometheus fire, it would help if you told us what theme you are using, or you could Please read the Posting Guidelines (http://www.tinyportal.net/index.php?topic=581)

there may be a few places to find this ???
Title: Re: How do I change this text?
Post by: Lesmond on December 15, 2009, 06:26:37 PM
Quote from: ZarPrime
if you are using TP 1.0 beta 4 and either english or english-utf8, the places to change it should be this ...
\Themes\default\languages\TPortal.english-utf8.php (1 hits)
   Line 28: $txt['tp-cannotcomment'] = 'Commenting option has been turned off for this article.';
\Themes\default\languages\TPortal.english.php (1 hits)
   Line 28: $txt['tp-cannotcomment'] = 'Commenting option has been turned off for this article.';

Thanks ZP :up:
Title: Re: How do I change this text?
Post by: prometheus fire on December 21, 2009, 03:05:50 AM
Thanks Lesmond and ZP - that was the fix. Solved
Title: Re: How do I change this text?
Post by: Renegd98 on December 21, 2009, 01:32:06 PM
Marked solved