So ive pretty much followed the whole tutorial.
maybe im slow and i missed it, but i didnt get how the messages are private...
if i enter the conversation_id # in the url, you can basically see any conversation
can some one PLEASE help me with this or atleast lead me in right direction...
do i need to create a function that gets the logged in users id# and only lets them view conversations from the database where their user id is?
making Private Messages Private
Re: making Private Messages Private
The validate_conversation_id() function is meant to check the user ID to make sure they are a member. If you can read any conversation you must have missed a bit out.
Re: making Private Messages Private
Yes apparently that was one of the videos I skipped. Already had a sort of messaging system so just grabbed some things.. I'll need to go back and see that function
Thank you!
Thank you!