Author Topic: Simple login page  (Read 5127 times)

Offline gaz_az

  • Decent Indexer
  • ***
  • Posts: 63
  • Helpful: +1/-0
Simple login page
« on: 2014-07-07, 01:57:07 AM »
I made a very plain login page with a central logo, and a few links to login/register & recover password. Thought it was simple and keeps the riffraff out of the main site.


Firstly make backups of the files that are being replaced so you can revert back if you don't like it!

Edit the index.htm page with your site details , and copy it to   /www

Upload nzedblogo.png to /www/themes_shared/images   , you can use your own image which you will need to rename.

Upload the .tpl files to the frontend folder of your theme. I'm using alpha theme.

Upload the .php files to /www/pages  ,and overwrite the originals.

Open Admin Panel/Edit-site and change Default Home Page: to    /index.php


Thats it really !


***UPDATED FILES ADDED TO LATER POST***

« Last Edit: 2015-07-19, 12:48:28 PM by gaz_az »

Offline BeZazz

  • Prolific Indexer
  • ****
  • Posts: 256
  • Helpful: +9/-2
    • BeZazz
Re: Simple login page
« Reply #1 on: 2014-07-07, 11:45:52 AM »
Good idea :)

Offline gaz_az

  • Decent Indexer
  • ***
  • Posts: 63
  • Helpful: +1/-0
Re: Simple login page
« Reply #2 on: 2014-07-09, 09:18:53 AM »
Updated files for the most recent DEV release which is what I am using. I am sure the php files could be easily edited if anyone is on master.
« Last Edit: 2015-07-19, 12:46:51 PM by gaz_az »

Offline gaz_az

  • Decent Indexer
  • ***
  • Posts: 63
  • Helpful: +1/-0
Re: Simple login page
« Reply #3 on: 2014-08-19, 07:13:36 AM »
updated files for the most recent dev release (19/08/14)

« Last Edit: 2015-07-19, 12:43:55 PM by gaz_az »

Offline mordor

  • Prolific Indexer
  • ****
  • Posts: 153
  • Helpful: +7/-0
    • autonzb
Re: Simple login page
« Reply #4 on: 2014-08-29, 06:57:48 AM »
Nice addon!

Offline archer

  • Overlord
  • ******
  • Posts: 24
  • Helpful: +5/-0
Re: Simple login page
« Reply #5 on: 2014-12-14, 04:22:56 AM »
gaz_az could you prepare a diff or PR for this mod, so I can more easily try importing it into dev?
Support my tech addiction.

Offline Moulders

  • Newbie
  • *
  • Posts: 1
  • Helpful: +0/-0
    • eMould
Re: Simple login page
« Reply #6 on: 2015-06-17, 06:37:48 AM »
I love this idea it doesn't seem to work with the newest version though, any tips on for a beginner on any easy way to get this setup>?

Offline gaz_az

  • Decent Indexer
  • ***
  • Posts: 63
  • Helpful: +1/-0
Re: Simple login page
« Reply #7 on: 2015-07-19, 12:46:28 PM »
Haven't had a site running for a while now, but did a new install a few days ago. I have updated my login pages to work with the most recent DEV version (19-7-2015). I have only tested it with alpha theme, but it may work with others with/without modification.
Code: [Select]
Installation instructions for Ubuntu 14.04/standard nZEDb install directories/nZEDb dev 2015-07-18



1) make backup of content.tpl from

/var/www/nZEDb/www/themes/alpha/templates/frontend


2) copy and overwrite alpha frontend mods (access.tpl & content.tpl) to

/var/www/nZEDb/www/themes/alpha/templates/frontend


3) make backup of login.php from

/var/www/nZEDb/www/pages


4) copy and overwrite login.php from zip file to

/var/www/nZEDb/www/pages


5) Edit index.htm to include your own web address details +/- your own logo details


6) copy your edited index.htm to

/var/www/nZEDb/www


7) copy nzedblogo (or your own logo) to

/var/www/nZEDb/www/themes_shared/images


8) edit your site settings (Admin panel/Site Settings/Edit site), and set default home page to

/index.php



Offline gaz_az

  • Decent Indexer
  • ***
  • Posts: 63
  • Helpful: +1/-0
Re: Simple login page
« Reply #8 on: 2015-07-19, 12:51:13 PM »
gaz_az could you prepare a diff or PR for this mod, so I can more easily try importing it into dev?


Sorry - I'm a real beginner, and don't really know how to do this !