PDA

View Full Version : Latest Thread on Forumhome


Alan @ CIT
12-05-2005, 10:00 PM
Requested: https://vborg.vbsupport.ru/showthread.php?t=102351

What this does
This hack will display the latest thread details for a specific forum on your forumhome. See screenshot below for an idea of what it will look like.

Installation
Install the attached Product XML as normal. You then need to edit the FORUMHOME template and add $latest_thread where you would like the details to appear.

Now go to AdminCP -> vBulletin Options -> Latest Thread on Forumhome and set the Forum ID to pull the latest thread from.

Customization
The phrase is a Global phrase called latest_thread_link_text. In this phrase, there are 4 vars:

{1} is the link to the thread (/forum/showthread.php?t=... etc)
{2} is the Thread title
{3} is the name of the Thread author
{4} is the date the Thread was posted.

You can edit the phrase to say whatever you wish, you can also place $latest_thread anywhere in the FORUMHOME template.

Important: Unfortunately, my leased vBulletin licence has now expired, and I won't be renewing it until September which means I will be unable to reply to this thread, or update this mod until then. I'm hopeful that the great vBulletin.org community will step in to answer any questions in my absence though :) See you all in early September! :D

Thanks,
Alan.

michaelbenson
12-06-2005, 05:55 PM
At least you've made one user extremely grateful :)
Thanks alot.

rb290
12-06-2005, 07:09 PM
thanks i installed.
How can I center it ?

Alan @ CIT
12-06-2005, 07:19 PM
To center it, use something like:

<div align="center">$latest_thread</div> in the FORUMHOME template.

rb290
12-06-2005, 07:32 PM
this is all it says for me

"Newest Thread: Posted by on December 31st, 1969"

Alan @ CIT
12-06-2005, 07:35 PM
Ooops, forgot to mention in the release post that you need to set the Forum ID to pull the thread from.

Go to AdminCP -> vBulletin Options -> Latest Thread on Forumhome and set the Forum ID in there.

rb290
12-06-2005, 07:43 PM
ok so if i wanna pull threads from more forums i would go 1,2,3 etc ?

edit: nevermind you can only choose one forum id, i thought it tells you the latest thread from any forum

Alan @ CIT
12-06-2005, 07:45 PM
Sorry, but it only supports 1 forum.

FleaBag
12-14-2005, 10:11 PM
Hey, didn't realise it didn't pull threads from every forum, but still, I have it installed and am certainly enjoying it!

In need
01-04-2006, 09:57 PM
Is there any way of getting more than 1 thread from a particular forum?

Good hack anyway! *Clicks install*

michaelbenson
01-07-2006, 10:04 PM
Is there any way of getting more than 1 thread from a particular forum?

Good hack anyway! *Clicks install*
I guess you could then use;
http://www.vbulletin.com/forum/showthread.php?t=158887

Alan @ CIT
01-08-2006, 07:36 PM
Hi all,

I have now returned from my holidays, hope you all had a good <insert-seasonal-holiday-name-here> :)

I'll start answering any questions, fixing any bugs, and adding any new features next week, but I've got a lot of hacks to update, so it might not be immediate :)

Thanks,
Alan.

DamasGate
02-24-2006, 12:33 AM
hi Alan @ CIT

installed and very nice

but did there any way to view it in any page on my forum or it will be just on forumhome ?

Thanks