Customization > Blocks and Modifications
Block with links to topics of chosen board
jelence:
Hello!
Is it possible to make custom php block (or to change board news or recent posts/topics) to look like list of links from chosen board?
for example, to look like:
Name of block
Link to topic 1
Link to topic 2
Link to topic 3
and so on?
Thanks!
AngelinaBelle:
Yes. This is essentially creating an index of one board. This idea is very similar to the navigation block, which very much needs updating to SMF 2.0.
jelence:
Thanks.
I suppose that it should be something similar to code in this topic: http://simpleportal.net/index.php?topic=8653.0, only for smf2?
AngelinaBelle:
The poster reported that this solution worked well:
http://simpleportal.net/index.php?topic=8653.msg46252#msg46252
Does that work for you?
jelence:
He is using smf1 and it does not work for smf2.
I get this error message when I try his code:
--- Quote ---Fatal error: Call to undefined function db_query() in /home8/asekonom/public_html/Sources/PortalBlocks.php(3351) : eval()'d code on line 17
--- End quote ---
I don't know how to fix that :'(.
Navigation
[0] Message Index
[#] Next page
Go to full version