vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Forum Home Enhancements - Latest 'X' Posts (https://vborg.vbsupport.ru/showthread.php?t=187879)

cdnbacon 08-27-2008 06:35 AM

Hey everyone,

I just attempted to get this working and also had a minor issue getting it to show up.

After viewing the .xml product, I noticed the OP has a typo in his instructions.

When modifying your template, make sure to use the variable $latestXposts

Mine looks like this:
Quote:

<if condition="$show['latestXpost']">
$latestXposts
</if>
I did not modify the latestXpost name in the if condition. Seems to work fine...!?

cdnbacon 08-27-2008 06:43 AM

Here is my modifed latestXposts template file:

Code:

<br />

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
        <tr>
                <td class="tcat" colspan="6">
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_statistics')"><img id="collapseimg_forumhome_statistics" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_forumhome_statistics].gif" alt="" border="0" /></a>
                        <a href="topXstats.php$session[sessionurl_q]">$vbphrase[statistics]<phrase 1="$displayrecords">$vbphrase[top_x]</phrase></a></td>
        </tr>
</thead>
<tbody id="collapseobj_forumhome_statistics" style="$vbcollapse[collapseobj_forumhome_statistics]">
        <TR>
    <TD class=thead noWrap>Thread</TD>
    <TD class=thead noWrap>Forum</TD>
    <TD class=thead noWrap>User Name</TD>
    <TD class=thead noWrap>Date / Time</TD>
    <TD class=thead noWrap align=right>Replies</TD>
    <TD class=thead noWrap align=right>Views</TD>
        </TR>
                        $latestXposts_bits
</tbody>
</table>
<br />
<br />

I removed a couple tags and my Ultimate Side Column 2.2 now works with this mod.

Mongez 08-28-2008 06:31 PM

not working !

honcho 11-20-2008 06:22 PM

i could not get this working either any one any ideas please

zero5854 03-17-2009 12:23 AM

WTH why doesnt this work man???

vBMerkezi 06-06-2012 06:19 PM

thank you

nemsis110 02-21-2013 08:23 PM

Hello guys here is the fix:

to get it to work import the xml file and than add this to your forumhome

<if condition="$show['latestXposts']">
$latestXposts
</if>

just after <!-- Main -->


All times are GMT. The time now is 04:59 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.03352 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete