The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Latest Threads On Forum Home Details »» | |||||||||||||||||||||||||
[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> 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 --> [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
|
Comments |
#382
|
|||
|
|||
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.
|
#383
|
||||
|
||||
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. |
#384
|
||||
|
||||
Quote:
|
#385
|
|||
|
|||
Quote:
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. |
#386
|
|||
|
|||
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
|
#387
|
||||
|
||||
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 |
#388
|
|||
|
|||
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 --> |
#389
|
||||
|
||||
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 |
#390
|
|||
|
|||
Here the threadbit code:
Code:
<div class="smallfont"> <if condition="$show['firstnew']"> <a href="showthread.php?t=$thread[threadid]&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> <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&t=$thread[threadid]" 2="$thread[lastposter]">$vbphrase[by_x]</phrase> » $vbphrase[replies]: $thread[replycount] » $vbphrase[views]: $thread[views] » $vbphrase[forum]: <a href="forumdisplay.php?f=$thread[forumid]">$forumdata[title]</a></div> |
#391
|
||||
|
||||
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 --> Code:
<tr> <td class="alt1"><div class="smallfont"> <if condition="$show['firstnew']"> <a href="showthread.php?t=$thread[threadid]&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&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> |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|