943,948 Members | Top Members by Rank

Ad:
You are currently viewing page 12 of this multi-page discussion thread; Jump to the first page
Oct 26th, 2005
0

Re: vBulletin mod_rewrite for vB 3.0.7

Quote originally posted by cscgal ...
This question was already answered earlier in this thread ...

http://www.daniweb.com/techtalkforum...117122-12.html
Thank you very much!
Reputation Points: 10
Solved Threads: 0
Light Poster
Kwak is offline Offline
34 posts
since Dec 2004
Oct 26th, 2005
0

Re: vBulletin mod_rewrite for vB 3.0.7

cscgal, is the subforum link (on forumhome) suppose to have the converted .html link too?
If so, how so? :o
Reputation Points: 10
Solved Threads: 0
Light Poster
Kwak is offline Offline
34 posts
since Dec 2004
Oct 28th, 2005
0

Re: vBulletin mod_rewrite for vB 3.0.7

Quote originally posted by iKwak ...
cscgal, is the subforum link (on forumhome) suppose to have the converted .html link too?
If so, how so? :o
Bump...anybody.
Reputation Points: 10
Solved Threads: 0
Light Poster
Kwak is offline Offline
34 posts
since Dec 2004
Nov 9th, 2005
0

Re: vBulletin mod_rewrite for vB 3.0.7

Hey there, anyone tried it on version 3.0.9 ?

does it work ok?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
FindSP.com is offline Offline
3 posts
since Nov 2004
Nov 10th, 2005
0

Re: vBulletin mod_rewrite for vB 3.0.7

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.
Reputation Points: 10
Solved Threads: 0
Light Poster
Kwak is offline Offline
34 posts
since Dec 2004
Nov 10th, 2005
0

Re: vBulletin mod_rewrite for vB 3.0.7

This hack is now obsolete! Pleaes visit the new version:

http://www.daniweb.com/forums/showthread.php?t=35147
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 162
The Queen of DaniWeb
cscgal is offline Offline
13,645 posts
since Feb 2002
Nov 10th, 2005
0

Re: vBulletin mod_rewrite for vB 3.0.7

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.

Quote originally posted by cscgal ...
This hack is now obsolete! Pleaes visit the new version:

http://www.daniweb.com/forums/showthread.php?t=35147
Reputation Points: 10
Solved Threads: 0
Light Poster
Kwak is offline Offline
34 posts
since Dec 2004
Dec 30th, 2005
0

Re: vBulletin mod_rewrite for vB 3.0.7

Quote 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!?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Matzefn1 is offline Offline
9 posts
since Jun 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Configuring Readymade Scripts Forum Timeline: Seeking Text Editor for web pages
Next Thread in Configuring Readymade Scripts Forum Timeline: Error message: can I fix the problem?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC