Advertisement:

Author Topic: A list of attached files...  (Read 2762 times)

Offline Study Force

  • SMF Hero
  • ******
  • Posts: 3,699
    • StudyForcePS on Facebook
    • @studyforceps on Twitter
Re: A list of attached files...
« Reply #20 on: November 30, 2018, 05:19:49 PM »
Could someone reexplain what this mod does?

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,495
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: A list of attached files...
« Reply #21 on: November 30, 2018, 05:20:47 PM »
Shows a list of attachments
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline diegolyanky

  • Jr. Member
  • **
  • Posts: 329
  • Gender: Male
Re: A list of attached files...
« Reply #22 on: November 30, 2018, 05:38:40 PM »
It's supposed will provide a list of attached files on a forum.
With the functionallity of can search trought filenames of attached files.

But it's still on developing... Can you help?  :)
SMF ... SimpleMachines ... Simple, but complete if you want it ;)

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,383
    • StoryBB/StoryBB on GitHub
Re: A list of attached files...
« Reply #23 on: November 30, 2018, 05:52:03 PM »
What does that offer that 2.0’s admin panel doesn’t?
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,495
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: A list of attached files...
« Reply #24 on: November 30, 2018, 05:53:08 PM »
He is looking for a way for normal membergroups to view the information.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,383
    • StoryBB/StoryBB on GitHub
Re: A list of attached files...
« Reply #25 on: November 30, 2018, 05:54:56 PM »
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline diegolyanky

  • Jr. Member
  • **
  • Posts: 329
  • Gender: Male
Re: A list of attached files...
« Reply #26 on: November 30, 2018, 05:58:35 PM »



:o



SMF ... SimpleMachines ... Simple, but complete if you want it ;)

Offline Study Force

  • SMF Hero
  • ******
  • Posts: 3,699
    • StudyForcePS on Facebook
    • @studyforceps on Twitter
Re: A list of attached files...
« Reply #27 on: December 01, 2018, 10:28:33 AM »
@arantor, I don't think that mod has a search feature

I think what you should do instead is create a checkbox in the search template that specifies you want to search the table that houses the attachments only -- that is if your members actually give their uploads meaningful names and titles. Then, create a function within search.php that only searches that table and presents the results normally. Of course this is just an idea, not a blueprint but that's how i'd approach it rather than creating dedicated template files, etc.

Online shawnb61

  • Developer
  • Sophist Member
  • *
  • Posts: 1,333
    • sbulen on GitHub
Re: A list of attached files...
« Reply #28 on: December 01, 2018, 10:42:09 AM »
Wouldn't there be permissions issues?  Attachments should honor board permissions, correct?  If you don't have permission to see the board, you shouldn't see the board's attachments.



Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,383
    • StoryBB/StoryBB on GitHub
Re: A list of attached files...
« Reply #29 on: December 01, 2018, 10:51:57 AM »
I continue to be amazed at how “just add a checkbox” conveniently ignores the rest of the actual complexity, and I don’t think solves the problem either.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Online shawnb61

  • Developer
  • Sophist Member
  • *
  • Posts: 1,333
    • sbulen on GitHub
Re: A list of attached files...
« Reply #30 on: December 01, 2018, 10:59:49 AM »
For some types of  forums, I think the ability to navigate attachments would be extremely helpful. 

This is how I approached it on my forum.  Far from perfect, but functional:
https://www.vguitarforums.com/smf/index.php?topic=24401.0

A nightly batch job updates this post & also puts out a .csv with the same content who want the additional ability to search/navigate in Excel. 

This only works for my forum because the permissions are flat (it's either public or not, & I filter out attachments for "backstage" boards) and because the # of attachments that meet my search criteria (patches) is relatively small (<4000).   

Speaking of big posts, that's a big post... 
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

Offline Study Force

  • SMF Hero
  • ******
  • Posts: 3,699
    • StudyForcePS on Facebook
    • @studyforceps on Twitter
Re: A list of attached files...
« Reply #31 on: December 01, 2018, 01:57:38 PM »
I mentioned it's NOT a blueprint. Obviously there would be a boat load of coding front and backend. The checkbox idea would be a miniscule template modification.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,383
    • StoryBB/StoryBB on GitHub
Re: A list of attached files...
« Reply #32 on: December 01, 2018, 02:29:01 PM »
Yes, with the intent of “reducing work” when in reality it would be better all round (and less work) to not try to modify the search code.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline diegolyanky

  • Jr. Member
  • **
  • Posts: 329
  • Gender: Male
Re: A list of attached files...
« Reply #33 on: December 01, 2018, 04:45:46 PM »


This is how I approached it on my forum.  Far from perfect, but functional:
https://www.vguitarforums.com/smf/index.php?topic=24401.0

 



I would like to have that on my site. Where can I get it?  :o
SMF ... SimpleMachines ... Simple, but complete if you want it ;)

Online shawnb61

  • Developer
  • Sophist Member
  • *
  • Posts: 1,333
    • sbulen on GitHub
Re: A list of attached files...
« Reply #34 on: December 05, 2018, 03:38:23 PM »
I've been thinking about this.

Limitations:
 - No documentation, as I only really use it internally at the moment. 
 - The install package I've created only works for 2.0.x. 
 - I haven't put licensing info in it, as I wasn't sure I'd distribute it.  It's more a toolbox than a mod. 
 - As noted earlier, "flat" board permissions.
 - As noted earlier, < 4000 attachments suggested.   

If you're OK with these limitations, I'll put it up on Github.  If there is more interest, I'll add documentation. 
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp