Search the Community
Showing results for tags 'system'.
Found 3 results
I'm having a hard time figuring out the logic for creating a private messaging system that allows for more than 2 participants. What kind of database setup could I use to do this? I don't want to have a table with field for "user1", "user2", "user3", etc. because it strikes me as terribly inefficient and just messed up. How can I store the users of a conversation? Maybe have a table for conversations, messages, and participants? Then all the users inside the participants table that are filed under the specific conversation ID are allowed to access? Would there be a way to do it with only two tables? What do you think is the most efficient way to accomplish this task?
In the Laravel installation documentation it says: But it really doesn’t mention how to do this and assumes you’re already a system administrator on Linux When logged in a root via SSH you can run the following command to set the path above. Keep in mind we’re running on CentOS 7 64-bit so if you are on another flavor of Linux you’re $PATH could be different. export PATH="~/.config/composer/vendor/bin:$PATH" The composer and laravel command will now work globally in different directories and when switching other users.
I've already created a comment system in my application that does not reload the page when you submit. Now what I would like to do is similar to the Facebook comment button. When just viewing it's just the word "Comment" if you click the word then a box opens and drops down for you to enter your comment then submit. What method would I use to do this? Tutorial Link?