News:

Join the Facebook Fan Page.

Main Menu

8: Undefined index: blurb

Started by ariescapes, February 18, 2017, 09:14:22 PM

Previous topic - Next topic

Sir Osis of Liver

   That part of the code is a furball, it's all screwed up with a sloppy awards mod, but this workaround fixes the problem -



/// Show their personal text?
if (!empty($settings['show_blurb']) && !$message['member']['is_guest'] && $message['member']['blurb'] != '')
echo '
<div class="OocCaste">', $message['member']['blurb'], '</div>';



There's a section of code that follows this -



// Don't show these things for guests.
if (!$message['member']['is_guest'])



The awards mod breaks it up, and somehow blurb ends up outside the if, so the template tries to find the blurb for a guest.  Easier to fudge it than rewrite the entire mess.

Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Advertisement: