close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

User_Profile_picture

Thread began 12/13/2012 3:04 pm by Magega49 | Last modified 12/17/2012 9:38 am by Jason Byrnes | 2440 views | 13 replies |

Magega49

User_Profile_picture

Hi, Jason

Can please tell me how can I create a section for user to upload their profile picture after they login.. here is a sample
my_account.php

Sign in to reply to this post

Jason ByrnesWebAssist

add a column to the users table to hold the image name.

Security Assist will create a page to update the user record, add a file field to the form on that page. add the upload file behavior, this will create a new binding group on the bindings panel named WA UPlaoded Files (<file field name>), this binding group will have a binding for Server File Name


You then need to edit the Update record server behavior that is on that page, and bind the image column to the Server file name binding.

Sign in to reply to this post

Magega49

User_Profile_picture

Jason,

Where do I add a culumm to hold the image name?? is on my admin database???

Sign in to reply to this post

Jason ByrnesWebAssist

you add the column to your users table.

you will need to use PHPMyAdmin or another MySQL GUI Tool to manage the database structure.

Sign in to reply to this post

Magega49

Jason, I just add a colum to my user table... What do I do next???


Security Assist will create a page to update the user record, add a file field to the form on that page. add the upload file behavior, this will create a new binding group on the bindings panel named WA UPlaoded Files (<file field name>), this binding group will have a binding for Server File Name

Sign in to reply to this post

Jason ByrnesWebAssist

  What do I do next???  




edit the user update page that security assist creates as i outlined previously...

Sign in to reply to this post

Magega49

RE:

The update user record is the same page that web assists created when I created secured pages?

Sign in to reply to this post

Jason ByrnesWebAssist

yes, that is correct.

Sign in to reply to this post

Magega49

User Pics

Hi, Jason

I have created the column and I add a field to the update page I also add a upload file...

But I don't get no update on my profile picture... The pictures is not uploading to my server ether..

Sign in to reply to this post

Jason ByrnesWebAssist

you need to edit the update record behavior and bind the picture column to the Server File name binding.

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...