Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
We need to hide the last_reply sometimes when a user wishes to cloak their email. It would be awesome to have a drupal_alter at the end of forum_get_forums so we don't have to patch AF.
Comment | File | Size | Author |
---|---|---|---|
#1 | 1351392_allow_drupal_alter_on_advanced_forum.patch | 1.04 KB | aidanlis |
Comments
Comment #1
aidanlis CreditAttribution: aidanlis commentedHere's a patch :)
Comment #2
MichelleThis seems reasonable. What is the purpose of the other line being added in the patch?
Comment #3
aidanlis CreditAttribution: aidanlis commentedThe last_post object gets overwritten with a string and I needed access to the raw data, seemed reasonable to leave the raw data there in case other people need it.
Comment #4
MichelleAh, that makes sense.
Thanks,
Michelle
Comment #5
mcdruidGood idea - thanks aidanlis.
Committed to 6.x-2.x branch.
I added a comment to explain $forum->last_post_obj as per #3.
Comment #6
troky CreditAttribution: troky commented7.x patched, too.
Comment #7
MichelleThanks both of you!
Comment #8
brandy.brown CreditAttribution: brandy.brown commentedComment #9
mcdruidThanks for helping with the housekeeping brandy.brown, but we usually leave tickets 'fixed' and let the system close them, which it does automatically after 2 weeks if nobody has posted any follow-ups.