Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
Automatic topics from posts - how to avoid repeated links in forum posts
Avatar
Boki
Member
Free Members
sp_UserOfflineSmall Offline
Jan 8, 2013 - 12:55 pm

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/for.....e-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

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 8, 2013 - 1:46 pm

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/.....g-a-theme/)

 

 

andy-signature.png
YELLOW
SWORDFISH
Avatar
Boki
Member
Free Members
sp_UserOfflineSmall Offline
Jan 8, 2013 - 3:05 pm

OK. Great. Tnx for quick replay.

Avatar
Boki
Member
Free Members
sp_UserOfflineSmall Offline
Jan 8, 2013 - 3:33 pm

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

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 8, 2013 - 3:51 pm

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...

andy-signature.png
YELLOW
SWORDFISH
Avatar
Boki
Member
Free Members
sp_UserOfflineSmall Offline
Jan 8, 2013 - 5:15 pm

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

Sorry and tnx.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 8, 2013 - 8:25 pm

cool.. thanks for the update...

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17363
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625