News:

Wondering if this will always be free?  See why free is better.

Main Menu

How to remove link from original poster

Started by earth2jay, August 21, 2014, 02:31:52 PM

Previous topic - Next topic

earth2jay

Hi, when I start a new topic it says "started by Admin" and Admin is a hyper link.  Is there a way to remove the link?  thanks

kat

Quote from: earth2jay on August 21, 2014, 02:31:52 PMit says "started by Admin" and Admin is a hyper link.

Where do you mean?

In BoardIndex.template.php there're a few instances of something like this:

$txt['by'], ' ', $post['poster']['link']

If you remove the ['link'] part...

Keep a copy of the original file, as a backup, woncha? I just kinda plucked that out of the ether. ;)

Sir Osis of Liver

Probably means on message index.

Do you want to remove all author links or just admin?
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters


earth2jay

All author links.  It's just distracting for users and not necessary for this particular forum.  thanks

Sir Osis of Liver

MessageIndex.template.php

Find this -



<p>', $txt['started_by'], ' ', $topic['first_post']['member']['link'], '



Change to this -



<p>', $txt['started_by'], ' ', $topic['first_post']['member']['name'], '



Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Advertisement: