473,549 Members | 2,982 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Displaying Posts and comments specifically like Facebook

3 New Member
please if I may ask seeing the way comments and posts are being made you will find out that post are being displayed to people in a particular country like someone from Chile cannot see the posts of another person from Russia, or posts can only be shown to friends or mutual friends.
Please how can I use php to do that on my comment system
Aug 7 '15 #1
1 1788
Bharat383
93 New Member
you can add new fields in your table in which you can save the value by user who is adding that.
after that when you are going to display that posts or comments, you can check that value weather it should display or not.
Sep 2 '15 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
2856
by: Sam | last post by:
I wrote a script to show or hide items in an HTML list (<ul id="stuff">) depending on whether a list-item's CLASS attribute matches an input string (catString), which is chosen from a SELECT menu. Can anyone suggest any improvements to this (below)? I'm a JS beginner. It seems to work Camino/Firefox and Mac Explorer-5, but not in...
14
2244
by: Phil | last post by:
I have been using this code to display the version number, and this has worked well, but I am now changing from using the ClickOnce publishing to a proper setup project, and this no longer works. If System.Diagnostics.Debugger.IsAttached = False Then Version.Text = "Version : " & My.Application.Deployment.CurrentVersion.ToString() Else...
0
1271
by: Kent Åsberg | last post by:
How do I code image display in the way Facebook does using forward and backward arrows. Prefer CSS, xhtml, JavaScript. Grateful for code sample. Kent Åsberg, Vellinge
1
2116
by: fuchsia555 | last post by:
Hello everybody i have a strange problem that i have already inserted the two ways that facebook can get the thumb by them <meta property='og:image' content='thumb.jpg' /> <link rel="image_src" type="image/jpeg" href="thumb.jpg" /> but i see that works fine with some posts and others NO
5
2928
by: sarah aziz | last post by:
Hello guys, i found this great post http://www.99points.info/2010/07/facebook-style-wallpost-and-comments-system-using-jquery-ajax-and-php-reloaded/ It is about post and comments like on facebook, the only problem is that i want to implement live update so that it updates automatically to other user, how could i do something like. Can anyone...
4
1916
by: pandu13 | last post by:
For my php website, I have created a facebook app and has given the details like site url etc. but when i click on sign up with facebook button in my facebook login script, it is not showing the login box, firefox is displaying the error this page isn't redirecting properly.
0
1853
by: sj363 | last post by:
I like adding photos to my text posts but they are never centered, I've been on many many websites for hours trying to change HTML stuff but it still will not work. I'm beginning to get frustrated at how something that seems so simple could be so annoyingly difficult to fix. This is what I mean, this is one of my posts: ...
0
7518
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7446
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7715
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7956
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7469
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
5087
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3498
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3480
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1935
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.