User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 373,193 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,815 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 34208 | Replies: 131
Reply
Join Date: Feb 2002
Location: Lawn Guylen, NY
Posts: 10,873
Reputation: cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice 
Rep Power: 32
Solved Threads: 110
Admin
Staff Writer
cscgal's Avatar
cscgal cscgal is online now Online
The Queen of DaniWeb

Re: [Revised] vBulletin Mod_rewrite Tutorial

  #21  
Nov 5th, 2004
In external.php,

   echo "\t\t<link>$vboptions[bburl]/showthread.php?t=$thread[threadid]&amp;goto=newpost</link>\r\n";
would need to be replaced with
   echo "\t\t<link>$vboptions[bburl]/newpostinthread$thread[threadid].html</link>\r\n";

and

	echo "\t\t<guid isPermaLink=\"false\">$vboptions[bburl]/showthread.php?t=$thread[threadid]</guid>\r\n";
would need to be replaced with
	echo "\t\t<guid isPermaLink=\"false\">$vboptions[bburl]/thread$thread[threadid].html</guid>\r\n";
Reply With Quote  
Join Date: Mar 2004
Posts: 47
Reputation: I, Brian is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 1
I, Brian's Avatar
I, Brian I, Brian is offline Offline
Light Poster
Join Date: Feb 2002
Location: Lawn Guylen, NY
Posts: 10,873
Reputation: cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice 
Rep Power: 32
Solved Threads: 110
Admin
Staff Writer
cscgal's Avatar
cscgal cscgal is online now Online
The Queen of DaniWeb

Re: [Revised] vBulletin Mod_rewrite Tutorial

  #23  
Nov 7th, 2004
Aww, thanks Brian
Reply With Quote  
Join Date: Mar 2004
Posts: 47
Reputation: I, Brian is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 1
I, Brian's Avatar
I, Brian I, Brian is offline Offline
Light Poster

Re: [Revised] vBulletin Mod_rewrite Tutorial

  #24  
Nov 7th, 2004
Dani, just one small issue with external.php - when calling up syndicated content for individual vB3 sub-forums, you use something like:

 external.php?forumids=38
 


to call up a feed of that subforums.

However, it doesn't seem to like this on the workaround to static HTML. I *presume* it's an issue to be corrected with .htaccess, but I'm not quite sure about how to go about it.

Would you possibly have any suggestion?
Reply With Quote  
Join Date: Aug 2004
Posts: 6
Reputation: ToOnZ is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
ToOnZ ToOnZ is offline Offline
Newbie Poster

Re: [Revised] vBulletin Mod_rewrite Tutorial

  #25  
Nov 10th, 2004
Alright im implementing this new revised on a new site of mine, and it doesnt really go smoothly, had to figure alot of things out myself Btw the htaccess code was wrong i thought, as the threads you clicking into will have the title in the filename, you need something like this

RewriteEngine on
Options +FollowSymLinks
RewriteRule ^t([0-9]+)-(.*).html$ showthread.php?t=$1 [L]
RewriteRule ^lastpostinthread([0-9]+).html$ showthread.php?goto=lastpost&t=$1 [L]
RewriteRule ^newpostinthread([0-9]+).html$ showthread.php?goto=newpost&t=$1 [L]
RewriteRule ^f([0-9]+)-(.*).html$ forumdisplay.php?f=$1 [L]

Im having this error "Parse error: parse error, unexpected T_STRING in /home/musicp/public_html/forums/includes/functions_online.php on line 164" when i go to who online or try to view a profile. Im really quite new to PHP, any idea guys ?
Reply With Quote  
Join Date: Oct 2004
Posts: 14
Reputation: Natch is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
Natch Natch is offline Offline
Newbie Poster

Re: [Revised] vBulletin Mod_rewrite Tutorial

  #26  
Nov 11th, 2004
Good catch on that one Nordinho: Dani: this (probably) should be edited into the original post of this thread...
Natcher00
... is the Admin @ MobileForces.org - Official Community for a cult Vehicle based FPS - the only place for support!
... also he's Penfold to Dark_Wizard's Danger Mouse in development of vBWar
http://www.mobileforces.org/sig.jpg
{[vB 3.0.3] HQ GFX w/- transparency for all PNG24 transparency with IE} | {[vB 3.0.3] quick and easy Gradients made easy!>vBt>} | {[vB 3.0.3] cross-browser Hover CSS effect on forumbit and threadbit>vBt>} | {DaniWeb: Learn HOW-TO mod_rewrite your vB board}
Reply With Quote  
Join Date: Dec 2004
Posts: 2
Reputation: infiniterb is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
infiniterb infiniterb is offline Offline
Newbie Poster

Re: [Revised] vBulletin Mod_rewrite Tutorial

  #27  
Dec 1st, 2004
Got a problem. The rewite works fine, except that I'm seeing duplicate forum names. Any idea what I need to edit to fix this?

www.clantt.com/vb/ is the url in question.

Thanks in advance. Nice work.
Reply With Quote  
Join Date: Oct 2004
Posts: 24
Reputation: eWebTalk is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
eWebTalk's Avatar
eWebTalk eWebTalk is offline Offline
Newbie Poster

Re: [Revised] vBulletin Mod_rewrite Tutorial

  #28  
Dec 1st, 2004
Excellent tutorial...nice job. Should be very handy..I might try this
»» EwebTalk: Web Discussion Community
»» Sign Up Today & Gain Access to "eTools"
»» Click Here Now http://www.ewebtalk.com
Reply With Quote  
Join Date: Sep 2004
Posts: 17
Reputation: hysteriaweb is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
hysteriaweb hysteriaweb is offline Offline
Newbie Poster

Re: [Revised] vBulletin Mod_rewrite Tutorial

  #29  
Dec 3rd, 2004
I agree with ewebtalk great tutorial!
Reply With Quote  
Join Date: Jun 2004
Location: Phoenix Arizona
Posts: 115
Reputation: Arizona Web is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 2
Arizona Web's Avatar
Arizona Web Arizona Web is offline Offline
Junior Poster

Re: [Revised] vBulletin Mod_rewrite Tutorial

  #30  
Dec 9th, 2004
I just installed the first VB forum that I own yesterday (www.mysportsforum.com) and this tutorial is DA BOMB baby!

Thanks everybody!
Need a website designer? arizona web design : phoenix web design : MCP Media intelligent web design and web development solutions. MCP Media is owned and operated by Chris Hooley - who happens to be a real nerd... on purpose :-)
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb PHP Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the PHP Forum

All times are GMT -4. The time now is 9:58 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC