Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
7 + 7 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     

Re: Removing "Lost Your Password" Option
by jtapp on 2008/5/20 23:56:51

Thanks so much, John.
Re: Removing "Lost Your Password" Option
by Anonymous on 2008/5/20 20:09:20

Register.php is in your main XOOPS folder.

It won't make any difference other then renaming it will stop people accessing it; it will still work if you navigate to it, i.e. yoursite.com/register.php

Glad you're sorted out
Re: Removing "Lost Your Password" Option
by jtapp on 2008/5/20 19:31:38

so far so good.
I just don't know about #6 - where is register.php located?
Although, it seems to be working just fine w/o #6...
Thanks
Re: Removing "Lost Your Password" Option
by Anonymous on 2008/5/20 18:48:25

My thoughts are that you should, on your PC, edit this file:

xoops_root/modules/system/templates/blocks/system_block_login.html

Remove these three lines of code:
le="color: #000000"><?php <a href="<{$xoops_url}>/user.php#lost"><{$block.lang_lostpass}></a> <br /><br /> <a href="<{$xoops_url}>/register.php"><{$block.lang_registernow}></a>


Then, in this order:

1. Login to your website and set "Check templates for modifications?" to "Yes"
2. use your FTP client to rename the original template file to system_block_login.old
3. upload the newly modified system_block_login.html
4. go to your homepage and refresh it
5. set "Check templates for modifications?" to "No"
6. use your FTP client to rename register.php to register.old
7. set "Enable registrations" to "Yes"

If it were me I'd either replace the three lines of deleted code in system_block_login.html with some text saying who to contact for a registration or make a custom block saying the same thing.
Re: Removing "Lost Your Password" Option
by jtapp on 2008/5/20 18:32:49

Ok - Part of my problem was I edited the file called system_block_login.html in the xoops/modules/system/templates/blocks/ section AND I edited the same file in the /xoops/themes/phpkaox/modules/system/ section. I still can't figure out which one actually impacted me, but - I'm back in business.

I currently have check for changes to templates turned off and I have the allow new registration turned off. My version number is XOOPS 2.0.15.

Unless I hear otherwise, I'm now thinking the easiest way would be just to edit the message that says "Sorry, we are currently closed for new user registration" - my message would be something like Registration to this portal is reserved for blah, blah blah.. please click here to request a username and password (an email link) if you fit this criteria.

What are your thoughts?

Who's Online

170 user(s) are online (135 user(s) are browsing Support Forums)


Members: 0


Guests: 170


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits