ATutor

Learning Management Tools







Pages:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


Remove register


  • 2008-03-30 22:22:04

    Remove register

    I installed atutor 1.6 for e-learning. Because I would like to make the system private, I would like to remove "register" tab from login tab and no "register" column on login Page.

    Please give the answer by step.

  • 2008-03-31 08:55:25

    Re: Remove

    Remove registration.php from the following line in

    /include/lib/menu_pages.php



    [php]

    $_pages[AT_NAV_PUBLIC] = array_merge(array('login.php', 'registration.php', 'browse.php'), (isset($_pages[AT_NAV_PUBLIC]) ? $_pages[AT_NAV_PUBLIC] : array()));

    [/php]

  • 2008-03-31 12:01:24

    Re: Remove

    Greg
    Do you try to remove this code?
    What is the result?

  • 2008-03-31 12:11:26

    Re: Remove

    The result is what you asked for. ?? to remove the register link.

    Please try yourself.

  • 2008-03-31 23:20:05

    Re: Remove

    The result is what you asked for. ?? to remove the register link

    Remove Register Link and the information about register

  • 2008-04-01 23:08:13

    Re: Remove

    I will try yourself

    If I have further problem

    I will ask you

  • 2008-04-03 02:12:14

    Remove Register Further Question

    I want to remove "X" selection as the image

    http://uploadfx.com/imagebox_1207203049_r22.jpg

  • 2008-04-03 09:09:35

    Re: Remove Register Further Question

    To remove the tab at the top, edit

    /include/lib/menu_pages.php (as described above)

    to remove the New User box, edit

    themes/default/login.tmpl.php

  • 2008-04-05 12:17:43

    Re: Remove Register Further Question

    to remove the New User box, edit

    themes/default/login.tmpl.php

    how to edit

    which code will need to delete

  • 2008-04-05 12:41:03

    Remove Register Further Question

    How to make the code error disappear when I have delete all code about Register

  • 2008-04-07 09:19:11

    Re: Remove Register Further Question

    If you have broken the file, replace it with a fresh copy, and try again.

    See the repository to find a fresh copy.

    http://atutorsvn.atrc.utoronto.ca/repos/atutor/tags/atutor_1_6/

  • 2008-04-07 09:24:53

    Re: Remove Register Further Question

    Is all coding is removed register

  • 2008-04-17 03:26:28

    Re: Remove Register Further Question

    themes/default/login.tmpl.php is OK
    However, I have updated /include/lib/menu_pages.php, but have warning below
    "Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\ATutor\include\lib\menu_pages.php on line 278"

    I don't see the warning at the index page. How to configure

  • 2008-04-17 08:25:46

    Re: Remove Register Further Question

    I'm not sure what you have done. Removing the registration link is simply a matter of removing 'registration.php'(including the quotes and the comma) from the specified line. If you are seeing error messages, then you've done something wrong.
    If you are unable to correct the problem, then get a fresh copy of the file, and replace the modified one.


    We will guide you on what and where you can make changes, but if you wish us to make the changes for you, then we have to charge a fee for that. Free help you receive is not free for us.

  • 2008-04-18 04:08:59

    Re: Remove Register Further Question

    only remove 'registration.php'(including the quotes and the comma

    <?php
    like

    $_pages[AT_NAV_PUBLIC] = array_merge(array('login.php','browse.php'), (isset($_pages[AT_NAV_PUBLIC]) ? $_pages[AT_NAV_PUBLIC] : array()));
    ?>

  • 2008-04-18 09:17:15

    Re: Remove Register Further Question

    It seems correct. What program are you using to edit the file? It needs to be a plain text editor, with option to set end of line characters as Unix end of lines. Otherwise in some cases, windows editors will insert invisiable characters that break php scripts. See the editors preference settings.


    [php]

    $_pages[AT_NAV_PUBLIC] = array_merge(array('login.php', 'browse.php'), (isset($_pages[AT_NAV_PUBLIC]) ? $_pages[AT_NAV_PUBLIC] : array()));

    [/php]

  • 2008-04-18 09:19:31

    Re: Remove Register Further Question

    notepad (Windows)

    I will recover the old one

  • 2008-04-18 09:57:01

    Re: Remove Register Further Question

    Notepad is the problem. Use a different plain text editor, but not WordPad.

  • 2008-04-18 09:57:52

    Re: Remove Register Further Question

    Dreamweaver is OK??

  • 2008-04-18 10:03:01

    Re: Remove Register Further Question

    No. It has to be a plain text editor, or a programmer's editor.

    We use EditPlus. I believe there is a trial version, but it requires purchasing a license. You may be able to find other shareware/freeware editors.

  • 2008-04-18 10:04:04

    Re: Remove Register Further Question

    EditPlus OK I will try../

  • 2008-04-21 00:09:19

    Remove Register Question

    The result is good
    Howerver, I need to remove

    http://uploadfx.com/pics/6a8d6ba17059498ee8579baf9b67f934.png

    How to remove

  • 2008-04-21 08:21:49

    Re: Remove Register Question

    edit at about line 275 in

    themes/default/include/header.inc.php

  • 2008-04-22 04:03:50

    Re: Remove Register Question

    OK If I have any problem, will post here

  • 2008-05-08 01:51:52

    Re: Remove Register Question

    I can not find "themes/default/include/header.inc.php"

    how to edit

  • 2008-05-08 08:38:25

    Re: Remove Register Question

    Look a little harder.

    It is in your ATutor installation in the themes directory.