Jump to content
  • 0

Problema cu topic-urile.


8mrvi

Question

Salut, am si eu o problema foarte delicata in ceea ce nu inteleg de ce se intampla asemenea lucru. Incerc sa instalez plugin-ul "Topic Starter", insa dupa ce il instalez se iveste o problema.

Pana sa il instalez.

https://imgur.com/KoFzbQ5

Dupa ce l am instalat.

https://imgur.com/zqRnaZi

Nu inteleg de ce face asa, poate cineva care are cunostinte ma poate ajuta. Va multumesc.

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

Pluginul respectiv imi adauga acel badge cu Topic Starter in author panel, normal nu trebuie sa imi mute absolut nimic.. cine ar fi ratat sa creeze astfel de plugin, si cine ar fi ratat sa vrea asa ceva =))) pentru ca totul ar fi dezordonat si ar arata foarte prost.

edit: pe tema default nu se intampla asta lol

Edited by 8mrvi
Link to comment
Share on other sites

  • 0
{{$idField = $comment::$databaseColumnId;}}
{{$itemClassSafe = str_replace( '\\', '_', mb_substr( $comment::$itemClass, 4 ) );}}
{{if $comment->isIgnored()}}
    <div class='ipsComment ipsComment_ignored ipsType_light' id='elIgnoreComment_{$comment->$idField}' data-ignoreCommentID='elComment_{$comment->$idField}' data-ignoreUserID='{$comment->author()->member_id}'>
        {lang="ignoring_content" sprintf="$comment->author()->name"} <a href='#elIgnoreComment_{$comment->$idField}_menu' data-ipsMenu data-ipsMenu-menuID='elIgnoreComment_{$comment->$idField}_menu' data-ipsMenu-appendTo='#elIgnoreComment_{$comment->$idField}' data-action="ignoreOptions" title='{lang="see_post_ignore_options"}' class='ipsType_blendLinks'>{lang="options"} <i class='fa fa-caret-down'></i></a>
        <ul class='ipsMenu ipsHide' id='elIgnoreComment_{$comment->$idField}_menu'>
            <li class='ipsMenu_item ipsJS_show' data-ipsMenuValue='showPost'><a href='#'>{lang="show_this_post"}</a></li>
            <li class='ipsMenu_sep ipsJS_show'><hr></li>
            <li class='ipsMenu_item' data-ipsMenuValue='stopIgnoring'><a href='{url="app=core&module=system&controller=ignore&do=remove&id={$comment->author()->member_id}" seoTemplate="ignore"}'>{lang="stop_ignoring_posts_by" sprintf="$comment->author()->name"}</a></li>
            <li class='ipsMenu_item'><a href='{url="app=core&module=system&controller=ignore" seoTemplate="ignore"}'>{lang="change_ignore_preferences"}</a></li>
        </ul>
    </div>
{{endif}}

