Following on from this thread
http://ellislab.com/forums/viewthread/111206/
I need to write myself an extension / plugin / module (?) to the current member search system in the control panel.
I really dont know an awful lot about this, so i was wondering if i could get some general direction.
I know thats really vague, but i cant really be specific - when i dont know what im being specific about. All i know for sure is the current member search form wont do what i want - so i need to make a search do what i want - preferably in the control panel.
Thanks for any help 😊
Reading this:
Leads me to believe its an extension i need.
Reading THIS however:
http://expressionengine.com/developers/extension_hooks/
doesnt make me feel good…. this makes me feel like there isnt an extension hook to do what i want to…
OK.
Just updating this thread to let any readers / potential helpers know where im at.
Iv figured out that cp.member.php contains the functions member_search_form() and do_member_search() which i would be able to amend to achieve what i need to. Iv edited the form and sql to prove this theory, and i can do it - buuuut, if i do that, i lose the exisiting search functionality, and it involves more cludging than im really happy doing.
Theres no extension hook to change the functionality - so, the question is… how do i extend the control panel functionality to include functions that dont already exist?
Theres no extension hook to change the functionality - so, the question is… how do i extend the control panel functionality to include functions that dont already exist?
This would require hacking the core code and tracking your changes so you can upgrade and re-implement them.
If i write an extension to achieve the search functionality i want to do - is it possible to amend the ‘members and groups’ page to include my new link, without hacking around core code?
If not, ill just run it from a new tab… ultimately id like to be able to use this extension on other sites.
Looks like im learning how to write extensions today!
Next question: is there a hook for when a new custom profile field is added?
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.