joschienne Posted November 23, 2010 Share Posted November 23, 2010 I have a question and I don't know how to do this exactly. On my first page I want two of these resent posts and topics. The first one is the serious one, focusing on the latest news sections in my forum. The second one is for everything else. In other word, this would be like installing the hook twice but the ajax update should work for both (one update for both). I'll be willing to pay for anyone who knows how to do this if needed. Best regards, joschen Link to comment
joschienne Posted January 15, 2011 Share Posted January 15, 2011 I have installed the "Topic Preview on Hover" hook. Would be nice if the hook worked with the recent topics hook. Does anyone know how to enable it? Best regards, joschienne Link to comment
imno007 Posted January 28, 2011 Share Posted January 28, 2011 I appreciate the work, but shouldn't your Recent Topics hook more accurately be called Recent Posts? From what I've seen so far, it doesn't just list the newest topics (which is what I would think it did based on the name), it updates and displays all topics at every new reply.... Link to comment
Adriano Faria Posted January 28, 2011 Author Share Posted January 28, 2011 You can change its title in Look & Feel -> Language Manager -> your language. Search for "Recent Topics" and type what you want. Link to comment
Graeme S. Posted February 11, 2011 Share Posted February 11, 2011 Absolutely love this mod and have been using it for as long as I can remember. I'm just working on a redesign at the moment and was stuck trying to figure out how to get it to just show the last breadcrumb. At the moment there is a foreach loop for the breadcrump and it shows Forum > Forum > Etc. Basically I just want it to show the forum it was posted in rather than the whole breadcrumb. Keep up the fantastic work! Link to comment
Buskopan Posted February 24, 2011 Share Posted February 24, 2011 Brilliant hook! But I really want to see it on bottom (after the forums) And seems like no chances for that. Link to comment
Adriano Faria Posted February 24, 2011 Author Share Posted February 24, 2011 Ok. Next verion will add new setting to choose hook position. Link to comment
Buskopan Posted February 27, 2011 Share Posted February 27, 2011 Ok. Next verion will add new setting to choose hook position. For the first look it seems like it is in wrong place. But after while, I like the place it originaly is. Thank you again for nice job! Link to comment
Adriano Faria Posted February 27, 2011 Author Share Posted February 27, 2011 Honestly, place this hook after categories you will loose the blink effect when there's new posts in topics... I don't think it's a good idea. Link to comment
Craig Smith Posted March 8, 2011 Share Posted March 8, 2011 I installed the hook and adjusted the settings but it isn't showing up on my board. I'm using the default skin. I'm hosted with invision power. Perhaps they block it? Any idea why it isn't showing up? Link to comment
Adriano Faria Posted March 8, 2011 Author Share Posted March 8, 2011 It won't show if:you didn't choose your user groups in settingsyou selected all forums in settings. The settings is to EXCLUDE forums; not SELECT Link to comment
najaru_1 Posted March 16, 2011 Share Posted March 16, 2011 hi Adriano. The name of file in download is always sos30 and not sos31 ;) Link to comment
najaru_1 Posted March 16, 2011 Share Posted March 16, 2011 Adriano, i have very modified skin, and hook dont display. Is there a possibility to add manually a code in boardindextemplate to call this hook? can i use a normal parse for template? Link to comment
Adriano Faria Posted March 16, 2011 Author Share Posted March 16, 2011 hi Adriano.The name of file in download is always sos30 and not sos31 No problem.... XML is a 3.1 version.Adriano, i have very modified skin, and hook dont display. Is there a possibility to add manually a code in boardindextemplate to call this hook? can i use a normal parse for template? This hook searchs for a hook point in Board Index, same used by others hooks. Link to comment
*Salvo* Posted March 20, 2011 Share Posted March 20, 2011 Adriano, i have very modified skin, and hook dont display. Is there a possibility to add manually a code in boardindextemplate to call this hook? can i use a normal parse for template? <style type="text/css" > /* Inline CSS */ table.recentTopicsTable { border: 1px solid #9AB2C6; } #recentTopics { border-bottom: 4px solid #D5DDE5; } .block_wrap h3.collapsed a.toggle { background-image: url({$this->settings['img_url']}/cat_maximize.png); } </style> <script src="{$this->settings['public_dir']}js/ips.recentTopicsHook.js" type="text/javascript"></script> <script src="{$this->settings['public_dir']}js/ips.forums.js" type="text/javascript"></script> <script type="text/javascript"> ipb.recentTopics.updateInterval = parseInt( {$this->settings['topicosrecentes_updateInterval']} ); </script> <div class='block_wrap' id="recentTopicsWrapper"> <h3 id='hook_recentTopics' class='maintitle'><a class='right toggle' href='#' title='{$this->lang->words['click_toggle']}'>{$this->lang->words['click_toggle']}</a>{$this->lang->words['topicos_recentes']}</h3> <table class="ipb_table" cellspacing="0"> <tr> <th class='header' width='4%'> </th> <th class='header' width='62%'>Discussione</th> <th class='header' width='8%'>Risposte</th> <th class='header' width='8%'>Visite</th> <th class='header' width='18%'>Ultime Info Topic</th> </tr> </table> <div id="recentTopics" style="{$wrapperData['style']}" class="{$wrapperData['class']}"> <if test="is_array( $topicos ) && count( $topicos )"> {parse striping="topicosrecentes_hook" classes="row1,row2"} <ul> <foreach loop="topicosrecentes_hook:$topicos as $r"> <php> $class = "class='altrow'"; $classTwo = ''; </php> <li> <table class="ipb_table recentTopicsTable" cellspacing="0" cellpadding="0"> <tr class="{parse striping="topicosrecentes_hook"}"> <td {$class} align='center' width='4%'>{parse replacement="{$r['image']}"}</td> <td {$class2} width='52%'><b><a href='{parse url="showtopic={$r['topico']['tid']}&view=getlastpost" base="public" template="showtopic" seotitle="{$r['topico']['title_seo']}"}' title='{$r['topico']['title']}'>{IPSText::truncate($r['topico']['title'],60)}</a></b><br /><span class='date'>{$this->lang->words['cat_name']}: <foreach loop="topicsForumTrail:$r['breadcrumb'] as $i => $f"> <a href='{parse url="{$f[1]}" template="showforum" seotitle="{$f[2]}" base="public"}'>{$f[0]}</a> <if test="notLastFt:|:$i+1 != count( $r['breadcrumb'] )">></if> </foreach> </td> <td {$class} align='center' width='18%'><address class="author vcard">{IPSLib::makeProfileLink(IPSLib::makeNameFormatted( $r['topico']['starter_name'], $r['topico']['grupo1']), $r['topico']['starter_id'])}{parse template="user_popup" group="global" params="$r['topico']['starter_id'], $r['topico']['nome1']"}</address><br />{$this->lang->words['in_last_topic']} {parse date="$r['topico']['start_date']" format="short"}</td> <td {$class2} align='center' width='8%'><a href="{parse url="app=forums&module=extras&section=stats&do=who&t={$r['topico']['tid']}" base="public"}" onclick="return ipb.forums.retrieveWhoPosted( {$r['topico']['tid']} );">{$r['topico']['posts']}</a></td> <td {$class} width='18%'><a href='{parse url="showtopic={$r['topico']['tid']}&view=getlastpost" base="public" template="showtopic" seotitle="{$r['topico']['title_seo']}"}' title='{$this->lang->words['view_last_post']}'>{parse replacement="f_lastpost"}</a> <a href='{parse url="showtopic={$r['topico']['tid']}&view=getlastpost" base="public" template="showtopic" seotitle="{$r['topico']['title_seo']}"}' title='{$this->lang->words['view_last_post']}'>{parse date="$r['topico']['last_post']" format="short"}</a><br /><b>{$this->lang->words['forum_by']}</b>: <address class="author vcard">{IPSLib::makeProfileLink(IPSLib::makeNameFormatted( $r['topico']['last_poster_name'], $r['topico']['grupo2']), $r['topico']['last_poster_id'])}{parse template="user_popup" group="global" params="$r['topico']['last_poster_id'], $r['topico']['nome2']"}</address></td> </tr> </table> </li> </foreach> </ul> </if> </div> </div> Put this loop, if you want the hook appears under last forum, up the stats, before the:<ul id='stat_links' class='filter_bar rounded'> Link to comment
Adriano Faria Posted March 28, 2011 Author Share Posted March 28, 2011 Version 2.1.0 released! What's New in Version 2.1.0: Admin CP: added a setting to hide CLOSED topics User Control Panel: added settings to user choose: enable/disable Recent Topics block in board index; number of topics to show and block forums. Control Panel: Settings: Link to comment
najaru_1 Posted March 28, 2011 Share Posted March 28, 2011 thanks salvo. good Adriano, feature very useful Link to comment
optrexnz Posted March 30, 2011 Share Posted March 30, 2011 I am trying to encourage the use of the ratings system on my board. Would it be at all possible to display the topics ratings stars, perhaps after the topic title? Link to comment
Adriano Faria Posted March 30, 2011 Author Share Posted March 30, 2011 Yes, it's possible... I'll take a look and add this in next release... it won't take long. Link to comment
Adriano Faria Posted March 31, 2011 Author Share Posted March 31, 2011 I am trying to encourage the use of the ratings system on my board. Would it be at all possible to display the topics ratings stars, perhaps after the topic title? Version 2.1.1 released! What's New in Version 2.1.1:Added topic rating Link to comment
bearback Posted March 31, 2011 Share Posted March 31, 2011 thank you salvo, excellent additions. Link to comment
Adriano Faria Posted March 31, 2011 Author Share Posted March 31, 2011 This option in user control panel will appear for those who can view the block in board index and this is you as admin who set in Admin CP. If you disallow MEMBERS to use the hook, those settings won't appear in Control Panel for users of MEMBERS groups. Link to comment
optrexnz Posted March 31, 2011 Share Posted March 31, 2011 Adriano, many thanks for the improvement on the latest release :) Link to comment
sk8er_boi Posted April 3, 2011 Share Posted April 3, 2011 Can you integrate thismod into recent topics? And also a setting for disabling ajax updates? It's a super resource hog for big forums. And there's no better recent topics addon than this. Thanks Link to comment
Adriano Faria Posted April 3, 2011 Author Share Posted April 3, 2011 Can you integrate thismod into recent topics? I'll give it a try.And also a setting for disabling ajax updates? It's a super resource hog for big forums. And there's no better recent topics addon than this. Well, this is what really makes this hook so nice, but I can make it as a setting (default value: ON)... so you'll can disable it. Anyway, have you tried to use a higher number of seconds (45s, 1min, etc.) ? Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.