vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vbArticles (https://vborg.vbsupport.ru/forumdisplay.php?f=106)
-   -   Mod_Rewrite DONE. Anyone Interested? (https://vborg.vbsupport.ru/showthread.php?t=78066)

greenhybrid 03-13-2005 10:39 PM

Mod_Rewrite DONE. Anyone Interested?
 
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/

Deska 03-14-2005 07:39 AM

Nice hack and nice site you have!
Can you post it here please..!

greenhybrid 03-14-2005 01:52 PM

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.

RaZor Edge 03-14-2005 10:58 PM

Interesting!! Will like to see this!

Personally, I don't really need a tutorial...

greenhybrid 03-14-2005 11:05 PM

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 :D

Oh, just think I'll add that there are 40 rewrite commands in the htaccess file. Talk about fun stuff...

cinq 03-15-2005 12:36 PM

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 :)

greenhybrid 03-15-2005 01:42 PM

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.

havefun 03-16-2005 02:36 AM

@greenhybrid
like your site, nice idea :)

greenhybrid 03-16-2005 10:33 PM

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.

hpwilhelm 03-26-2005 07:47 AM

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.

greenhybrid 03-26-2005 03:03 PM

Well, Spring Break is almost over and it doesn't look like I'm going to have time to make a tutorial :(

I'll see what I can do, but don't count on it.

altsounds 05-23-2005 07:46 PM

To do with mod rewrite but in a different way. I would like to be able for users to select a "URL name" and when it is typed in after the domain name it would use MOD Rewrite to re-direct to that users profile. Anyone know anyway of doing this??

GatorCSM 05-31-2005 08:31 PM

How is this project going? Very interested in something asap. Could you be paid to do this quicker?

Thanks

greenhybrid 05-31-2005 08:40 PM

I actually hadn't been making a release hack for this... way too busy. If you'd like to contact me on an individual level, perhaps we can work something out.

croportal 10-20-2005 09:24 PM

nice site green, when will be hack released

greenhybrid 10-20-2005 09:35 PM

Sorry, this isn't something I'll be able to release. Just no time. sorry!

Picard102 11-18-2005 04:29 PM

Anyone else know how to accomplish something like this, or what files need to be edited?


All times are GMT. The time now is 03:51 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.01195 seconds
  • Memory Usage 1,742KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (17)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