Quote:
Originally Posted by Avalon111
i have just replaced the original code with the new one you posted.
the original code showed the "New Thread", the new one doesnt.
if i change this line in the new code from
Code:
<a href="newthread.php?$session[sessionurl]do=newthread&f=$forum[forumid]" rel="nofollow">$vbphrase[newthread]</a>
to
Code:
<a href="newthread.php?$session[sessionurl]do=newthread&f=$forum[forumid]" rel="nofollow">Start New Thread</a>
it works again.
$vbphrase[newthread] wrong??
|
Oops, that's the one. The phrase isn't wrong, but it's not a Global phrase so it only works on one of the forumbit types, if it's the top-level forumbit that shows on the index page it doesn't work. Just my luck to test it on the working one!
Well spotted, fixed thank you. Changed it back to ordinary text so it works on either forumbit.
Quote:
Originally Posted by Loco.M
OK, I just thought it was coincidence that it looks just like what Keith had sent me :P
I hadn't looked through the code, I just know it works..
BTW, what do u think about the RSS link thats in the code I posted  I know a lot of ppl like that part of it, you may consider adding it to yours
cheers
-Brandon
|
Yep, added it as an optional extra.
Quote:
Originally Posted by ForumDog
Update: Optional extras:
- Subscription code for each feed type, all conditionals so they'll only appear if you've turned that type on.
Code:
<if condition="$forum[statusicon]=='new' OR $forum[statusicon]=='old'">
<div class="smallfont">
<if condition="$forum[statusicon]=='new'"><a href="search.php?$session[sessionurl]do=getnew&include=f=$forum[forumid]">$vbphrase[new_posts_nav]</a> | </if>
<a href="newthread.php?$session[sessionurl]do=newthread&f=$forum[forumid]" rel="nofollow">New Thread</a>
<if condition="$show['searchbuttons']">| <a href="search.php?$session[sessionurl]f=$forum[forumid]" rel="nofollow">$vbphrase[search]</a></if>
<if condition="$vbulletin->options['externalrss']">| <a href="external.php?type=rss2&forumids=$forum[forumid]">RSS Feed</a></if>
<if condition="$vbulletin->options['externalxml']">| <a href="external.php?type=xml&forumids=$forum[forumid]">XML Feed</a></if>
<if condition="$vbulletin->options['externaljs']">| <a href="external.php?type=js&forumids=$forum[forumid]">JS Feed</a></if>
<if condition="$show['forumsubscription']">| <a href="subscription.php?$session[sessionurl]do=removesubscription&f=$forum[forumid]">$vbphrase[unsubscribe_from_this_forum]</a></if>
</if>
|