Thursday, October 11, 2018

Re: Download counter of Vim scripts no longer incremented?

Brett Stahlman wrote;

> > > On Thursday, February 21, 2013 at 4:10:40 PM UTC-6, Bram Moolenaar wrote:
> > > > I wrote:
> > > >
> > > > > Dominique Pelle wrote:
> > > > >
> > > > > > The Vim scripts at http://www.vim.org/scripts/index.php
> > > > > > show something like...
> > > > > >
> > > > > > script karma Rating 166/43, Downloaded by 513
> > > > > >
> > > > > > I've noticed in the last few days that the download
> > > > > > counters are no longer incremented. It seems to
> > > > > > affect all scripts.
> > > > >
> > > > > It appears the client IP address is no longer available.
> > > > > This is used to avoid counting a download twice.
> > > > >
> > > > > Sourceforge ticket:
> > > > > https://sourceforge.net/p/forge/site-support/2461/?page=1
> > > > >
> > > > > I don't know a workaround.
> > > >
> > > > Sourceforge has fixed the problem, counters increment again.
> > >
> > > Seems to be broken again...
> >
> > We are no longer on SourceForge, thus it must be another problem.
> > How do you see this anyway? If you can explain the problem more clearly
> > I can open a support request.
> >
>
> If I visit a plugin page on the Vim site (e.g.,
> https://www.vim.org/scripts/script.php?script_id=4156) and click on one of
> the download links at the bottom of the page, the file downloads but the
> "Downloaded by" value doesn't increment, even after I've refreshed the page.

I found a typo in the function that gets the IP address. Not sure why
it stopped working, but it appears to be working now.

--
hundred-and-one symptoms of being an internet addict:
184. You no longer ask prospective dates what their sign is, instead
your line is "Hi, what's your URL?"

/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: