MODX - user profile photo - modx-revolution

MODX Revolution 2.2.5-pl
Add-ins: Login
I am trying to allow users to upload profile pictures and to then display that in their profiles, but I have not been very successful. I know the field exists, but I can't find a way to do this.
Any help would be very much appreciated.
thanks

You need to use Hooks ( http://rtfm.modx.com/display/ADDON/Login.Using+Pre+and+Post+Hooks ). Example of a similar hook for FormIt - http://forums.modx.com/thread/?thread=47603&page=1

Related

What is the best practice for displaying a user's profile photo?

A customer has asked me to build them an online application that allows a user to upload their profile photo. What I am trying to understand is it is best practice to implement a Gravatar or allow them to upload a new photo?
If it is better to use Gravatar will most average users know how to do that? Is there a DotNet plugin available to do that? Or it is better to allow them to upload their photo and use a face-detection plugin to display the best photo possible?
If uploading is the industry best practice then what are the best practices that I should follow to get the best image possible. I know that face detection would be good to use so that users are seeing the face in the profile photo.
Any help is appreciated on this question.

Create user profile pages with ActiveAdmin in rails 5 app

Can someone give me advise on If it is possible to create user profiles with ActiveAdmin?
I'm learning rails by doing and I wan't to build an app were the users go to private profile page after log_in.
I've built basic blog apps using ActiveAdmin, but now I want more.
The Idea is to put personalised material to each user profile via ActiveAdmin.
I'll create the user_profiles and hand the sign_in info to the user.
I've bee searching the internet for tutorials on the topic but with no luck yet, It would be nice if someone could inform me.
thanks
I think you may be looking for https://github.com/activeadmin/activeadmin/wiki/How-to-add-User-Accounts-for-users-to-administer-their-personal-accounts There are various other links to sample apps and how-to articles on the wiki also.

rails 4 - what wysiwyg offers image uploading based on user groups?

Not sure the title explains what i'm trying to do or not. Basically, i am building a wiki-like ruby on rails application. I have model called Page that needs a WYSIWYG for the content data. My application has many users that will be grouped by an Organization so each user will belong_to an Organization. My only requirements are 1) it is a WYSIWYG that allows S3 image uploading and 2) When you click "upload image" you should be able to see all the images that have been uploaded by users that belong to the same organization as you. I will need to store the images in a bucket in S3 like <bucket_name>/<organization_id>/rest_of_image_path.... Hopefully this all makes sense.
Does anyone know of a wysiwyg editor that will do this? If someone could point me in the right direction i'd be greatly appreciative! Also, if this is not the appropriate place for this question to be please let me know and i'll move it. Thanks!

How do you create a new order in paypal here from an iOS homescreen webapp?

I am aware that PayPal Here can be accessed via an iOS URL scheme similar to: "paypalhere://takePayment?arguments".
I don't know what this URL scheme is but people have already been able to do what I am trying to do, a sample can be read here: https://github.com/paypal/PayPalHere-Sample/blob/master/PPHSample/PPHSample/PPHSampleViewController.m at line 171.
I just want to open paypal here and at the very least pass the total and receive a pass/fail callback. Now if you know how to create an entire order (product name,price,quantity), that would be even better!
Please help me out! I haven't been able to figure it out from reading this ViewController and it looks like it's the only thing that hints at how to get it done. Thanks in advance!
Check this comment:
https://github.com/paypal/PayPal-iOS-SDK/issues/1#issuecomment-14680084
It has 2 documents that may be of use to you.

Creating photo albums with Wordpress on an existing site

I'm looking for a solution to a particular query. I've got a website that I have made for a client and I coded my own image uploader/thumbnail creator but it's not handling what he wants very well.
So basically I'm looking for alternatives, and someone suggested using Wordpress and one its plugins to help upload albums. This seems straight forward after a bit of reading. But can I integrate it with my current set up:
A user logs into their account on the site (I've set up user accounts in a DB),
They see which albums are associated with this account.
They open the album and the images appear.
So I guess what I'm asking is, how configurable is wordpress to fit in with my current set up. I need to be able to only display albums related to the logged in user to them.
Tbh if my current way worked consistently (the upload/thumbnail creation is all done in PHP), I would prefer to use that, but this has gone on for a while and I just want to give him a clean solution.
You can consider to use this wordpress plugin:
http://wordpress.org/extend/plugins/nextgen-gallery/

Resources