Support Forum

Automatic topics from posts – how to avoid repeated links in forum posts

BO Boki
Boki
Member

I turned on option to have links to forum at the beginning of posts (Blog Post Linking). When I create topics automaticlly  there is also a link at the beginning of every forum post. How to avoid that?

Example

http://nagradnaigra.com.hr/forum/komentari-nagradnih-igara-objavljenih-na-nasoj-stranici/muller-slavi-60-rodendan-osvoji-vw-golf-comfortline-i-druge-nagrade/

Repeated text:
“Pridružite se u komentiranju nagradne igre na forumu”

In fact I don’t want that text in forum.

Tnx for help

6 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

SP is template driven so you can remove any items you want from the templates. In this case you need to edit the template spTopicView.php which is in the /templates folder of the SP theme you are using. You an use the Sp supplied Theme editor for this.

Find the line of code in the top display section that runs this function. It will probably look like this:

if (function_exists('sp_TopicHeaderShowBlogLink')) sp_TopicHeaderShowBlogLink('', __sp('Read the original blog post'), __sp('Click to goto original blog post'));

and either comment it out or remove it.

As always we recommend that you create your own SP theme so that any customisation is not lost during a future update. (http://codex.simple-press.com/codex/themes/theme-basics/creating-a-theme/)

 

 

BO Boki
Boki
Member

Tried now but it is not working. I deleted part you said but link is still there. Made even test forum post.

YS Yellow Swordfish
Yellow Swordfish
Member

Well are we talking about the same thing? The link in the forum topic back to the blog post? If not then you need to give me more of an explanation of what you are referring to…

BO Boki
Boki
Member

I found it is option “Show post/forum link on single pages only”.

Sorry and tnx.