How do I incorporate this Pre-Written PHP code into my website?

I have a "Facebook style wall post system" that I would like t

Page 1 of 1

4 Replies - 9165 Views - Last Post: 27 November 2010 - 06:20 PM Rate Topic: -----

#1 JesseCastItUp  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 27-November 10

How do I incorporate this Pre-Written PHP code into my website?

Posted 27 November 2010 - 10:55 AM

I have a "Facebook style wall post system" that I would like to use in my website, but I cant seem to get it to function correctly!

Here is a working example: http://demos.99point...allpost_system/

If anyone would like to see the complete source code, it is located here: http://www.box.net/shared/5vlp29paax

This website has more information about the script: http://www.99points....d-php-reloaded/


They give you a few files:
index.php
delete_comment.php
add_comment.php
posts.php
dbcon.php
delete.php
Some Jquery files
And "dependencies" folder, which has a css file


I FTP'd into my website, and placed all of the files in the main directory, but when I visited the index.php file, it would not work...


I am experienced in HTML, JAVA, and CSS, but I'm fairly new at PHP... which is the main issue here... If someone could please shed some light on this issue, that would be amazing!! Thanks!


Do I have to have a MySQL database set up? Or, something? What am I missing!

Is This A Good Question/Topic? 0
  • +

Replies To: How do I incorporate this Pre-Written PHP code into my website?

#2 CTphpnwb  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 2990
  • Posts: 10,330
  • Joined: 08-August 08

Re: How do I incorporate this Pre-Written PHP code into my website?

Posted 27 November 2010 - 11:13 AM

This forum is for people looking to learn/improve at php. If you're looking for some one to fix this for you, then this belongs in Post a Job.
If you want to get this working with some help, you should post the code here, not in another site and wrapped in Flash! You should also demonstrate that you've made an effort by describing in detail what you have tried and what the results were.
Was This Post Helpful? 1
  • +
  • -

#3 Martyr2  Icon User is offline

  • Programming Theoretician
  • member icon

Reputation: 4334
  • View blog
  • Posts: 12,128
  • Joined: 18-April 07

Re: How do I incorporate this Pre-Written PHP code into my website?

Posted 27 November 2010 - 11:23 AM

CTphpnwb is right, however in a quick gander at the file, yes you have to have a database, you have to code up the dbcon.php file to connect to your database and you have to build the tables as shown on FaceBook Style Wall Posting and Comments.

In other words, this script doesn't work out of the box. You have to do a bit of coding yourself and setup of a MySQL Database with those tables specified.

:)
Was This Post Helpful? 1
  • +
  • -

#4 Guest_Ronnie*


Reputation:

Re: How do I incorporate this Pre-Written PHP code into my website?

Posted 27 November 2010 - 05:30 PM

I'm working with a the same code from 99points.com facebook wallpost system.
I managed to get user post limited to there page but can't get the javascrpit working for comment and delete working ,

Here is the code: profile.php

Spoiler


Spoiler

Please help me

MOD EDIT: Spoiler'd huge quantity of code

This post has been edited by JackOfAllTrades: 28 November 2010 - 06:34 AM
Reason for edit:: ADDED CODE TAGS

Was This Post Helpful? 0

#5 CTphpnwb  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 2990
  • Posts: 10,330
  • Joined: 08-August 08

Re: How do I incorporate this Pre-Written PHP code into my website?

Posted 27 November 2010 - 06:20 PM

I added code tags, but I can tell you that I'm certainly not going to read through all of that! The formatting is horrible and you don't show specifically where you're having trouble.
Was This Post Helpful? 2
  • +
  • -

Page 1 of 1