•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Existing Scripts section within the Web Development category of DaniWeb, a massive community of 374,611 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,444 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 Existing Scripts advertiser:
Views: 23461 | Replies: 117
![]() |
•
•
Join Date: Dec 2004
Posts: 34
Reputation:
Rep Power: 4
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:
Rep Power: 4
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.
•
•
Join Date: Feb 2002
Location: Lawn Guylen, NY
Posts: 10,873
Reputation:
Rep Power: 32
Solved Threads: 108
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
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!
•
•
Join Date: Dec 2004
Posts: 34
Reputation:
Rep Power: 4
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:
Rep Power: 0
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!
You've forget the announcement!?
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb Existing Scripts Marketplace
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?




Linear Mode