PDA

View Full Version : HTML page w/ vb recent topics?


siteworthy
01-01-2005, 07:23 PM
I've been looking around and a found some mods that look close, but I'm actually looking for a way to list the last 10 posts from VB on my HTML home page. Is there anything that does this already? If not, surely I'm not the only one who could benefit from this.

Thoughts? Thanks much.

Guy G
01-01-2005, 07:42 PM
u can make a php page of it and than using ifram to show it on the html... no other way.
u can make it a php file and use mod_rewrite in .htaccess to have an html extension..

siteworthy
01-01-2005, 09:29 PM
and use mod_rewrite in .htaccess to have an html extension..

Okay, the PHP file and the iframe I understand, but please explain mod_rewrite

Thanks!

Sean S
01-01-2005, 09:59 PM
Okay, the PHP file and the iframe I understand, but please explain mod_rewrite

Thanks!
someone has already made this, cause I use it at my own site and I know that this hack/modification exists if you are a vbulletin 3 user. Just search for it and you should be able to find it.

Basically what it does is that you there is one php page, you upload it to your server. You can either use a iframe to put it in your page or include it in your page, but you then need to save your html page as a php page.

hope that helps, if you couldn't find this hack, let me know and I will see if I can give it to you off of my server.

siteworthy
01-02-2005, 12:26 AM
Thanks, Shah. Do you recall if you found that code here?

Guy G
01-02-2005, 03:32 PM
it wont really change the page to html, it will just be index.html while its really index.php... just a ill mask ;p

if you are talking about the DaniWeb mod_rewrite hace than it can be found in here:
http://www.daniweb.com/techtalkforums/thread9379.html

it will turn all your forums and threads into html pages which more convinient for search engines to index..

Sean S
01-02-2005, 04:36 PM
No problem bud, I'll just took one from my server and deleted my info, so you just have to go and insert your own info to this page and save it and upload it to your server. You then can either use iframe or include function to insert the latest number of posts into your homepage.

I don't take credit for this little script, all credit is still in it if you open it ;)

hope that helps.

daredevil
01-27-2005, 04:18 PM
One question

How would you get the posts to open up in a new browser window?

_blank?