i am building a small social networking and in every user profile page, should be a button that says "request contact details". if someone clicks on it, the owner of that profile receives an email that says:" user xyz asked your contact details".
i don't ask that someone finds me the solution, but can anybody give me a suggestion on how to get closer to this solution? i am studying right now php but don't know when will be able to accomplish this task
any help appreciated
Since you tagged the question with Joomla, I would assume you are using Joomla for your site. You will want to learn how to write Joomla MVC components -
http://docs.joomla.org/Developing_a_Model-View-Controller_(MVC)_Component_for_Joomla!2.5
It would probably be helpful to know how to write modules and plugins as well -
module - http://www.minitek.gr/tutorials/joomla-16-tutorials/item/21-how-to-create-a-new-custom-module-in-joomla-16.html
Plugin - http://docs.joomla.org/Creating_a_content_plugin
When you get to that point, you will be using the built in Joomla class JMail to send emails with Joomla - http://docs.joomla.org/JMail/1.6
I see you are using Joomla. You could just tap into Joomla's mail by doing something like this -- http://docs.joomla.org/How_to_send_email_from_components
or if you prefer to do something custom phpmailer is nice -- phpmailer.worxware.com
Related
I'm trying to SUGGEST, or CREATE an app, and I don't have any knowledge of facebook app creation... I've looked up on tutorials, but facebook's API might change or has changed by the date of those tutorials...
So I thought I'll ask on here, after searching for a facebook developer's support, I was redirected to here.
My question: What is the best way to create a basic app, as per my requirements (below)..?
My Suggestion/Requirements: I wrote this tutorial on superuser, which lets you display your current playing track as an updated div on your html based website. I'm trying to create a facebook app that posts these track info updates to the right side of the facebook home panel (above the chat column). Like Spotify! Or SoundCloud...
My Problem: I don't know where to start? I don't have much knowledge of scripting and according to me, it should be quite simple in PHP/MYSQL/Javascript/ ... but don't know how facebook would handle the html file from where the <div> data could be collected. I think jquery would solve that, but this can also be done via PHP/MYSQL.
It should be simple, so I'm also suggesting this as an idea for anyone willing to create this app on facebook? And if you create it, please do keep it open source project or a tutorial for it, so that if at any time you close the app, it can still be replicated. I cannot create it but am willing to, but don't know how to...
I'm asking this here because facebook doesn't appear to have a forum based posts for this apart from the developers group. I've joined the facebook developers group, but haven't yet been allowed to post anything, as the join request is pending.
That's mostly all. Thanks for any help.
Start with registering your application on Facebook .It will give you some token and keys.
Now you can follow any tutorial online to create application on fb.
I have a Joomla site, on which site you can exchange ebooks. This is the feature I want to add, but don't know how:
When someone is interested in an ebook, he can click on a "REQUEST EBOOK" button.
The "request button" will forward an e-mail to the registered user and owner of ebook with a specific message.
Basically I need a script that does this:
"If I click on the "REQEUST EBOOK" button, take the email address of the ebook owner and registered user, compose a predefined message,and send it to him/her.
QUESTION: how could I achieve a similar result? Please keep in mind that I don't know anything about PHP.
Thanks a MILLION.
dimitri
PS: to get a better idea, visit http://www.ebook123.it. Thanks.
Joomla has lots of useful plugins/extensions etc, have a look at these contact forms and see which one you like the look of:
http://extensions.joomla.org/extensions/contacts-and-feedback/contact-forms
Some are very simple to use, others a bit more complicated.
Im working on a small business website dashboard and want to include a feature allowing the user to post to their blogger blog directly from their independent website dashboard - eliminating the need to go to the blogger website. The form would simply be a text field and post button. I realize that some sort of authentication will be necessary so this needs to be included in the solution in some way. I know that you can post to a blog via a registered email address.
Would this be a simple mailto form? Does anyone know of a script that does this?
Blogger has an API for this, that's pretty straightforward.
http://code.google.com/apis/blogger/docs/1.0/developers_guide_php.html#CreatingPublicEntries
Forms with mailto actions are generally a bad idea - they're not globally supported and a lot of people use webmail these days, too.
I am trying to integrate TwitterBundle into my simple application to allow users to login via Twitter. I cannot find any documentation on how to integrate this into the security component to facilitate this. I have the Twitter button displaying fine, but when clicked it changes to connected, however I still remain an anonymous user.
Any tips or guidance will be much appreciated.
Thanks
I'm building a site with Joomla where a forum should exist amongst other things. But also I plan to develop a custom made functionality (diary-like) with a php inserts (it really works, for example with jumi). The problem is that I suppose nobody will understand if the forum and this sub-site will have separated logins. I'd use an existing forum authentication for my code also, but I don't like the idea that the login will look like forum-only login. I see there are bridges exist (like JFusion), but should I choose one particular forum extension if I plan to use a particular bridge extension? And are bridges easy to access with custom-made php code?
If this is for a Joomla 1.5 website, you will want to create a user plugin that will log the user into your custom site as they log into Joomla. Take a look at plugins/user/example.php for an example user plugin. The onLoginUser function will be called just after someone successfully logs into Joomla. At this point, you'll have all of their data in the $user array that's passed into the function. You should be able to use this information to create a bridge into your external PHP application.