![]() |
HowTo Display Latest Active Threads on ANY normal HTML page
############# Install Instructions
## THIS WILL DISPLAY THE LATEST 10 ACTIVE THREADS ON ANY NON VBULLETIN HTML PAGE ## Requires vBulletin version 3.5.0 stable. ## Admin Control Panel > vBulletin Options > vBulletin Options > Admin Control Panel Options > Use External Data Provider: YES - type = JavaScript ## At any location in your custom .html page, add this code: Code:
<table cellpadding="6" cellspacing="1" border="0" width="100%" align="center">Note: Don't forget to turn on the External Feed options here: Admin CP -> vBulletin Options -> External Data Provider |
To limit the amount of threads shown
In the code above, exchange: Code:
for (var x in threads)Code:
for (x = 0; x < 10; x++)To limit the output to the latest threads in one or more specific forums In the code above, exchange this: Code:
<script type="text/javascript" src="external.php?type=js"></script>Code:
<script type="text/javascript" src="external.php?forumids=95,96,97,98&type=js"></script>The forumid number of a forum can be found by editing a forum in the AdminCP. It's listed at the top, next to the forum name. |
| All times are GMT +8. The time now is 12:21 AM. |
Powered by vBulletin Version 3.8.7
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.