WordPress.org

Support

Support » Plugins and Hacks » StatComm (StatPress Community) Multisite Edition » [Resolved] [Plugin: StatComm (StatPress Community) Multisite Edition] Suggestion: Grouping referrers by group p

[Resolved] [Plugin: StatComm (StatPress Community) Multisite Edition] Suggestion: Grouping referrers by group p

  • Hey guys!

    Is it possible to define some rules for grouping different referrers to a common pattern and the option to see a list of all referrers in this group?

    E.g.:
    [Referrers raw list]
    domain.tld/foo = 12
    domain.tld/bar = 3
    domain2.tld/cathegory = 5
    domain.tld/foo/bar = 37
    domain.tld/bar/foo = 8
    domain.tld/42 = 42
    domain2.tld/a/b?foo=bar = 1337

    [Pattern list]
    domain.tld*
    domain.tld/foo*
    domain2.tld*

    [Grouped referrers list]
    [-]domain.tld = 102
    |-domain.tld/foo = 12
    |-domain.tld/bar = 3
    |-domain.tld/foo/bar = 37
    |-domain.tld/bar/foo = 8
    |-domain.tld/42 = 42
    [-]domain.tld/foo = 49
    |-domain.tld/foo = 12
    |-domain.tld/foo/bar = 37
    [+]domain2.tld = 1342

    ##################################################
    One of my top referrers is a very old board software with generated unique URLs for each post. This is the reason that my top referrers list lists 8 different links of the same source (forum) and only 2 other referrers.
    The same thing would be very fine for OSs, too.

    http://wordpress.org/extend/plugins/statpress-community-formerly-statcomm/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author WPReady

    @wpready

    Thanks for your comments.
    With the current Statcomm core, it is possible although it needs to be implemented.

    A subplugin could do that creating some views based on the patterns. However, we need to figure it out a nice way to display the groups. Currently html tables are little ugly to display and handle the data.
    We are working to implement Ajax tables inside Statcomm core, but we are in very early stages.

    We think we’ll get to your idea sooner or later, since grouping is a needed feature to display incoming data in a more understandable way.

    We’ll try to publish a list of requested features and include yours in it. that will be published in our site http://wpgetready.com soon.

    Best regards
    Fernando.

    “Currently html tables are little ugly to display and handle the data.”

    Mh, I never really programmed for web, but a few years ago, I played a little bit with php, html, css an javascript. There are easy ways to show or not to show elements (div containers). I just put together a little snippet that does exactly this:

    <html>
    <script type=”text/javascript”>
    var show = false;
    function visible() {
    if (show == false) {
    document.all.a.style.display = “block”;
    show = true;
    } else if (show == true) {
    document.all.a.style.display = “none”;
    show = false;
    }
    }
    </script>
    <body>
    <table>
    <tr>
    <td>ID</td>
    <td>Name</td>
    </tr>
    <tr>
    <td>0</td>
    <td><_a h_ref=”visible()”>foo</_a></td>
    </tr>
    <tr>
    <td colspan=”2″>
    <div id=”a” style=”display: none;”>
    <table>
    <tr>
    <td>0a</td>
    <td>foo/bar</td>
    </tr>
    </table>
    </div>
    </td>
    </tr>
    <tr>
    <td>1</td>
    <td>bar</td>
    </tr>
    </table>
    </body>
    </html>

    Every time you click on the link “foo” a second table appear or disappear. Maybe it helps you.

    Plugin Author WPReady

    @wpready

    You are right. What we meant is we need to take a step further. We have listened also to another user in this post.

    What we trying to achieve is a more generic way of grouping information using a combination of Ajax with nested tables. We are under way of getting it, but it needs testing. The idea is close to the sample you provided.

    Thanks for your suggestions, we’ll going to implement it.
    Best regards
    Fernando

    That sounds great! I’ll wait for the next updates and than we’ll see what will happen.

    By the way, is there any API for your new Subplugin system?

    Plugin Author WPReady

    @wpready

    The Subplugin system is reusing much of WordPress core as possible. That means anybody who makes a plugin could easily make a subplugin.

    We’ll be adding many examples on incoming Statcomm versions along with posts,documentation and we hope some videos.

    Best regards
    Fernando

    Plugin Author WPReady

    @wpready

    Also, take a look on Statcomm 1.7.30 is coming:new features

    Here we are explaining subplugin advantages and limitations.

    Best regards
    Fernando

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] [Plugin: StatComm (StatPress Community) Multisite Edition] Suggestion: Grouping referrers by group p’ is closed to new replies.
Skip to toolbar