Jump to content

Recommended Posts

Hello i got some smf problems

8: Undefined index: post_group_stars File: C:/wamp/www/Themes/default/Display.template.php

Line: 281

261: if (!empty($message['member']['title']))

262: echo '

263: <li class="title">', $message['member']['title'], '</li>';

264:

265: // Show the member's primary group (like 'Administrator') if they have one.

266: if (!empty($message['member']['group']))

267: echo '

268: <li class="membergroup">', $message['member']['group'], '</li>';

269:

270: // Don't show these things for guests.

271: if (!$message['member']['is_guest'])

272: {

273: // Show the post group if and only if they have no other group or the option is on, and they are in a post group.

274: if ((empty($settings['hide_post_group']) || $message['member']['group'] == '') && $message['member']['post_group'] != '')

275: echo '

276: <li class="postgroup">', $message['member']['post_group'], '</li>';

277:       if (!empty($message['member']['group_stars']))

278:   echo '

279:   <li class="stars">', $message['member']['group_stars'], '</li>';

280:   echo '

==>281:                         <li class="stars">', $message['member']['post_group_stars'], '</li>';

282: if (isset($message['member']['post_group_stars']) && $message['member']['post_group_stars'] != '')

283: echo $message['member']['post_group_stars'], '<br />';

284:

285: // Show avatars, images, etc.?

286: if (!empty($settings['show_user_images']) && empty($options['show_no_avatars']) && !empty($message['member']['avatar']['image']))

287: echo '

288: <li class="avatar">

289: <a href="', $scripturl, '?action=profile;u=', $message['member']['id'], '">

290: ', $message['member']['avatar']['image'], '

291: </a>

292: </li>';

293:

294: // Show how many posts they have made.

295: if (!isset($context['disabled_fields']['posts']))

296: echo '

297: <li class="postcount">', $txt['member_postcount'], ': ', $message['member']['posts'], '</li>';

298:

299: // Is karma display enabled?  Total or +/-?

300: if ($modSettings['karmaMode'] == '1')

301: echo '

Here are some lines hope you can help me

Link to comment
https://forums.phpfreaks.com/topic/246344-smf-help/
Share on other sites

  • 2 weeks later...
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.