Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Latest 'X' Posts Details »»
Latest 'X' Posts
Version: 1.00, by luffy luffy is offline
Developer Last Online: Dec 2016 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.7.x Rating:
Released: 08-11-2008 Last Update: Never Installs: 26
Uses Plugins Template Edits
 
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 08-27-2008, 06:35 AM
cdnbacon cdnbacon is offline
 
Join Date: Nov 2006
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...!?
Reply With Quote
  #13  
Old 08-27-2008, 06:43 AM
cdnbacon cdnbacon is offline
 
Join Date: Nov 2006
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #14  
Old 08-28-2008, 06:31 PM
Mongez's Avatar
Mongez Mongez is offline
 
Join Date: Mar 2008
Location: Egypt
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

not working !
Reply With Quote
  #15  
Old 11-20-2008, 06:22 PM
honcho honcho is offline
 
Join Date: Apr 2007
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i could not get this working either any one any ideas please
Reply With Quote
  #16  
Old 03-17-2009, 12:23 AM
zero5854 zero5854 is offline
 
Join Date: Oct 2008
Posts: 129
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

WTH why doesnt this work man???
Reply With Quote
  #17  
Old 06-06-2012, 06:19 PM
vBMerkezi vBMerkezi is offline
 
Join Date: Jun 2012
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you
Reply With Quote
  #18  
Old 02-21-2013, 08:23 PM
nemsis110 nemsis110 is offline
 
Join Date: Nov 2009
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 -->
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:56 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07660 seconds
  • Memory Usage 2,279KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (3)bbcode_html
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete