Suppose I have a website written in Meteor. Now I only want selected people to visit my website. Like Eventbrite's private event, only invited people can access by inputting access code.
Just curious whether there is such a feature available in Meteor. If not, could someone point me to some resource on how to proceed?
More on this:
Suppose I want to access www.a.com. In order to access its contents, I need input an access code. Otherwise, I can only see a dialog to ask me to input code.
Is this clear?
Thanks
Derek
no, there is nothing like this. i needed something like that and ended up writing it myself.
Related
I'm a beginner to silverstripe and am happy for someone to just point to a relevant section of the docs if they know where I should read. I just haven't been able to find very good instruction on this.
So I have created an Enquiry form for a site I'm building, and have:
/template/Layout/EnquiryPage.ss
/mysite/code/EnquiryPage.php
/mysite/code/EnquirySubmission.php
All are working well, users can upload enquirers and they are stored in the database.
What I want however is, as an admin, to be able to see/edit/delete these forms from within a tab in the CMS. What do I need to know about to be able to do this?
Thanks
Sounds like you want a ModelAdmin.
Pro tip: Don't forget to set your canEdit(), canDelete(), etc. permission methods on your DataObject.
I'm trying to understand how URL Mapping works. I've gone through numerous pages, but I can't seem to wrap my head around what I'm trying to do.
Its really simple, I use DataObjects as pages approach and I have a member extension written to the member class. And I have the typical actions, show, edit, add.
So if I go to www.mywebsite.com/members/show/1 I can see the first user. If I change show to edit, I can edit the first user. Now if I go to www.mywebsite.com/members/add I can create a new user. This is working all as expected due to the functionality I created in the add method.
My problem is in the fact that when you go any website, you don't register to the website by going to members/add, you register by going to website.com/Register or something similar. From code management perspective, it is a lot easier for me to leave the code the way it is now. I don't want to have to create a Register page and move the code there, instead I am trying to figure out if it is possible to go to www.mywebsite.com/Register and have it load www.mywebsite.com/members/add. I am not talking about a redirect link that would update the url, I want users to still see Register in the url and not see /members/add.
Vice versa, if users were to go to www.mywebsite.com/members/add I want the link to update to Register or say page not found.
Is this possible with Silverstripe Framework?
I am not 100% sure, but I believe this is called URL Masking.
This is very possible, firstly I'd advise that you look over...
silverstripe-memberprofiles
...because even if you dont' want to use an existing module I'm sure there would be useful information. There is a great example of "pure" routing (i.e. silverstripe no cms) that leads on to "nested" routes - which is what I think you are asking for, so I highly recommend reading the slides below and then the created todo app
silverstripe-framework-building-without-the-cms
todo app source
I've been trying to figure out how to make the current SlickUpload 6.1.7 play nice in a form that does not require someone to include files. We want it to be optional. This form is for people to contact us, and we want to give them the option to include attachments, just not require it. It works if you upload a file, however the form will not submit, if you do not upload any file.
We are trying to use the Ajax version with Memory stream, but the 'AspNetAjaxCs-VS2010' sample code is not helping much... the documentation is sparse, and the samples have little constancy between them, making it hard to understand how exactly it all works. (at least for me) The fact that they got bought out, and the new owner company pretty much ignores people unless they are paying for it, is not cool.
Any ideas?
You could use a div to detect a drop inside your page. That way you could only activate it when the user really need it, or whenever the using actually select something for uploading, like a trigger.
I'm not sure I understand your question, but if so, it sounds like you already have a form that you want to use SlickUpload with to upload files IF there are files to be uploaded. Are you using the CustomUploadStreamProvider form?
Hey all, I'm trying to grab and display a friends list from bungies friends list.aspx file:
https://www.bungie.net/Stats/LiveFriends.aspx
and display them in a desktop application.. VB or something
How would I be able to do this? Does it have anything to do with asp? Are there any tutorials that can show me how to grab and display information?
If you're really interested about consuming information from Xbox Live, you can apply for the XBL Community Developer program from free here: http://www.xbox.com/en-US/community/developer/
There you'll be provided with API access that will be quicker and more reliable then parsing data from the Bungie site.
You'll need to fetch the data ("scrape" it) through something like a WebRequest. That will give you the raw HTML or whatever it outputs.
I'm sure, without even looking, that it uses some kind of login as well, which you will have to support. I would guess that involves making a request with the credentials to some page and extract the cookie returned which you will have to pass around. The cookies are passed around as headers.
The first thing you'll have to do is examine the HTML returned and determine how to process it to get the information you want. I would use Chrome and it's excellent developer tools for this, or another browser like Opera or Firefox with similar capabilities. This will also work for figuring out how to handle the session cookie.
Maybe 360voice can help? Haven't looked at the API enough to know if it has what you need.
http://360voice.gamerdna.com/forum/topic.asp?TOPIC_ID=3
Firstly, This question may be asked. But I could not get the information i am looking for.
I am creating a website which should take to google.com where the user enters his account information and it redirect back to my website similar to how stack over flow is doing when we click on gmail image.
I am trying to implement a website in .net.
Please list a step by step procedure to implement it or suggest some documentation to follow.
I clearly dont want other types of openID implemention where u enter the open id and pick ur open id provider.
Thanks in advance.
Check out below articles:
http://www.code-magazine.com/Article.aspx?quickid=0907061
http://www.west-wind.com/weblog/posts/899303.aspx
Both has shown example using DotNetOpenAuth - The former list other library named ExtremeSwank.
I used www.janrain.com and it was simple enough to do.
It also has the advantage of allowing you to use other vendors without any extra - not only gmail.
Oh, and it's free!