PDA

View Full Version : HELP:Display threads, views & replies on html page?


jl255
09-18-2009, 01:02 AM
I reference to the other link giving instructions:
http://www.vbulletin.com/forum/showthread.php?t=277280

document.writeln("<a href=\"showthread.php?t="+threads[x].threadid+"\">"+threads[x].title+"</a> (Posted By: "+threads[x].poster+")<br />");

how do i display the number of thread replies & number of thread views? i know that threads[x] array doesn't have those variables.... so how do i do it? Any help wld be greatly appreciated.

Lynne
09-18-2009, 01:05 AM
Since the array doesn't have it, there is no way to do it using the method you are using. You would have to do a query and you can't do that in an html page.

jl255
09-18-2009, 01:07 AM
tks. how abt a php page?

Lynne
09-18-2009, 01:23 AM
Sure, you can write a query it it's a php page. There are several mods to display threads/views on other pages - do a search for one - and then grab the query from it and modify to suite your needs.

jl255
09-18-2009, 01:44 AM
honestly, i've been searching for a few months now, but didn't find anything.... think u can help point me in the right direction?

Lynne
09-18-2009, 01:58 AM
Articles forum? Create "Latest Threads" Custom Page (https://vborg.vbsupport.ru/showthread.php?t=108725)