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

Reply
 
Thread Tools
Latest Threads On Forum Home Details »»
Latest Threads On Forum Home
Version: 1.1.2, by Chris M Chris M is offline
Developer Last Online: Feb 2013 Show Printable Version Email this Page

Version: 3.5.0 Rating:
Released: 06-15-2005 Last Update: 10-23-2005 Installs: 458
Uses Plugins Template Edits
 
No support by the author.

[high]Installation Instructions[/high]

Step 1: Upload the .xml file to the Product Manager
Step 2: Modify the [high]FORUMHOME[/high] template
Find:
HTML Code:
<td class="alt1" width="100%"><div class="smallfont">$upcomingevents</div></td>
	</tr>
</tbody>
</if>
Add below:
HTML Code:
<!-- latest threads -->
<if condition="$show['latestthreads']">
<tbody>
	<tr>
		<td class="thead" colspan="2">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_latestthreads')"><img id="collapseimg_forumhome_latestthreads" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_latestthreads].gif" alt="" border="0" /></a>
			$vbphrase[latest_threads]
		</td>
	</tr>
</tbody>
<tbody id="collapseobj_forumhome_latestthreads" style="$vbcollapse[collapseobj_forumhome_latestthreads]">
	<tr>
		<td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="$vbphrase[latest_threads]" /></td>
		<td class="alt1"><div class="smallfont">$threadbits</div></td>
	</tr>
</tbody>
</if>
<!-- /latest threads -->
Step 3: Click [high]INSTALL[/high]

[high]Credits[/high]
NTLDR - For allowing me to port his vB3 hack of this

[high]Updates[/high]
Version 1.1.0: Simple update to make this work with vBulletin 3.5.0 Beta 2 - If you are installing for the first time, follow the installation instructions - If you are upgrading, please delete the previous plugin, and upload the new one - This new plugin also has the uncached template fix

Version 1.1.1: Simple update to fix a permissions bug - Wasn't showing on my board because I had already fixed it and forgot about it lol - To upgrade, simply replace the plugin with the one attached

Version 1.1.2: Simple update to fix a permissions bug again - To upgrade, simply replace the plugin with the one attached

Chris

Show Your Support

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

Comments
  #452  
Old 02-12-2007, 09:49 PM
croportal's Avatar
croportal croportal is offline
 
Join Date: Oct 2005
Posts: 270
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Xplorer4x4 View Post
Smileys will not be parsed. Icons can be removed in the "forumhome_latestthreadbit" template.

what mean parsed? sorry but my english is bad

how i remove icons in template? i dont understand

Quote:
Originally Posted by Xplorer4x4 View Post
Not sure I follow but you want it to go to the last page of any thread listed in the latest threads table? The only way I could think of doing this is simply to have the template edited so when you click a thread name it would go to the last post of the thread instead of the first unread post. Would you be interested in that?

i want when i click on thread to go to the last post, not first


yes this is nice idea

but i am newbie in this stuff, so can u explain a little bit better

thanks and sorry for my bad english
Reply With Quote
  #453  
Old 02-12-2007, 10:20 PM
croportal's Avatar
croportal croportal is offline
 
Join Date: Oct 2005
Posts: 270
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Xplorer4x4 View Post
Smileys will not be parsed. Icons can be removed in the "forumhome_latestthreadbit" template. Simply search for .gif and when you find it you will see it in a code like
PHP Code:
<img src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[go_to_first_new_post]border="0" /> 
Just remove everything starting at <img all the way to the /> including />


Not sure I follow but you want it to go to the last page of any thread listed in the latest threads table? The only way I could think of doing this is simply to have the template edited so when you click a thread name it would go to the last post of the thread instead of the first unread post. Would you be interested in that?

i have done that, and look now? what with POST ICONS

thanks Croportal
Reply With Quote
  #454  
Old 02-12-2007, 10:56 PM
Xplorer4x4 Xplorer4x4 is offline
 
