Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted September 10, 20195 yr 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
September 10, 20195 yr I would suggest to take a look at your system log which should help to locate the issue.
September 10, 20195 yr Author 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
September 10, 20195 yr 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.
September 12, 20195 yr 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?
September 12, 20195 yr Author 13 minutes ago, Joel R said: Does he say anywhere that he does not provide support? hes gone MIA
September 12, 20195 yr 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}}
September 12, 20195 yr Author 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?
September 12, 20195 yr Wow, look at that. Now that is community spirit right there. Feeling the love. 🥰
September 12, 20195 yr 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()
Archived
This topic is now archived and is closed to further replies.