<a id='comment-{$comment->$idField}'></a>
<article {{if $comment->author()->hasHighlightedReplies()}}data-memberGroup="{$comment->author()->member_group_id}" {{endif}} id='elComment_{$comment->$idField}' class='cPost ipsBox {{if $otherClasses}}{$otherClasses}{{endif}} ipsComment {{if ( settings.reputation_enabled and settings.reputation_highlight and $comment->reactionCount() >= settings.reputation_highlight ) OR $comment->isFeatured()}}ipsComment_popular{{endif}} ipsComment_parent ipsClearfix ipsClear ipsColumns ipsColumns_noSpacing ipsColumns_collapsePhone {{if $comment->author()->hasHighlightedReplies()}}ipsComment_highlighted{{endif}}{{if $comment->isIgnored()}}ipsHide{{endif}} {{if $comment->hidden() OR $item->hidden() === -2}}ipsModerated{{endif}}'>
    {{if $item->isQuestion() and !$comment->new_topic}}
        {template="postRating" group="topics" app="forums" params="$item, $comment, $votes"}
    {{endif}}

    <div class='cAuthorPane cAuthorPane_mobile ipsResponsive_showPhone ipsResponsive_block'>
      
        <h3 class='ipsType_sectionHead cAuthorPane_author ipsResponsive_showPhone ipsResponsive_inlineBlock ipsType_break ipsType_blendLinks ipsTruncate ipsTruncate_line'>
            {template="userLink" group="global" app="core" params="$comment->author(), $comment->warningRef(), $comment->author()->group['g_id']"}
            <span class='ipsResponsive_showPhone ipsResponsive_inline'>  {template="reputationBadge" group="global" app="core" params="$comment->author()"}</span>
        </h3>
        <div class='cAuthorPane_photo'>
            {template="userPhoto" app="core" group="global" params="$comment->author(), 'large', $comment->warningRef()"}
        </div>
    </div>
    <aside class='ipsComment_author cAuthorPane ipsColumn ipsColumn_medium ipsResponsive_hidePhone anobg'>
         {{if $comment->author()->isOnline()}}
                <div align="center">
      <div class="icon-online"></div>
                        </div>
       {{else}}
       <div class="icon-offline"></div>
      {{endif}}
      <h3 class='ipsType_sectionHead cAuthorPane_author ipsType_blendLinks ipsType_break nameso'><strong>{$comment->author()->link( $comment->warningRef() )|raw}</strong> <span class='ipsResponsive_showPhone ipsResponsive_inline'>  {template="reputationBadge" group="global" app="core" params="$comment->author()"}</span></h3>
        <ul class='cAuthorPane_info ipsList_reset'>
            {{if $comment->author()->member_title && $comment->author()->member_id}}
                <li class='ipsType_break'>{$comment->author()->member_title}</li>
            {{elseif $comment->author()->rank['title'] && $comment->author()->member_id}}
                <li class='ipsType_break'>{$comment->author()->rank['title']}</li>
            {{endif}}
            {{if $comment->author()->rank['image'] && $comment->author()->member_id}}
                <li>{$comment->author()->rank['image']|raw}</li>
            {{endif}}

        <li class='cAuthorPane_photo'>
              {{if $comment->author()->pp_main_photo AND $comment->author()->pp_thumb_photo}}
              <img src="{url="" base=""}/uploads/{$comment->author()->pp_main_photo}">
              {{else}}
              <img src="{$comment->author()->photo}">
              {{endif}}
            </li>
                        {{if $comment->author()->member_id}}
          <div class="marginbottomex">
                
<div class="ribbon">
                      <li class="ribbon2" style="background: #303030;">
                                        <div class="Rleft" style="background: #303030;"></div>
                                        <div class="Rright" style="background: #303030;"></div>            
            <span style="color: #9e9e9e;"><b>{expression="\IPS\Member\Group::load( $comment->author()->member_group_id )->formattedName" raw="true"}</b></span>
</li>
           <div class="custom-rlspost">             
            <div id="rls-leftpo">
           <i class="fa fa-hashtag" aria-hidden="true"></i> ID:
            </div>           
            <div id="rls-rightpo">
                          {$comment->author()->member_id}
            </div>
          </div>
  
          <div class="custom-rlspost">
            <div id="rls-leftpo">
             <i class="fa fa-comments-o" aria-hidden="true"></i> POSTS:
            </div>           
            <div id="rls-rightpo">
                  {$comment->author()->member_posts}
            </div>
          </div>     
          
           <div class="custom-rlspost">
             <div id="rls-leftpo">
             <i class="fa fa-heart" aria-hidden="true"></i> REPUTATION:
            </div>  
                      
            <div id="rls-rightpo">
                      {$comment->author()->pp_reputation_points}
            </div>
          </div>  
          
           <div class="custom-rlspost">             
            <div id="rls-leftpo">
           <i class="fa fa-exclamation-triangle" aria-hidden="true"></i> WARN LEVEL:
            </div>           
            <div id="rls-rightpo">
                          {$comment->author()->warn_level}
            </div>
          </div>  
                      </div>
                     {{endif}}
                {template="customFieldsDisplay" group="global" app="core" params="$comment->author()"}
        </ul>
    </aside>
    <div class='ipsColumn ipsColumn_fluid'>
        {template="post" group="topics" app="forums" params="$item, $comment, $item::$formLangPrefix . 'comment', $item::$application, $item::$module, $itemClassSafe"}
    </div>
