I want to hide the link 'do you want to register?' in the FAQ entry page. I intend to wrap it in HTML comments (and rename register.tpl), but I cannot find the place. It does not seem to be in index.tpl. Can you point to it? Or do you have a better way to do it?
Background is that we do not use the FAQ interactively (we have also a Forums, a support ticket system and a CRM system, so that is enough!). But since upgrade to 2.6 we get requests for user registration every day and we will have to mail the person that the request will not be approved and (s)he should use our Forums to interact with us instead.
FAQ visitors will still be able to comment, propose new FAQs and translations. That we do not change.
disable registration
Moderator: Thorsten
Re: disable registration
Hi,
you can remove the template variable
in the file template/default/loginbox.tpl
bye
Thorsten
you can remove the template variable
Code: Select all
{msgRegisterUser}
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: disable registration
worked like a charm! thanks!
Re: disable registration
I'm updated to version 2.9.11 and want disable "Registration" as described.Thorsten wrote: ↑Tue Oct 19, 2010 7:27 pm you can remove the template variablein the file template/default/loginbox.tplCode: Select all
{msgRegisterUser}
Is that still valid? I tried, but it seems not to work (File: template/default/loginbox.tpl).
Re: disable registration
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: disable registration
I modified index.tpl
But visitors can still register here:
http://www.myfaqsomewere.com?action=login
How disable there?
I tried on file
--> Removed {msgRegisterUser}
But resister-link still visible.
But visitors can still register here:
http://www.myfaqsomewere.com?action=login
How disable there?
I tried on file
Code: Select all
..../template/loginbox.tpl
But resister-link still visible.