The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Say the forum id was 1 what is the code to hook the latest threads in that forum?
i want this in my side column? any help? --------------- Added [DATE]1224345988[/DATE] at [TIME]1224345988[/TIME] --------------- ???????? |
#2
|
||||
|
||||
![]()
You may want to look at the modifications for this (search "latest" "all mods" "titles only") .
|
#3
|
|||
|
|||
![]()
nope, any help there should just be abit of code to hook surely?1
|
#4
|
||||
|
||||
![]()
How about this method (make sure to see post 3 also) - http://www.vbulletin.com/forum/showthread.php?t=283817
|
#5
|
|||
|
|||
![]()
thank you, great mod btw.
--------------- Added [DATE]1224529342[/DATE] at [TIME]1224529342[/TIME] --------------- ok 1 problem doesnt seem to be working great for some reason it's not hooking every thread i post in that forum this is my code, Code:
<tr> <td class="alt1"> <!-- show latest active threads --> <table cellpadding="6" cellspacing="1" border="0" width="100%" align="center"> <tbody> <tr> <td colspan="2"> <a href="search.php?do=getnew">Latest Active Threads</a> </td> </tr> </tbody> <tbody> <tr> <td width="100%"> <div> <script type="text/javascript" src="external.php?forumids=32,37,38,39,40&type=js"></script> <script language="" type="text/javascript"> <!-- for (x = 0; x < 8; x++) { document.writeln("<a href=\"showthread.php?t="+threads[x].threadid+"\">"+threads[x].title+"</a> (Posted By: "+threads[x].poster+")<br />"); } //--> </script></div> </td> </tr> </tbody> <!-- show latest active threads --> </table> <br /> </td> </tr> |
#6
|
||||
|
||||
![]()
I've never used the script before. However, you should be aware that using any method that uses external.php will only give you threads that are available for unregistered users to see. If you need to see threads in other forums, you'll either have to modify external.php to allow those forumids or you'll have to use code that makes the query for those threads.
|
#7
|
|||
|
|||
![]()
ok so i think its working, it just takes its time to load new threads created....anyway to speed this up?
--------------- Added [DATE]1224532831[/DATE] at [TIME]1224532831[/TIME] --------------- any other ideas on how to do this better ? |
#8
|
||||
|
||||
![]()
I use an actually query for my home page. But then, I grab more than just basic thread info for my home page so it's not a 'normal' threads query.
|
#9
|
|||
|
|||
![]()
it works just it's slow....surely i can speed it up somhow?
any other suggestions? |
#10
|
||||
|
||||
![]()
My only suggestions are get it from external.php or get it from a query. I don't know what else to suggest.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|