Ticket #327 (closed enhancement: fixed)
Changes to /stories
Reported by: | ed | Owned by: | jim |
---|---|---|---|
Priority: | critical | Milestone: | Phase 5 |
Component: | Drupal modules & settings | Keywords: | |
Cc: | Estimated Number of Hours: | 0.0 | |
Add Hours to Ticket: | 0 | Billable?: | yes |
Total Hours: | 4.08 |
Description (last modified by jim) (diff)
- install RSS feed
- enable subscriptions to all 'stories' and individual authors
- "more by author" list shows all - pls change to just the author
- add user photo to their blog homepage so it looks nice
- in 'stories by stage' blocks - remove dates etc. so it's just the titles in the list
- add site styling to RH blocks (map, list of bloggers, latest posts, and other blocks we'll put in there in the future)
- from /stories homepage view of latest posts: ...move the tags to the bottom of the teaser
- remove the social networking icons from the teaser view (so that the social networking icons only appear on the item view - like the tn.org/blogs view)
- create a 'latest stories' view/block ed can sling around (on the tn.org homepage particularly) - and link to from the navigation
- set up an email subscription feature to receive email alerts for all new posts (not necc. registered users)
- include the 'add to newsletter' feature as per other CTs
Change History
comment:1 Changed 5 years ago by ed
- Priority changed from major to critical
- Description modified (diff)
comment:3 Changed 5 years ago by ed
the stories stuff just went LIVE so this is top priority and slightly busting to be done now.
comment:4 Changed 5 years ago by jim
I have limited time in the next 24 hours, but please set any issue to 'Blocker' priority you want me to tackle ASAP... From Tuesday onwards I should be able to do a couple of hours a day, ramping up the week after...
Let me know..
comment:5 Changed 5 years ago by ed
tuesday is fine - it's not a blocker, i wouldn't do that...
please start with the /stories stuff
comment:8 Changed 5 years ago by jim
- Add Hours to Ticket changed from 0.0 to 0.9
- Status changed from new to assigned
- Total Hours changed from 0.0 to 0.9
- RSS added, both to /stories and stories blogger pages
- subscriptions enabled as links on all stories pages, and as a block on individual story pages. No links possible easily for blog author pages, but options exist on teasers of each post.
- more by author fixed
- There is no 'good' photo for users since the thumbnail they get to upload is tiny. Hence I've added the 'Photo of you' field to user profiles and put it on the blog homepage so it looks nice -- see the rh column here https://www.transitionnetwork.org/stories/jim-kirkpatrick
More to come...
comment:9 Changed 5 years ago by jim
- Add Hours to Ticket changed from 0.0 to 0.3
- Owner changed from jim to ed
- Total Hours changed from 0.9 to 1.2
- in 'stories by stage' blocks now have no dates
- added blue_bg, blue_bg and blue_bg to RH blocks... Looks a bit naff. What did you want? Presently the style sheet doesn't support the sidebar block styles on panel panes :(
- a: done on my machine -- USES SAME FORMAT AS normal BLOGs, ok? -- needs SVN update, which is coming soon
- b: social networking icons only appear in full pages, took liberty of enabling them on news and normal blog posts too...
- Question: There's already a 'latest stories' panel pane which will go on the homepage... Do you want a block as well?
- Should be done as part of 2... OK?
- 'add to newsletter' added.
Sending your way for feedback/evaluation...
comment:10 Changed 5 years ago by jim
- Description modified (diff)
TRAC list generator got confused, updating spec to match my last comment... grrrr.
comment:11 Changed 5 years ago by ed
- Owner changed from ed to jim
1: good
2: OK, but not clear. How does this work for non-registered people? I tried and saw a subs box, then went to the login form. No-one will do this. We need to streamline it. Is this the moment to try a third party auth system? Either way we need a clear subs process and handy explano-text linked from the subs box. (not urgent but important).
- yes - pls remove the 'by' and dates
- works on your profile but no-one else's?
- yes - pls remove dates from all blocks
- ah fuck - remove, remove, remove! this needs to be the hatched style - one for laura later? to install those styles on panels?
- fine
- fine
- yes please - block - to go in different contexts
10 fine
comment:12 Changed 5 years ago by jim
- I've set the subscription block to not show for visitors... Notifications 4.x allows anon sign-ups, but we're on 2.3... I'll the latest 4.0-beta7 to SVN and revisit this after an update this week.
- "more by author" dates removed.
- No, it works on all profiles but the SR bloggers need to add a new high-res photo to that "Photo of you" field in their user profile... Mine was just a demo. The default user photos are tiny - 85x85px and therefore no good. You'll need to pester these bloggers...
- dates gone, titles only now.
- Gay colours gone. As per our email discussion, I'm gonna get in the CSS and do some much-needed tidying so that we can use the grey stripe block on any panel. Needs SVN update coming soon...
- New "blogs: Stories Latest block" added to the blocks list... You can add to contexts (first) and normal blocks (as a fall back) as normal.
So just SVN updates for 2 and 6 and an email from you to the bloggers for 4 then we're done...
comment:13 Changed 5 years ago by jim
- Add Hours to Ticket changed from 0.0 to 0.5
- Total Hours changed from 1.2 to 1.7
comment:14 Changed 5 years ago by ed
- Hmm. is this the moment to try a social network auth plugin thing?
all good otherwise...ta not closing yet though
comment:15 Changed 5 years ago by ed
AGREED: jim to add latest 4.0-beta7 to SVN, then work on having subs block in RHS of stories
comment:16 Changed 5 years ago by ed
- put onto homepage - have a look - output needs a bit of work? shall i remove it or can you tweak the output?
comment:17 Changed 5 years ago by jim
Added new block to homepage context, hid existing block, updated layout to match others - have a gander, ok?
comment:18 Changed 5 years ago by ed
nothing there... it was there when i put it up, just not formatted ...
comment:19 Changed 5 years ago by jim
- Add Hours to Ticket changed from 0.0 to 0.1
- Total Hours changed from 1.7 to 1.8
Varnish will be behind - always check new stuff on https when logged in for fresh - https://www.transitionnetwork.org/
Def there, just flushed caches so you can see...
comment:20 Changed 5 years ago by jim
- Add Hours to Ticket changed from 0.0 to 0.1
- Status changed from assigned to accepted
- Total Hours changed from 1.8 to 1.9
Moved in CONTEXT (naughty Ed, using block page when there's a context running!)...
Added 'more' button and changed max to 6 items...
All done except SVN stuff.
comment:21 Changed 5 years ago by ed
I did use context - https://www.transitionnetwork.org/admin/build/context/7 idididididid
(stories promo block back on hp in right sidebar using contexts and block visibility)
comment:22 Changed 5 years ago by ed
- the bloggers' pics show up on their blog homepage but not their public profile:
https://www.transitionnetwork.org/stories/joe-ryle
https://www.transitionnetwork.org/people/joe-ryle
need a bit of tweaking to appear on both?
comment:23 Changed 5 years ago by jim
- Add Hours to Ticket changed from 0.0 to 0.2
- Total Hours changed from 1.9 to 2.1
Added and improved UI, check out the links again and let me know...
comment:24 Changed 5 years ago by ed
it's good - proabably some UI tweaking later for laura webmaster, but great for now
comment:25 Changed 5 years ago by jim
- Add Hours to Ticket changed from 0.0 to 0.8
- Total Hours changed from 2.1 to 2.9
- Styling in place here: https://www.transitionnetwork.org/stories
- moved 'by stage' to rhs because there's 5 stages and only 4 cols, so would have looked odd...
- styling now on individual blog post pages: https://www.transitionnetwork.org/stories/charlotte-du-cann/2011-09/welcome-social-reporting-project
- and blogger home: https://www.transitionnetwork.org/stories/charlotte-du-cann
- Anon users can now get notifications: http://www.transitionnetwork.org/stories/charlotte-du-cann/2011-09/welcome-social-reporting-project
Is this done? Tweaks?
comment:26 Changed 5 years ago by ed
very nice.
- subs block - can I edit it? Or you edit it to
"Get updates via email"
"This post"
"All Social Reporter posts"
Also
- RH blocks - style with space in between titles as per rest of site
comment:27 Changed 5 years ago by jim
- Add Hours to Ticket changed from 0.0 to 0.15
- Total Hours changed from 2.9 to 3.05
2: Changed block title, nothing else editable.
6: made into UL lists, but the styling is specific to blocks and footers... Will have to hack the CSS around again and update next week.
comment:28 Changed 5 years ago by ed
Need a 'read more' link for the guest editorial teaser (in green below the intro)
comment:29 Changed 5 years ago by ed
- now please remove all the subs links from the teasers on /stories
- add a subscription button to the /stories page to sub to all stories posts
comment:30 Changed 5 years ago by jim
- Add Hours to Ticket changed from 0.0 to 0.25
- Total Hours changed from 3.05 to 3.3
- read more added
- subscribe links removed
- Hmmm... To my knowledge, no such button/link exists - it's a form. And that form needs to be related to a node somehow. No way to fix as it stands... Logged in users have this in their user profile, anon nothing: https://www.transitionnetwork.org/user/4/notifications/add/nodetype - what do you think? Not sure if this is possible as specced, but will research more.
- CSS changes pending, and needs SVN update
comment:31 Changed 5 years ago by ed
- cool
- cool
- could it not be just for the not logged in email collection? in the longer term we will add that feature to all the stuff (in views and nodes).
- well alroight then
comment:32 Changed 5 years ago by ed
- Priority changed from critical to blocker
- Make it possible for editors/admins to see the full html version of stories items. I've tried but can't.
comment:33 Changed 5 years ago by jim
- Priority changed from blocker to critical
- I could make a custom block that can sit on the side and allow people to subscribe to all SR blog posts? It'd be a hack, and for logged-in people only.
- Back on TN this evening, will do this then
- fixed -- can you confirm?
comment:34 Changed 5 years ago by ed
- No - we need a workaround for not-members to sub to email alerts when new SR content is published
- fixed - thanks
comment:35 Changed 5 years ago by jim
- Add Hours to Ticket changed from 0.0 to 0.25
- Total Hours changed from 3.3 to 3.55
- There isn't a workaround I can see... Anon users don't get the chance to sign up like this -- such signups must be associated with a node. I've looked through the notifications code and tried stuff but to no avail.
- I didn't need a CSS tweak in the end, just applied the existing 'sidebar' class to any block with a list that needs this style.
I've run out of things to do on this ticket, unless (2) needs more thrashing?
comment:36 Changed 5 years ago by ed
- so we need to create a panel for the /stories homepage which explains this. I'm confused - this is a conversation on skype. There must be a way for us to enable email notifications.
- cool
comment:37 Changed 5 years ago by jim
- Add Hours to Ticket changed from 0.0 to 0.33
- Total Hours changed from 3.55 to 3.88
Ok, so what's left is fundamentally about Notifications...
The bottom line is that I cannot see a way to get a nice form in place to allow users to sign up without the page being a node page. The 'Subscriptions' block I used on the other pages just plain doesn't appear when I try to add it.
So we can certainly add a 'dumb' block to that page that says something like "To get updates via email, _sign up here_", with the link going to a purpose-made SR blog post page page that includes that block via php and hides all the subscribe options except the checkbox for "Posts of type Social Reporting blog post". Hacky but would work.
Hmm?
comment:38 Changed 5 years ago by jim
- Add Hours to Ticket changed from 0.0 to 0.2
- Total Hours changed from 3.88 to 4.08
Further to my last I found a patch at http://drupal.org/node/1292350 that *may* allow anon signups... Perhaps my problems with the anon signups is due to a bug...
SVN update (tonight I hope) will tell us the answer.
comment:39 Changed 5 years ago by jim
That patch did nothing I can see... The module is unfinished for this 'any anon user sub to any content' feature: http://drupal.org/node/1046012
comment:40 Changed 5 years ago by ed
- Status changed from accepted to closed
- Resolution set to fixed
closing. it's over for now. job well done.