| | |
[Revised] vBulletin Mod_rewrite Tutorial
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
In external.php,
would need to be replaced with
and
would need to be replaced with
PHP Syntax (Toggle Plain Text)
echo "\t\t<link>$vboptions[bburl]/showthread.php?t=$thread[threadid]&goto=newpost</link>\r\n";
PHP Syntax (Toggle Plain Text)
echo "\t\t<link>$vboptions[bburl]/newpostinthread$thread[threadid].html</link>\r\n";
and
PHP Syntax (Toggle Plain Text)
echo "\t\t<guid isPermaLink=\"false\">$vboptions[bburl]/showthread.php?t=$thread[threadid]</guid>\r\n";
PHP Syntax (Toggle Plain Text)
echo "\t\t<guid isPermaLink=\"false\">$vboptions[bburl]/thread$thread[threadid].html</guid>\r\n";
Dani, as ever, you are a star.
Dani, just one small issue with external.php - when calling up syndicated content for individual vB3 sub-forums, you use something like:
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?
PHP Syntax (Toggle Plain Text)
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?
•
•
Join Date: Aug 2004
Posts: 6
Reputation:
Solved Threads: 0
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
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 ?
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 PHP Syntax (Toggle Plain Text)
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 ?
•
•
Join Date: Oct 2004
Posts: 16
Reputation:
Solved Threads: 0
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!
[vB.org] PNG24 transparency with IE * DaniWeb: mod_rewrite your vB
[vB.org] PNG24 transparency with IE * DaniWeb: mod_rewrite your vB
•
•
Join Date: Dec 2004
Posts: 2
Reputation:
Solved Threads: 0
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.
www.clantt.com/vb/ is the url in question.
Thanks in advance. Nice work.
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
»» Sign Up Today & Gain Access to "eTools"
»» Click Here Now http://www.ewebtalk.com
I just installed the first VB forum that I own yesterday (www.mysportsforum.com) and this tutorial is DA BOMB baby!
Thanks everybody!
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 :-)
![]() |
Similar Threads
- vBulletin mod_rewrite (PHP)
Other Threads in the PHP Forum
- Previous Thread: using php to check for filenames
- Next Thread: Interesting, yet probably simple, PHP Nuke Error
| Thread Tools | Search this Thread |
ajax apache api array basics beginner binary broken cakephp checkbox class cms code codingproblem combobox cron curl database date display domain dynamic echo email error file files folder form format forms function functions google href htaccess html image include insert interactive ip java javascript joomla js limit link load login mail malfunctioning menu mlm mobile multiple mysql nodes oop outofmemmory paging parse paypal pdf php problem procedure query radio ram random recursion reference remote return script search server sessions sms source space sql syntax system table tutorial unset up-to-date update upload url validation validator variable video web webapplications websitecontactform youtube






