How to make a chat application for web similar to gmail popup? - chat

As you must have seen in gmail, a small popup appears to chat when you click on right bottom corner of your screen. Interestingly, this popup remains open and at the same place even when we navigate from one webpage to another. How can this be done? It doesn't look as though it's different page. Is it different page altogether? or is it the same page?
Thanks in advance :). Hope these moderators don't close my question. Last time i asked something that would have been useful to me, they negatively voted me and closed my question.

You should give jQuery a shot.
There is a pretty sweet module called jQuery chat module which could be worth a try.

They use AJAX for the whole GMail app, it's quite hard to develop it as good as the GMail chat. You should read some tutorials/books about AJAX before you should even consider start to develop it.

Related

how can i get a sign in/ Register plug in like fiverr.com's on WordPress

Please have a look on fiverr.com's page. they have sign in/register buttons that pop up and darkens the page behind it.
Any suggestions for this functionality on Wordpress? I'd be happy to pay for a good plug in!
Just as a reference - I do not use WordPress, but I am almost certain this functionality is in it somewhere. To answer at the heart of your question though using other means...
You can absolutely do this using CSS/jQuery/PHP. Here is a link to get you started on a tutorial. There is also a number of other tutorials for this with simple google searches.
https://codyhouse.co/gem/loginsignup-modal-window/
As for darkening the background, you should be able to do that using CSS/jQuery for the on-click/open events.
For a specific wordpress solution, I believe this might be what you are looking for but to be frank, I have very little experience with WP so can't confirm it is correct.
https://en-ca.wordpress.org/plugins/tags/login-dialog
Best of luck!

can i use a generic app id for multiple websites' like boxes

I am going insane with this. It used to just work! I'm a programmer but not up to date with all this modern languages stuff and have no desire to learn it - too darn old, just want an easy life.
Okay, so here's the thing... I used to have these "like boxes" on my websites. Then they stopped working. I looked in the dev docs and fixed the absolute URL and they worked ok on IE browsers but not on Chrome.
It looks like I need an App Id.
So I created an App Id on a test website - I have no idea what it is or why I need one. All I want to do is show on the website it has n likes and the button for Facebook lovers to like it too.
But do I need to create an App Id for every single clients website? How do other CMS systems handle it? My sites are not html 5 - I'd be happy with just an iframe solution.
I'm not a fan of Facebook at all, and this is driving me further away. I'm willing to be dragged back but all I see is lots of overly complex code to achieve nothing really useful.
You can do whatever you want with your app ID, but if you use the same one for all your sites, you won't be able to separate those in your "Insights"
https://www.facebook.com/insights/

Up to date instructions for September 2011 onwards for beginners

Sorry for this basic question but all attempts at Googling and using facebook help only provide out of date information.
I am attempting to make my first fb app. Just an html page saying hello. From what I understand the app (or webpage) is stored on my server and I set up a facebook app that basically points to the URL of the app (or webpage) on my server.
Is this basically correct.
Where do I enter this URL information in my edit app screen. I have followed the latest fb instructions and all I see when I view the app is the admin page in fb for the app.
Does it take a long time for the page to appear.
Is there a current idiots guide. The app design is not a problem for me loading it in to facebook is the problem.
Unfortunately this wasn't very helpful, not because of what you posted but due to the fact that it appears that Facebook has updated the way in which pages are linked to again.
The pages you suggested I look at were well laid out with lots of information on them but they are already out of date and do not seem to correspond with the layout of the Facebook 'dev app' and even the fields in the form seem to have been either dropped added to renamed.
Thanks for trying to help me and I hope that FB may produce some up to date information soon and not keep changing the interface.
I can completely understand your confusion - the Facebook docs give very little information for the complete beginner. The 'Getting Started' section makes some massive assumptions and completely ignores huge key areas you need to know to get your first application up and running.
So to address your points:
Yes, this is basically correct. Apps on Facebook are served up to the user in one of two ways. Either as a 'Canvas App' or a 'Tab App'. A Tab App is an application you can install as a tab on a profile page. A Canvas App can operate on it's own page and has more room as there's no left menu as you would have on a profile page. You can configure a single app to work in both ways.
To edit your application settings, go to your own Facebook home page. Use the search bar to search for the 'Developer App'. Typing in 'developer' should do it - it should be the first result in the App section with around 830,000 monthly users. This Developer app is the window into your own app settings. You need to install it if you haven't already. It's a hub where all the apps you create will be available for you to edit. Whenever you want to edit one of your app settings in future, you click the Developer bookmark that will now be in the left menu on your own Facebook home page.
No. Apps are basically an iframe onto your code. There should be very little if any wait at all. Start with something very simple like spitting out some straight html so you can easily tell if things are set up correctly.
Yes. I found thinkdiff.net to be massively useful in the early days to get my head round the basics and then more advanced concepts. There's tons of examples ranging from very simple to quite advanced. I've just had a quick look around and found this page which should give you a decent head start in getting things moving. Note: I have no affiliation with thinkdiff.net at all - I just found them helpful in the past.
Finally, a request from me; this whole stack overflow thing is new for Facebook developers and very few people are voting up answers they consider helpful. This means new users to SO but experienced FB developers can't vote up good answers and vote down bad ones as we need enough Reputation Points to do so. If this has helped you, please ensure you vote up the answer. Of course if it was rubbish and you're just as lost, dont :D
Hope I've helped in some small way; I know I was completely lost for the first few weeks with FB development and even now there are things that make me tear my hair out! In the end it's very rewarding, but you have to put in the time. Good luck :)

How does the Google adsense works?

can you tell me, how does the Google Ad sense works?
please explain me in brief..
There's quite a bit of information available from Google on the subject.
You want to know how to "use" it? or its algorithms? For the first one, they have a page for that, for the later one, I don't think you will even be able to figure it out:)
You place a javascript code in your site, and whenever someone visits your site, Google puts an ad in place. If the user clicks the add, you get money for it.
I assume your question is orientated around Google's contextual targeting.
In brief: Google sends a bot to read each page of your website. It looks at all the terms on the page and discards common words and instead tries to understand themes. Google also looks at adgroups of AdWords advertisers and looks to build an understanding of the themes of the keywords. Another algorithm pairs the two together so that relevant ads appear on a webpage.

iPhone app, help pages, multiple pages, quick to develop?

I need to provide some help for my app. I'm going to have some info buttons on some screens.
Initially I'd like them to be directed to the exact help page, but I'd like them then to be able to navigate to other pages in the help system.
What should I use, I'm looking for something quick to develop and quick to modify.
I'm thinking local html pages perhaps ?
Any examples / advice
I think the best way to do this is using a UIWebView to load HTML pages from your server. This way the user doesn't leave you app and the information can be updated or change as you may need.