News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Attachment Browser

Started by shawnb61, May 09, 2022, 02:32:15 PM

Previous topic - Next topic

keyboard

#20
Is it possible to filter by "Most Recent" regardless of extension name. I would make a substantial donation for something like this !

Слaва
Украинi

keyboard

Is it possible to filter by "Most Recent" regardless of extension name ?

Слaва
Украинi

shawnb61

Not at this time, but an excellent idea for the next version!
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

keyboard

Quote from: shawnb61 on May 26, 2023, 10:38:10 PMNot at this time, but an excellent idea for the next version!

I have been using SMF since 2007 and my ONE AND ONLY complaint is that we are missing that feature.

My Site thrives on attachments and whenever I add an attachment to an existing message, it does not show in "Recent Posts".  If I create a new message and attach a file, it will show. So I have no way to inform my users that I Have uploaded new material.  I would say that 60% of all my uploads are to existing messages

This is where your mod would solve the problem.    Filter by "Recent Attachments" would be awesome

Please give it some thought.... You have my permission to PM me if needed

Ron
Слaва
Украинi

keyboard

#24
Hi

I log in as "admin", upload a pdf, and tag it........ Then when I go to "Attachments" and click on an attachment, I get changed to a guest.

"You cannot view this attachment."

I am running a fresh install of 2.1.4 using the default theme. The only other mod that I have installed is "Recent Forum Topics on Board Index"

I am missing something fundamental

Please advise
Слaва
Украинi

shawnb61

Hmmm... I cannot reproduce that.  Sounds like you got logged out somehow.

Does this happen consistently?

Is it possible your session just expired?
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

keyboard

The strange thing is, if I click on the "Attachment List/Subject", I get changed to a Guest.......
But if I click on "Attachment List/Filename", I am able to download with no problems (Administrator)

Please advise
Слaва
Украинi

keyboard

I restored a backup to an earlier date and I don't have that problem anymore

Слaва
Украинi

keyboard

Still had problems so I did a complete reinstall and have no problems now !!!!!
Слaва
Украинi

shawnb61

When you say you get changed to a guest... Does that mean you were logged out & had to log back in?

And this happens when you changed the sort order to sort by Subject?  But not other sort orders?

Can guests view attachments?

Do you have similar issues browsing the member list?

It might help if you could share the URL you see when hovering over Subject, to see if something funky is happening to that URL.

This mod utilizes fairly straightforward SMF list functions, including sorting and paging.  Identical to the SMF member list function.

If one of the sorting links brings you somewhere strange, my best guess is that your browser had that cached somehow.  My first suggestions would be to try clearing your browser history, & also trying a hard browser refresh (usually Ctl-F5) to ensure the page is rebuilt clean.
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

keyboard

In fairness, I fault everything to the initial installation of SMF (errors made by me) to be the cause of all the problems I have been having

Since then, I have reinstalled SMF and have not have any problems with "Attachment Browser"

The only problem that I have run into, is a file name must only contain text. Other characters such as "&" give me an error.

Other than that, I am quite happy with the "Attachment Browser"  The "Filter" is an awesome feature. Perfect for my needs.

Слaва
Украинi

keyboard

So "Mike & the Mechanics' has to be "Mike and the Mechanics"
Слaва
Украинi

shawnb61

#32
Quote from: keyboard on July 06, 2023, 08:50:08 PMSo "Mike & the Mechanics' has to be "Mike and the Mechanics"

What kind of error are you seeing?  I can upload, display, list, & even download the file.  See attachment on this post.

Attachment Browser properly tags the file & displays its name.  No errors logged by Attachment Browser or SMF.


(However... I do see that upon download it is named funky...  I logged an issue for that:
https://github.com/SimpleMachines/SMF/issues/7785 )
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

keyboard

When I want to add this

You cannot view this attachment.

I get this message

You cannot view this attachment.
Слaва
Украинi

shawnb61

Ah, yes - tags.  That is a limitation of Attachment Browser.  Special characters are not allowed within tags.
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

darkmoon2010

Hi,
i like your mod, it works fine.

Is it possible to give only admin users access to the mod in the menu tab to hide it for "normal" users ?
At the moment everybody has permission to see the mod in the menu tab ?

Best regards

Thomas

shawnb61

Anyone with permission to view attachments will have access to this mod and see it in their menu.

Note that admins can already browse attachments in the ACP.  The primary goal of this mod was to provide similar access to non-admins.

So, to restrict access, one option is to restrict the ability to view attachments.

Or, if you just want to hide the menu entry from non-admins, you would need to tweak the integrate menu hook.  Note non-admins could still access it if they knew the proper url.


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

keyboard

#37
I select "Mamboleo - Loona

You cannot view this attachment.

even though I have logged in as admin, I see this

You cannot view this attachment.

and when I try to log in again , I see this

You cannot view this attachment.

I have tried Chrome, Firefox, Safari, Edge, Opera and the only way to log in, is get out of the application and restart.

I have not registered the Domain Name and the forum is in another Domain. I do not know if this is relevant or not !   I do not have this problem when I uninstall the Mod so I am guessing that it is Mod related.


I really like this Mod and would love to use this. 

Please advise
Слaва
Украинi

Diego Andrés

Make sure the URL  of your forum is consistent and the same as the one you want to visit.
For example, I see in your profile here, you have linked your forum as http://www. And your forum URL is actually https://www..

SMF Tricks - Free & Premium Responsive Themes for SMF.

keyboard

My URL looks good .....

You cannot view this attachment.
Слaва
Украинi

Advertisement: