Jump to content

(NB40) Attachment Hits Counter

Featured Replies

Hi, great plugin. I'd like to request an additional feature. In the 3.x series the size of the attached file would be listed as well as the download count, it would be awesome if if there was an option to enable this, could have a file icon with the size of the file next to it. 

Thanks! 

  • Replies 57
  • Views 5.6k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • I can't reproduce. Confirmed. Images placed on 1 line. Give me some time to fix this.

  • Hello, I added a setting "Show attach size"

  • newbie LAC
    newbie LAC

    I changed the plugin. In new version the counter work everywhere

Posted Images

  • Author

Hello,

  On 1/11/2016 at 7:25 PM, Sull5 said:

could have a file icon with the size of the file next to it. 

Mime-Types was removed in 4.X. I can add 1 icon for all types.

attach.jpg.a6615688d3156cce968502a4e9367

  On 1/11/2016 at 7:25 PM, Sull5 said:

if if there was an option to enable this

"Show/hide" setting?

  On 1/12/2016 at 6:44 AM, newbie LAC said:

Hello,

Mime-Types was removed in 4.X. I can add 1 icon for all types.

"Show/hide" setting?

That looks good!

is there an option to hide file size?

  • Author
  On 1/13/2016 at 5:49 AM, superj707 said:

is there an option to hide file size?

Hello,

I added a setting "Show attach size"

  On 1/12/2016 at 6:44 AM, newbie LAC said:

Hello,

Mime-Types was removed in 4.X. I can add 1 icon for all types.

 

"Show/hide" setting?

Latest version is giving me this..

56967b909f3c2_Screenshot2016-01-1308.29.

  • Author
  On 1/13/2016 at 4:30 PM, Sull5 said:

Latest version is giving me this..

56967b909f3c2_Screenshot2016-01-1308.29.

Hello,

Can you give a link on this post? Before uploading new version I tested it. But I removed old version and installed new.

  On 1/14/2016 at 5:24 AM, newbie LAC said:

Hello,

Can you give a link on this post? Before uploading new version I tested it. But I removed old version and installed new.

Removing old and installing new fixed the problem.

  • 1 month later...

I am having an issue where when users try to click on an attachment it doesn't open, but when they right click and choose "open in another tab" it works. This is only a problem when I have your mod enabled. Any ideas? 

  • Author
  On 3/13/2016 at 2:51 AM, ProTroll said:

I am having an issue where when users try to click on an attachment it doesn't open, but when they right click and choose "open in another tab" it works. This is only a problem when I have your mod enabled. Any ideas? 

Hello,

Give me a link on problem post

  • 2 weeks later...

My users are getting to the point where they post many images in the status feed.

Would be wonderful if we could get the counter working in the status feed.

  • Author
  On 3/25/2016 at 1:50 AM, superj707 said:

My users are getting to the point where they post many images in the status feed.

Would be wonderful if we could get the counter working in the status feed.

I changed the plugin. In new version the counter work everywhere

I updated to newest version. Not working on status feed.nothere.PNG

  • Author
  On 3/26/2016 at 2:22 AM, superj707 said:

I updated to newest version. Not working on status feed.

Updated not uploaded ^_^

I'll upload new version coming soon.

  On 3/26/2016 at 5:03 AM, newbie LAC said:

Updated not uploaded ^_^

I'll upload new version coming soon.

DOH! .. ok LOL

  • Author
  On 3/26/2016 at 5:11 AM, superj707 said:

DOH! .. ok LOL

Uploaded v1.0.5

  • 1 month later...

The main Russian translation keys:

nb_attach_hits_tooltip_title
{# [1:скачивание][2:скачивания][3:скачивания][4:скачивания][11:скачиваний][12:скачиваний][13:скачиваний][14:скачиваний][*1:скачивание][*2:скачивания][*3:скачивания][*4:скачивания][?:скачиваний]}

nb_attach_size_tooltip_title
Размер

 

IPB 4.1.11. Yesterday I installed the plugin and encountered a big problem. Every attachment on the Forum became undownloadable using common left-mouse click. After a click nothing happens at all. But there is ability to download an attachment using 'Save target as...' option after right-mouse click. Link HTML code stays the same no matter whether the plugin enabled or not. The problem was tested in all major browsers including Microsoft Edge, tried to reinstall the plugin and disable the rest plugins. Used options were:

KvIV.jpg

Also I never saw hits counter with images because we use external images only.
I tried to find out a configuration to avoid the problem and was succeed in. I found out that all user groups that is not set in second 'Groups' list (that is for images only) don't have a problem. But a solution would be more appropriate ;)

Edited by Safety1st

  • Author
  On 5/4/2016 at 8:35 PM, Safety1st said:

IPB 4.1.11. Yesterday I installed the plugin and encountered a big problem. Every attachment on the Forum became undownloadable using common left-mouse click.

Hello,

Fixed

@newbie LAC Thank you, the issue is gone dh.gif

Just one more thing. I'm trying to test hits counter for images. Please look at the post. I uploaded the picture on the forum and made it clickable. I don't see a counter. Here is post source code:

<p>
	<a href="https://www.yandex.ru/" rel="external nofollow"><img alt="raspinovka.jpg" class="ipsImage ipsImage_thumbnailed" data-fileid="783" data-unique="v7rpkriu8" src="http://goldsrc.ru/uploads/monthly_2016_05/raspinovka.jpg.cbf885dc01c5ceb463e1940dc89c2c23.jpg"></a>
</p>

What am I doing wrong?

  • Author
  On 5/5/2016 at 11:18 AM, Safety1st said:

@newbie LAC Thank you, the issue is gone dh.gif

Just one more thing. I'm trying to test hits counter for images. Please look at the post. I uploaded the picture on the forum and made it clickable. I don't see a counter. Here is post source code:


<p>
	<a href="https://www.yandex.ru/" rel="external nofollow"><img alt="raspinovka.jpg" class="ipsImage ipsImage_thumbnailed" data-fileid="783" data-unique="v7rpkriu8" src="http://goldsrc.ru/uploads/monthly_2016_05/raspinovka.jpg.cbf885dc01c5ceb463e1940dc89c2c23.jpg"></a>
</p>

What am I doing wrong?

It's depends of image dimensions.

Initially it was assumed that the image would be with a thumbnail.

First. Counter works fine.

<a href="/uploads/monthly_2016_05/front.jpg.3ddeee05b785503c34702bfaccfd2d0c.jpg" class="ipsAttachLink ipsAttachLink_image" data-ipslightbox="" data-ipslightbox-group="g25055">
	<img data-fileid="219" src="/uploads/monthly_2016_05/front.jpg.3ddeee05b785503c34702bfaccfd2d0c.jpg" class="ipsImage ipsImage_thumbnailed" alt="front.jpg">
</a>

Second. Counter doesn't work.  Maximum image dimensions to save is unlimited.

<a href="/uploads/monthly_2016_05/front.jpg.e40cf5808640f6cacfce8d514b85b64c.jpg" title="Enlarge image" data-ipslightbox="" data-ipslightbox-group="g24668">
	<img alt="front.jpg" class="ipsImage ipsImage_thumbnailed" data-fileid="218" src="/uploads/monthly_2016_05/Front.jpg.e40cf5808640f6cacfce8d514b85b64c.jpg" style="width:631px;height:631px;">
</a>

Third. Image with custom link. Yours code. Counter doesn't work.

<a href="https://www.yandex.ru/" rel="external nofollow noopener noreferrer" target="_blank">
	<img alt="raspinovka.jpg" class="ipsImage ipsImage_thumbnailed" data-fileid="783" data-unique="v7rpkriu8" src="http://goldsrc.ru/uploads/monthly_2016_05/raspinovka.jpg.cbf885dc01c5ceb463e1940dc89c2c23.jpg">
</a>

I need some time to implement all the variants.

Edited by newbie LAC

  • Author
  On 5/5/2016 at 11:18 AM, Safety1st said:

Just one more thing. I'm trying to test hits counter for images. Please look at the post.

Hello,

I updated the plugin. Please PM me. I'll send you new plugin for testing.

  • 1 month later...

@newbie LAC Could you add an option to disable counter for images at all?

hi @newbie LAC does this work for attachments set up in the Pages add-on? Or only for the forum area? Because in Pages you can mark a field to be for uploads.

  • Author

Hello,

  On 6/11/2016 at 2:24 PM, Safety1st said:

@newbie LAC Could you add an option to disable counter for images at all?

Yes.

  On 6/12/2016 at 5:48 AM, MajorCyto said:

hi @newbie LAC does this work for attachments set up in the Pages add-on? Or only for the forum area? Because in Pages you can mark a field to be for uploads.

Hello,

It should work everywhere where attaches are used.

Give me a link on a page to see a code

Recently Browsing 0

  • No registered users viewing this page.