Remove Cancel Link On Member Page

Discussion in 'Customization & add-ons' started by ultimate, Jul 1, 2008.

  1. ultimate

    ultimate New Member

    Joined:
    Nov 5, 2007
    Messages:
    18
    There's a good way to cut down the number of people canceling the membership program..... just remove the cancel link on the members' page.

    Where do I edit? members.php or templates/member.html? & how do I do that? (I have limited html & php knowledge.)
  2. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    Its in amember/templates/member.html


    David
  3. ultimate

    ultimate New Member

    Joined:
    Nov 5, 2007
    Messages:
    18
    Thanks so much.
  4. bthecheat

    bthecheat New Member

    Joined:
    Apr 23, 2009
    Messages:
    21
    i get an error when trying to take it out
  5. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    @bthecheat: what specifically did you remove and what is the error that you receive?
  6. bthecheat

    bthecheat New Member

    Joined:
    Apr 23, 2009
    Messages:
    21
    ERROR [256] Smarty error: [in member.html line 77]: syntax error: unrecognized tag: if="" $unsubscribed (Smarty_Compiler.class.php, line 403) in line 1102 of file /home/mmomimic/public_html/amember/smarty/Smarty.class.php

    i just highlight and take out the #_TPL_MEMBER_CANCELLED#
    {elseif $p.cancel_url}
    #_TPL_MEMBER_CANCEL# {/if}
  7. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    need to keep the closing {/if} tag in the code.
  8. austinsams

    austinsams New Member

    Joined:
    Sep 17, 2009
    Messages:
    5
    What about the "cancel notifications"? Do those still go out if a user calls in and the admin cancels their account through the admin CP?
  9. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Yes these notifications still will be sent.

Share This Page