PDA

View Full Version : Latest replies


sadiq6210
05-27-2012, 03:25 PM
I installed vbadvanced links directory, you can see in this demo (http://vbadvanced.com/links/index.php) there is

Newest 3 Links

Random Links

I am trying to add (Newest 3 replies)

When you open (What's New) list in navbar you will be able to search for the latest replies, so, I think it is all ready, we need only to bring it to the first page.

How can we do that? or at least any hint?

I attached the file (index.php) and this is the code for the newest links and random links

<vb:if condition="$show['newlinks']">
<div class="threadlist collapse floatcontainer">
<div class="threadlisthead">
<span class="threadinfo">
<span class="threadtitle">
{vb:rawphrase newest_x_links, {vb:raw vba_options.links_newonhome}}
</span>
</span>
<span class="threadstats td">{vb:rawphrase replies} / {vb:rawphrase views}</span>
<span class="threadlastpost td">
<vb:if condition="$vba_options['links_allowreplies']">
{vb:rawphrase last_reply}
<vb:else />
{vb:rawphrase last_updated}
</vb:if>
</span>
</div>

<ol class="threads" id="vba_new">
{vb:raw newlinkbits}
</ol>
</div>
</vb:if>


<vb:if condition="$show['randomlinks']">
<div class="threadlist collapse floatcontainer">
<div class="threadlisthead table">
<span class="threadinfo">
<span class="threadtitle">
{vb:rawphrase random_links}
</span>
</span>
<span class="threadstats td">{vb:rawphrase replies} / {vb:rawphrase views}</span>
<span class="threadlastpost td">
<vb:if condition="$vba_options['links_allowreplies']">
{vb:rawphrase last_reply}
<vb:else />
{vb:rawphrase last_updated}
</vb:if>
</span>
</div>

<ol class="threads" id="vba_rand">
{vb:raw randomlinkbits}
</ol>
</div>
</vb:if>