•
•
•
•
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
![]() |
•
•
Join Date: Feb 2002
Location: Lawn Guylen, NY
Posts: 10,873
Reputation:
Rep Power: 32
Solved Threads: 110
In external.php,
would need to be replaced with
and
would need to be replaced with
echo "\t\t<link>$vboptions[bburl]/showthread.php?t=$thread[threadid]&goto=newpost</link>\r\n";
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";
echo "\t\t<guid isPermaLink=\"false\">$vboptions[bburl]/thread$thread[threadid].html</guid>\r\n";
Dani the Computer Science Gal
Do you run a computer-related website? Feature it in our niche link directory!
Do you run a computer-related website? Feature it in our niche link directory!
Dani, as ever, you are a star.
•
•
Join Date: Feb 2002
Location: Lawn Guylen, NY
Posts: 10,873
Reputation:
Rep Power: 32
Solved Threads: 110
Aww, thanks Brian
Dani the Computer Science Gal
Do you run a computer-related website? Feature it in our niche link directory!
Do you run a computer-related website? Feature it in our niche link directory!
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?
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:
Rep Power: 0
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 thisRewriteEngine 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: 14
Reputation:
Rep Power: 4
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!
... 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}
... 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}
•
•
Join Date: Dec 2004
Posts: 2
Reputation:
Rep Power: 0
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
•
•
Join Date: Jun 2004
Location: Phoenix Arizona
Posts: 115
Reputation:
Rep Power: 5
Solved Threads: 2
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 :-)
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb PHP Marketplace
- 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



Linear Mode