Join Date: Apr 2005
Posts: 938
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by croportal View Post
what mean parsed? sorry but my english is bad

how i remove icons in template? i dont understand




i want when i click on thread to go to the last post, not first


yes this is nice idea

but i am newbie in this stuff, so can u explain a little bit better

thanks and sorry for my bad english
I mean smilies will not show up as smilies, they will only show up as :) instead of

I uploaded an updated XML file. Just upload it and make sure you choose YES to overwrite. It will redirect to the last post and will also not have any images except one.
Reply With Quote
  #455  
Old 02-12-2007, 11:00 PM
croportal's Avatar
croportal croportal is offline
 
Join Date: Oct 2005
Posts: 270
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes i did, and as you seen its the same like before?

when you click thread it opens first post not last
Reply With Quote
  #456  
Old 02-12-2007, 11:28 PM
Xplorer4x4 Xplorer4x4 is offline
 
Join Date: Apr 2005
Posts: 938
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you over write the old hack there I don't see how. I have personally tested it on my forum.

Regardless, replace your forumhome_latestthreadbit template with the following:
PHP Code:
<div class="smallfont">
    <
a href="showthread.php?t=$thread[threadid]&amp;goto=newpost" title="$thread[preview]"><strong>$thread[title]</strong></a>
    <
em>$vbphrase[last_post]:</em$thread[date] <if condition="$vboptions['yestoday'] != 2"><span class="time">$thread[time]</span></if> <phrase 1="member.php?find=lastposter&amp;t=$thread[threadid]2="$thread[lastposter]">$vbphrase[by_x]</phrase>
    &
raquo$vbphrase[replies]: $thread[replycount]
    &
raquo$vbphrase[views]: $thread[views]
</
div
Reply With Quote
  #457  
Old 02-18-2007, 02:50 PM
KrisP KrisP is offline
 
Join Date: Jun 2002
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have installed it (added code to the forum home template and imported the product) but nothing shows up on my forum home page. Have I missed something ?
Reply With Quote
  #458  
Old 02-18-2007, 07:20 PM
Moon! Moon! is offline
 
Join Date: Feb 2007
Location: Out of this world
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello thanks for this it was just what I was looking for, I have installed it on 3.6.4 fine, I put this at the top of my forums just under the nav bar and just had to modify the template for it up there.
Reply With Quote
  #459  
Old 02-19-2007, 07:11 AM
Eagle Creek's Avatar
Eagle Creek Eagle Creek is offline
 
Join Date: Jan 2004
Location: Netherlands
Posts: 742
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to excluse one forum?
Reply With Quote
  #460  
Old 02-22-2007, 07:38 AM
Vierie Vierie is offline
 
Join Date: Apr 2005
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get the error message Cannot use a scalar value as an array in /search.php on line 2179 if I use the new posts button in my forum. By deactivating plugins I found out that it seems to be caused by this product.

Any idea what could cause that and how to resolve it? I don't want to remove the product.
Reply With Quote
  #461  
Old 02-22-2007, 07:43 AM
Vierie Vierie is offline
 
Join Date: Apr 2005
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Irisfire View Post
ok, i'm not a coder my any means...i'm just a little 'ole designer...and for the life of me I can't get the threads to show in someplace other than the forumhome.

I'm trying to use this mod, but instead of having all the forumhome stuff...i just want to have the lastest thread titles put into a side column...i've looked at the added templates...copied what's there...and all it will do is post the sections titles..."last post by reviews views"...but doesn't put the actual info in there...

can someone possibly shed some light on how to get just the titles to show in another template other than forumhome?
Try putting in
PHP Code:
require_once('./includes/functions_forumlist.php'); 
at the start of the php code in the code xml-file and change the hook to global_start.

Works for me.
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:11 AM.


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.05516 seconds
  • Memory Usage 2,338KB
  • Queries Executed 25 (?)
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
  • (2)bbcode_html
  • (3)bbcode_php
  • (5)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
  • (1)pagenav_pagelinkrel
  • (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