Not signed in (Sign In)

Categories

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.

Help keep Vanilla free:
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    • CommentAuthortamkun
    • CommentTimeJul 27th 2006
     # 1
    This extension will allow you to add "Discussion View Counter".

    Please read "ReadMe" file as there is an important requirement for this extension.
    To access counter panel you have to give "Discussion Counter Management" permission to your user group from roles section.
    •  
      CommentAuthorØ
    • CommentTimeMar 18th 2007
     # 2
    Hi there,

    Looks like this extension isn't found by the Vanilla updater.
    •  
      CommentAuthorLussumo Bot
    • CommentTimeMar 22nd 2007 edited
     # 3
    Uploaded version 1.2.1 of Discussion View Counter.

    Removed unnecessary instructions from readme (obsolete since the release of Vanilla 1.1).
    •  
      CommentAuthorGMonkey
    • CommentTimeMar 24th 2007
     # 4
    I just lost all the discussion view counts when I updated. Now no views counter shows. http://gliving.tv/community
    •  
      CommentAuthorGMonkey
    • CommentTimeMar 28th 2007
     # 5
    Tamkun,

    No ideas why the counter stopped working?
    •  
      CommentAuthorjimw
    • CommentTimeMar 29th 2007
     # 6
    I just installed this for the first time to see how it works and it seemed to work fine for me. So, you uploaded the new version of the extension overwriting the old files. Was the extension still activated?

    Also, before you activate it again, if it needs it, I would suggest making a copy of the vanilla database first.
    •  
      CommentAuthorGMonkey
    • CommentTimeMar 29th 2007
     # 7
    I just discovered it is an issue with the overview interface. If I go back to the standard vanilla discussion list, the view count is there. If I turn on the overview extension, they disappear. Must be missing something..
    • CommentAuthoreliot
    • CommentTimeMay 2nd 2007
     # 8
    Version 1.2.1 has "Discussion View Count" in the default.php file, and this page is "Discussion View Counter". Update checking doesn't work.
    •  
      CommentAuthorskube
    • CommentTimeMay 10th 2007 edited
     # 9
    I tried installing this after I had un-installed a previous version but I got an error saying that the table did not exist.

    Affected Elements
    ViewDiscussions.DiscussionGridView_Add();
    The error occurred on or near: Table 'skubeco_vanilla.LUM_discussionviews' doesn't exist

    Is there something I need to do to re-create the table?
    •  
      CommentAuthorWallPhone
    • CommentTimeJun 29th 2007
     # 10
    Skube: If you remove the version setting ('EXTENSION_VIEW_DISCUSSION_VERSION') from conf/settings.php, it will force the view counter to rebuild the missing table.

    Related:
    Version 1.2.1 has a bad installation routine that can cause the settings file to be corrupted.

    This should fix the issue
    • CommentAuthor0169
    • CommentTimeSep 26th 2007
     # 11
    On pages from extensions such as Dojo, Private Messages, PFC, to the left it shows "Extension Options" with "Discussion Counter" underneath when it's only meant for the Settings page.

    How can this be fixed?
    •  
      CommentAuthorØ
    • CommentTimeOct 12th 2007
     # 12
    The easiest way I've found to fix this is by replacing line 96:
    if( in_array($Context->SelfUrl, array('settings.php', 'extension.php')) && $Context->Session->User->RoleID == $managerRoleId)
    by this:
    if( in_array($Context->SelfUrl, array('settings.php')) && $Context->Session->User->RoleID == $managerRoleId)
    Dunno if it's good to create an array with only one element since I'm not really a coder, but it seems to work so far.

    By the way, if someone knows a way to make it work with Discussion Overview like GMonkey asked earlier, I'd be interested too :)
  1.  # 13
    Any way someone could come up with a DiscussionFilter for this plugin? Sort by most views.
    •  
      CommentAuthorselflearner
    • CommentTimeDec 20th 2007 edited
     # 14
    hi there,
    I use this extension but, my site is now developing so I found that when I (as Admin) view any discussion, the counter is updating. I don't know if anyone finds that necessary but I did, so I add;

    function CreateMemberList() {

    global $Context;

    $sql = $Context->ObjectFactory->NewContextObject($Context, 'SqlBuilder');

    $sql->SetMainTable('User','u');

    $sql->AddSelect(array('UserID', 'RoleID', 'FirstName', 'LastName', 'Name', 'Email', 'UtilizeEmail', 'CountDiscussions', 'CountComments', 'DateFirstVisit', 'ShowName', 'Icon', 'CountVisit'), 'u');


    $result = $Context->Database->Select($sql, 'MembersList', 'MembersListTable', 'An error occurred while listing the member information.');

    //return $Context->Session->RoleID;
    return $Context->Session->User->UserID;
    }

    right after

    include(VIEW_DISCUSSION_EXTENSION_PATH . 'conf/settings.php');

    then,
    find that line,
    if($check)

    change it,

    if($check && CreateMemberList()!=1)

    so if you are an admin (creator of the forum), it will not count your visits...

    if I'm mistaken or suggesting something wrong please inform me..
    thanks in advance
    selflearner./
    • CommentAuthorLoOkHerE
    • CommentTimeJan 3rd 2008
     # 15
    Great extension. Anyone know how I can get the View count to display before the New comments count? I've tried to track it down, but I can't.
    • CommentAuthorphynias
    • CommentTimeFeb 7th 2008
     # 16
    is it me or does this extension not work right? i can open a discussion and hit refresh 10 times and it will update the view count 10 times. a view count shouldn't update with each page view, but with each person viewing it. has anyone modified tis extension to do that? i would love to use this if it worked like other boards.
    •  
      CommentAuthorobjected
    • CommentTimeApr 17th 2008
     # 17
    I agree with phynias, It should only update with each new visitor, not each new page refresh.
Add your comments
    Username Password
  • Format comments as