[Unsolved]Forum link to a new post[Unsolved]
leefish Offline
Hamster
*****
Posts: 1,009
Joined: Apr 2010
Post: #11
RE: Forum link to a new post
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.


[Image: leelink.gif]
MYBB1.6 & XThreads
02-26-2012 01:41 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Saman Offline
Junior Member
**
Posts: 27
Joined: Feb 2012
Post: #12
RE: Forum link to a new post
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
02-26-2012 02:20 AM
Find all posts by this user Quote this message in a reply
leefish Offline
Hamster
*****
Posts: 1,009
Joined: Apr 2010
Post: #13
RE: Forum link to a new post
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.


[Image: leelink.gif]
MYBB1.6 & XThreads
02-26-2012 04:14 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Saman Offline
Junior Member
**
Posts: 27
Joined: Feb 2012
Post: #14
RE: Forum link to a new post
OK...I'll figure it out... Thanks
02-26-2012 05:46 AM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #15
RE: Forum link to a new post
(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.


My Blog
02-26-2012 08:59 AM
Find all posts by this user Quote this message in a reply
Saman Offline
Junior Member
**
Posts: 27
Joined: Feb 2012
Post: #16
RE: Forum link to a new post
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.
(This post was last modified: 02-27-2012 12:56 AM by Saman.)
02-27-2012 12:55 AM
Find all posts by this user Quote this message in a reply
Sama34 Offline
Senior Member
****
Posts: 490
Joined: May 2011
Post: #17
RE: Forum link to a new post
You need the Template Conditionals plugin or the PHP In Tempaltes one, that code you need to use it in your nav template.

Support PM's will be ignored. Yipi
Plugins: Announcement Bars - Custom Reputation - Mark PM As Unread
02-28-2012 12:04 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Saman Offline
Junior Member
**
Posts: 27
Joined: Feb 2012
Post: #18
RE: Forum link to a new post
Thx Sama... I'll give it a try.
02-29-2012 01:33 AM
Find all posts by this user Quote this message in a reply
Saman Offline
Junior Member
**
Posts: 27
Joined: Feb 2012
Post: #19
RE: Forum link to a new post
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...

03-01-2012 12:34 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #20
RE: Forum link to a new post
(02-28-2012 12:04 PM)Sama34 Wrote:  that code you need to use it in your nav template.

My Blog
03-01-2012 04:52 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: