Jump to content

(NB40) Attachment Hits Counter


newbie LAC

Recommended Posts

Posted

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! 

Posted

Hello,

11 hours ago, 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

11 hours ago, Sull5 said:

if if there was an option to enable this

"Show/hide" setting?

Posted
8 hours ago, 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!

Posted
On 1/12/2016 at 10:44 PM, 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.

Posted
12 hours ago, 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.

Posted
1 hour ago, 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...
Posted

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? 

Posted
Just now, 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...
Posted

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.

Posted
3 hours ago, 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

  • 1 month later...
Posted

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
Размер

 

Posted (edited)

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
Posted

@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?

Posted (edited)
35 minutes ago, 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
  • 1 month later...
Posted

Hello,

15 hours ago, Safety1st said:

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

Yes.

7 minutes ago, 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 members

    • No registered users viewing this page.
×
×
  • Create New...