hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Programming Discussion : building a social network site - how to?
Reply

Programming Discussion Discussions related to web programming languages and other related issues. Topics may include configuration, optimization, practical usage and database connectivity.
Forum Jump

building a social network site - how to?

Reply Post New Thread In Programming Discussion Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 05-09-2008, 03:00 AM
FG-alex FG-alex is offline
Junior Guru Wannabe
 
Join Date: Sep 2007
Posts: 30

building a social network site - how to?


Hello,

I have got a really great idea for a new social network site. The main thing I'm struggling with at the moment is how to get e-mail notifications working.

Say I create a "Post a comment about this member" button and I want it to e-mail that member with "You got a new comment". How do they do this? Any help would be much appreciated.

Also - are there any coding guides out there for building a social network? I am doing it from scratch so it's going to be quite basic to start with, but I do not want to risk dilluting this great concept with "pre-packaged" scripts.


Thank you.

__________________
Fantastic Guides


Reply With Quote


Sponsored Links
  #2  
Old 05-09-2008, 04:57 AM
Dan L Dan L is offline
Web Developer
 
Join Date: Feb 2003
Location: Connecticut
Posts: 5,441
If you can't get email notifications working, you oughta hire a real programmer to make the site - it'll save you a headache down the line.

If you're using PHP: http://php.net/mail

Reply With Quote
  #3  
Old 05-09-2008, 06:53 AM
FG-alex FG-alex is offline
Junior Guru Wannabe
 
Join Date: Sep 2007
Posts: 30
If I had money to hire someone for the site, I wouldn't be making the site

I think I can get most stuff working, the main things I am concerned about are drag-and-drop widgets, some ajax stuff and the email sendouts.

If you post a new notification on someone's profile then what function would e-mail that? Is it like a cron job or something? How hard is this to set up?

__________________
Fantastic Guides


Reply With Quote
Sponsored Links
  #4  
Old 05-11-2008, 02:08 PM
Xlusive Xlusive is offline
WHT Addict
 
Join Date: Nov 2004
Location: Netherlands
Posts: 136
Your first concern is to make the website work - think about ajax, widget and other "eye" looking features when you are more advanced - otherwise you will stay stuck.

__________________
Professional Coder click here to contact me

Reply With Quote
  #5  
Old 05-11-2008, 07:27 PM
FG-alex FG-alex is offline
Junior Guru Wannabe
 
Join Date: Sep 2007
Posts: 30
Yeah I think that's a good idea - keeping things simple first. But the e-mail notifications is a must for any social site I think. I've just never learned how to do it though. What class would you take to learn that kind of thing? Php, CGI??

__________________
Fantastic Guides


Reply With Quote
  #6  
Old 05-17-2008, 09:27 PM
psp7492 psp7492 is offline
WHT Addict
 
Join Date: Dec 2007
Posts: 157
have you tried some standard CMSs like drupal, joomla, xoops....? latter two are easier to learn.

__________________
Webhosting to-check.in
You manage content, we manage the rest!

Reply With Quote
  #7  
Old 05-18-2008, 01:24 AM
RN-Chris RN-Chris is offline
WHT Addict
 
Join Date: Feb 2008
Location: Murfreesboro, TN
Posts: 162
IMO if your still at this early stage.. You shouldn't be worrying about email notifications yet either.

__________________
Chris Reed
Revogate Inc.
Revolutionizing Business Technology
Web Hosting, XenServer Virtualization, and IT Consulting

Reply With Quote
  #8  
Old 05-18-2008, 03:07 AM
FG-alex FG-alex is offline
Junior Guru Wannabe
 
Join Date: Sep 2007
Posts: 30
I figured it out ... thanks . I'm just going to use phpmail function. But will worry about aggregating email notifications later. when the network is successful I should be able to hire someone to work on it full time, but for now I'm trying to get the basic idea down in code.

Thanks for the info.

__________________
Fantastic Guides


Reply With Quote
  #9  
Old 05-18-2008, 03:55 PM
kalesh kalesh is offline
Newbie
 
Join Date: May 2008
Posts: 9
the best thing to use for email is php mailer sourceforge.net/projects/phpmailer/ (and use smtp, not sendmail)
You will also need a function on top of that with a cron that staggers the email(send in small batches) also add ability to use multiple smtp servers(in case your site gets a few hundred thousand members) I know its early but its much easier to add the functionality now and switch it on when needed then to add it when needed.
I can help you with a lot of small stuff like this
pm me your msn/ym/icq/gtalk if you wish.

Reply With Quote
  #10  
Old 05-23-2008, 01:15 AM
jalner jalner is offline
New Member
 
Join Date: May 2008
Posts: 3
be careful about your mailer function you don't want to get it abused from spammers

Reply With Quote
  #11  
Old 06-05-2008, 05:07 AM
djorgensen djorgensen is offline
Web Hosting Master
 
Join Date: Jun 2006
Posts: 1,003
I run a social network website.

The sending an email is a good idea, however you also dont want to be sending people too much of the same. If they get 50 people adding a comment to their profile they shouldnt get 50 email alerts.

Personal message syes, comments on like a guestbook, no

__________________
--
Damien Jorgensen
www.permoveo.ltd.uk

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Why You Should Embrace Google Plus Blog 2013-03-08 09:18:17
Web Host Brain Host Acquires Site Builder My Creative Site Designs Web Hosting News 2012-09-24 14:03:36
Making Cloud Infrastructure Enterprise-Ready Webinars 2012-09-04 13:56:04
Facebook Building Second Massive Data Center in North Carolina Web Hosting News 2011-10-04 19:40:26
Data Center Operator Facility Gateway to Revelop Chicago Data Center Web Hosting News 2011-10-03 19:11:59


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?