Disable Register Form.

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
blogger
Posts: 6
Joined: Wed Jun 01, 2011 2:09 pm

Disable Register Form.

Post by blogger »

Hi all,

i have follow question.

How I can DISABLE register Form in phpMyFAQ ?
Thorsten
Posts: 15792
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Disable Register Form.

Post by Thorsten »

Hi,

just remove the link in the index.tpl template.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
blogger
Posts: 6
Joined: Wed Jun 01, 2011 2:09 pm

Re: Disable Register Form.

Post by blogger »

Thorsten.

THX

I found this Threads here,

viewtopic.php?f=2&t=10730&p=31859&hilit ... ter#p31859

and remove all the Line

<label for="faqusername">{username}</label>
<input class="inputfield" type="text" name="faqusername" id="faqusername" size="20" /><br />

<label for="faqpassword">{password}</label>
<input class="inputfield" type="password" size="20" name="faqpassword" id="faqpassword" /><br />

and

{msgRegisterUser}

Work Fine.


Another question, is a way to integrate phpMyFAQ with phpBB3 ?
Thorsten
Posts: 15792
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Disable Register Form.

Post by Thorsten »

Hi,
blogger wrote:Another question, is a way to integrate phpMyFAQ with phpBB3 ?
no, sorry. But feel free to do it. :-)

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
uman
Posts: 7
Joined: Sat Jun 11, 2011 6:07 am

Re: Disable Register Form.

Post by uman »

Thorsten said:
...
and remove all the Line

'(1)<label for="faqusername">{username}</label>
<input class="inputfield" type="text" name="faqusername" id="faqusername" size="20" /><br />

(2) <label for="faqpassword">{password}</label>
<input class="inputfield" type="password" size="20" name="faqpassword" id="faqpassword" /><br />

and

{msgRegisterUser}

Work Fine.
...
If we do this..we lost the login box dialog and we get only the OK button.
=> So, we have only to put {msgRegisterUser} between tags like this:
<!--{msgRegisterUser}-->
=> if we want tu re-use the option, we only delete this tag <!-- and that one -->

:?:
uman
jason102178
Posts: 200
Joined: Tue Nov 02, 2010 9:08 am
Location: United States-Ohio
Contact:

Re: Disable Register Form.

Post by jason102178 »

all you have to do to disable registration is remove is remove the one piece of code located in template/default/loginbox.tpl

Code: Select all

{msgRegisterUser}
Leave these lines intact dont remove

'(1)<label for="faqusername">{username}</label>
<input class="inputfield" type="text" name="faqusername" id="faqusername" size="20" /><br />

(2) <label for="faqpassword">{password}</label>
<input class="inputfield" type="password" size="20" name="faqpassword" id="faqpassword" /><br />

and as for integrating phpmyfaq into phpbb you can do this on your own but at this time we do not offer support for this and we do not have any package that will integrate it with phpbb
phpMyFAQ Quality Assurance / Forum Moderator
Amazon.com Wishlist
Post Reply