Project:Advanced Forum
Version:6.x-2.x-dev
Component:Other module integration
Category:task
Priority:normal
Assigned:Unassigned
Status:closed (fixed)
Issue tags:$submitted, Submitted_by

Issue Summary

I am using the Submitted_by module to change the output of $submitted on a per content type basis.

Additionally, it allows one to change the "submitted by..." line for comments as well. I have them changed for all the content types on the site (both node and comments), and they all work, except for the output for forum comments when Advanced Forum is enabled. When I turn AF off the submitted line shows up as I mean it to.

Attached is a screenshot of the of the two submission outputs. The code I am using is simply <?php print $submitted ?>.

Any ideas?

AttachmentSize
submitted-by.png34.04 KB

Comments

#1

Title:Submitted_by token values don't show up in $submitted output» Remove modification to $submitted
Version:6.x-1.1» 6.x-2.x-dev
Category:bug report» task

Hmm... This appears to be legacy code that is no longer used. I'll take it out of 2.x. If you want to take it out of your 1.x, find this line and delete it:

$variables['submitted'] = format_date($variables['comment']->timestamp);

Michelle

#2

Thank you much. I commented that line and it works like a charm. ^_^

#3

Status:active» fixed

Removed from 2.x.

Michelle

#4

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here