Author Topic: Can I do remove the login form?  (Read 6966 times)

0 Members and 1 Guest are viewing this topic.

Offline jimotman

  • Pre-Newbie
  • Posts: 7
    • View Profile
Can I do remove the login form?
« on: March 29, 2006, 07:44:41 PM »
hi all.. can I remove the login form and the link to register in 4images? So that no one can register and no one can login. I want to use this gallery for my own pictures. Thanks

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: Can I do remove the login form?
« Reply #1 on: March 29, 2006, 07:50:34 PM »
... you can ...  :wink:
... delete all content in /templates/<your_template>/user_loginform.html and user_logininfo.html .
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline jimotman

  • Pre-Newbie
  • Posts: 7
    • View Profile
Re: Can I do remove the login form?
« Reply #2 on: March 29, 2006, 07:53:11 PM »
thanks mawenzi, but it gives this error after I deleted the files:

Template Error: Couldn't open Template ./templates/default/user_loginform.html

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: Can I do remove the login form?
« Reply #3 on: March 29, 2006, 07:58:38 PM »
... but I did not said delete the files ...  :!:
... I said ...  delete the content of these files ...  8)
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline jimotman

  • Pre-Newbie
  • Posts: 7
    • View Profile
Re: Can I do remove the login form?
« Reply #4 on: March 29, 2006, 08:09:09 PM »
OK it works..  :D but still a problem.. the title "Registered users" above the login form still exists.. how to remove it? thank you very much

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: Can I do remove the login form?
« Reply #5 on: March 29, 2006, 08:27:14 PM »
... then you must delete in all main templates (templates with {header} and {footer} ) the following code ...
Code: [Select]
<table width="150" border="0" cellspacing="0" cellpadding="0">
     <tr>
            <td class="head2" height="20"><img src="{template_url}/images/spacer.gif" alt="" width="4" height="4" />{lang_registered_user}</td>
                    </tr>
                    <tr>
                      <td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
                    </tr>
                    <tr>
                      <td align="center" class="row1">{user_box}</td>
                    </tr>
                    <tr>
              <td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
      </tr>
</table>
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline jimotman

  • Pre-Newbie
  • Posts: 7
    • View Profile
Re: Can I do remove the login form?
« Reply #6 on: March 29, 2006, 08:39:46 PM »
thank you very much mawenzi..  :lol: it works now!! you're great! thanks again

Offline nimd4

  • Pre-Newbie
  • Posts: 1
    • View Profile
Re: Can I do remove the login form?
« Reply #7 on: September 24, 2006, 11:21:19 PM »
Would it not be a little simpler to include an option in the future to disable new registrations :wink: :P Thanks 4 this software guys, you're great! :mrgreen:


then you must delete in all main templates (templates with {header} and {footer} ) the following code

Yeah, also removes controls for the admin; so only upload is possible through admin panel :/ Ah well ... not so great :P :mrgreen:
« Last Edit: September 24, 2006, 11:38:34 PM by nimd4 »