11
jimmyx
Re: How to remove some modules in the user profile?
  • 2007/11/21 10:40

  • jimmyx

  • Quite a regular

  • Posts: 338

  • Since: 2007/7/18


thank you now it works

12
jimmyx
Re: How to remove some modules in the user profile?
  • 2007/11/21 11:04

  • jimmyx

  • Quite a regular

  • Posts: 338

  • Since: 2007/7/18


one last question how do i control how many result are displayed in the profile

13
phppp
Re: How to remove some modules in the user profile?
  • 2007/11/22 2:20

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


Perhaps a better solution, in userinfo.php around line #162:

$module_handler =& xoops_gethandler('module');
$criteria = new CriteriaCompo(new Criteria('hassearch', 1));
$criteria->add(new Criteria('isactive', 1));
$criteria->add(new Criteria('dirname', array("newbb", "mylinks"), "IN"));
$mids =& array_keys($module_handler->getList($criteria));

Login

Who's Online

148 user(s) are online (95 user(s) are browsing Support Forums)


Members: 0


Guests: 148


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits