W.W.W Posted September 10, 2019 Share Posted September 10, 2019 EDIT: Latest issue: Hi im getting an error when trying to view a thread [[Template forums/front/topics/topic is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]] Theme im using: https://invisioncommunity.com/files/file/9054-chocolate/ (he no longer provides support) if you guys cant help me with this can you point me in the right direction please willing to pay for a fix Link to comment Share on other sites More sharing options...
Daniel F Posted September 10, 2019 Share Posted September 10, 2019 I would suggest to take a look at your system log which should help to locate the issue. Link to comment Share on other sites More sharing options...
W.W.W Posted September 10, 2019 Author Share Posted September 10, 2019 4 hours ago, Daniel F said: I would suggest to take a look at your system log which should help to locate the issue. i dont know any coding so i dont know what im looking at haha Link to comment Share on other sites More sharing options...
Pete T Posted September 10, 2019 Share Posted September 10, 2019 8 hours ago, Scu11 said: Hi im getting an error when trying to view a thread [[Template forums/front/topics/topic is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]] Theme im using: https://invisioncommunity.com/files/file/9054-chocolate/ (he no longer provides support) if you guys cant help me with this can you point me in the right direction please willing to pay for a fix I have made update for this theme as few had wanted updating i will need check if did update to 4.4.5 theme changes or not. Link to comment Share on other sites More sharing options...
Joel R Posted September 12, 2019 Share Posted September 12, 2019 On 9/10/2019 at 3:01 AM, Scu11 said: Hi im getting an error when trying to view a thread [[Template forums/front/topics/topic is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]] Theme im using: https://invisioncommunity.com/files/file/9054-chocolate/ (he no longer provides support) if you guys cant help me with this can you point me in the right direction please willing to pay for a fix Does he say anywhere that he does not provide support? Link to comment Share on other sites More sharing options...
W.W.W Posted September 12, 2019 Author Share Posted September 12, 2019 13 minutes ago, Joel R said: Does he say anywhere that he does not provide support? hes gone MIA Link to comment Share on other sites More sharing options...
Jennifer M Posted September 12, 2019 Share Posted September 12, 2019 Most likely it's the Topic forward and back section, considering the version it was made for. @Scu11 Find this: <div class='ipsGrid ipsGrid_collapsePhone ipsPager ipsClearfix ipsSpacer_top ipsContained'> <div class="ipsGrid_span6 ipsType_left ipsPager_prev {{if \IPS\forums\Forum::isSimpleView( $topic->container() )}}ipsPager_noDesc{{endif}}"> {{if \IPS\forums\Forum::isSimpleView( $topic->container() )}} <a href="{url="app=forums&module=forums&controller=index" seoTemplate="forums"}" title="{{if $topic->isQuestion() }}{lang="go_back_to_qa_forum"}{{else}}{lang="go_back_to_forum"}{{endif}}" rel="up"> <span class="ipsPager_type">{{if $topic->isQuestion() }}{lang="go_back_to_qa_forum"}{{else}}{lang="go_back_to_forum"}{{endif}}</span> </a> {{else}} <a href="{$topic->container()->url()}" title="{lang="go_to_forum" sprintf="$topic->container()->metaTitle()"}" rel="up">rel="parent"> <span class="ipsPager_type">{{if $topic->isQuestion() }}{lang="go_back_to_qa_forum"}{{else}}{lang="go_back_to_forum"}{{endif}}</span> <span class="ipsPager_title ipsType_light ipsTruncate ipsTruncate_line">{lang="$topic->container()->_title"}</span> </a> {{endif}} </div> {{if $nextUnread !== NULL}} <div class='ipsGrid_span6 ipsType_right ipsPager_next'> <a href="{$nextUnread->url()->setQueryString( array( 'do' => 'getNewComment' ) )}" title='{{if $topic->isQuestion()}}{lang="view_next_unread_question_title"}{{else}}{lang="view_next_unread_title"}{{endif}}'> <span class="ipsPager_type">{{if $topic->isQuestion()}}{lang="view_next_unread_question"}{{else}}{lang="view_next_unread"}{{endif}}</span> <span class="ipsPager_title ipsType_light ipsTruncate ipsTruncate_line">{$nextUnread->mapped('title')}</span> </a> </div> {{endif}} And replace it with this. <div class='ipsGrid ipsGrid_collapsePhone ipsPager ipsClearfix ipsSpacer_top ipsContained'> <div class="ipsGrid_span6 ipsType_left ipsPager_prev ipsPager_noDesc"> {{if \IPS\forums\Forum::isSimpleView( $topic->container() )}} <a href="{url="app=forums&module=forums&controller=index" seoTemplate="forums"}" title="{{if $topic->isQuestion() }}{lang="go_back_to_qa_forum"}{{else}}{lang="go_back_to_forum"}{{endif}}" rel="parent"> <span class="ipsPager_type">{{if $topic->isQuestion() }}{lang="go_back_to_qa_forum"}{{else}}{lang="go_back_to_forum"}{{endif}}</span> </a> {{else}} <a href="{$topic->container()->url()}" title="{lang="go_to_forum" sprintf="$topic->container()->metaTitle()"}" rel="parent"> <span class="ipsPager_type">{{if $topic->isQuestion() }}{lang="go_back_to_qa_forum"}{{else}}{lang="go_back_to_forum"}{{endif}}</span> </a> {{endif}} </div> {{if $nextUnread !== NULL}} <div class='ipsGrid_span6 ipsType_right ipsPager_next ipsPager_noDesc'> <a href="{$topic->url()->setQueryString( array( 'do' => 'nextUnread' ) )}" title='{{if $topic->isQuestion()}}{lang="view_next_unread_question_title"}{{else}}{lang="view_next_unread_title"}{{endif}}'> <span class="ipsPager_type">{{if $topic->isQuestion()}}{lang="view_next_unread_question"}{{else}}{lang="view_next_unread"}{{endif}}</span> </a> </div> {{endif}} Link to comment Share on other sites More sharing options...
W.W.W Posted September 12, 2019 Author Share Posted September 12, 2019 6 hours ago, Jennifer M said: Most likely it's the Topic forward and back section, considering the version it was made for. @Scu11 Find this: <div class='ipsGrid ipsGrid_collapsePhone ipsPager ipsClearfix ipsSpacer_top ipsContained'> <div class="ipsGrid_span6 ipsType_left ipsPager_prev {{if \IPS\forums\Forum::isSimpleView( $topic->container() )}}ipsPager_noDesc{{endif}}"> {{if \IPS\forums\Forum::isSimpleView( $topic->container() )}} <a href="{url="app=forums&module=forums&controller=index" seoTemplate="forums"}" title="{{if $topic->isQuestion() }}{lang="go_back_to_qa_forum"}{{else}}{lang="go_back_to_forum"}{{endif}}" rel="up"> <span class="ipsPager_type">{{if $topic->isQuestion() }}{lang="go_back_to_qa_forum"}{{else}}{lang="go_back_to_forum"}{{endif}}</span> </a> {{else}} <a href="{$topic->container()->url()}" title="{lang="go_to_forum" sprintf="$topic->container()->metaTitle()"}" rel="up">rel="parent"> <span class="ipsPager_type">{{if $topic->isQuestion() }}{lang="go_back_to_qa_forum"}{{else}}{lang="go_back_to_forum"}{{endif}}</span> <span class="ipsPager_title ipsType_light ipsTruncate ipsTruncate_line">{lang="$topic->container()->_title"}</span> </a> {{endif}} </div> {{if $nextUnread !== NULL}} <div class='ipsGrid_span6 ipsType_right ipsPager_next'> <a href="{$nextUnread->url()->setQueryString( array( 'do' => 'getNewComment' ) )}" title='{{if $topic->isQuestion()}}{lang="view_next_unread_question_title"}{{else}}{lang="view_next_unread_title"}{{endif}}'> <span class="ipsPager_type">{{if $topic->isQuestion()}}{lang="view_next_unread_question"}{{else}}{lang="view_next_unread"}{{endif}}</span> <span class="ipsPager_title ipsType_light ipsTruncate ipsTruncate_line">{$nextUnread->mapped('title')}</span> </a> </div> {{endif}} And replace it with this. <div class='ipsGrid ipsGrid_collapsePhone ipsPager ipsClearfix ipsSpacer_top ipsContained'> <div class="ipsGrid_span6 ipsType_left ipsPager_prev ipsPager_noDesc"> {{if \IPS\forums\Forum::isSimpleView( $topic->container() )}} <a href="{url="app=forums&module=forums&controller=index" seoTemplate="forums"}" title="{{if $topic->isQuestion() }}{lang="go_back_to_qa_forum"}{{else}}{lang="go_back_to_forum"}{{endif}}" rel="parent"> <span class="ipsPager_type">{{if $topic->isQuestion() }}{lang="go_back_to_qa_forum"}{{else}}{lang="go_back_to_forum"}{{endif}}</span> </a> {{else}} <a href="{$topic->container()->url()}" title="{lang="go_to_forum" sprintf="$topic->container()->metaTitle()"}" rel="parent"> <span class="ipsPager_type">{{if $topic->isQuestion() }}{lang="go_back_to_qa_forum"}{{else}}{lang="go_back_to_forum"}{{endif}}</span> </a> {{endif}} </div> {{if $nextUnread !== NULL}} <div class='ipsGrid_span6 ipsType_right ipsPager_next ipsPager_noDesc'> <a href="{$topic->url()->setQueryString( array( 'do' => 'nextUnread' ) )}" title='{{if $topic->isQuestion()}}{lang="view_next_unread_question_title"}{{else}}{lang="view_next_unread_title"}{{endif}}'> <span class="ipsPager_type">{{if $topic->isQuestion()}}{lang="view_next_unread_question"}{{else}}{lang="view_next_unread"}{{endif}}</span> </a> </div> {{endif}} LEGEND! fixed haha are these as simple to fix i hope? Link to comment Share on other sites More sharing options...
Dean_ Posted September 12, 2019 Share Posted September 12, 2019 Wow, look at that. Now that is community spirit right there. Feeling the love. 🥰 Link to comment Share on other sites More sharing options...
Jennifer M Posted September 12, 2019 Share Posted September 12, 2019 For the Profile header it's all of the follow bits. You'll need to find every instance of this: ( $memberFollowers === NULL ) ? 0 : $memberFollowers->count( TRUE ) And replace it with this: $member->followersCount() Remove both instances of this: {{$memberFollowers = $member->followers();}} And find this: {number="$member->followers()->count(true)"} and replace it with this: {number="$member->followersCount()"} For the second template. Find both instances of this: $followers->count( TRUE ) and replace with this: $member->followersCount() Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.