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
  #382  
Old 09-10-2006, 10:53 PM
MRGTB MRGTB is offline
 
Join Date: Dec 2004
Posts: 548
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, I know what you mean. Each to there own really. I prefer to show as much info as possible like the FORUM link and so on. But thats me, were all different.
Reply With Quote
  #383  
Old 09-10-2006, 10:55 PM
Ninth Dimension's Avatar
Ninth Dimension Ninth Dimension is offline
 
Join Date: Oct 2001
Location: London, England.
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A suggestion to the hack owner - to make it so that only threads which have updates the member hasn't yet seen to appear in bold, while the rest remain unbolded.

EDIT: Nevermind, I've just seen you have something like this in place already.
Reply With Quote
  #384  
Old 09-10-2006, 10:56 PM
Ninth Dimension's Avatar
Ninth Dimension Ninth Dimension is offline
 
Join Date: Oct 2001
Location: London, England.
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gary Bolton
Yeah, I know what you mean. Each to there own really. I prefer to show as much info as possible like the FORUM link and so on. But thats me, were all different.
Yeah, I get what you're saying. One thing I think your forum might benefit from is to use a table to make all the info nice and organised into coloums, rather than just lose like it is now...
Reply With Quote
  #385  
Old 09-10-2006, 11:02 PM
MRGTB MRGTB is offline
 
Join Date: Dec 2004
Posts: 548
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ninth Dimension
Yeah, I get what you're saying. One thing I think your forum might benefit from is to use a table to make all the info nice and organised into coloums, rather than just lose like it is now...

Well it's really funny you should say that, because that has crossed my mind, but I was a little unsure how to get each post in it's own column though.
Reply With Quote
  #386  
Old 09-11-2006, 12:13 AM
MRGTB MRGTB is offline
 
Join Date: Dec 2004
Posts: 548
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can you get it so each latest thread displayed uses it's own alternate colour. Like alt1 and alt2 in the box. So it looks nicer. So if you displayed 4 threads, they would be like this: alt1,alt2,alt1,alt2
Reply With Quote
  #387  
Old 09-11-2006, 01:18 AM
Ninth Dimension's Avatar
Ninth Dimension Ninth Dimension is offline
 
Join Date: Oct 2001
Location: London, England.
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think I can do what you want, both with the coloums and alternating colours, but I'm going to need to see some of your templates first.

I'm going to need part of your FORUMHOME template, everything from <!-- latest threads start --> to <!-- latest threads end -->, and the whole of your forumhome_latestthreadbit template.

It would also be handy if you could give me the content of your 'Latest Threads on Forum Home' plugin.

If you can paste that info here, I'll see what I can do for you
Reply With Quote
  #388  
Old 09-11-2006, 01:24 AM
MRGTB MRGTB is offline
 
Join Date: Dec 2004
Posts: 548
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here is my template:

Code:
<!-- latest threads start -->
<if condition="$show['latestthreads']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tbody>
<tr>
<td class="tcat"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('latest_threads')">
        <img id="collapseimg_latest_threads" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_latest_threads].gif" alt="" border="0" /></a>
<!-- title start -->
Latest Threads
<br />
<div class="smallfont">
Read latest threads
</div>
<!-- title end -->
</td>
</tr>
</tbody>
<tbody id="collapseobj_latest_threads" style="$vbcollapse[collapseobj_latest_threads]">
<tr>
<td class="alt1">
<!-- code start -->
$threadbits
<!-- code end -->
</td>
</tr>
</tbody>
</table>
<br />
</if>
<!-- latest threads end -->
Plug-ins attached
Reply With Quote
  #389  
Old 09-11-2006, 01:35 AM
Ninth Dimension's Avatar
Ninth Dimension Ninth Dimension is offline
 
Join Date: Oct 2001
Location: London, England.
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I still need the forumhome_latestthreadbit template.

As for the plugin, could you maybe copy/paste the text for me please? The text I need can be found: ACP -> Plugins & Products -> Plugin Manager -> Latest Threads on Forum Home (the one listed next to forumhome_complete) -> then copy/paste all the text from the 'Plugin PHP Code' box please?

I'm just off to bed now, but I'll take a look in the morning and see what I can do for you
Reply With Quote
  #390  
Old 09-11-2006, 01:38 AM
MRGTB MRGTB is offline
 
Join Date: Dec 2004
Posts: 548
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here the threadbit code:

Code:
<div class="smallfont">
	<if condition="$show['firstnew']">
		<a href="showthread.php?t=$thread[threadid]&amp;goto=newpost"><img src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[go_to_first_new_post]" border="0" /></a>
	</if>
	<if condition="$show['icon'] && !$show['firstnew']">
		<img style="vertical-align: middle;" src="$vboptions[bburl]/$thread[threadiconpath]" border="0" alt="$thread[threadicontitle]" title="$thread[threadicontitle]" /> 
	</if>
	<a href="showthread.php?t=$thread[threadid]" title="$thread[preview]"><strong>$thread[title]</strong></a>&nbsp;
	<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]
	&raquo; $vbphrase[forum]: <a href="forumdisplay.php?f=$thread[forumid]">$forumdata[title]</a></div>
But you could have got the template code for this out the plug-in I attached to the other post above as a zip file
Reply With Quote
  #391  
Old 09-11-2006, 06:08 PM
Ninth Dimension's Avatar
Ninth Dimension Ninth Dimension is offline
 
Join Date: Oct 2001
Location: London, England.
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, here goes... I've not tested it or anything, and I've not added the alternating colours yet, but try this on for size and see what you think:

FORUMHOME (part)
Code:
<!-- latest threads start -->
<if condition="$show['latestthreads']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tbody>
<tr>
<td class="tcat" colspan="5"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('latest_threads')">
        <img id="collapseimg_latest_threads" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_latest_threads].gif" alt="" border="0" /></a>
<!-- title start -->
Latest Threads
<br />
<div class="smallfont">
Read latest threads
</div>
<!-- title end -->
</td>
</tr>
</tbody>
<tbody id="collapseobj_latest_threads" style="$vbcollapse[collapseobj_latest_threads]">
<!-- code start -->
$threadbits
<!-- code end -->
</tbody>
</table>
<br />
</if>
<!-- latest threads end -->
forumhome_latestthreadbit
Code:
<tr>
<td class="alt1"><div class="smallfont">
<if condition="$show['firstnew']">
	<a href="showthread.php?t=$thread[threadid]&amp;goto=newpost"><img src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[go_to_first_new_post]" border="0" /></a>
</if>
<if condition="$show['icon'] && !$show['firstnew']">
	<img style="vertical-align: middle;" src="$vboptions[bburl]/$thread[threadiconpath]" border="0" alt="$thread[threadicontitle]" title="$thread[threadicontitle]" /> 
</if>
<a href="showthread.php?t=$thread[threadid]" title="$thread[preview]"><strong>$thread[title]</strong></a></div></td>

<td class="alt2"><div class="smallfont"><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></div></td>

<td class="alt1"><div class="smallfont">$vbphrase[replies]: $thread[replycount]</div></td>

<td class="alt2"><div class="smallfont">$vbphrase[views]: $thread[views]</div></td>

<td class="alt1"><div class="smallfont">$vbphrase[forum]: <a href="forumdisplay.php?f=$thread[forumid]">$forumdata[title]</a></div></td>
</tr>
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 02:42 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.05208 seconds
  • Memory Usage 2,341KB
  • 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
  • (4)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
  • (2)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