MyBB Community Forums

Full Version: how to link forum/category to external url
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
i want http://dealskhoj.in/forums/forum-15.html to point to http://dealskhoj.in/coupons - cant find option to define external url in the admin CP
It's in the forum settings, Forum Link should be it.
(2013-03-09, 04:24 AM)Lith Wrote: [ -> ]It's in the forum settings, Forum Link should be it.

where? i cant find it
Same place where you'd configure your forums/categories.
(2013-03-09, 04:27 AM)Lith Wrote: [ -> ]Same place where you'd configure your forums/categories.

got it thanks!

one problem - this opens in same tab - how to make it open in new tab?
That's not possible without a plugin the way it has been set up. Users will just have to hold ctrl when they click to open in new tab.

If you wish to do it so much then I recommend installing template conditionals. Once you have done that follow these instructions.

Admin CP -> Templates & Style -> Templates -> *Theme* -> Forum Bit Templates
  • forumbit_depth1_cat
  • forumbit_depth1_cat_subforum
  • forumbit_depth2_cat
  • forumbit_depth2_forum
  • forumbit_depth3
For each of those templates:
Find
<a href="{$forum_url}">
Replace with
<if !$forum['linkto'] then><a href="{$forum_url}"><else><a href="{$forum_url}" target="_blank"></if>