PDA

View Full Version : Help - Coder's please help me!


OGZ.Korea
06-01-2010, 11:49 PM
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?
<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>

Anyone? It should be a simple mod!

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 1275519328 at 1275519328 ---------------

nobody wants to help?
Please if anyone knows anything about this please share.

OGZ.Korea
06-03-2010, 07:01 PM
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 1275647621 at 1275647621 ---------------

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.

Guest190829
06-04-2010, 06:46 PM
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.

OGZ.Korea
06-04-2010, 10:47 PM
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.

I don't understand so much. But, there is no way to add a code using external.php?
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.

OGZ.Korea
06-06-2010, 06:35 PM
no body???

OGZ.Korea
06-09-2010, 11:51 PM
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.

Looks like you won't post any time soon? :(