Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Add content to account.php

edited November 2006 in Vanilla 1.0 Help
I have been messing around with a few extensions in an effort to figure out a way to display information in the account page... to the right of the original information just as the ip map does and other extensions... does anyone know of a way this can be done right now I was trying an echo but thats about as much php as i know...

Comments

  • Options
    You have to subclass Control. Here's how. To add your control to the account page, you'll do something like this:
    if ($Context->SelfUrl == 'account.php' && ForceIncomingString('PostBackAction', '') == '') { $Page->AddRenderControl($Context->ObjectFactory->NewContextObject($Context, 'MyControlName'), $Configuration['CONTROL_POSITION_BODY_ITEM']); }(Substituting your Control subclass's name for 'MyControlName', of course).
This discussion has been closed.