Recent content by Cribbage

  1. Cribbage

    XF 1.5 [request] Display different Message Container background depending on usergroup of poster

    I'm still on an older version but I'll be doing an update in a couple of weeks and need to do it again there too. If no-one else has helped you by then I'll let you know how I go.
  2. Cribbage

    XF 1.5 [request] Display different Message Container background depending on usergroup of poster

    Thank you so much! That worked perfectly. I'd actually kind of given up before your post.
  3. Cribbage

    XF 1.5 [request] Display different Message Container background depending on usergroup of poster

    This is the beginning of my message template with the modification at the bottom: <xen:require css="message.css" /> <xen:require css="bb_code.css" /> <li id="{$messageId}" class="message {xen:if $message.isDeleted, 'deleted'} {xen:if '{$message.is_staff}', 'staff'} {xen:if $message.isIgnored...
  4. Cribbage

    XF 1.5 [request] Display different Message Container background depending on usergroup of poster

    Yeah, ultimately I needed to use $message rather than either because of the nature of the message template, but even then, it loads the same background image for each post on a page (the last one it loads on each page). I can't seem to get it to load a different one for each post at all, even...
  5. Cribbage

    XF 1.5 [request] Display different Message Container background depending on usergroup of poster

    I've been working on this all day and I'm pretty stuck. I've got this code in my message.css: .messageList .message { @property "message"; background-image: url('/post_cricsim.png'); background-repeat: repeat-y; padding-top: 0; padding-right: 0; margin-bottom: 20px...
Back
Top Bottom