Jump to content

Download: (SOS31) Recent Topics

Featured Replies

Posted

File Name: (SOS31) Recent Topics
File Submitter: Adriano Faria
File Submitted: 03 Jul 2010
File Updated: 22 May 2011
File Category: Hooks and Plugins

This hook will show a box with the last five topics/posts on board index. You can set how many topics do you want to show, the interval for the list auto update, exclude forums and groups allowed to see the list.

To notify you about new topics/posts, this hook uses an effect that will pulsate the list only if some new topic or new post is made.

Copyright Note

  • This hook is an upgrade of D23-Recent Topics 1.1 mod, by Dean & Logan, from D-Scripting. This upgrade was authorized by Logan.

Features in this version:

  • Topic preview
  • Topic pagination
    Mark topic as read when you click in its image
  • Forums prefixes (moved, pinned, poll and watched topic)
  • Attachments link to view topic attachements
  • Topic rating
  • Restriction by number of posts
  • Themes: you can choose theme 1 (default, from older versions) and theme 2.
  • Hide CLOSED and MOVED LINK topics
  • Ability to user use settings in User Control Panel: enable/disable Recent Topics block in board index; number of topics to show and block forums.

Compatibility:

  • IP.Board 3.1.3+


Click here to download this file
  • Replies 149
  • Views 8.4k
  • Created
  • Last Reply

Great mod. Is it ajax based?

Thanks Adriano, really nice one. :)


Great mod. Is it ajax based?



my guess would be yes.

You can set how many topics do you want to show, [u]the interval for the list auto update[/u], exclude forums and groups allowed to see the list.


That just might be a full page refresh.

  • Author

It uses Ajax.

I wish this would show in the sidebar. I can't believe someone hasn't made a hook yet that displays in the sidebar doing basically what this hook does.

Why sidebar? There's already a way to display in sidebar.

which template do i have to edit to make this hook look like my skin?

  • Author

Board Index:

hooksos_topicosrecentes_tema1
hooksos_topicosrecentes_tema2
hooksos_topicosrecentesAjax_tema1
hooksos_topicosrecentesAjax_tema2


Why sidebar? There's already a way to display in sidebar.




Recent topics will show in sidebar but replies will not.

Hi, Thanks.

but How Can i Move it at bottom of Index Page?

  • Author

YOu can't. You need another hook to that.

This one shows above.

Fantastic mod Adriano! One of my favourites! Keep up the great work!

It would be great if The users could customize how many new topics they want to see.

Edit, doesn't seem to ajax refresh for me, I have to refresh my page to see the new content.

edit:
Seems like the ajax refresh doesn't work when you set it to less than 30, I set it to 15 which was a bit much.

  • 2 weeks later...

Is their anyway that I can edit it's template to make it less cluttered ? I've tried editing the templates in the skin but it doesn't make any changes ?

1-Refresh is not working.

I started it with 500 seconds, than it was too slow.

With 100 seconds or less, I could see the topic updated on forums list, but even after 200 seconds, refresh or anything, sometimes the recent topic where no uptaded.

2-Can I (or "how do I edit to") send someone to the last post on the topic?

3- How do I change the title to "Recent answered topics"?

Brill mod Adriano :) same question as above would be how to change the public title ?

PS: Works fine on 3.1.2 ;)


Brill mod Adriano :) same question as above would be how to change the public title ?



PS: Works fine on 3.1.2 ;)



Maybe I can help you:
ACP>>>Look and feel>>>(Manage)Language (s)>>click on your language and on the search box put: "Recent Topics". It must be related to topicos_recentes string that you'll see up the translation. On the right box put what you want instead, and save. I've centered the title using the html center tags.

Worked a treat, many thanks to you Salvo :)

Good %7Boption%7D

This happens when allowing Guests to view the recent topics.


Warning: Invalid argument supplied for foreach() in /home/public_html/hooks/topicosrecentes_19a0dae3523d889136f431cac50e512b.php on line 115

Warning: Cannot modify header information - headers already sent by (output started at /home/public_html/hooks/topicosrecentes_19a0dae3523d889136f431cac50e512b.php:115) in /home/public_html/admin/sources/classes/output/formats/html/htmlOutput.php on line 109

Warning: Cannot modify header information - headers already sent by (output started at /home/public_html/hooks/topicosrecentes_19a0dae3523d889136f431cac50e512b.php:115) in /home/public_html/admin/sources/classes/output/formats/html/htmlOutput.php on line 120

Warning: Cannot modify header information - headers already sent by (output started at /home/public_html/hooks/topicosrecentes_19a0dae3523d889136f431cac50e512b.php:115) in /home/public_html/admin/sources/classes/output/formats/html/htmlOutput.php on line 129

Warning: Cannot modify header information - headers already sent by (output started at /home/public_html/hooks/topicosrecentes_19a0dae3523d889136f431cac50e512b.php:115) in /home/public_html/admin/sources/classes/output/formats/html/htmlOutput.php on line 130

Warning: Cannot modify header information - headers already sent by (output started at /home/public_html/hooks/topicosrecentes_19a0dae3523d889136f431cac50e512b.php:115) in /home/public_html/admin/sources/classes/output/formats/html/htmlOutput.php on line 134

  • Author

You probably remove the permission in forums for guests and enabled guests in hook.

I excluded all forums that guests dont have permission to read in.

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.