FusionBB
FusionBB Review (large)
Recent Members
Welcome them to our community!
FusionBB SWAG!

FusionBB golf shirts, t-shirts, mousepads and more.

Tagging
FusionBBDev Recent Topics

Looking for a Feature and just can not find it? Maybe it has already been coded as a modification.
Search the developer's site and see using the Modification Index. and recommend it as a Feature!

Username Post: attachment link - view count        (Topic#10394)
sb1963
FusionBB Fanatic
Total Posts: 1636
*
Location: UK
Average Post Ranks%:                       
 
04-30-08 10:14 AM - Post#77178    



I'd like the option to totally remove the view count shown after any attachment link on a post.
The count does not increment for images viewed from thumbnails placed using markup.




If this isn't thought worthy of consideration is it possible to edit a file within fbb to achieve this?

Thanks



   Attachment



 
JoshPet
FusionBB Developer
Total Posts: 6722
*
Birthday: 02-08 
Location: Charlotte, NC
Average Post Ranks%:                       
 
05-13-08 03:37 PM - Post#77293    


    In response to sb1963

You're confusing file views with thread views. The view with the attachments only applies if they download the attachment (activate the download.php script). The view count for the topic is at the bottom of the showtopic page. That incriments on their first visit to the topic. But may be delayed if you are caching topic views.

To remove the view counter for the file download script.

There are about 23 occurances of this in showtopic.php - you'd simply have to remove it.

Code:

  {$files[$x]['file_downloads']} {$lang_str['FILE_VIEWS']} 






Feel Better, Feel Younger, Sleep Better - Trans-D Tropin
Visit www.BuyTransD.com - use coupon code 1004 to save $20




Edited by JoshPet on 05-13-08 03:39 PM. Reason for edit: No reason given.
 
sb1963
FusionBB Fanatic
Total Posts: 1636
*
Location: UK
Average Post Ranks%:                       
 
05-13-08 05:58 PM - Post#77306    


    In response to sb1963

Thanks Josh - I'll give that a go. I don't think I was confused - it was just the file view count I wanted to take out. If a thumbnail is created using the thumbnail markup button on the file manager the subsequent views don't increment that counter because as you say they don't activate the download.php script. As I've mentioned before I use the file manager t/nail markup as it gives my preferred caption at the top & thumbnials in rows format.
I'd rather have no counter than one that doesn't reflect the views of an image using the method I prefer


 
Icon Legend Permissions & Sharing Options Topic Options
Print Topic


1118 Views
Calendar
SMTWTFS
 1234
567891011
12131415161718
19202122232425
262728293031 
Current Quote
"I'm seeing a lot of things I like. I like the text navigation below the tabs (bread crumbs)."
~ Jude
FusionBB™ Version 3.2 | ©2003-2013 InteractivePHP, Inc.
Execution time: 0.244 seconds.   Total Queries: 90   Zlib Compression is on.
All times are (GMT-4). Current time is 12:31 AM
Top