Hello everyone,
I have written a php script which creates k2 items in my site's database without having to login to the administration panel of my joomla site.
When I view the new item, it is created as supposed but it does not show the author's name ("written by" phrase is empty).
Note that in my php script I set an integer value for the "created_by" column of the k2_items table, which is the userID of the k2_users table.
Also, at the end of the item there is not any info about the author and his latest articles.
If I use the administration panel to create new items all work fine.
Could you tell me what am I missing for my php script?
Could you explain me how author and k2 item are related??
Thank you