Hooks for loadMemberData and loadMemberContext

Dragooon

  • I can code! Really!
  • Talking Head
  • polygon.com has to be one of the best sites I've seen recently.
  • Posts: 1,723
Hooks for loadMemberData and loadMemberContext
« on May 29th, 2012, 10:17 AM »
It'd be great to have a hook for these 2 functions so that additional fields from member's table can be loaded which may be added by plugins. Even a basic hook would suffice.
The way it's meant to be

live627

  • Talking Head
  • Should five per cent appear too small / Be thankful I don't take it all / 'Cause I'm the taxman, yeah I'm the taxman
  • Posts: 1,412
Re: Hooks for loadMemberData and loadMemberContext
« Reply #1 on May 30th, 2012, 07:28 AM »
For reference, this is the topic I started http://wedge.org/code/6830/loadmemberdata-arrays/msg265467/#msg265467
Topic about converting those two and other related user loading functions to classes http://wedge.org/code/6411/user-class/

Arantor

  • With a Box
  • As long as the planets are turning, as long as the stars are burning, as long as your dreams are coming true...
  • Posts: 13,606
Re: Hooks for loadMemberData and loadMemberContext
« Reply #2 on May 30th, 2012, 04:22 PM »
*nods* Something needs to be done, guess I need to go read up about wesqlQuery and implementing it. Life is just 'complicated' right now :(
  When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest.


Dragooon

  • I can code! Really!
  • Talking Head
  • polygon.com has to be one of the best sites I've seen recently.
  • Posts: 1,723
Re: Hooks for loadMemberData and loadMemberContext
« Reply #3 on May 30th, 2012, 05:08 PM »
Quote from Arantor on May 30th, 2012, 04:22 PM
*nods* Something needs to be done, guess I need to go read up about wesqlQuery and implementing it. Life is just 'complicated' right now :(
No rush, but what's wesqlQuery?
The way it's meant to be

Arantor

  • With a Box
  • As long as the planets are turning, as long as the stars are burning, as long as your dreams are coming true...
  • Posts: 13,606
Re: Hooks for loadMemberData and loadMemberContext
« Reply #4 on May 30th, 2012, 05:43 PM »
Did you call it weQuery in the end? Anyway, it's the doohickey you wrote ;)
  When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest.


Dragooon

  • I can code! Really!
  • Talking Head
  • polygon.com has to be one of the best sites I've seen recently.
  • Posts: 1,723
Re: Hooks for loadMemberData and loadMemberContext
« Reply #5 on May 30th, 2012, 05:49 PM »
Quote from Arantor on May 30th, 2012, 05:43 PM
Did you call it weQuery in the end? Anyway, it's the doohickey you wrote ;)
Ohh....I had completely forgotten about it :P.
The way it's meant to be