MyBB Hacks

Full Version: [Unsolved]Forum link to a new post[Unsolved]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
so - what you want (I think) is a link to a forum that when you open it you see

A rules post. Which looks like an announcement but is really a thread (and this is the first post in the thread) and users can reply to just that thread.

Regarding the link on YouTube - sorry, but I hate video tutorials, especially ones as slow as that. I cannot bear to watch it.
Quote:so - what you want (I think) is a link to a forum that when you open it you see A rules post. Which looks like an announcement but is really a thread (and this is the first post in the thread) and users can reply to just that thread.
Exactly... and it's not possible right ?


Quote:Regarding the link on YouTube - sorry, but I hate video tutorials, especially ones as slow as that. I cannot bear to watch it.
Tongue
Well, it is not that is is not possible (I think) - it is just that there is no point as far as I can see. You can make a thread - and have a direct link from the Navigation bar - or from the forum using the redirect. You can add a conditional to the template for that forum and just make the breadcrumb jump you back to where ever you like.

if you work through the examples on this board then you will understand how the templates are set up.
OK...I'll figure it out... Thanks
(02-26-2012 12:35 AM)Saman Wrote: [ -> ]I just need to know HOW ? I didn't get any answer regardin this HOW...

HTML Code
<if THIS_SCRIPT == 'showthread.php' && $mybb->input['tid'] == {PUT YOUR THREAD ID HERE} then>
Your custom navigation
<else>
{$nav}
</if>

You'll need to tweak it.

I've never done this before...Frown
Where would I put this code ?
Where would I find my thread ID?
And also my custom navigation.
You need the Template Conditionals plugin or the PHP In Tempaltes one, that code you need to use it in your nav template.
Thx Sama... I'll give it a try.
I couldn't figure it out...
First I downloaded the plugin here (created by Zinga)
installed it but nothin showed up...

And then I have a conditional that I dunno where to put in...

PHP Code:
<if THIS_SCRIPT == 'showthread.php' && $mybb->input['tid'] == {PUT YOUR THREAD ID HERE} then>
Your custom navigation
<else>
{$nav}
</if>


Great...

(02-28-2012 12:04 PM)Sama34 Wrote: [ -> ]that code you need to use it in your nav template.
Pages: 1 2 3
Reference URL's