SMFHacks.com

Awesome Post Ratings => Support => Topic started by: ted245 on August 11, 2017, 01:34:09 am

Title: Won't install in ShelfLife theme. No code matching "Find" code.
Post by: ted245 on August 11, 2017, 01:34:09 am
Install in ShelfLife theme indicates code changes needed.

Find code doesn't exist in shelflife20rev1/Display.template.php:
echo '
                  </div>
               </div>
               <span class="botslice"><span></span></span>
            </div>
            <hr class="post_separator" />';

I need the proper code in ShelfLife20rev1 Display.template.php to find so I can replace it with the recommended code.

Thanks,
Ted
Title: Re: Won't install in ShelfLife theme. No code matching "Find" code.
Post by: SMFHacks on August 11, 2017, 07:09:51 am
Please attach your display.template.php file.
Title: Re: Won't install in ShelfLife theme. No code matching "Find" code.
Post by: ted245 on August 11, 2017, 08:29:10 am
Attached is file for ShelfLife20rev1.
Title: Re: Won't install in ShelfLife theme. No code matching "Find" code.
Post by: SMFHacks on August 11, 2017, 08:47:15 am
In that file add it after

Code: [Select]
// Show the member's signature?
if (!empty($message['member']['signature']) && empty($options['show_no_signatures']) && $context['signature_enabled'])
echo ' <hr>
<div class="signature" id="msg_', $message['id'], '_signature">', $message['member']['signature'], '</div>';
Title: Re: Won't install in ShelfLife theme. No code matching "Find" code.
Post by: ted245 on August 11, 2017, 10:12:59 am
Works great. Looks great. Thanks.