View Single Post
Oct 25th, 2004
0

Re: [Revised] vBulletin Mod_rewrite Tutorial

I have a question about the step below
Quote originally posted by KeithMcL ...

includes/functions_online.php
Find all instances of:
[php]<a href=\"showthread.php?$session[sessionurl]t=$threadid\" title=\"$threadpreview\">$threadtitle</a>[/php]And replace with:
[php]<a href=\"t$threadid-" .mod_rewrite_title($threadtitle). ".html\" title=\"$threadpreview\">$threadtitle</a>[/php]
In my includes/functions_online.php I have

<a href=\"showthread.php?$session[sessionurl]t=$threadid\" title=\"$threadpreview\">$threadtitle</a>

but the above shows

<a href="showthread.php?$session[sessionurl]t=$threadid\" title=\"$threadpreview\">$threadtitle</a>

what do I do? it appears that when you use the code tags here to show code it takes out the a href=\ and makes it a href=

Am I correct with this as it states in one of the above posts (post #2)
Quote ...
If your code has backslashes ( \ ), you need to keep them in the code.
Help pls
Reputation Points: 10
Solved Threads: 0
Light Poster
TraderX is offline Offline
37 posts
since Sep 2004