Closed (fixed)
Project:
Token
Version:
6.x-1.12
Component:
Token Actions
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Sep 2009 at 16:25 UTC
Updated:
20 Mar 2010 at 17:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
ChrisRut commentedOops, I copy and pasted that line incorrect, it should be:
But it still won't create a listing for anonymous. Instead Anonymous user posts are placed in: "customcontenttype/[yyyy]/[mm]/[dd]/[title-raw]" (notice there is no [author-name]).
Comment #2
ChrisRut commentedAlso wanted to point out...
I created a view similar to a blog:
Node: created year
Node: created month
Node: created day
User: Name
Arguments Screenshot
So "/2009/09/23/Administrator" will list all the nodes created by the Administrator on 9/23/09, and "/2009/09/23/" should list all the users who created nodes on 9/23/09, however there is a catch, if the node was created by an "Anonymous" user, there is no link.
Screenshot - Notice there is a listing for Administrator, and it looks like the administrator posted 3 nodes, and there is another user with NO TITLE who posted 1 (that is the Anonymous Post).
And when I go to the node manually, and I see it is located at "customcontenttype/[yyyy]/[mm]/[dd]/[title-raw]", notice there is no [author-name] in there.
Comment #3
ChrisRut commentedThe corresponding lines of code are: (grep -inr "author" .)
Would it be possible to add the following check:
Comment #4
ChrisRut commented:delete:
Comment #5
ChrisRut commentedSee attached patch.
Worked for me.
Needs Review
Comment #6
ChrisRut commentedI also found another solution that works thanks to merlinofchaos on IRC: Simply change the MySQL DB table "users" where "UID" = 0 set "name" = Anonymous
Comment #7
dave reidFixed in CVS. Thanks!
http://drupal.org/cvs?commit=337854