Open a pdf file in a webpage(Wordpress) without giving its URL? - html

This problem is a little different, so I will try my best to explain it as much as I can. I would really appreciate any help I can get on this issue.
I have a website where I have a registration form after which the users can view a report. This report is saved on the server and thus people can view it directly as well (by just going to the url of the pdf). I want to find a way such that users have to register in order to view the report. I don't want to use flash as I know mobile browsers have issues with it (Apple). Password protection is also something which I want to avoid. Is there any way where users have to go through the registration in order to view the report? THANKS A LOT
The website is in Wordpress btw.

Try out this plugin: User Access Manager
In that plugin, make a user group and allow access to view your pdf file to that user group only.
This plugin will Redirecting users to other pages if no access.
Try it out. Cheers !!!

Related

Is it possible to see which tab is open in the Chrome when your website/web app is open in browser?

I want to create a web app(for practicing my skills) that will help in conducting online exams. So I want to ask that is there any way to find out the following things---
Is there another page opened in the chrome (if yes then which)
Is there is another application running in the background (if yes then which)
Is user switching between tabs/applications/desktops etc.
Basically, I just want to create an app that just keeps track of users' activity when the user is giving an exam.
And if you have any of the solutions to the above problems then please tell.
Since most things you want to access are considered private data, it is not directly possible in a Web App, except the page visibility. But you can write a browser extension, which is at least allowed to access data within the browser. For information beyond the browser you should consider a native application or some embedded solution like React Native, Xamarin, or Electron, to name a few.
To get the info if the user is currently using the tab your Web App is running in, use the Page Visibility API:
https://developer.mozilla.org/en-US/docs/Web/API/Page_Visibility_API
For accessing information about other tabs and browser internal stuff, write an extension:
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API

User Picker is not returning thumbnail

I created a simple Ticket Kiosk using Google App Maker. Everything was working great but now the user thumbnails are not showing up. Essentially, it uses the User Picker widget with a Directory database that pulls everyone in our g suite domain. It's still pulling all of the user data but the URL that it is pulling from the ThumbnailPhotoUrl field no longer comes up with an image. The URL is still exactly the same as it was when it was working so I don't think it's the code, but maybe something changes in G Suite? Has anyone else experienced this issue?
Thanks,
Dom
This was an issue between Google and our network. We were getting 404 errors when trying to pull up pictures from Hangouts as well. It resolved itself overnight.

Programmatically Setting Custom Permissions for Google Sites Pages

I'm currently creating a Google Site for staff where I work. We would like each staff member to have their own page that only they can view with details such as rota's, shift itinerary etc. We would not like other members of staff be able to view this. The current idea I have for implementing this is to run a script that generates a page for each user with the custom permissions set so only editors and themselves can view it. However, although I am aware you can set site wide permissions through Google Scripts, I can not find a way to set page wide custom permissions programmatically.
Is anyone aware of a way I can do this or if there is an alternative way to achieve the same goal?
Many thanks
Check out the following link:
https://code.google.com/a/google.com/p/apps-api-issues/issues/detail?id=2934
And also check out the following link (check comment #15):
https://code.google.com/p/google-apps-script-issues/issues/detail?id=1021
(comment #15): A work around you can use is to add a group with the permissions you require and then from Apps Script you can programmatically add/remove people from the group.
If you want Google engineers to develop this functionality then vote for this issue on the above link.

How can I create a login page that logs into another website?

I have a login url that a client doesn't want to use, instead they would like to have their own login page that logs into the existing webpage without the existing webpage being seen.
The exiting url is https://diamond.realtimedespatch.co.uk/web/user/login.htm
The client wants their own logo's shown on their own login page.
Many thanks in advance.
If i understand your problem correctly, you need to use SSO ( Single singn on) on your project. You will get more details for SSO at https://auth0.com/docs/sso/single-sign-on

How do I alter content on Scribd?

I have Scribd files on my website: http://www.wellbeingbydesign.com/main/?cat=7
Since my webmaster got sick, I don't know how to get into these Scribd files to edit them.
Thanks,
Catherine
I am not that familiar with it, but I think you need to login to scribd.com and upload/edit your documents. You of course will need your login. If you don't have that you might just be able to create a new account, upload, and then change your web app to point to the new location.