Jump to content

Download: (SOS31) Recent Topics


Adriano Faria

Recommended Posts

Posted

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

  • 1 month later...
  • Replies 149
  • Created
  • Last Reply
Posted

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

  • 2 weeks later...
Posted

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....

  • 2 weeks later...
Posted

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!

  • 2 weeks later...
Posted

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!
  • 2 weeks later...
Posted

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?

Posted

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?

Posted

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.
Posted

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%'>&nbsp;</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']}&amp;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'] )">&gt;</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&amp;module=extras&amp;section=stats&amp;do=who&amp;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']}&amp;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']}&amp;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'>

Posted

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:


%7Boption%7D



Settings:

%7Boption%7D
Posted

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?

Posted

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

%7Boption%7D
Posted

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.

Posted

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

Posted

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.) ?

Archived

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...