Posted by aidanlis on November 24, 2011 at 9:02am
6 followers
| Project: | Advanced Forum |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
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.
Comments
#1
Here's a patch :)
#2
This seems reasonable. What is the purpose of the other line being added in the patch?
#3
The 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.
#4
Ah, that makes sense.
Thanks,
Michelle
#5
Good idea - thanks aidanlis.
Committed to 6.x-2.x branch.
I added a comment to explain $forum->last_post_obj as per #3.
#6
7.x patched, too.
#7
Thanks both of you!
#8
#9
Thanks 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.
#10
Automatically closed -- issue fixed for 2 weeks with no activity.