View Full Version : Sub Title....
lemarsu
11-25-2005, 03:18 PM
Hi,
Is there away to have a sub-title to appear at for each thread?
One way I was thinking of doing this is to use the Latest title of the last post to appear in the thread listing...
Next post will help illustrate what I mean.
LeMarsu
Have a look at this image to help you understand.
Hence in the image the sub title would read : "This subtitle would appear on the main thread list..." as written above.
Regards
LeMarsu
You would have to:
add a column to the database
add a field to the $validfields array in the thread_fp datamanager
add another HTML input field
GPC that field in newthread_post_start (and add to $newpost array)
pass to datamanager in newthread_process ($dataman->setr('fieldname', $post['fieldname'])
i think that'd work
lemarsu
11-26-2005, 10:27 PM
Is there no way to get the Latest topic from the last thread to display?
ie is this is the last tread it would show "Here is the Sub Title"
Im sorry, i dont understand what you're asking.
lemarsu
11-27-2005, 02:34 PM
When you do reply (not quick reply) you get a Title Field you can fill in.
I would like to take the latest title field (in this case I put in "123456789") I would like it to be displayed in the thread list on my forum.
The Image will help to explain
LeMarsu
Just looking around at the Threadbit template, there is a variable called $thread[lastpostdate] is there a something like : $thread[lastpostthreadtitle]
Or I can create?
Ah. Theres quite a bit of mucking around to get that one working unfortunatly :\
Maybe someone can help you out (i dont have time to reasearch it :()
lemarsu
11-28-2005, 12:08 PM
Just been looking around on this and I think this may need a plugin to be written...
I think something in the sort may be needed... not sure of the syntax
$get_lasttile = $db->query_read("
SELECT title
FROM " . TABLE_PREFIX . "post AS post
WHERE threadid = $threadid
And $thread[lastpostdate] = dateline.post
AND visible IN (1
")
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.