Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Extending memberprofiles & showing information on other pages

Go to End



Community Member, 2 Posts

5 March 2014 at 9:45am

On my website I'm using both the forum module and memberprofiles. The two modules are working fine, I have the memberprofiles registration automatically adding people to Forum Members group so they are in sync.

Where I'm stuck is when a member uploads an avatar through the registration page it appears to get linked only with the forum. I need to know if I can get the avatar to use on other pages (for example to put beside an authors name on a blog post)?

Ontop of this I also want to add a text area for members to write a small "about me" description, which hopefully can also be pulled out and used on blog posts. To just test how to do it I've tried creating a DataExtension to add a phone number field like this:

class MemberExtension extends DataExtension {

  private static $db = array(
    'PhoneNumber' => 'Text'

  public function updateMemberFormFields(FieldList $fields) {
    $fields->push(new TextField('PhoneNumber', 'Phone number'));


And then putting this in config.yml:

    - MemberExtension

With a dev/build this shows the phone number being added to the db, but it then gets a server error a little further on...

I'm working on Silverstripe 3.1. Any help/ideas would be greatly appreciated.