Webprocafe.com - Latest posts in html site
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 |