1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Forum Statistics - ThemesCorp.com [Paid] [Deleted]

Discussion in 'Add-on Releases' started by Allan, Jul 5, 2015.

Tags:
  1. Allan

    Allan Well-Known Member

    Allan submitted a new resource:

    Forum Statistics - ThemesCorp.com - This add-on allows you to view all the statistics of your forum, resource manager / Media Gallery

    Read more about this resource...
     
    Sheldon and 51463 like this.
  2. Allan

    Allan Well-Known Member

  3. MtoR

    MtoR Well-Known Member

    pecadm likes this.
  4. pecadm

    pecadm Member

    Thanks for linking our site as reference ;)

    I am a big fan of statistics, and I was searching for such an add-on for months. Thank you very much ;)
    And I already have some more ideas for statistics that could be integrated. Will post them later if it's ok.

    The statistics are now also activated for resources, although we use the resources in a bit different way, e.g. without download options etc.

    Some things I noticed after installation:
    • would it be possible to intergrate the sub navigation for forum stats, resources stats and media gallery stats, instead of having a seperate navigation within the sidebar ?
      upload_2015-7-6_23-29-18.png
    • pls use more of the standard XF phrases, e.g. replies, views, likes, members, threads, posts etc.
      Much easier for non-English boards ;)
    • there are 2 typos in the forum stats thread sections in the xml ("topThreads" section line 1265 and "topViewedThreads" section line 1349)
      "<a href="{xen:link thread, $threads}" class="concealed">" should be "<a href="{xen:link threads, $thread}" class="concealed">"
    • an additional "center" or "middle" position would be great that uses the whole width of the site. Our "node_forum_level_2" templates is a bit different. It shows the discussions and messages next to the thread title and description, not below as the standard style. That's why the forum statistics sections look a bit strange as only half of the page width is used.
      upload_2015-7-7_0-9-35.png
     
  5. LurkerLou

    LurkerLou Active Member

    How does it handle the displaying of statistics when there are private nodes that not all members have access to such as admin forums?
     
  6. mcatze

    mcatze Well-Known Member

    @pecadm if you're interested in a German translation feel free to contact me per conversation.
     
  7. MtoR

    MtoR Well-Known Member

    Yes, you are right that would be better, I should have thought at this.

    On coding side that was easier not to search for existing phrases.

    Noted

    You mean no left/right but only a center one ?

    Only shows forums to which user has access to.
     
    pecadm likes this.
  8. pecadm

    pecadm Member

    Ok, understand.
    But the most standard phrases should be easy to be located as most of them are used at least on the index page ;)
    And you partially you used them, e.g. for "views" (2nd line in the code below), and added an own phrase for the same in the same block (9th line in the code below) ;)
    Example: topViewedThreads
    PHP:
                        <div class="extra">
                            <
    a href="{xen:link thread, $threads}" class="concealed"><span style="font-size: 20px" class="dimmed">{xen:number $thread.view_count}</span> <span class="faint">{xen:phrase views}</span></a>
                        </
    div>
                        <
    h3 class="title"><a href="{xen:link threads, $thread}">{$thread.title}</a></h3>
                        <
    div class="info">
                            <
    dl class="infoStats pairsInline">
                                <
    dt title="{xen:phrase tc_fs_posted_on}">{xen:phrase tc_fs_posted_on}:</dt> <dd>{xen:datetime $thread.post_date}</dd>
                                <
    dt title="{xen:phrase tc_fs_replies}">{xen:phrase tc_fs_replies}:</dt> <dd>{xen:number $thread.reply_count}</dd>
                                <
    dt title="{xen:phrase tc_fs_views}">{xen:phrase tc_fs_views}:</dt> <dd>{xen:number $thread.view_count}</dd>
                            </
    dl>
                        </
    div>     
    No, not instead of the 2 existing options, but additionally. A 3rd option that uses the whole width of the website, at least for the forum blocks.
    Or is there any possibility to force a responsive view for the forum blocks as there is only half of the site is used ?
     
  9. MtoR

    MtoR Well-Known Member

    Indeed, I sometime contradict myself ;)

    Not sure I got your last sentence ?
     
  10. pecadm

    pecadm Member

    Was a stupid question, forget it ;)

    I made some changes in the template to avoid the problems with the top forum blocks.
    Not perfect (don't know how to add the node icon) but the forum titles are now better to read with only half of the page width ;)

    PHP:
    <xen:if is="{$key} == 'topForumsByThreads'">
        <
    li>
            <
    div class="sectionMain">
                <
    h1>{xen:phrase tc_fs_top_x_forums_by_threads'count={$xenOptions.tc_fs_nb_top_forums_by_threads}'}</h1>
                <
    ol class="overlayScroll">
                <
    xen:foreach loop="$contentvalue="$forum">
                    <
    li class="primaryContent statsListItem">
                        <
    div class="extra">
                            <
    span style="font-size: 20px" class="dimmed">{xen:if $forum.privateInfo'&ndash;', {xen:number $forum.discussion_count}}</span> <span class="faint">{xen:phrase threads}</span>
                        </
    div>
                        <
    h3 class="title"><a href="{xen:link forums, $forum}" data-description="{xen:if @nodeListDescriptionTooltips, '#nodeDescription-{$forum.node_id}'}">{$forum.title}</a></h3>
                        <
    div class="info">
                        <
    xen:if is="{$forum.description} AND @nodeListDescriptions">
                            <
    blockquote class="nodeDescription {xen:if @nodeListDescriptionTooltips, nodeDescriptionTooltip} baseHtml" id="nodeDescription-{$forum.node_id}">{xen:raw $forum.description}</blockquote>
                        </
    xen:if>
                        </
    div>
                    </
    li>
                </
    xen:foreach>
                </
    ol>
            </
    div>
        </
    li>
    </
    xen:if>

    <
    xen:if is="{$key} == 'topForumsByPosts'"
      <
    li>
      <
    div class="sectionMain">
      <
    h1>{xen:phrase tc_fs_top_x_forums_by_posts'count={$xenOptions.tc_fs_nb_top_forums_by_posts}'}</h1>
      <
    ol class="overlayScroll">
      <
    xen:foreach loop="$contentvalue="$forum">
      <
    li class="primaryContent statsListItem">
      <
    div class="extra">
                <
    span style="font-size: 20px" class="dimmed">{xen:if $forum.privateInfo'&ndash;', {xen:number $forum.message_count}}</span> <span class="faint">{xen:phrase messages}</span>
      </
    div>
      <
    h3 class="title"><a href="{xen:link forums, $forum}" data-description="{xen:if @nodeListDescriptionTooltips, '#nodeDescription-{$forum.node_id}'}">{$forum.title}</a></h3>
             <
    div class="info">
               <
    xen:if is="{$forum.description} AND @nodeListDescriptions">
                 <
    blockquote class="nodeDescription {xen:if @nodeListDescriptionTooltips, nodeDescriptionTooltip} baseHtml" id="nodeDescription-{$forum.node_id}">{xen:raw $forum.description}</blockquote>
               </
    xen:if>
               </
    div>
      </
    li>
      </
    xen:foreach>
      </
    ol>
      </
    div>
      </
    li>
    </
    xen:if>
    upload_2015-7-24_23-19-45.png
     
  11. MtoR

    MtoR Well-Known Member

    Nice suggestion, we'll look into tweaking it alike in the next release.

    Clément
     
    pecadm likes this.
  12. RoldanLT

    RoldanLT Well-Known Member

    Is it possible to show this only for certain usergroup? Thanks!
     
    flowerpot132 likes this.
  13. MtoR

    MtoR Well-Known Member

    Feature request noted, I'll implement that.
     
    RoldanLT likes this.
  14. MITK

    MITK Member

    Is there a way to have the General Statistics and Top 10 Posters show on the index of the Forum, and not just on the statistics page?
     
  15. MtoR

    MtoR Well-Known Member

    No but I guess that could be feasible.

    Noting it, though might not be in the next release as I am already working on it and stopped feature to implement list.
     
  16. MITK

    MITK Member

    OK, thank you for the quick response. Really enjoying this add-on. (almost) Exactly what I was looking for.

    Also could the Top 10 posters be in list format with the total posts and not avatar only?
     
  17. MtoR

    MtoR Well-Known Member

    That something feasible yes. Though the number of posts is displayed as tooltip if you put your mouse over an avatar.

    I could have both accessible as all can be activated/deactivated through admincp options.

    If you like the product don't hesitate to fullfill a review that would be greatly appreciated :)
     
  18. Allan

    Allan Well-Known Member

    Allan updated Forum Statistics - ThemesCorp.com with a new update entry:

    New features + Bugs Fixed - 1.1.0

    Read the rest of this update entry...
     
    pecadm likes this.
  19. pecadm

    pecadm Member

    Nice new features ;)

    Some things I found in the current version:
    • In template "tc_fs_forum_stats_display" line 63
      PHP:
      <h1>{xen:phrase tc_fs_top_x_liked_posts'count={$xenOptions.tc_fs_nb_posts_today}'}</h1>
      should be
      PHP:
      <h1>{xen:phrase tc_fs_top_x_liked_posts'count={$xenOptions.tc_fs_nb_posts_liked}'}</h1>
    • The "registered" phrase is usually used to show the date when someone registered. In German it's then the translation of "registered since".
      For the user activity stats the "members" phrase would be better (Model/OnlineStats.php line 64)
    • Is it possible to set the ticksize for the y-axis dynamically ? At least for mid and large boards 1 is very small and makes the y-axis unreadable
      upload_2015-8-29_14-7-1.png
    • The time an x-axis is always 2 hours behind the actual time. xF time settings are correct (UTC+1) and are working for posts etc. and also for the timestamps in the visitor activity below the stats graph:
      upload_2015-8-29_14-11-42.png
     
  20. MtoR

    MtoR Well-Known Member

    Thanks for the suggestions and the bug reports, noted.
     

Share This Page