Back to vBulletin 3.8 Template Modifications

Webprocafe.com - Latest posts in html site
Mod Version: 1.00, by saltedm8

vB Version: 3.8.2 Rating: (1 vote - 5.00 average) Installs: 17
Released: 28 Jun 2009 Last Update: Never Downloads: 0
Not Supported Re-usable Code  

If you are running a static site with vbulletin, this will pull the last 15 post titles from vbulletin using javascript and display the linked titles on your normal html site or any other page you want it to.. here it is working http://webprocafe.com/latest.html

Please feel free to adjust the styles and play with it how you like, but the result will be a list of your latest titles posted

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Latest Posts</title>
<style type="text/css">
<!--
* { margin: 0; padding: 0; }
body { background-color: #E5DCC0; }
#list {
	width:90%;
	background-color:#E5DCC0;
	padding:10px;
}
a {  color:#524125;
	font-weight:bold;
	text-decoration: none; }
a:hover {  color:#524125;
	font-weight:bold;
	text-decoration:underline; }
-->
</style>
</head>
<body>
<div id="list">
<script type="text/javascript" src="external.php?type=js"></script> 
<script type="text/javascript">
<!--
for (var x in threads)
{
document.writeln("<a href=\"showthread.php?t="+threads[x].threadid+"\">"+threads[x].title+"</a><br />");
}
//-->
</script>
</div>
</body>
</html>

Download

No files for download.

Screenshots

Click image for larger version
Name:	latest.jpg
Views:	746
Size:	100.5 KB
ID:	101195  


vblts.ru supports vBulletin®, 2022-2024