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 Posts Details »»
Latest Posts
Version: 2.0.0, by Michael Biddle Michael Biddle is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.7.x Rating:
Released: 07-17-2008 Last Update: 04-25-2011 Installs: 149
Supported Uses Plugins Auto-Templates
 

Latest Posts
by: Michael Biddle

What this does?

This addon will add the latest posts of your forum to all pages.

What version does it work on?

This modification was written in vBulletin 3.8.7, however, it should work will most of the later 3.x series.

Features?
  1. Enable/Disable - Master Switch to Turn Latest Posts on or off
  2. Title - Change the title of the Site News
  3. Posts to Show - Number of Last Posts to show
  4. Cutoff Length - How many characters to show before the ... at the end
  5. Exclude Forums - Choose what forums you do not want to be listed
  6. Thread Title Width - Width of Title Table
  7. User Title Width - Width of User Table
  8. Forum Title Width - Width of Forum Table
  9. Auto Location - Enable/Disable auto location
  10. Location - Gives Options for Under navbar, above forum, or below forum
  11. Date - Choose to include the date and time posted.
Installation?
  1. Import Product

Due to popular demand, this product has now been updated to show globally.

Supporters / CoAuthors

Show Your Support

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

Comments
  #62  
Old 01-11-2009, 01:08 AM
Michael Biddle Michael Biddle is offline
 
Join Date: Apr 2004
Location: Anaheim, CA
Posts: 774
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I upgraded my board and it still works, so I will give it a yes, it is 3.8.x compatible.
Reply With Quote
  #63  
Old 01-18-2009, 09:59 PM
boandmichele boandmichele is offline
 
Join Date: Jan 2008
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

michael, after upgrading to 3.8.0, i have a sudden problem. if i click on a recent post on my last 50 posts page, it does indeed take me to that post, but it logs all my users out in the process. any ideas?
Reply With Quote
  #64  
Old 01-23-2009, 07:26 AM
Michael Biddle Michael Biddle is offline
 
Join Date: Apr 2004
Location: Anaheim, CA
Posts: 774
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It logs every single user out, or it logs the user out that clicks that link?
Reply With Quote
  #65  
Old 01-24-2009, 05:20 PM
Taragon's Avatar
Taragon Taragon is offline
 
Join Date: Sep 2007
Location: The Netherlands
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

After making some template modifications I seem to be having some custom rewrite difficulties for [minicode]$ppostid[/minicode] (go to last post).

Code:
http://die16-clan.com/forum/showthread.php?p=85186
http://die16-clan.com/forum/entertainment/4712-what-last-movie-you-saw-15.html#post85186
Code:
http://die16-clan.com/forum/showthread.php?p=85212
http://die16-clan.com/forum/entertainment/3433-what-you-listening-right-now-post85212.html
Can you perhaps tell if I might be overlooking something?
[s]Could it be because of the [minicode]?[/minicode] character at the end of "What are you listening to right now?" perhaps? (Other special characters does seem to get stripped)[/s]

forumhome_latest
HTML Code:
<div class="cat-top_lft1"></div><div class="cat-top_rht1"></div><div class="cat-top_x1">
	<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_latest')"><img id="collapseimg_forumhome_latest" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_latest].gif" alt="" border="0" /></a>
	$vboptions[latest_title_name]
</div>
<div id="collapseobj_forumhome_latest" style="$vbcollapse[collapseobj_forumhome_latest]">
	$latest_post_bits
