vBulletin mod_rewrite for vB 3.0.7

Reply

Join Date: Dec 2004
Posts: 34
Reputation: Kwak is an unknown quantity at this point 
Solved Threads: 0
Kwak Kwak is offline Offline
Light Poster

Re: vBulletin mod_rewrite for vB 3.0.7

 
0
  #111
Oct 26th, 2005
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!
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 34
Reputation: Kwak is an unknown quantity at this point 
Solved Threads: 0
Kwak Kwak is offline Offline
Light Poster

Re: vBulletin mod_rewrite for vB 3.0.7

 
0
  #112
Oct 26th, 2005
cscgal, is the subforum link (on forumhome) suppose to have the converted .html link too?
If so, how so? :o
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 34
Reputation: Kwak is an unknown quantity at this point 
Solved Threads: 0
Kwak Kwak is offline Offline
Light Poster

Re: vBulletin mod_rewrite for vB 3.0.7

 
0
  #113
Oct 28th, 2005
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.
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 3
Reputation: FindSP.com is an unknown quantity at this point 
Solved Threads: 0
FindSP.com FindSP.com is offline Offline
Newbie Poster

Re: vBulletin mod_rewrite for vB 3.0.7

 
0
  #114
Nov 9th, 2005
Hey there, anyone tried it on version 3.0.9 ?

does it work ok?
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 34
Reputation: Kwak is an unknown quantity at this point 
Solved Threads: 0
Kwak Kwak is offline Offline
Light Poster

Re: vBulletin mod_rewrite for vB 3.0.7

 
0
  #115
Nov 10th, 2005
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.
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,043
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 128
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re: vBulletin mod_rewrite for vB 3.0.7

 
0
  #116
Nov 10th, 2005
This hack is now obsolete! Pleaes visit the new version:

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
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 34
Reputation: Kwak is an unknown quantity at this point 
Solved Threads: 0
Kwak Kwak is offline Offline
Light Poster

Re: vBulletin mod_rewrite for vB 3.0.7

 
0
  #117
Nov 10th, 2005
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.

Originally Posted by cscgal
This hack is now obsolete! Pleaes visit the new version:

http://www.daniweb.com/forums/thread35147.html
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 9
Reputation: Matzefn1 is an unknown quantity at this point 
Solved Threads: 0
Matzefn1 Matzefn1 is offline Offline
Newbie Poster

Re: vBulletin mod_rewrite for vB 3.0.7

 
0
  #118
Dec 30th, 2005
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!?
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Existing Scripts Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC