Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Anonyomous user is able
Avatar
mann
Member
Free Members
sp_UserOfflineSmall Offline
May 14, 2012 - 10:30 am

Anonyomous user is unable to see the attachments. In the link below, there are two attachments which only the logged on user can see but the anonymous user would think that we have missed out on the attachments. The anonyomous user should be able to see the files but when he clicks on them, he is directed to the registration/login page. I checked the permissions but there doesn't seem to be an option for doing that.

http://www.aristotleprep.com/g.....r-the-gre/

 

Edit: Sorry for the incomplete topic title. Just forgot to put the complete topic name here.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
May 14, 2012 - 12:27 pm

Correct - there is no built in permission that does that - just the one that hides attachments for those that can not download. That's quite a specialist requirement.

andy-signature.png
YELLOW
SWORDFISH
Avatar
mann
Member
Free Members
sp_UserOfflineSmall Offline
May 15, 2012 - 3:45 am

I am not sure whether that will be a specialist requirement.laughUsers actually mail us that there's no files attached to the post. We can put something like this though in the posts to remove the ambiguity

"You will be able to view and download the files after logging in" but that just sounds as though we are putting up the post just to make the people register

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
May 15, 2012 - 5:32 am

Well it is really quite a specific requirement - certainly one we have never been asked for before. I simply mean by this that it is something that fits into your own workflow but doubtfully required by other users. Hence specialist.

What we might be able to do - and I would need to research this and check on it - is put a filter on the attachment link so that some custom code could override it and redirect to wherever it needed to go. But as I say , will need to do a little research into that. If I find anything I will come back to you.

andy-signature.png
YELLOW
SWORDFISH
Avatar
mann
Member
Free Members
sp_UserOfflineSmall Offline
May 16, 2012 - 4:21 am

Great.I will wait. Do let me know if anything is possible.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
May 16, 2012 - 5:53 am

I see no reason why we can't do that. I have opened a ticket and left a note for Steve (who coded this part) explaining the requirement. Just needs to be put in place and named. We can let you know that when done so you can replictae it if you wish.

Do you know how to use WP actions/filters and code for them?

andy-signature.png
YELLOW
SWORDFISH
Avatar
mann
Member
Free Members
sp_UserOfflineSmall Offline
May 19, 2012 - 12:25 am

Yellow Swordfish said
I see no reason why we can't do that. I have opened a ticket and left a note for Steve (who coded this part) explaining the requirement. Just needs to be put in place and named. We can let you know that when done so you can replictae it if you wish.

Do you know how to use WP actions/filters and code for them?

Sounds great. I  don't know anything about WP actions/filters. But what is google for?smile I'll search and try to learn about them a bit 🙂

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
May 19, 2012 - 4:31 am

The WP Codex explains how to use them but we can also help.

We have added the filter and this will be in the next release - 5.1 - hopefully in the next week or two.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
May 19, 2012 - 9:42 am

some light reading wink

http://codex.wordpress.org/Plugin_API

Avatar
mann
Member
Free Members
sp_UserOfflineSmall Offline
May 19, 2012 - 11:31 am

Thanks guys. Will go through the link and will wait for the release of v5.1

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626