PDA

View Full Version : Try this version if you are having problems.


jlaine
10 Jun 2006, 02:00
This is the most up to date 1.5.1 that I'm aware of - a lot of the bugs being reported here with people that say they have 1.5.1 are fixed in this one - they were done on the fly and hopefully this will repair a lot of the issues people are having.

This should hopefully give Immortal and Bhuwan some time to focus on the current issues and not backtrack through all the existing ones when some have been patched already.

Use the existing installation instructions to install - they are available from the other download.

Verify you have your .htaccess looking like this:
(NOTE!!! - I'm not using .html as an extension - if you are, use the .htaccess set beneath this one!)

RewriteRule ^(.*)/(styleid=(.*))$ showthread.php?&%{QUERY_STRING} [L]
RewriteRule ^(.*)/(showthread\.php)$ showthread.php?&%{QUERY_STRING} [L]
RewriteRule ^(.*)/t-([A-Za-z0-9\-]+)-([0-9]+)-new$ showthread.php?t=$3&goto=newpost&%{QUERY_STRING} [L]
RewriteRule ^(.*)/t-([A-Za-z0-9\-]+)-([0-9]+)-last$ showthread.php?t=$3&goto=lastpost&%{QUERY_STRING} [L]
RewriteRule ^(.*)/t-([A-Za-z0-9\-]+)-([0-9]+)-post([0-9]+)$ showthread.php?p=$4&%{QUERY_STRING} [L]
RewriteRule ^p-([A-Za-z0-9\-]+)-post([0-9]+)/postcount([0-9]+)$ showpost.php?p=$2&postcount=$3&is_vrewrite=yes&%{QUERY_STRING} [L]
RewriteRule ^(.*)/t-([A-Za-z0-9\-]+)-([0-9]+)/page([0-9]+)$ showthread.php?t=$3&page=$4&is_vrewrite=yes&%{QUERY_STRING} [L]
RewriteRule ^(.*)/t-([A-Za-z0-9\-]+)-([0-9]+)/(.*)$ showthread.php?t=$3&%{QUERY_STRING}&is_vrewrite=yes [L]
RewriteRule ^(.*)/t-([A-Za-z0-9\-]+)-([0-9]+)$ showthread.php?t=$3&is_vrewrite=yes&%{QUERY_STRING} [L]
RewriteRule ^u-([A-Za-z0-9\-]+)-([0-9]+)$ member.php?u=$2&is_vrewrite=yes&%{QUERY_STRING} [L]
RewriteRule ^(.*)/(member\.php)$ member.php?$1&%{QUERY_STRING} [L]
RewriteRule ^f-([A-Za-z0-9\-]+)-([0-9]+)/page([0-9]+)/(.*)$ forumdisplay.php?f=$2&&page=$3%{QUERY_STRING}&is_vrewrite=yes [L]
RewriteRule ^f-([A-Za-z0-9\-]+)-([0-9]+)/$ forumdisplay.php?f=$2&%{QUERY_STRING}&is_vrewrite=yes [L]
RewriteRule ^search-([A-Za-z0-9\-]+)/$ search.php?do=$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/(.*)(\.php)$ $2.php?&%{QUERY_STRING} [L]

Use if you are using .html as an extension:

RewriteRule ^(.*)/(styleid=(.*))$ showthread.php?&%{QUERY_STRING} [L]
RewriteRule ^(.*)/(showthread\.php)$ showthread.php?&%{QUERY_STRING} [L]
RewriteRule ^(.*)/t-([A-Za-z0-9\-]+)-([0-9]+)-new.html$ showthread.php?t=$3&goto=newpost&%{QUERY_STRING} [L]
RewriteRule ^(.*)/t-([A-Za-z0-9\-]+)-([0-9]+)-last.html$ showthread.php?t=$3&goto=lastpost&%{QUERY_STRING} [L]
RewriteRule ^(.*)/t-([A-Za-z0-9\-]+)-([0-9]+)-post([0-9]+).html$ showthread.php?p=$4&%{QUERY_STRING} [L]
RewriteRule ^p-([A-Za-z0-9\-]+)-post([0-9]+)/postcount([0-9]+).html$ showpost.php?p=$2&postcount=$3&is_vrewrite=yes&%{QUERY_STRING} [L]
RewriteRule ^(.*)/t-([A-Za-z0-9\-]+)-([0-9]+)/page([0-9]+).html$ showthread.php?t=$3&page=$4&is_vrewrite=yes&%{QUERY_STRING} [L]
RewriteRule ^(.*)/t-([A-Za-z0-9\-]+)-([0-9]+).html/(.*)$ showthread.php?t=$3&%{QUERY_STRING}&is_vrewrite=yes [L]
RewriteRule ^(.*)/t-([A-Za-z0-9\-]+)-([0-9]+).html$ showthread.php?t=$3&is_vrewrite=yes&%{QUERY_STRING} [L]
RewriteRule ^u-([A-Za-z0-9\-]+)-([0-9]+).html$ member.php?u=$2&is_vrewrite=yes&%{QUERY_STRING} [L]
RewriteRule ^(.*)/(member\.php)$ member.php?$1&%{QUERY_STRING} [L]
RewriteRule ^f-([A-Za-z0-9\-]+)-([0-9]+)/page([0-9]+).html/(.*)$ forumdisplay.php?f=$2&&page=$3%{QUERY_STRING}&is_vrewrite=yes [L]
RewriteRule ^f-([A-Za-z0-9\-]+)-([0-9]+).html/$ forumdisplay.php?f=$2&%{QUERY_STRING}&is_vrewrite=yes [L]
RewriteRule ^search-([A-Za-z0-9\-]+).html/$ search.php?do=$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/(.*)(\.php)$ $2.php?&%{QUERY_STRING} [L]

Things that ARE wrong with this version:
Member links under thread titles on forumdisplay.php are not working properly (has / at the end of the URL, not supposed to rewrite with that, can modify .htaccess to accomodate, but assuming the code will be updated instead.)
Redirect from logging in by hitting new thread/new reply will result in an invalid URL, data isn't passed through correctly.

That's what I can recall off the top of my head right now... Hopefully this will all get ironed out soon.

Immortal
10 Jun 2006, 03:03
Sounds like a sticky to me :)

cyberoptik
10 Jun 2006, 18:59
This fixed a problem that I was having with the "New Posts" link. I was just about to post about it. Thanks!

jdingman
11 Jun 2006, 02:34
I'm still getting 'search links' displaying like this..

//search-getnew.html/

I just installed this latest version. Any ideas how to fix these?

jlaine
11 Jun 2006, 03:01
I'd check your template - I can't reproduce it on my site with either skin I have, and I don't have a test board running to really dig much further.

Mine looks like this, I can't assume yours does - but here is the snippet I have for those particular boxes:


<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]:</a></td></tr>
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]:</a></td></tr>

Possibly $bburl having a trailing slash? I don't know how your templates are coded...

jdingman
11 Jun 2006, 18:39
I'd check your template - I can't reproduce it on my site with either skin I have, and I don't have a test board running to really dig much further.

Mine looks like this, I can't assume yours does - but here is the snippet I have for those particular boxes:


<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]:</a></td></tr>
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]:</a></td></tr>

Possibly $bburl having a trailing slash? I don't know how your templates are coded...

Yeah, that seemed to have fixed it. There was an extra / in there. thanks!

dprotas
07 Jul 2006, 08:21
Using this htaccess I have run into trouble accessing modcp/admincp. I solved it adding this rule:


RewriteRule ^(admincp|modcp|archive)/(.*)(\.php)$ $1/$2.php?&%{QUERY_STRING} [L]


I post it here because it might be useful for someone having the same problem.

wtleaver
09 Jul 2006, 21:05
I have this mod mostly working with the files from this thread.

However, Quick Links -> Mark Forums Read, which links to forumdisplay.php?do=markread, is producing a "200 OK" message with "The document has moved here." on the page, where "here" links to the main forum URL.

Oddly though, this happens whether vrewrite is turn on or off in settings, and even without the .htaccess present, so maybe it's unrelated. (Bear in mind I've only purchased and installed vbulleting today).

Immortal
09 Jul 2006, 22:06
I believe it's been reported as a bug a few times :)

Chris-777
16 Jul 2006, 14:30
I'm still getting 'search links' displaying like this..

I just installed this latest version. Any ideas how to fix these?

I just edited my navbar template to flatly point at search-getnew.html and it seemed to solve it. Initially the url was fine in the fourms, but broken on vBAdvanced.

I still have the WOL problem, however.

Roadster2004
21 Jul 2006, 16:28
I'm keeping the problem that when I turn this one.. Noboby can browse to page 2 or further ?! Somebody any ideas ?

Aunt Clara
29 Jul 2006, 15:58
I had that same problem. I solved it by switching "Showthread.php: Pages" to the other option (in vBulletin Options/vBrewrite).

Roadster2004
29 Jul 2006, 22:20
I had that same problem. I solved it by switching "Showthread.php: Pages" to the other option (in vBulletin Options/vBrewrite).

It worked!! Great :cool:

Immortal
30 Jul 2006, 18:29
Make sure you're using the .htaccess generator as well, helps out a bunch.

Blindchild02
13 Aug 2006, 20:38
I had that same problem. I solved it by switching "Showthread.php: Pages" to the other option (in vBulletin Options/vBrewrite).

that works, but could someone make a fix for it? because im sure re-writing showthread would help alot with seo.

EDIT: nm use htaccess generator to fix the problem :)!

ctsolutions
15 Aug 2006, 23:14
sorry, I installed on vbulletin 3.6 and has :hurt: works so far.
I just played with the vRewrite settings in the admincp and now I'm going in truble.

Can I reset the settings to "Default"

sorry, my fault :hurt:


thanks,
mike

magnus
21 Aug 2006, 16:22
I was having the problem a few others reported, having the " / " appended to the end of my "getnew" and "getdaily" search functions. Within the "vRewrite - main script" plugin, I found the following lines (note the appended " / " at the end):

$output = str_replace("search.php?do=getnew","$myurl/search-getnew{$vbulletin->options['vRewrite_extension']}/",$output);
$output = str_replace("search.php?do=getdaily","$myurl/search-getdaily{$vbulletin->options['vRewrite_extension']}/",$output);

I modified it to:

$output = str_replace("search.php?do=getnew","$myurl/search-getnew{$vbulletin->options['vRewrite_extension']}",$output);
$output = str_replace("search.php?do=getdaily","$myurl/search-getdaily{$vbulletin->options['vRewrite_extension']}",$output);

Now, everything is working fine. :)

minorgod
01 Sep 2006, 18:58
Make sure you're using the .htaccess generator as well, helps out a bunch.

Where is the .htaccess generator?

Immortal
01 Sep 2006, 19:21
http://www.vbulletin.org/forum/showthread.php?t=112024

Mr Chad
17 Sep 2006, 09:28
all my images are broken?

thread example
http://www.beasttoast.com/forum/wtf-is-beasttoast/t-span-stylecolorspan-stylecolorgreenbeast-toast-isspanspan-1.html

image src:
http://www.beasttoast.com/forum/wtf-is-beasttoast/styles/dj/buttons/report.gif

when the image src should be:
http://www.beasttoast.com/forum/styles/dj/buttons/report.gif

any help?

jlaine
18 Sep 2006, 06:03
Add the base href to the top of the template and you should be golden.

Although with the level of support here, I'd suggest not getting too involved in installing this until the coders themselves start actually making an appearance, this is rapidly looking like an abandoned project.

imported_infitech
16 Dec 2006, 17:42
I just installed this version of the product XML file, but am using the original .htaccess file that originally came with the hack because both .htaccess files in this thread don't work.

How can i tell if the hack is working right/
I mean, It's rewriting the URLs.

How can i tell if there is a problem?
What should i look out for?

Spoke too soon.
When I click on the thread title link to go back to the thread while im in the advanced message editor i get this error.
No Thread specified. If you followed a valid link, please notify the administrator
If what i said is confusing to you, imagine this... Lets say you decided to reply to a thread and clicked on the reply button; the next page comes up with the advanced message editing box there; you decide, hey im not going to reply to this yet, but im going to read the thread again so im going to click on the thread name link in the navbits breadcrumb... THAT'S when i get the error.

VBUsers
22 Mar 2007, 20:11
is this working for 3.6.5 ?

VaaKo
20 Apr 2007, 06:13
Does it work with 3.6.x

elmati
22 Apr 2007, 19:42
yes, works fine in vb 3.6.5 with some issues :)

a1exus
15 May 2007, 04:10
i actually found one little bug too...

i wouldnt want to post URLs here, as this is a private forum, but if a developer would like to contact me i can show more details on the problem.

wtleaver
25 Jun 2007, 20:54
How do you uninstall this plugin completely? I removed the plugin from the admincp, and the .htaccess, but I still get "The document has moved here." pages after posting a thread, clicking the new posts link, etc.

Somewhere there is something residual from this plugin causing the problem, and it's very frustrating!