How to show custom user in alert

  • Thread starter Thread starter FoxSecrets
  • Start date Start date

FoxSecrets

Guest
Member
I have a custom table with more user information and I need to show his name from this table in alert, but have no idea how.

Currently the alert calls his username from XF user table. How to change this $user? Where does it come from?

Code:

Code:
{{ phrase('x_has_alerted_you', {
    'user': username_link($user, false, {'defaultname': $fallbackName})
}) }}

Code:

Code:
        $alertRepo->alert(
            $this->purchase->Receiver,
            $this->purchase->Sender->user_id...

Read more
How to show custom user in alert

free plugins
minecraft paid for free
mcmarket
mc-market
free minecraft paid plugins
free minecraft plugins
spigotmc
SpigotMC
aac free
ewg free
Minecraft Premium Plugins
ewg free download
litebans free
epicworldgenerator free
free schematics
leaked schematics minecraft
schematics
schematics leaked
schematics free
minecraft schematics free
paid minecraft schematics free
paid minecraft schematics for free
free cracked plugins
free cracked minecraft plugins
plugins
featherboard download
featherboard plugin download
antiaura download
xenforo leaked
xenforo for free
xenforo addons
 
Top