The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I'm currently using the following code to show the latest threads from my forum on my main site.
Code:
<script type="text/javascript" src="http://www.mysite.com/forum/external.php?type=js"></script> <script type="text/javascript"> <!-- CutOff = 16 // Number of maximum chars to cut off before adding '...' function cutOffTitle(title) { if (title.length > CutOff) { title = title.substring(0, 16) + '..' } return title } for (var i = 0; i < 7; i++) { document.write('<a href="http://www.mysite.com/forum/showthread.php?t=' + threads[i]['threadid'] + '">' + cutOffTitle(threads[i]['title']) + '</a><br />'); } //--> </script> My question is - what do I need to change/add to make the listings show the most recently updated threads? For example, if a thread is made, and then a week later somebody posts a new reply, it will show up in the list as the latest change to that thread. Because right now it merely shows the latest NEW threads. |
#2
|
|||
|
|||
![]()
If nobody really knows, could you direct me to a site/manual that shows all the options for external.php? I cant seem to find anything on it..
|
#3
|
|||
|
|||
![]()
Bump....
|
#4
|
|||
|
|||
![]()
There should be info on this in the vB manual and at vbulletin.com
|
#5
|
|||
|
|||
![]()
Vbulletin.com admins told me to come here. There's nothing in the manual about changing what it shows...
|
#6
|
|||
|
|||
![]()
Are you using 3.0 or 3.5?
|
#7
|
|||
|
|||
![]()
3.0.7 .......there's a 3.5???
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|