[RSS Feed/News] PHP - Get User Banner

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
Hello Developers, I want to shoot users' banners, but I don't know how. With the help of the code below, I can pull the avatars without any problems, but when I use getBannerUrl I get an error. Isn't there a getBannerUrl method? if so how can i use it?

Error:
Code:

An exception occurred: [Error] Call to undefined method XF\Entity\User::getBannerUrl() in ....

My avatar method:
PHP:

Code:
    function GetAvatar($UserID){
        \XF::start('/hc');
        $Finder =...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom