The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Issue with displaying latest threads in my homepage
Hi,
I am trying to display the latest threads in my website homepage from VB5 forums. I included below code snippet and trying to invoke. It displaying "beforeloop" but not "inloop" its not failing but seems like it is not getting any thread information into the loop. I changed the permissions for "the Unregistered / Not Logged" In usergroup to view forums but does not seem to work. Can you please advice? I am pretty new to VB integration hence any help you could provide is great. <script src="http://www.yourdomain.com/forumpath/external.php?type=js" type="text/javascript"></script> <script type="text/javascript"> alert("beforeloop"); <!-- for (i in threads) { alert("inloop"); document.writeln(threads[i].title + " (" + threads[i].poster + ")<br />"); } //--> </script> |
#2
|
||||
|
||||
HTML Code:
<script src="http://www.yourdomain.com/forumpath/external?type=js" type="text/javascript"></script> |
#3
|
||||
|
||||
What not use a Search Module to do this in vB5?
|
#4
|
|||
|
|||
Thanks both of you. I decided to go ahead with VB4 instead of VB5
|
#5
|
|||
|
|||
hah!
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|