vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   HTML page w/ vb recent topics? (https://vborg.vbsupport.ru/showthread.php?t=73629)

siteworthy 01-01-2005 07:23 PM

HTML page w/ vb recent topics?
 
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

Quote:

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

Quote:

Originally Posted by siteworthy
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

1 Attachment(s)
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?


All times are GMT. The time now is 10:25 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01771 seconds
  • Memory Usage 1,722KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete