SimplePortal
Customization => Custom Coding => Topic started by: natasa on May 28, 2018, 12:20:18 AM
-
Hello!
I would like to show, on Board News block, name of forum board post belong to, instead of date, poster, number of views and comments.
So, if I post something on "Custom Coding" board, I would like on Board News to be written "Custom Coding" instead of date, poster name, etc.
How can I do that?
Thanks.
-
Hello natasa,
Your request requires edits to the ../Sources/PortalBlocks.php file.
Attach that file from your forum Sources folder and I will make the changes for you.
Would you like it to just show the board name as a link to that board?
-
Hello Chen Zhen.
I was thinking, it would be nicer to be name of forum board and author name,
something like:
Posted on 'Board name' by 'Author name'
or similar to that,
and 'Board name' and 'Author name' to be links to that board and that author.
Thanks.
-
I apologize but I haven't been able to get to this until now.
Attached is the file containing the necessary changes.
-
It is working :thumbsup:
Thank you!!!