![]() |
Moving 'largereplybutton' to navbar
Hello, I'm trying to modify my template to show the reply, closed and new thread buttons inside the navbar. I thought it was working ok, but today i closed a thread and realized the closed button isn't shown, instead, i have the reply button.
This is my navbar table, i want it to look alike webhostingtalk.com forums: Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> Thank you in advance :D |
You have inverted the code, as far as I can see..
Code:
<if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if> Code:
<if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /><else /><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /></if> |
Thanks for answering, that's exactly what I thought, so I tried changing that, but if I do it, then every post shows the 'closed thread' button.
This is the default code in showthread template: Code:
<if condition="$show['largereplybutton']"> |
Oh, it's right. Zorry.
Then you could try to check your images folder. Maybe you've inverted some buttons.. changing the name. |
Hmm... actually, every image seems to be ok, maybe there is a trick to move that button into the navbar, but haven't been able to make it work as i want. :(
|
Zorry but I can't help you, obmob.
|
Where is your forum? Maybe I can help if I see it.
|
Thanks triky.
Oh, thanks gotlinks, there are a couple. www.anizeen.com in english www.ositobarrigon.com in spanish |
Well what you need to do is somehow define the large reply button only if your viewing a thread, I am not sure how to do that exactly but thats how it should be done.
|
Yeah, i took the code from showthread, but it seems it only works inside that template. :(
|
I am trying to figure this same thing out, and am having the same exact problem.... Can anyone help here?
|
All times are GMT. The time now is 05:53 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|