Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > vbArticles
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Mod_Rewrite DONE. Anyone Interested? Details »»
Mod_Rewrite DONE. Anyone Interested?
Version: , by greenhybrid greenhybrid is offline
Developer Last Online: Mar 2009 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 03-13-2005 Last Update: Never Installs: 0
 
No support by the author.

Hello,
I've just completed Mod_Rewrite-ing vbArticles for GreenHybrid. I'm not sure if anyone had released a hack like this, but is anyone interested in using it? You can see it in action at http://www.greenhybrid.com/learn/

My actual forums are at /discuss/, so the code actually transports everything to a new directory (if you want). The following URLs are generated and work:

http://www.greenhybrid.com/learn/category/3/
http://www.greenhybrid.com/learn/cat...accord-hybrid/
http://www.greenhybrid.com/learn/article/6/
http://www.greenhybrid.com/learn/art...ybrid-review)/
http://www.greenhybrid.com/learn/article/6/page2/
http://www.greenhybrid.com/learn/article/6/comments/

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 03-14-2005, 07:39 AM
Deska's Avatar
Deska Deska is offline
 
Join Date: Aug 2002
Location: Asia
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice hack and nice site you have!
Can you post it here please..!
Reply With Quote
  #3  
Old 03-14-2005, 01:52 PM
greenhybrid greenhybrid is offline
 
Join Date: Jan 2005
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't know if I have the time to make a perfect tutorial for installation, but in a few steps I can basically convey how it can be done. I'll see about doing that soon.
Reply With Quote
  #4  
Old 03-14-2005, 10:58 PM
RaZor Edge's Avatar
RaZor Edge RaZor Edge is offline
 
Join Date: Jan 2002
Location: Quebec city
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Interesting!! Will like to see this!

Personally, I don't really need a tutorial...
Reply With Quote
  #5  
Old 03-14-2005, 11:05 PM
greenhybrid greenhybrid is offline
 
Join Date: Jan 2005
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Alright. First, I'm going to change mine a little bit so it takes out more characters than just "/". Then, I'll add HTML extensions at the end of the URLs. My instructions will include a lot of find/replace and common sense, so if you only have one or neither at all, better find a friend

Oh, just think I'll add that there are 40 rewrite commands in the htaccess file. Talk about fun stuff...
Reply With Quote
  #6  
Old 03-15-2005, 12:36 PM
cinq's Avatar
cinq cinq is offline
 
Join Date: Oct 2002
Posts: 1,398
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will your modification ( good job btw greenhybrid ) require many file changes to articles.php ?
Future upgrades may be a concern if so, so you might want to document everything properly
Reply With Quote
  #7  
Old 03-15-2005, 01:42 PM
greenhybrid greenhybrid is offline
 
Join Date: Jan 2005
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, it edits articles.php, but literally you just have to copy a little snippet and paste it 5 or so times in the document. No biggie.
Reply With Quote
  #8  
Old 03-16-2005, 02:36 AM
havefun's Avatar
havefun havefun is offline
 
Join Date: Jan 2002
Location: Spain & Austria
Posts: 83
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@greenhybrid
like your site, nice idea
Reply With Quote
  #9  
Old 03-16-2005, 10:33 PM
greenhybrid greenhybrid is offline
 
Join Date: Jan 2005
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry it's taking so long, for those of you interested. There are some changes I'd like to make, and I likely won't have the time until next week.
Reply With Quote
  #10  
Old 03-26-2005, 07:47 AM
hpwilhelm hpwilhelm is offline
 
Join Date: Mar 2002
Location: Norway
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by greenhybrid
Sorry it's taking so long, for those of you interested. There are some changes I'd like to make, and I likely won't have the time until next week.
Awesome! Just what I'm looking for!

When will you have time to complete this?

A beta, "as-is" code would also be welcome.
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 09:54 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.04623 seconds
  • Memory Usage 2,285KB
  • Queries Executed 25 (?)
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)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete