Codoforum related discussions
History seems like buggy?
bug

Because the "History" option is just shown up in posts which are made after the initial post (post from the thread starter). But I don't think it's the way it works because inside my testforums I have a thread/topic which has the History option too. There are no other posts inside this thread.
Could you please check this? Oh und yes permissons are set to see the history in topics and roles.

Because the "History" option is just shown up in posts which are made after the initial post (post from the thread starter). But I don't think it's the way it works because inside my testforums I have a thread/topic which has the History option too. There are no other posts inside this thread. Could you please check this? Oh und yes permissons are set to see the history in topics and roles.
edited Dec 18 '15 at 10:24 am

So it's not buggy, it is just not coded. Inside the topic.html I found this.

 {{#if is_topic}}
        {{#if can_manage_topic}}
        <div class="dropdown codo_manage_topic">
            <div class="codo_manage_button dropdown-toggle codo_tooltip" data-toggle="dropdown"  id="codo_manage_options_menu" title="{{{i18n "Edit"}}}">
                <i class="icon-more-vert"></i>
            </div>
            <ul class="dropdown-menu" role="menu" aria-labelledby="codo_manage_options_menu">
                {{#if can_edit_topic}}
                <li id="codo_posts_edit_{{{topic_id}}}" class="codo_posts_edit_post codo_post_this_is_topic"
                    role="presentation"><a role="menuitem" tabindex="-1">
                        <i class="icon-edit"></i> {{{i18n "Edit"}}}
                    </a></li>
                {{/if}}
                {{#if can_delete_topic}}
                <li id="codo_posts_trash_{{{topic_id}}}" class="codo_posts_trash_post codo_post_this_is_topic"
                    role="presentation"><a role="menuitem" tabindex="-1">
                        <i class="icon-trash"></i> {{{i18n "Delete"}}}
                    </a></li>
                {{/if}}
            </ul>
        </div>
        {{/if}}

There should be added something like that. That would be the easy part.

{{#if can_see_history}}
                <li id="codo_posts_history_{{{topic_id}}}" class="codo_posts_history codo_post_this_is_topic"
                    role="presentation"><a role="menuitem" tabindex="-1">
                        <i class="glyphicon glyphicon-time"></i> {{{i18n "History"}}}
                    </a></li>
                {{/if}}

But the topic.js would need some extra code too. And here ends my knowledge.

So it&#039;s not buggy, it is just not coded. Inside the topic.html I found this. ```` {{#if is_topic}} {{#if can_manage_topic}} &amp;lt;div class=&quot;dropdown codo_manage_topic&quot;&amp;gt; &amp;lt;div class=&quot;codo_manage_button dropdown-toggle codo_tooltip&quot; data-toggle=&quot;dropdown&quot; id=&quot;codo_manage_options_menu&quot; title=&quot;{{{i18n &quot;Edit&quot;}}}&quot;&amp;gt; &amp;lt;i class=&quot;icon-more-vert&quot;&amp;gt;&amp;lt;/i&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;ul class=&quot;dropdown-menu&quot; role=&quot;menu&quot; aria-labelledby=&quot;codo_manage_options_menu&quot;&amp;gt; {{#if can_edit_topic}} &amp;lt;li id=&quot;codo_posts_edit_{{{topic_id}}}&quot; class=&quot;codo_posts_edit_post codo_post_this_is_topic&quot; role=&quot;presentation&quot;&amp;gt;&amp;lt;a role=&quot;menuitem&quot; tabindex=&quot;-1&quot;&amp;gt; &amp;lt;i class=&quot;icon-edit&quot;&amp;gt;&amp;lt;/i&amp;gt; {{{i18n &quot;Edit&quot;}}} &amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt; {{/if}} {{#if can_delete_topic}} &amp;lt;li id=&quot;codo_posts_trash_{{{topic_id}}}&quot; class=&quot;codo_posts_trash_post codo_post_this_is_topic&quot; role=&quot;presentation&quot;&amp;gt;&amp;lt;a role=&quot;menuitem&quot; tabindex=&quot;-1&quot;&amp;gt; &amp;lt;i class=&quot;icon-trash&quot;&amp;gt;&amp;lt;/i&amp;gt; {{{i18n &quot;Delete&quot;}}} &amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt; {{/if}} &amp;lt;/ul&amp;gt; &amp;lt;/div&amp;gt; {{/if}} ```` There should be added something like that. That would be the easy part. ```` {{#if can_see_history}} &amp;lt;li id=&quot;codo_posts_history_{{{topic_id}}}&quot; class=&quot;codo_posts_history codo_post_this_is_topic&quot; role=&quot;presentation&quot;&amp;gt;&amp;lt;a role=&quot;menuitem&quot; tabindex=&quot;-1&quot;&amp;gt; &amp;lt;i class=&quot;glyphicon glyphicon-time&quot;&amp;gt;&amp;lt;/i&amp;gt; {{{i18n &quot;History&quot;}}} &amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt; {{/if}} ```` But the topic.js would need some extra code too. And here ends my knowledge.
edited Dec 18 '15 at 10:25 am
142
2
2
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft