User Name Password Register
DaniWeb IT Discussion Community
All
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,019 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,718 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: 23453 | Replies: 117
Reply
Join Date: Dec 2004
Posts: 34
Reputation: Kwak is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
Kwak Kwak is offline Offline
Light Poster

Re: vBulletin mod_rewrite for vB 3.0.7

  #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  
Join Date: Dec 2004
Posts: 34
Reputation: Kwak is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
Kwak Kwak is offline Offline
Light Poster

Re: vBulletin mod_rewrite for vB 3.0.7

  #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  
Join Date: Dec 2004
Posts: 34
Reputation: Kwak is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
Kwak Kwak is offline Offline
Light Poster

Re: vBulletin mod_rewrite for vB 3.0.7

  #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  
Join Date: Nov 2004
Posts: 3
Reputation: FindSP.com is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
FindSP.com FindSP.com is offline Offline
Newbie Poster

Re: vBulletin mod_rewrite for vB 3.0.7

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

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

Re: vBulletin mod_rewrite for vB 3.0.7

  #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  
Join Date: Feb 2002
Location: Lawn Guylen, NY
Posts: 10,873
Reputation: cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice 
Rep Power: 32
Solved Threads: 109
Admin
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re: vBulletin mod_rewrite for vB 3.0.7

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

http://www.daniweb.com/forums/thread35147.html
Reply With Quote  
Join Date: Dec 2004
Posts: 34
Reputation: Kwak is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
Kwak Kwak is offline Offline
Light Poster

Re: vBulletin mod_rewrite for vB 3.0.7

  #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  
Join Date: Jun 2005
Posts: 9
Reputation: Matzefn1 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
Matzefn1 Matzefn1 is offline Offline
Newbie Poster

Re: vBulletin mod_rewrite for vB 3.0.7

  #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  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb Existing Scripts Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the Existing Scripts Forum

All times are GMT -4. The time now is 11:10 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC