Giter Site home page Giter Site logo

eahub's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

haryshwaran

eahub's Issues

Merge users with identical emails & then require emails to be unique

Get duplicates using SELECT mail, count(*) FROM users GROUP BY mail HAVING count(*) > 1;

Take best guess at account they use. Merge in fields you can add from the other account (if there's a clash and it's ambiguous which version to use, leave the field as is). Delete the other account. Then when done this for them all, do:

ALTER TABLE users
DROP INDEX email;

ALTER TABLE users
ADD UNIQUE INDEX email;

Restore link to 'Your Profile' in menu, but make linkable URL obvious

@cdc482 pointed this out first - we had a link to http://effectivealtruismhub.com/user called 'Your Profile' in the menu. Nicely, this takes you to the login/registration page if you're not logged in, and to your Profile if you are. The only problem is that in the latter case it still shows http://effectivealtruismhub.com/user in the address bar rather than redirecting to e.g. http://effectivealtruismhub.com/user/peter-singer - the only address that'd work as a pastable link for other people.

This has become more problematic with the imminent resolution of tog22/eaforum#1 thanks to @arichard4 . So I've removed the link at http://effectivealtruismhub.com/admin/structure/menu/manage/main-menu for now. This will however make it hard for all the people about to remind themselves of their EA Profile URLs due to tog22/eaforum/issues/1 . So this task would be restore the link to 'Your Profile' in the menu, but make linkable URL obvious.

The neatest approach would be to redirect logged in users going to http://effectivealtruismhub.com/user to their full profile URL, affecting the address bar. This would almost certainly involve using a Drupal hook in template.php in the theme folder (or using it in one of our custom modules). However it'd be fine, and probably easier, to prominently display the web link to use on the profile itself. You'll probably have to add this in /sites/effectivealtruismhub.com/themes/corporateclean/user-profile.tpl.php using the Drupal arg() function (or finding where Drupal stashes the URL or user ID of the profile, in which case you could print "http://effectivealtruismhub.com/user/$USER_ID").

Make users see a message saying they still need to click the verification link

Can you try to make it so those users see a message saying they still need to click the verification link or they won't be able to submit info to the site and their EA Profile won't show to others? This'd show as they browse around the site, and you can use Drupal's messages function which displays green messages like at http://i.imgur.com/S6b2eTQ.png . You'd need to Google to see how to set this - it'd either be in a module or editing one of our custom modules/template.php file (I can explain how to edit those in general if it's easier).

Modify Drupal Views code to always show profile fields from the same user together

The issue is that this doesn't happen when the fields are under separate 'profiles' (sections, like 'Donations' and 'You and EA') at http://effectivealtruismhub.com/admin/structure/profiles . For an example of what goes wrong, see http://effectivealtruismhub.com/user/profiles/offers . (If someone'd like to write a better description of this issue that'd be great!)

This would be a big contribution to the Drupal community too. There's bound to be ample discussion of it on drupal.org, especially the issue queues for the Views and Profile 2 modules, so I'd start by searching there.

I can expand on all this if someone's prepared to commit to doing a fair bit of work on this.

Fix reported error when changing profile pic

Report from [email protected] :

Hey guys,

when I try to change the picture and click save on the bottom, I always get
the message, that my e-mail address is already taken (surpise, surprise!).
There seems to be a problem with the save button also assuming that I would
like to change my e-mail. Or am I simply too blind to find the extra button
for the picture save?

Love for everything you do,
Konrad

Come up with improved EA Hub home page

Suggest any improvements you like. One plausible area for improvement is featuring all or some of the EA resources hosted/indexed on the site in an attractive block towards the top of the home page, "above the fold". For instance, this might feature the map to the left and a list of links to resources/site sections to the right.

You can just make a mock up, using either your preferred graphics program or local HTML like that at https://github.com/tog22/eahub/tree/master/examples/html/home-page .

"Edit donations" page contains references to 2013

For some reason the edit page for a user's donations still prompts them with "Lifetime amount donated through 2013", "Charities donated to in 2013", "Pre-tax income in 2013", and "Amount donated in 2013".

Perhaps this could be updated to some kind of $LAST_YEAR expression, since I'm guessing it's just a manually-entered string right now? Though that might require some way of archiving or labeling past answers based on when they were entered.

Add searches of people on the EA Donation Registry

These should go only on the appropriate EA Donation Registry pages, and be pre-filtered only for people who have past or planned donations shared. You could do separate searches for each or one combined search for people who have either shared - your judgement.

Fully implement 'What people can offer' page

http://effectivealtruismhub.com/user/profiles/offers

This involves getting it completely ready to launch and then launching it. That would involve coming up with places to link to it on the site, e.g. at http://dev.effectivealtruismhub.com/user/profiles, discussing those places with Tom and others as necessary. Then adding those links.

The page would also likely benefit from some short introductory copy, like http://www.effectivealtruismhub.com/user/profiles and http://effectivealtruismhub.com/donations have.

[MOVED] Create list of tasks to automate things that are currently done manually

This breaks down into many tasks. They could generally be done simply. One extra simple approach would be to write any sort of script which pulls data (e.g. form submissions) directly from the database, and generates a .txt file that can be included on a page with a PHP include (or, slightly neater, a Drupal filter if you're happy to learn these).

Here are some subtasks so far:

  • #17 - Automate updates of map based on people's EA Profile locations

Fully implement 'Effective altruists happy to help with your career' page

Draft page is at http://effectivealtruismhub.com/career-help

This involves getting it completely ready to launch and then launching it. That would involve coming up with places to link to it on the site, e.g. at http://dev.effectivealtruismhub.com/user/profiles, discussing those places with Tom and others as necessary. Then adding those links.

It also involves:

  • Showing people's careers, skills, what they can offer to the EA community (based on what they shared at the http://www.effectivealtruism.org/join/ form), etc. The method @wrsaunde discovered in #16 should now allow this.

Add advanced search for EA Profiles: search by at least some common fields

@wrsaunde said:

Are there any other profile fields it would make sense to search by? If so, it's possible to set up through search api (but I haven't seen a nice way to do a fully general search, ie. have a dropdown of all fields and choose which to search by)

I of course said "yeah definitely" - plus "would you be ok to make a suggested list, say in a gdoc, and put it here [initially meaning #p-eahub on Slack, though github might be better] for comment?" So I'm assigning this to him, at least for now! ๐Ÿ˜„

Unable to add myself to the group

I'm trying to add myself to the EA Russia group via "Do you attend this group?" button, but the form I'm seeing at https://eahub.org/groups/join doesn't display it in "The group" list.

I also tried to type in "Effective Altruism Russia" by selecting "Other", and
got this response with no other visible effect:

Thank you, your submission has been received.

(Not sure what it means. Are such submissions processed manually?)

PS: At first I assumed that was because I'm listed as a group organizer
already, but other people in our group have the same problem.

PPS: I reported this to @tog22 back in April, but I still have this issue, so I thought it'd be better to file it here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.