| | |
vBulletin mod_rewrite for vB 3.0.7
Please support our Existing Scripts advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Dec 2004
Posts: 34
Reputation:
Solved Threads: 0
•
•
•
•
Originally Posted by cscgal
This question was already answered earlier in this thread ...
http://www.daniweb.com/techtalkforum...117122-12.html
•
•
Join Date: Dec 2004
Posts: 34
Reputation:
Solved Threads: 0
The Multi-Page thread link - does it all work for you guys?
My links show up as http://www.website.com/board/-1-20.html
rather than
http://www.website.com/board/thread22840-1.html
Something must have not been edited correctly during the hack. Can someone point out which file I need to edit and what part? Thanks in advance.
My links show up as http://www.website.com/board/-1-20.html
rather than
http://www.website.com/board/thread22840-1.html
Something must have not been edited correctly during the hack. Can someone point out which file I need to edit and what part? Thanks in advance.
This hack is now obsolete! Pleaes visit the new version:
http://www.daniweb.com/forums/thread35147.html
http://www.daniweb.com/forums/thread35147.html
Dani the Computer Science Gal 
Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds

Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds
•
•
Join Date: Dec 2004
Posts: 34
Reputation:
Solved Threads: 0
Love the quick & dirty hack. But for those that have already installed this version of the hack....
1) The Multi-Page thread link - does it all work for you guys?
2) And how can you make all visitors and bots alike to see the .html pages rather than the showthread.php pages?
The hack was successfully installed but the MSN bots still caches the showthread pages. All guests and bots are suppose to see the .html rewrite pages. Confused.
1) The Multi-Page thread link - does it all work for you guys?
2) And how can you make all visitors and bots alike to see the .html pages rather than the showthread.php pages?
The hack was successfully installed but the MSN bots still caches the showthread pages. All guests and bots are suppose to see the .html rewrite pages. Confused.
•
•
•
•
Originally Posted by cscgal
This hack is now obsolete! Pleaes visit the new version:
http://www.daniweb.com/forums/thread35147.html
•
•
Join Date: Jun 2005
Posts: 9
Reputation:
Solved Threads: 0
•
•
•
•
Originally Posted by cscgal
includes/functions_online.php
[php] $userinfo['where'] = "<a href=\"showthread.php?$session[sessionurl]t=$threadid\" title=\"$threadpreview\">$threadtitle</a>";
$userinfo['where'] = "<a href=\"thread$threadid.html\" title=\"$threadpreview\">$threadtitle</a>";
$userinfo['where'] = "<a href=\"showthread.php?$session[sessionurl]p=$postid#postid=$postid\" title=\"$threadpreview\">$threadtitle</a>";
$userinfo['where'] = "<a href=\"post$postid.html#post$postid\" title=\"$threadpreview\">$threadtitle</a>";
$userinfo['where'] = "<a href=\"forumdisplay.php?$session[sessionurl]f=$forumid\">$forumtitle</a>";
$userinfo['where'] = "<a href=\"forum$forumid.html\">$forumtitle</a>";[/php]
Also, in functions_online.php, after
[php] $userinfo['values'] = $values;[/php]
insert
[php] // added by dani for seo hack
if (eregi("thread([0-9]+).html$", $filename, $tmatch))
{
$filename = 'showthread.php';
$values['threadid'] = $tmatch[1];
}
if (eregi("forum([0-9]+).html$", $filename, $fmatch))
{
$filename = 'forumdisplay.php';
$values['forumid'] = $fmatch[1];
}
if (eregi("post([0-9]+).html$", $filename, $pmatch))
{
$filename = 'showthread.php';
$values['postid'] = $pmatch[1];
}
if (eregi("post([0-9]+).html#post([0-9]+)$", $filename, $pmatch))
{
$filename = 'showthread.php';
$values['postid'] = $pmatch[1];
}
// added by dani for seo hack[/php]
Thanks for everyone's support with this hack over the last months. Keep in mind, as always, please don't redistribute my code in any way, shape, or form, on other websites, or in print. While I am offering use of this code for free, I put many hours into figuring out the algorithm, coding it, and publishing it, and it is still my intellectual property, and I would like the display of the code, itself, it to stay on DaniWeb only. I appreciate your cooperation. This also ensures that everyone can get support all in one place.
And as always, a link back is much appreciated but not necessary!
![]() |
Similar Threads
- vBulletin mod_rewrite (PHP)
- [Revised] vBulletin Mod_rewrite Tutorial (PHP)
- vBulletin mod_rewrite for vB 3.0.7 (Growing an Online Community)
- vBulletin mod_rewrite in phpBB mod format (Existing Scripts)
Other Threads in the Existing Scripts Forum
- Previous Thread: Seeking Text Editor for web pages
- Next Thread: Error message: can I fix the problem?
| Thread Tools | Search this Thread |







