vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Latest replies (https://vborg.vbsupport.ru/showthread.php?t=283532)

sadiq6210 05-27-2012 03:25 PM

Latest replies
 
1 Attachment(s)
I installed vbadvanced links directory, you can see in this demo 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

Code:

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



All times are GMT. The time now is 05:48 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00944 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (1)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete