Adriano Faria Posted July 3, 2010 Share Posted July 3, 2010 File Name: (SOS31) Recent TopicsFile Submitter: Adriano FariaFile Submitted: 03 Jul 2010File Updated: 22 May 2011File 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 NoteThis 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 previewTopic pagination Mark topic as read when you click in its imageForums prefixes (moved, pinned, poll and watched topic)Attachments link to view topic attachementsTopic ratingRestriction by number of postsThemes: you can choose theme 1 (default, from older versions) and theme 2.Hide CLOSED and MOVED LINK topicsAbility 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 Link to comment
PSXHosting Ltd. Posted July 3, 2010 Share Posted July 3, 2010 Thanks Adriano, really nice one. :) Link to comment
majdi Posted July 3, 2010 Share Posted July 3, 2010 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. Link to comment
Zhana Posted July 4, 2010 Share Posted July 4, 2010 That just might be a full page refresh. Link to comment
Volstate Posted July 4, 2010 Share Posted July 4, 2010 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. Link to comment
Zhana Posted July 5, 2010 Share Posted July 5, 2010 Why sidebar? There's already a way to display in sidebar. Link to comment
majdi Posted July 5, 2010 Share Posted July 5, 2010 which template do i have to edit to make this hook look like my skin? Link to comment
Adriano Faria Posted July 5, 2010 Author Share Posted July 5, 2010 Board Index: hooksos_topicosrecentes_tema1 hooksos_topicosrecentes_tema2 hooksos_topicosrecentesAjax_tema1 hooksos_topicosrecentesAjax_tema2 Link to comment
Volstate Posted July 6, 2010 Share Posted July 6, 2010 Why sidebar? There's already a way to display in sidebar. Recent topics will show in sidebar but replies will not. Link to comment
Lioncomputer Posted July 11, 2010 Share Posted July 11, 2010 Hi, Thanks. but How Can i Move it at bottom of Index Page? Link to comment
Adriano Faria Posted July 11, 2010 Author Share Posted July 11, 2010 YOu can't. You need another hook to that. This one shows above. Link to comment
Graeme S. Posted July 11, 2010 Share Posted July 11, 2010 Fantastic mod Adriano! One of my favourites! Keep up the great work! Link to comment
Gaffney Posted July 13, 2010 Share Posted July 13, 2010 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. Link to comment
Gaffney Posted July 13, 2010 Share Posted July 13, 2010 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. Link to comment
Gaffney Posted July 22, 2010 Share Posted July 22, 2010 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 ? Link to comment
Azis Posted July 23, 2010 Share Posted July 23, 2010 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"? Link to comment
Planetby Posted July 25, 2010 Share Posted July 25, 2010 Brill mod Adriano :) same question as above would be how to change the public title ? PS: Works fine on 3.1.2 ;) Link to comment
*Salvo* Posted July 25, 2010 Share Posted July 25, 2010 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. Link to comment
Planetby Posted July 25, 2010 Share Posted July 25, 2010 Worked a treat, many thanks to you Salvo :) Link to comment
PSXHosting Ltd. Posted July 27, 2010 Share Posted July 27, 2010 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 Link to comment
Adriano Faria Posted July 27, 2010 Author Share Posted July 27, 2010 You probably remove the permission in forums for guests and enabled guests in hook. Link to comment
PSXHosting Ltd. Posted July 27, 2010 Share Posted July 27, 2010 I excluded all forums that guests dont have permission to read in. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.