</div>
<div class="cat-btm_x"><div class="cat-btm_lft"></div><div class="cat-btm_rht"></div></div>
forumhome_latest_bit
HTML Code:
<div class="tborder" style="padding:0px 1px 1px 1px">
	<div class="alt2 smallfont" style="padding:5px">
		<h3><a href="$vboptions[bburl]/showthread.php?$session[sessionurl]t=$pthreadid" class="smallfont">$pthreadtitle</a></h3>
		<if condition="$vboptions['latest_cut'] != '0'"><p>$ppagetext</p></if>
		<div align="right">Posted by <a href="$vboptions[bburl]/member.php?$session[sessionurl]u=$puserid">$pusername</a>,</div>
		<div align="right"><if condition="$vboptions['latest_date']">$pdate $ptime</if> in <a href="$vboptions[bburl]/forumdisplay.php?$session[sessionurl]f=$pforumid">$pforumtitle</a> <a href="$vboptions[bburl]/showthread.php?$session[sessionurl]p=$ppostid"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a></div>
	</div>
</div>

Edit:

Strange, it only seems to happen when hovering a thread. After submitting the link it automatically gets rewritten to #post85186

Could this still cause duplicate content you think?
Reply With Quote
  #66  
Old 01-24-2009, 09:10 PM
cooltechie cooltechie is offline
 
Join Date: Apr 2004
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there an option to only show this for members only and not for guests?
Reply With Quote
  #67  
Old 01-25-2009, 02:20 AM
itsbobtista itsbobtista is offline
 
Join Date: Nov 2008
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The problem I have with 3.8 is...

Lets say I post in a thread. Then someone replies. It will show his reply in the latest posts, but not mine.
Reply With Quote
  #68  
Old 01-25-2009, 02:18 PM
Taragon's Avatar
Taragon Taragon is offline
 
Join Date: Sep 2007
Location: The Netherlands
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by itsbobtista View Post
The problem I have with 3.8 is...

Lets say I post in a thread. Then someone replies. It will show his reply in the latest posts, but not mine.
It always shows the latest post from a thread.

You could change

[minicode]$vboptions[bburl]/showthread.php?$session[sessionurl]p=$ppostid[/minicode]

to

[minicode]$vboptions[bburl]/showthread.php?$session[sessionurl]t=$pthreadid[/minicode]

in the Latest X Post on Forum Home > main code plugin, however the date and time shown will be from the latest post, not from the first post.

(Michael's Latest X Threads on Forumhome might be a better alternative for you. Or you can try both.)
Reply With Quote
  #69  
Old 01-25-2009, 02:26 PM
Taragon's Avatar
Taragon Taragon is offline
 
Join Date: Sep 2007
Location: The Netherlands
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cooltechie View Post
Is there an option to only show this for members only and not for guests?
The easiest way would be to add this in your forumhome_latest template
Code:
<if condition="$show['member']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
	<thead>
        <tr>
            <td class="tcat" colspan="3">$vboptions[latest_title_name]</td>
        </tr>
    	<tr>
			<td class="thead" width="$vboptions[latest_post_width]">
				<phrase 1="$vboptions[latest_number]">$vbphrase[latest_posts]</phrase>
			</td>
			<td class="thead" width="$vboptions[latest_forum_width]">
				$vbphrase[latest_forum]
			</td>
			<td class="thead" width="$vboptions[latest_user_width]">
				<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_latest')"><img id="collapseimg_forumhome_latest" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_latest].gif" alt="" border="0" /></a>
				$vbphrase[latest_author]
			</td>
		</tr>
	</thead>
	<tbody id="collapseobj_forumhome_latest" style="$vbcollapse[collapseobj_forumhome_latest]">
		$latest_post_bits
	</tbody>
</table>
<br />
</if>
Reply With Quote
  #70  
Old 01-27-2009, 04:21 AM
tanha tanha is offline
 
Join Date: Mar 2008
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks............
Reply With Quote
  #71  
Old 01-29-2009, 01:05 AM
RedHacker RedHacker is offline
 
Join Date: Jan 2009
Posts: 878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This mod doing for 3.8.1 ??? Why put import and not see any Post in Forum..
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 06:50 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.05544 seconds
  • Memory Usage 2,321KB
  • Queries Executed 26 (?)
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
  • (3)bbcode_code
  • (2)bbcode_html
  • (2)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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_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