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)

luffy 08-11-2008 10:00 PM

Latest 'X' Posts
 
What's Mods?


This hack adds the latest 'x' Posts (newthread, Replies, attachment threads, Tags threads, prefix threads, viewing thread) to your forumhome.

The original idea was nanoentities but he will not be releasing his hack for vB3.7. Basically this is the same idea, all new coding, all new templates.

This hack also shows the icons new last post on the thread was posted after your lastvisit or marking all forums as read. can be set to exclude forums.

I am currently working on a seperate page where the user can set the number of stats he wishes to show.



Instructions



1) Import the product through your admincp by going "Manage Products" > "[Add/Import Product]". If you have already installed this plugin then select "Yes" for "Allow Overwrite".


2) In your FORUMHOME template find:

HTML Code:

<!-- end what's going on box -->
OR

HTML Code:

<!-- Main -->
And after it add:
HTML Code:

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

Sorry, in my bad English

spitb19 08-12-2008 06:42 AM

thank you. where do you live? iam vietnamese . and i live in hcm city

Bacteria1 08-12-2008 08:36 AM

Not working for me, its not showing up :(

projectego 08-12-2008 09:19 AM

[high]* projectego clicks install :)[/high]

GaiLoan 08-12-2008 11:44 PM

this not working, its doesnt for me either

Mathiau 08-13-2008 06:15 AM

not showing for me either

StarSoheil 08-13-2008 09:32 AM

me too!

Sarthek 08-13-2008 11:05 AM

I have old version it works well on 3.7.2 :)

But would be very nice if someone would hack to AJAX, so latest posts would auto refresh withouth page-refreshing.

Check Gaia online here http://www.gaiaonline.com/forum/gaia...cussion/f.140/

and their forum pulse

bL@CKw!d0w 08-15-2008 07:27 AM

Quote:

Originally Posted by Sarthek (Post 1597673)
I have old version it works well on 3.7.2 :)

But would be very nice if someone would hack to AJAX, so latest posts would auto refresh withouth page-refreshing.

Check Gaia online here http://www.gaiaonline.com/forum/gaia...cussion/f.140/

and their forum pulse

can you not give that ?

StarSoheil 08-22-2008 04:18 PM

Quote:

Originally Posted by Sarthek (Post 1597673)
I have old version it works well on 3.7.2 :)

But would be very nice if someone would hack to AJAX, so latest posts would auto refresh withouth page-refreshing.

Check Gaia online here http://www.gaiaonline.com/forum/gaia...cussion/f.140/

and their forum pulse

Do you can share old version of this hack here?

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 06:21 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.01236 seconds
  • Memory Usage 1,755KB
  • 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
  • (3)bbcode_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (17)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