Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

Forgot Password and Username in Build.r

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Hi,

I'm building a website where only clients can login with a pre-formatted username and password that is send to them by mail manually.

So, i want to remover the "Forgot Password" and "Forgot Username" options in the Main Menu of Build.r

I've selected all the plugins and Joomla options to "Registering not allowed", but still these options are remaining in the Menu.

Does anybody have a solution for this? How can i remove these options?
Thnx

Bert.
  • Bert's Avatar
  • Bert
  • 3 Month Basic
  • 15 posts
  • Karma: 0
The administrator has disabled public write access.
Hi Bert

Firstly make sure you have a working backup.

There are several ways to achieve this in Joomla, here one way using template overrides

www.ostraining.com/blog/joomla/remove-links-from-login/

Either remove or comment out the lines, just check you target the correct lines of code shown.

This will override the jb version in the template that actually references the file in the framework so would need to be replace again if you update the template.

That should give you starting point, and I'm sure the jb team can help further. Just remember to have a working backup in case things go astray.

Regards Ian
  • iafdesign's Avatar
  • iafdesign
  • LIfetime Developer - Big Bamboo
  • 393 posts
  • 153 Thanks
  • Karma: 58
The administrator has disabled public write access.
The following user(s) said Thank You: manh
Thanks Ian

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Thnx for your quick reply, but i'm a little bit confused.
The lines in the files you mentioned don't exist, instead the following lines appear:

<?php
/**
* @package Joomla.site
* @subpackage com_config
*
* @copyright Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

defined('_JEXEC') or die;

// Loads the default override for the Zen Grid Framework
$base = dirname(dirname(dirname(dirname(__FILE__))));
$override = preg_replace('/'.preg_quote($base, '/').'/', '', __FILE__, 1);
include($base.'/zengrid/'.$override);

Am i so wrong??
Bert
  • Bert's Avatar
  • Bert
  • 3 Month Basic
  • 15 posts
  • Karma: 0
The administrator has disabled public write access.
Hi

Nothing wrong as such, this file which is the generic JB override and just points to the zengrid framework stack which are also overrides, sorry I did not make that clear.

These overrides are in zengrid/html/....... within the template folder.

You can either copy from that location or from the core Joomla location for the file you want to override, then paste the content into the override file, and then modify as per the link.

Please make sure you have a backup in case something does not work out or I have not explained clearly to you. Alternatively the JB support guys may be able to explain better, please let us know.

Regards Ian
  • iafdesign's Avatar
  • iafdesign
  • LIfetime Developer - Big Bamboo
  • 393 posts
  • 153 Thanks
  • Karma: 58
The administrator has disabled public write access.
Thanks again Ian :)

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Great solution, works fine.

Many thanks Ian.

Regards,
Bert.
  • Bert's Avatar
  • Bert
  • 3 Month Basic
  • 15 posts
  • Karma: 0
The administrator has disabled public write access.
Thanks Bert

Best of luck with the site

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers