Skip to Content Skip to Menu

🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

What do I need for $_CB_framework->userProfileUrl

  • NicoFaaij
  • NicoFaaij
  • OFFLINE
  • Posts: 114
  • Thanks: 10
  • Karma: 1
13 years 6 months ago #167527 by NicoFaaij
Hi CB-friends,

I use in my php-code:

$profilelink = $_CB_framework->UserProfileUrl( $row, true );

It works fine as long as I have also the "CB Random User" module on the same page activated. How can I use this trigger without the need of the "CB Random User" Module? I have searched for that for many many hours and now I hope you can help me.

The error that I get is:
Fatal error: Call to a member function UserProfileUrl() on a non-object in testscript.php(73) : eval()'d code on line 18

Many thanks in advance,
Nico

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum