PDA

View Full Version : No registration link


Chris11987
10-03-2008, 09:18 AM
It has only recently come to my attention that if a member is not logged into my forums, there is no registration link in the navbar at all. I looked through the template and can't find anything wrong that would cause that.

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

Could there be a problem with whatever sets the "if" conditions, that's causing it not to show? Or does it detect that if a member just logged out of another username, it won't show it because I probably have some setting on to prevent multiple username sign ups or somehting?

Lynne
10-03-2008, 02:32 PM
Is your navbar a default navbar template or have you modified it? If it's modified, maybe when you did so, you put that register condition inside another condition that is causing it to not show up.

Also, make sure Registration is turned on for your board. (vboptions > user regitration options > allow new user registrations)

Chris11987
10-03-2008, 03:08 PM
Yes, registrations are still allowed, as new users have still be registering everyday. And Yes again, I have modified my navbar, but all of the additions I've made to it are actual links that have no conditions set for them. I'll take a look at it again later and see if any of the conditions are wrong.

Lynne
10-03-2008, 04:30 PM
I'm not sure I understand something then. You said if someone isn't logged in (so an unregistered user, or a guest), then they don't see the registration link. However, you then said you are getting registered users everyday. So, it sounds like they can see the registration link.