11
Robustus
Re: How to customiseYogurt Block "yogurt_block_friends.html"?
  • 2008/12/14 17:23

  • Robustus

  • Just popping in

  • Posts: 30

  • Since: 2008/5/19


Lol, no Problem. I already tried about 50 Varitions without success :)
Ok, this cause now following Error:
Parse errorsyntax errorunexpected T_VARIABLE in /modules/yogurt/blocks/blocks.php on line 51

Line 51:
$block['friends'] = $friends_factory->getFriends($options[0], $criteria1);

12
Anonymous
Re: How to customiseYogurt Block "yogurt_block_friends.html"?
  • 2008/12/14 17:51

  • Anonymous

  • Posts: 0

  • Since:


Replace line 48 with:

$criteria->add( new Criteria('friend2_uid','('.implode(',', array_keys($online_uids)).')','IN'));

13
trabis
Re: How to customiseYogurt Block "yogurt_block_friends.html"?
  • 2008/12/14 19:52

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


I made the change submitted by Mowaffak(thanks bro!)

No cross your fingers (again)

14
Robustus
Re: How to customiseYogurt Block "yogurt_block_friends.html"?
  • 2008/12/15 10:32

  • Robustus

  • Just popping in

  • Posts: 30

  • Since: 2008/5/19


Hehe it works perfect!
I set it now on a Production Site and will report if something goes wrong (don`t thing so).
Thank you very much trabis & Mowaffak


Login

Who's Online

451 user(s) are online (357 user(s) are browsing Support Forums)


Members: 0


Guests: 451


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