1
ch0ke
New Members With Picture (Avatar) Block hack
  • 2004/8/12 13:25

  • ch0ke

  • Just popping in

  • Posts: 11

  • Since: 2004/6/21


Add the following line to /modules/system/blocks/system_blocks.php in the function b_system_newmembers_show()

...
$criteria = new CriteriaCompo(new Criteria('level'0'>'));
// new line follows below
$criteria->add(new Criteria('user_avatar''blank.gif''<>'));
// continues...
$limit = (!empty($options[0])) ? $options[0] : 10;
...


This is helpful when the system allows custom avatars are you are running a personals/dating type site. (In this case, my site MacBuds.)

Login

Who's Online

405 user(s) are online (258 user(s) are browsing Support Forums)


Members: 0


Guests: 405


more...

Donat-O-Meter

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

Latest GitHub Commits