The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I want to allow new users on my site to register only via Facebook Connect, so I want to prevent the Register button from showing up anywhere. (I'm fine with the Log In tab, so users can log in that way, once they're registered.)
Starting with an otherwise unchanged Default Style, I've commented out the Register button in the "header" template like so: Code:
<!-- <vb:if condition="$show['registerbutton']"> <li><a href="register.php{vb:raw session.sessionurl_q}" rel="nofollow">{vb:rawphrase register}</a></li> </vb:if> --> When I Log Out, the Register button is gone, but when I refresh that page, or when I just come straight to the site, the Register button is back. It looks like there's a template other that the "header" template producing that initial home page, but that template isn't jumping out at me. If it's just a matter of editing some other template, please point me to that one. Thanks, Drew |
#2
|
||||
|
||||
![]()
Maybe this will help you instead of going through and editing all the templates.
http://www.vbulletin.com/forum/showt...cebook-connect |
#3
|
|||
|
|||
![]()
Yep, that appears to work perfectly.
|
#4
|
|||
|
|||
![]() Quote:
![]() 2. would you know what template exactly they refer too? when I go to admin- styles & templates - search in templates I dont know which one to edit? Thanks ![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|