• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Add-on Thread changed to link

Junior

Well-known member
#1
I did a little bit of searching and was unable to find this addon.

I'd like to have an extra option inside threads that allows me to add a link for a thread. When someone clicks to view the thread it should instead send them to the link instead of displaying a post.

Some extra features I don't need but others may like would be the ability to control what usergroup can use the link thread option and the ability to have a thread open in the same window or target="blank".
 

Vincent

Well-known member
#2
Does this fix your problem?

In template template_list_item, change this line of code:
Code:
<a href="{xen:link "threads{xen:if '{$thread.isNew} AND {$thread.haveReadData}', '/unread'}", $thread}"
To this
Code:
<a href="{xen:link "threads", $thread}"
Now, when you click at an unread thread title, it will bring you to the first post, and not the first unread post :)
 
#5
Actually looking for something like this as well.

I'd like to be able to make a post in a forum like normal so that it shows the up as a latest post. But if you click on the link to the thread it will send you to another link that you put in.

Basically a checkbox to say this is a redirect thread and then an input are to give the URL to redirect to.