Social Network with PHP: Updating profile information (15/37)

preview_player
Показать описание

Official site

Twitter
Рекомендации по теме
Комментарии
Автор

thanks for the tutorial again, Alex, you're awesome!

Wj
Автор

5:58 Now you should add rule "nullable" like this "nullable|alpha|max:50"

vitalykalayda
Автор

For some reason it doesn't change the info in the database and also after I post the new info when it redirects back to itself it shows the old info again. Any ideas what could be the problem?
Edit: I forgot to add the fields in the fillable section of Models/Users.php

Gundzar
Автор

again, on the inputs' values you could say value="{{ old('first_name', auth()->user()->first_name) }}"

mikeziri
Автор

I can't work out why my custom CSS has broken on both the /edit and /index pages we created here! They both use the same @extends('templates.default') and section, yet doesn't seem to import the CSS from within this file. What is different about these pages from all the others? :S

jonnyhako
Автор

how would you go about multiple checkboxes? If I wanted the user to be able to be anonymous if the user checked a checkbox? With anonymous I mean display your name as "Anonymous" or "Hidden". Just an example.

xearpiusnoctova
Автор

something is wrong with the middlewear, im getting this error:
syntax error, unexpected 'auth' (T_STRING)


any advice?

MichaelLast
Автор

please the base on adding friends, accept friend request controller you made use of some functions like in the cntroller please i dont know where these functions is coming from better still if i can get the source code of this project fom you to learn or i should pull from git

ajayinurudeen
Автор

This is working fine, but I dont like that when you update your Profile, it redirects you back to the same edit page. I tried to redirect to user profile page but i cant get it to work. Whats the correct way to redirect to profile page anyone?

hydrogen
Автор

When your updating something in the database you should spoof a put/patch method instead of posting.

garethreynolds
Автор

BRO ALEX YOU DIDNT EXPLAIN THE USER MODEL AT ALL AND IT IS FULL OF AMAZING CODE

ajayinurudeen
Автор

interesting but i do not understand nothing

thierrdel