The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Help - Coder's please help me!
Hi, I have tried 'How to display latest thread on any normal pages' and it worked great but they are only showing the links...
I would like to see whole of first post of any thread to be displayed on html page - similar to news blog - and visitors can click on news titles which would take them to forum to reply if they want to. Could this be possible? Thanks Here's the code for displaying latest threads - maybe it can be altered to show the first post as well? Code:
<script type="text/javascript" src="external.php?type=js"></script> <script language="" type="text/javascript"> <!-- for (var x in threads) { document.writeln("<a href=\"showthread.php?t="+threads[x].threadid+"\">"+threads[x].title+"</a> (Posted By: "+threads[x].poster+")<br />"); } //--> </script> I have searched for it, am I missing anything? Also, if you guys don't mind can you guys show me a list of external.php codes. e.g.) "+threads[x].title+" I want a codes for userid, date of post, time of post, & number of views of post. I've tried the following code for userid: <a href=\"member.php?u="+threads[x].userid+"\">"+threads[x].poster+"</a> What am I doing wrong? Please this is advance html coding or java coding, and I'm only at a novice/intermediate level. I've researched numerous times in google, and did not find the answer. Therefore, I experimented for over 8 hours right now and came up with the same result. Please coder's that can help me I feel as if I've wasted a lot of time on this code. It would be very kind to help me!~ Your kindness will be engraved in my heart. :up: --------------- Added [DATE]1275519328[/DATE] at [TIME]1275519328[/TIME] --------------- nobody wants to help? Please if anyone knows anything about this please share. |
#2
|
|||
|
|||
Does anyone have any idea?
Any coder that want share their ideas or anything? Or is this too advance for coders, if it is too advanced I will have no chance of finding out because I'm only an intermediate vBulletin HTML Coder. --------------- Added [DATE]1275647621[/DATE] at [TIME]1275647621[/TIME] --------------- Alright I found after researching for about 8 hours that thread time and date was: "+threads[x].threadtime" and "+thread[x].threaddate any others? Please reply soon as possible. I will be waiting for answers and please find a way to show a whole thread. Anyone want to share their thoughts I will be waiting everyday. |
#3
|
|||
|
|||
Use RSS2 as the feed type, the first post content is available via the <content:encoded> tag; you'll need to use PHP, however, to parse it.
|
#4
|
|||
|
|||
Quote:
I see vbulletin.org has threads in the their portal and they are full threads. How do I do that? Also, can you explain in details. Sorry this is a lot but I'm not really sure what you mean. |
#5
|
|||
|
|||
no body???
|
#6
|
|||
|
|||
Looks like you won't post any time soon?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|