Log in

View Full Version : How Do I? (NavBar Related)


2fast4ya
07-10-2006, 04:42 PM
Ok, so wondering through my forums today, as a guest, I noticed I didn't see the Register Button. My Navbar is pretty much custom, so I'm sure I accidently messed it up somehow. So this is what I want to do. I know a little bit of coding, but nothing great. I want unregistered/not logged in users to see a link for Registration. Like this.
https://vborg.vbsupport.ru/external/2006/07/24.jpg
I know that you need like { } kinda stuff to turn that text to the right link, and I can get the link, but what exactly is the {} to type into make it a link?
Also as you can see where I want only guests to see a register button there. Can someone please help me? $10 to first person that can accuratly get this to work for me. Thanks

a simple fa?ade
07-10-2006, 05:11 PM
Insert the following anywhere you'd like to in your navbar:

<if condition="$show['registerbutton']">
<td class="vbmenu_control"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
</if>

2fast4ya
07-10-2006, 05:14 PM
and ONLY unregistered/not logged in users can see it? Also, If you want the full $10 whats the code to make the text into a link like in the pic?

Sweet That works excellent, Thank you Sir. If you can't get the text to links PM me your paypal and i'll zip $5 over for that code

Full $10 if you can get the text to links before someone else.

a simple fa?ade
07-10-2006, 05:18 PM
Er, sorry, misread your thing.

I'll look into making it appear like that on the forum tables.

2fast4ya
07-10-2006, 05:24 PM
no just the simple code to replace the phrase with. you know how you can do like $membername or something, well i need that code to make the "register" button into a link. should be something like {}. I'll try html but i don't think html works in phrases

Hey Never Mind HTML does work in there, Thread is closed for me, PM me your paypal and I'll take care of it. Thanks again for that code