Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-01-2005, 07:23 PM
siteworthy siteworthy is offline
 
Join Date: Dec 2004
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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.
Reply With Quote
  #2  
Old 01-01-2005, 07:42 PM
Guy G Guy G is offline
 
Join Date: Nov 2004
Posts: 250
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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..
Reply With Quote
  #3  
Old 01-01-2005, 09:29 PM
siteworthy siteworthy is offline
 
Join Date: Dec 2004
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #4  
Old 01-01-2005, 09:59 PM
Sean S's Avatar
Sean S Sean S is offline
 
Join Date: Jan 2004
Location: Chicago
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 01-02-2005, 12:26 AM
siteworthy siteworthy is offline
 
Join Date: Dec 2004
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, Shah. Do you recall if you found that code here?
Reply With Quote
  #6  
Old 01-02-2005, 03:32 PM
Guy G Guy G is offline
 
Join Date: Nov 2004
Posts: 250
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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..
Reply With Quote
  #7  
Old 01-02-2005, 04:36 PM
Sean S's Avatar
Sean S Sean S is offline
 
Join Date: Jan 2004
Location: Chicago
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Attached Files
File Type: php latest_posts.php (2.5 KB, 94 views)
Reply With Quote
  #8  
Old 01-27-2005, 04:18 PM
daredevil daredevil is offline
 
Join Date: Jul 2003
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

One question

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

_blank?
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 01:30 AM.


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.03963 seconds
  • Memory Usage 2,240KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (1)postbit_attachment
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete