can i make my moodlesite available only via mobile or tab ?
i mean that it can open via chrom or firefox app on mible but do not open or raise errorif opend via desktop browser
is it possible ?
can i make my moodlesite available only via mobile or tab ?
Re: can i make my moodlesite available only via mobile or tab ?
Sounds like there is more to this ... as you say '...or raise error if opened via desktop browser.'
If there is an error, wouldn't it be best to fix the error rather than hide it?
Besides that ... users having the ability to use browser on mobile/tab gives them an alt if the app they are using is broken/having issues ... or app just can't/won't do something.
Unless I am just totally not understanding.
'SoS', Ken
Re: can i make my moodlesite available only via mobile or tab ?
in fact i asked for a simple video protection , just to prevent ordinary users from direct and easy downlod video , and someone here ( may be kin or rick) help me add one line of code in the php file of video player so the right click is disabled also in mobile web browser application the availability to direct downlod is disbled ,
it good enough for my students, but in firefox and chome there is many addons that simply download it , these addon not or dhard to be instaled in mobile version , so it seem a good extra protection( for my users)
Re: can i make my moodlesite available only via mobile or tab ?
if it's not the problem Ken described, you can do it by adding javascript that use that object" navigator" but it's a very weak protection.
From server side you can dig here $_SERVER['HTTP_USER_AGENT'].
Dominique.
Re: can i make my moodlesite available only via mobile or tab ?
how to make this , where to put that code .....
Re: can i make my moodlesite available only via mobile or tab ?
It might help if you let us know what problem you are trying to solve. Why would you want to prevent users accessing Moodle from a Desktop browser? There might be things you can implement to make it more difficult, but they're unlikely to be robust. If you can explain why you want to do this in the first place, we might be able to offer an alternative solution, or address the concerns that have.
Re: can i make my moodlesite available only via mobile or tab ?
it good enough for my students, but in firefox and chome there is many addons that simply download it , these addon not or dhard to be instaled in mobile version , so it seem a good extra protection( for my users)
Re: can i make my moodlesite available only via mobile or tab ?
You can (and this is what you are trying) make it slightly inconvenient but... you are then just inconveniencing your "genuine" users for no reason and those that really want to download it will do it anyway.
I will say what I say to everybody who asks this question. Please don't take it the wrong way. You might want to consider that if your business model depends on people not downloading and saving your content then it may not be a very good business model.
Re: can i make my moodlesite available only via mobile or tab ?
i edited the name to :
Mohammad
Nabil Riad
also a put somr information about me ( egypt , pharmacist ,.....)
but every time i log via google it return to SmartStudy
Re: can i make my moodlesite available only via mobile or tab ?
Re: can i make my moodlesite available only via mobile or tab ?
Mohammadnabil