</article>

 

Link to comment
Share on other sites

  • 0
{{$idField = $comment::$databaseColumnId;}}
{{$itemClassSafe = str_replace( '\\', '_', mb_substr( $comment::$itemClass, 4 ) );}}
{{if $comment->isIgnored()}}
    <div class='ipsComment ipsComment_ignored ipsType_light' id='elIgnoreComment_{$comment->$idField}' data-ignoreCommentID='elComment_{$comment->$idField}' data-ignoreUserID='{$comment->author()->member_id}'>
        {lang="ignoring_content" sprintf="$comment->author()->name"} <a href='#elIgnoreComment_{$comment->$idField}_menu' data-ipsMenu data-ipsMenu-menuID='elIgnoreComment_{$comment->$idField}_menu' data-ipsMenu-appendTo='#elIgnoreComment_{$comment->$idField}' data-action="ignoreOptions" title='{lang="see_post_ignore_options"}' class='ipsType_blendLinks'>{lang="options"} <i class='fa fa-caret-down'></i></a>
        <ul class='ipsMenu ipsHide' id='elIgnoreComment_{$comment->$idField}_menu'>
            <li class='ipsMenu_item ipsJS_show' data-ipsMenuValue='showPost'><a href='#'>{lang="show_this_post"}</a></li>
            <li class='ipsMenu_sep ipsJS_show'><hr></li>
            <li class='ipsMenu_item' data-ipsMenuValue='stopIgnoring'><a href='{url="app=core&module=system&controller=ignore&do=remove&id={$comment->author()->member_id}" seoTemplate="ignore"}'>{lang="stop_ignoring_posts_by" sprintf="$comment->author()->name"}</a></li>
            <li class='ipsMenu_item'><a href='{url="app=core&module=system&controller=ignore" seoTemplate="ignore"}'>{lang="change_ignore_preferences"}</a></li>
        </ul>
    </div>
{{endif}}

