Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 17 Feb 2011, 20:13
Jon12345 Jon12345 is offline
 
Join Date: Nov 2002
Latest Posts on homepage - non-javascript method

I want to display some latest posts and maybe also latest threads on the homepage of my site. However, I do not want to use Javascript since posts don't get picked up by the search engines, as bots can't read the Javascript.

So, any code that can show the latest threads? Do you have to query the mysql database or better to use the RSS feed?

Oh, I would like the option to query just one particular forum section too.

I am using 3.8.6.

Thanks,

Jon
Reply With Quote
  #2  
Old 17 Feb 2011, 22:43
Naan-Kadavul's Avatar
Naan-Kadavul Naan-Kadavul is offline
 
Join Date: Sep 2009
Location: Singpore
Real name: Bharath
Try Latest Threads modification. That will work...and search engines will be able to crawl.
__________________
Team MJY - MovieJockey Entertainment Network (Click Here)
Site Founded : 11 September 2009 / Re-Launched : 01 January 2010
Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.

Reply With Quote
  #3  
Old 18 Feb 2011, 10:23
Jon12345 Jon12345 is offline
 
Join Date: Nov 2002
My homepage is not a forum page - it is a html page. Therefore, I don't think the Latest Threads mod will be suitable.

Anyone got a solution for an html page that is non-javascript?
Reply With Quote
  #4  
Old 18 Feb 2011, 16:57
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
If it really is an html page, and not just saying that, then you cannot use any php and you will only be able to use javascript.
__________________
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
  #5  
Old 19 Feb 2011, 11:19
Jon12345 Jon12345 is offline
 
Join Date: Nov 2002
Well, its html parsed as php. But say php then.
Reply With Quote
  #6  
Old 19 Feb 2011, 18:35
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
If it's php, then you can do a query. Look at the Lastest Threads modification that was mentioned above. You should be able to get the code from there.
__________________
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
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 02:39.

Layout Options | Width: Wide Color: