Jump to content

Search the Community

Showing results for tags 'social'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to PHP Freaks
    • Announcements
    • Introductions
  • PHP Coding
    • PHP Coding Help
    • Regex Help
    • Third Party Scripts
    • FAQ/Code Snippet Repository
  • SQL / Database
    • MySQL Help
    • PostgreSQL
    • Microsoft SQL - MSSQL
    • Other RDBMS and SQL dialects
  • Client Side
    • HTML Help
    • CSS Help
    • Javascript Help
    • Other
  • Applications and Frameworks
    • Applications
    • Frameworks
    • Other Libraries
  • Web Server Administration
    • PHP Installation and Configuration
    • Linux
    • Apache HTTP Server
    • Microsoft IIS
    • Other Web Server Software
  • Other
    • Application Design
    • Other Programming Languages
    • Editor Help (PhpStorm, VS Code, etc)
    • Website Critique
    • Beta Test Your Stuff!
  • Freelance, Contracts, Employment, etc.
    • Services Offered
    • Job Offerings
  • General Discussion
    • PHPFreaks.com Website Feedback
    • Miscellaneous

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Age


Donation Link

Found 8 results

  1. Hi guys, Recently i developed a new social network called www.myexpresspad.com. Please join and give me feedback on how your experience was with it. please also take a few moments to answer the poll which would do a lot of help for me and if you feel it needs improvement please leave a reply of your remarks on the social network. Plus i would also appreciate anyone who gives me tips on marketing it. Regards, Gowri Shanker.D
  2. I know these are the two most popular ones. http://www.sharethis.com/ https://www.addthis.com/get/sharing But I find them slow to load on a page. So I am asking, is there a better solution to this that won't be slow?
  3. I have made a mutual friend system like facebook and it shows all the mutual friends but sometimes it shows it twice because your 2 friends might be friends with one person so it echos the same person twice so i wanna only show the person once and the most repeated should show on the top and the less repeated person should show at bottom!
  4. Hi There, I have got this code: function displayPosts() { $query = mysql_query("SELECT * FROM social ORDER BY id DESC") or die(mysql_error()); while( $result = mysql_fetch_assoc($query) ) { echo ' <div id="socialnewsfeeditem"> <p id="newsfeeditemperson"> '.$result["fullname"].' </p> <p id="newsfeeditemcontent"> '.$result["content"].' </p> <p> <center> <a href="social.php?id='.$result["id"].'&do=like">Like!</a> </center> </p> <div id="likes"> <p>'.self::displayLikes($result["id"]).'</p> </div> </div> '; } } function displayLikes($id) { $query = mysql_query("SELECT full_name FROM sociallike WHERE postid = '$id'") or die(mysql_error()); while( $result = mysql_fetch_assoc($query) ) { echo $result['full_name']."likes"; } } function like($id, $username) { $query2 = "INSERT INTO sociallike VALUES('$id', '$username')"; mysql_query($query2); } But when I try to displayLikes the all come up all over the place on the page and I have no clue why it is doing this. I will upload the whole (functions.php) functions and the (social.php) php file on here. Many Thanks for Your Help functions.php social.php
  5. Hi There, I have got this code: function displayPosts() { $query = mysql_query("SELECT * FROM social ORDER BY id DESC") or die(mysql_error()); while( $result = mysql_fetch_assoc($query) ) { echo ' <div id="socialnewsfeeditem"> <p id="newsfeeditemperson"> '.$result["fullname"].' </p> <p id="newsfeeditemcontent"> '.$result["content"].' </p> <p> <center> <a href="social.php?id='.$result["id"].'&do=like">Like!</a> </center> </p> <div id="likes"> <p>'.self::displayLikes($result["id"]).'</p> </div> </div> '; } } function displayLikes($id) { $query = mysql_query("SELECT * FROM sociallike WHERE postid = '$id'") or die(mysql_error()); } function like($id, $username) { $query2 = "INSERT INTO sociallike VALUES('$id', '$username')"; mysql_query($query2); } But when I try to displayLikes the all come up all over the place on the page and I have no clue why it is doing this. I will upload the whole (functions.php) functions and the (social.php) php file on here. Many Thanks for Your Help social.php functions.php
  6. ~Sorry for topic title, didn't know what to call it.~ Basically, What I want to do is have an image uploader that renames the file to the user's username. For example: If Jeff went to upload his image and on his computer it was called '38483_fbkn.PNG' I want it to rename the file too 'Jeff.jpg' I've done this before but I honestly for the life of me can't remember how I did it. Any help? Also sorry if wrong section, I'm new here
  7. I've create a table of "followers" where users can follow other users. It's set up as such: ID username followname username is the name of the person that is doing the action/following and followname is the person who is being followed. I want to set up a news feed for each user on the profile.php page. The news feed should look at who the user is following (followname) and then fill the news feed with all the posts from those people in order of what time they were posted. The posts are in a different table called "needs" and each post is timestamped. Can anyone help me in started to code this?
  8. Alright so at my site (http://independentrepublicofursum.tk/) The facebook social plugin is in the "sidebar" on every page, I don't like how my twitter link loads, then the plugin spawns and pushes it down. I tried to put a div around the plugin with a set height and width so that it would no something is there before the plugin loaded, but no cigar. Help please!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.