<a id='comment-{$comment->$idField}'></a>
<article {{if $comment->author()->hasHighlightedReplies()}}data-memberGroup="{$comment->author()->member_group_id}" {{endif}} id='elComment_{$comment->$idField}' class='cPost ipsBox {{if $otherClasses}}{$otherClasses}{{endif}} ipsComment {{if ( settings.reputation_enabled and settings.reputation_highlight and $comment->reactionCount() >= settings.reputation_highlight ) OR $comment->isFeatured()}}ipsComment_popular{{endif}} ipsComment_parent ipsClearfix ipsClear ipsColumns ipsColumns_noSpacing ipsColumns_collapsePhone {{if $comment->author()->hasHighlightedReplies()}}ipsComment_highlighted{{endif}}{{if $comment->isIgnored()}}ipsHide{{endif}} {{if $comment->hidden() OR $item->hidden() === -2}}ipsModerated{{endif}}'>
    {{if $item->isQuestion() and !$comment->new_topic}}
        {template="postRating" group="topics" app="forums" params="$item, $comment, $votes"}
    {{endif}}

    <div class='cAuthorPane cAuthorPane_mobile ipsResponsive_showPhone ipsResponsive_block'>
      
        <h3 class='ipsType_sectionHead cAuthorPane_author ipsResponsive_showPhone ipsResponsive_inlineBlock ipsType_break ipsType_blendLinks ipsTruncate ipsTruncate_line'>
            {template="userLink" group="global" app="core" params="$comment->author(), $comment->warningRef(), $comment->author()->group['g_id']"}
            <span class='ipsResponsive_showPhone ipsResponsive_inline'>  {template="reputationBadge" group="global" app="core" params="$comment->author()"}</span>
        </h3>
        <div class='cAuthorPane_photo'>
            {template="userPhoto" app="core" group="global" params="$comment->author(), 'large', $comment->warningRef()"}
        </div>
    </div>
    <aside class='ipsComment_author cAuthorPane ipsColumn ipsColumn_medium ipsResponsive_hidePhone anobg'>
         {{if $comment->author()->isOnline()}}
                <div align="center">
      <div class="icon-online"></div>
                        </div>
       {{else}}
       <div class="icon-offline"></div>
      {{endif}}
      <h3 class='ipsType_sectionHead cAuthorPane_author ipsType_blendLinks ipsType_break nameso'><strong>{$comment->author()->link( $comment->warningRef() )|raw}</strong> <span class='ipsResponsive_showPhone ipsResponsive_inline'>  {template="reputationBadge" group="global" app="core" params="$comment->author()"}</span></h3>
        <ul class='cAuthorPane_info ipsList_reset'>
            {{if $comment->author()->member_title && $comment->author()->member_id}}
                <li class='ipsType_break'>{$comment->author()->member_title}</li>
            {{elseif $comment->author()->rank['title'] && $comment->author()->member_id}}
                <li class='ipsType_break'>{$comment->author()->rank['title']}</li>
            {{endif}}
            {{if $comment->author()->rank['image'] && $comment->author()->member_id}}
                <li>{$comment->author()->rank['image']|raw}</li>
            {{endif}}

        <li class='cAuthorPane_photo'>
              {{if $comment->author()->pp_main_photo AND $comment->author()->pp_thumb_photo}}
              <img src="{url="" base=""}/uploads/{$comment->author()->pp_main_photo}">
              {{else}}
              <img src="{$comment->author()->photo}">
              {{endif}}
            </li>
                        {{if $comment->author()->member_id}}
          <div class="marginbottomex">
                
<div class="ribbon">
                      <li class="ribbon2" style="background: #303030;">
                                        <div class="Rleft" style="background: #303030;"></div>
                                        <div class="Rright" style="background: #303030;"></div>            
            <span style="color: #9e9e9e;"><b>{expression="\IPS\Member\Group::load( $comment->author()->member_group_id )->formattedName" raw="true"}</b></span>
</li>
</div>
           <div class="custom-rlspost">             
            <div id="rls-leftpo">
           <i class="fa fa-hashtag" aria-hidden="true"></i> ID:
            </div>           
            <div id="rls-rightpo">
                          {$comment->author()->member_id}
            </div>
          </div>
  
          <div class="custom-rlspost">
            <div id="rls-leftpo">
             <i class="fa fa-comments-o" aria-hidden="true"></i> POSTS:
            </div>           
            <div id="rls-rightpo">
                  {$comment->author()->member_posts}
            </div>
          </div>     
          
           <div class="custom-rlspost">
             <div id="rls-leftpo">
             <i class="fa fa-heart" aria-hidden="true"></i> REPUTATION:
            </div>  
                      
            <div id="rls-rightpo">
                      {$comment->author()->pp_reputation_points}
            </div>
          </div>  
          
           <div class="custom-rlspost">             
            <div id="rls-leftpo">
           <i class="fa fa-exclamation-triangle" aria-hidden="true"></i> WARN LEVEL:
            </div>           
            <div id="rls-rightpo">
                          {$comment->author()->warn_level}
            </div>
          </div>  
                      </div>
                     {{endif}}
                {template="customFieldsDisplay" group="global" app="core" params="$comment->author()"}
        </ul>
    </aside>
    <div class='ipsColumn ipsColumn_fluid'>
        {template="post" group="topics" app="forums" params="$item, $comment, $item::$formLangPrefix . 'comment', $item::$application, $item::$module, $itemClassSafe"}
    </div>
</article>

vezi acum

  • Thanks 1
Link to comment
Share on other sites

Join the conversation

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

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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.