Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 29 Mar 2014, 12:32
arrarrgee arrarrgee is offline
 
Join Date: Dec 2013
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>
Reply With Quote
  #2  
Old 29 Mar 2014, 14:09
Dead Eddie's Avatar
Dead Eddie Dead Eddie is offline
 
Join Date: Apr 2004

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Remove the ".php" from the url.
Reply With Quote
  #3  
Old 29 Mar 2014, 17:04
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
What not use a Search Module to do this in vB5?
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #4  
Old 20 May 2014, 13:35
arrarrgee arrarrgee is offline
 
Join Date: Dec 2013
Thanks both of you. I decided to go ahead with VB4 instead of VB5
Reply With Quote
  #5  
Old 20 May 2014, 15:15
aleheroix aleheroix is offline
 
Join Date: Oct 2013
Originally Posted by arrarrgee View Post
Thanks both of you. I decided to go ahead with VB4 instead of VB5
hah!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 00:34.

Layout Options | Width: Wide Color: