Jump to content

Cado

Newbie
  • Posts

    7
  • Joined

  • Last visited

Profile Information

  • Software
    IPS4
  • Version
    4.2.7

Recent Profile Visitors

589 profile views

Cado's Achievements

Rookie

Rookie (2/14)

  • First Post
  • Week One Done
  • One Month Later
  • One Year In
  • Reacting Well

Recent Badges

0

Reputation

  1. Tried this already mate, Just gives an error on the page.
  2. Hello, So basically what I am trying to do is make it so our Top Donors List has their names in colour just like it does for Latest Donations. Currently, the name pulls from here? {template="userLink" app="core" group="global" params="\IPS\Member::load( $member ), NULL"} Is there something I can do to this to pull the colour as well like add 'Raw' Somewhere? Thanks, Cado
  3. @Hackerr So the load(1); is the id, correct? How do I now add this into my code so it checks the secondary group and then displays name depending on if they are in that group or not? - UPDATE: Don't worry I got it working the simple fix was {{if $member->inGroup( array( 75 ) )}}
  4. @Hackerr Thanks but do where do I put the group Id??
  5. Hello, I currently want to do a check where if someone is in a certain secondary group then it will change their name on their profile. So far I have something like this. {{if $member->member_group_id === 75}} <h1 class='ipsType_reset'> {$member->name} example example </h1> {{else}} <h1 class='ipsType_reset'> {$member->name} </h1> {{endif}} but I believe the {{if $member->member_group_id === 75}} only checks primary groups. is it possible to run a check of an ID of a secondary group. Thanks, Cado
×
×
  • Create New...