Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[PHP] Project: Profile CMS

Joined
Jun 8, 2007
Messages
1,985
Reaction score
490
[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 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.. 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:



Under Dev.:(need suggestions)
 
Last edited:
Custom Title Activated
Loyal Member
Joined
Jun 28, 2007
Messages
2,986
Reaction score
3
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...
 
Joined
Jun 8, 2007
Messages
1,985
Reaction score
490
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:
Joined
Jun 8, 2007
Messages
1,985
Reaction score
490
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!)
 
There's no RL just AFK
Loyal Member
Joined
May 2, 2006
Messages
473
Reaction score
6
Although not massively important, i did come across a typo on your profile cms.

Religon, should be spelt religion. Looks good though, nice.
 
Experienced Elementalist
Joined
Apr 15, 2008
Messages
256
Reaction score
0

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 ( ).
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:
Experienced Elementalist
Joined
Mar 18, 2008
Messages
205
Reaction score
0
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.
 
Joined
Jun 8, 2007
Messages
1,985
Reaction score
490
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:
Go Do 1... Mate !!
Loyal Member
Joined
Oct 29, 2007
Messages
696
Reaction score
2
Just like myspace.com, point less this, il rather use myspace....:punch:
 
Joined
Jun 8, 2007
Messages
1,985
Reaction score
490
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 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
Top