[PHP] Project: Profile CMS

Joined
Jun 8, 2007
Messages
1,961
Reaction score
475
[PHP] Project: Profile [Open.Source]

Project Profile is finally ready for launch!

Q.What do I mean by that?

It's pretty much a myspace copy, made by me.

I'm using 5 tables: users, proflile, friends, pendingFriends, comments
users: userID, username, pass, email, rank etc.
profile: all profile information
friends: entryID - auto-incremented Key field, myID, friendID.
pendingFriends: entryID - auto-incremented Key field, myID, friendID, requestName - (sender's name)
Comments: entryID - auto-incremented Key field, myID, friendID, title, comment, date

When you log-in, it holds a session so you only have to log-in once as long as your in the same browser..

Navigation is getting better. Soon I'll implement it into the site and it'll be super easy to figure out, but I'm not ready for release yet.
Anyway, does anyone want to test my application?
Go here and sign-in as
username: guest
password: secret
From there, change some information, (not the pass.. lol)
click the link on the right to the profile update page to update your profile. You can click "View Profile" at the top right of that page.
From your profile, procede to add friends, add comments, and all that. Do whatever you can on those 3 pages of the site only.
(update user, update profile, profile page)

I recently made this project Open Source!
You can get the files here:
Extract the 2 folders inside the same directory.
It's not quite ready to use yet. You can get the sql tables needed from profile/includes/SQL/filename.txt
Copy that statement and paste it into a query.

Don't forget to put your details inside all of the connect pages. There's a connect page with magic quotes, and one without.
There's also a connect page in the users directory.

I'm too tired right now to make an install page, but I wanted to release it anyway (figuring you'd all figure it out.)

The code is kind of sloppy, I just whipped it together and changed some of the paths to be relative. Some paths link to things that aren't in the package. So I put htt..www.avsbest.com/ in front of most of the images that weren't included. I'll include the images soon.

You also need FCKeditor for it to work.
I don't have many users yet because I just made this :P
here, view my profile: http://www.avsbest.com/profile/profile.php?username=Spence



Under Dev.:(need suggestions)
 
Last edited:
Re: [PHP] Need help hack-proofing a CMS project..

Moved to Showcase.

You are probably using the mail() function, right? Get SwiftMailer or PhpMailer, and put a text format AND a HTML format in each mail. Also, it might be that your site's IP is on a list which states it's spam...
 
Re: [PHP] Need help hack-proofing a CMS project..

Moved to Showcase.

You are probably using the mail() function, right? Get SwiftMailer or PhpMailer, and put a text format AND a HTML format in each mail. Also, it might be that your site's IP is on a list which states it's spam...

Hm.. never heard of SwiftMailer or PhpMailer.. but I'll google it *check*

Yes, I am using mail() =D

And right now I only have a standard text format, but how would I have 2 different kinds of content for the mailbox to see? I don't understand email that well I guess.. But wouldn't it display both the text and HTML if the viewer's settings were set to HTML? or will PhpMailer help me with all this?

Also, I'm using 1and1.com for hosting. It's certainly possible that 1and1 is on Yahoo and AOL's 'hate' list, but would all 1and1's customers be penalized? I'll shut-up and look at the mailer tools (hope they work)

EDIT: Yay! PHPMailer worked perfectly! Now registration varrification is 100% complete from what I can see.
Thanks much
 
Last edited:
I'm going to release it once I can get it packed up. I need to make a bunch of include files for it to work logicly and everything. I'm thinking of changing the look of the main profile page. I decided I don't want it to look much like myspace at all, and I want more flash applets for instant results and all that.

Next, I'm gonna work on multiple images, albums, advanced text-editors for all body texts. I decided to restrict most HTML code, and I got something that will do it really nice called FCKeditor. (It's a compact text editor that can do things similar to microsoft office. Oh, and it's open source so it's free!)
 
Although not massively important, i did come across a typo on your profile cms.

Religon, should be spelt religion. Looks good though, nice.
 
http://www.avsbest.com/funnies.php
But i understand that your not ready to release it.
Don't really get why it would be a content management system though, since it's sorta like a myspace clone.
You should make a website cms like what i am working on (www.codingsource.co.cc).
Except mine doesn't require a database and works off reading files in your admin cp.
Pm me i'd like to chat with you :)
EDIT:
You can check it out but it's pretty useless since im not done with the installation files xD
 
Last edited:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'interests' at line 1

I get that when I click "Update" after filling in the stuff on the Edit Profile page.
 
I get that when I click "Update" after filling in the stuff on the Edit Profile page.

Yeah, I was updating the whole profile part of the site last night and today. I was busy rebuilding the whole thing actually.

I think I got it working pretty good now. I know that it works to update and create profiles now.

The error you got came about in a weird way. I had a hidden input field called update with the value 'Interests'.

Since my var for the update query was $update, it was getting confused with $_POST['update'] for some reason, and putting in the query 'Interests' instead of 'UPDATE `profile` WHERE....'

I fixed that, and a few other things.

You can also view/delete your sent messages.

I still have to make it so you can edit them..

Edit:
I fixed funnies page too.
That's not part of Project Profile, that was around for a while now.. That page is pretty cool because it outputs a new funny comic everyday!
It must have been messed up after an update to Template 5..

Thanks for letting me know though, a small change makes a huge difference in sales
 
Last edited:
Just like myspace.com, point less this, il rather use myspace....:punch:

Well it's not made for you.. This is not myspace, nor is it tryng to replace myspace, or fiche myspace users, or any of that.

This is simply an addition to my local community website. If further information is desired, I'll explain even more about what my website is:

AVsBest.com is categorized as a Local Community Portal/Directory. We are part of the Special Forces at the LocalBizBuilders forum. Our goal is to provide our users with a very large business directory of places in their local area. Our territories include varrious places in the Antelope Valley.

We also get news and event feeds for the AV.

Project Profile is a way for people in the Antelope Valley to keep in contact or interact in discussions with other residents of the AV. If all goes to plan, eventually I'll succede in creating an empire in the AV local internet market. Becoming the "Goto Guy" for online web-presence advertising inthe Antelope Valley.

Even if all doesn't goto plan, I can eventually sell my finished project to people at localBizBuilders as an add-on to their website.

Of corse, I'm going to change the template VERY soon. The temlate is a very close replica to myspace, and that needs to change very soon.

Obviously, nobody here besides me lives in the Antelope Valley. This is not for users of ragezone.

However, I did make a guest account for everyone to check it out. Rather then signing up, I'd prefer everyone to log-on as the guest to see how it works!
 
Back