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 |
#322
|
||||
|
||||
I've just updated this from a previous version - I'm not sure if the old one did this, but where do I add "&goto=newpost" on the end of the url .... I do understand some basic PHP but just can't see where it goes (so that each thread which has been read, when you click the link, always goes to the last post).
Cheers!! Jason |
#323
|
|||
|
|||
Is it possible to use this mod on a page other than on forumhome (like on a portal front page)?
|
#324
|
||||
|
||||
Sorry Guys, i have installed the Product and can not find any Options in AdminCP and the Hack is not shown on my Forumhome. Where can i fínd install Instructions ?
|
#325
|
|||
|
|||
Quote:
|
#326
|
|||
|
|||
Quote:
|
#327
|
|||
|
|||
where in admincp do i set the number of threads to display? i cant find the setting
|
#328
|
|||
|
|||
Quote:
|
#329
|
|||
|
|||
I have two requests. How and where do i exclude certain sections from the latest posts and i would appreciate it if anyone could show me how to have the latest posts scrolling down vertically?
|
#330
|
|||
|
|||
Ha ha... I'm getting somewhere!
There are no controls for this mod in the adminCP - you modify the seetings in the XML file - simply make your edits then upload your XML file. Look for this bit of code in the file: Code:
$getthreads = $db->query_read(" ## GET LATEST THREADS ## SELECT thread.*,thread.iconid AS threadiconid $previewfield FROM ".TABLE_PREFIX."thread AS thread LEFT JOIN ".TABLE_PREFIX."deletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND type = 'thread') $previewjoin WHERE open <> 10 AND forumid NOT IN (0$limitfids) AND thread.visible = '1' AND deletionlog.primaryid IS NULL ORDER BY lastpost DESC LIMIT 5"); Now all I need to figure out is how to cut out the graphic icons, make the thread title longer and do away with the superfulous 'Last Post: x by y ? Replies: a Views: b' text. |
#331
|
|||
|
|||
@ criscokid: You can change the title length in that plugin too (it's standard set to 22)
And the rest you can find in the template "forumhome_latestthreadbit" |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|