MyBB Community Forums

Full Version: Redirect Link
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello!

I am trying to find a way to create a redirect link within the forums. I created a "Category" that has a link, and even though there are no forums under it, it shows up as if there should be. Is there a way to create a simple redirect link using a category or does it need to be a "forum" with a redirect link?
I think it can be done with template conditionals.

<if $forum['fid'] = X then>something<else>something</if>


<div><strong><if $forum['fid'] = X then>MY URL<else><a href="{$forum_url}">{$forum['name']}</a></if></strong><br /><div class="smalltext">{$forum['description']}</div></div>

Replace X with forum fid

forumbit_depth1_cat template!