Hi @Frosticek.
I 'm trying to display 3-4 random listings to the item page of every user. So when someone visit an item page it will display at the bottom:
"CHECK ALSO THESE ITEMS POSTED BY THIS USER"
Item 1
Item 2
Item 3
Item 4
etc
How can i get a user's username from an item? I know that already we can get the author id from an item with this helper:
<?php echo osc_item_user_id(); ?>
This works fine and display the user id at the item page. But i want to get the unique username(not real name) of the author with something like that:
<?php echo osc_item_user_username(); ?>
So my question is what is the function for such a helper? How can i query to DB so it will return the user's username based on the item page someone is viewing ?
Thanks.