vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   vRewrite - SEOed URLs for vBulletin (https://vborg.vbsupport.ru/showthread.php?t=104484)

Bhuwan 04-17-2006 12:33 PM

Quote:

Originally Posted by jdingman
Bhuwan, was that towards me? I am rewriting members.php and that works fine, it was just the search portion that wasn't working...

Sorry it was a bug i meant to tell the general public about :)

Boredello 04-17-2006 09:57 PM

Seem to have it working now.... However it is taking away my images directory... and buttons and such.... hmm?

Like my forum isn't displaying showthread button etc...

the main page is fine just the forums.... they are losing all of their images.

edit: blah I cannot figure out what is causing this... Didn't see any other people with this issue...hmm

saidev 04-18-2006 03:36 AM

Quote:

Not Found
The requested URL /search-getnew.html/ was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Quote:

Originally Posted by jdingman
anyone else getting this?

I got that too, when a user click on "New Post" after they logged in, they get that error message, I found that if you remove the "/" at the end, it will work, but I don't expect my user to know how to to that. I've checked the .htaccess file, notice that rule does not have "/" when the string terminate. I guess is in the interal works of the plugin which I am not sure where to look....anyone?

Gastongr 04-18-2006 04:30 AM

Hi this is a great hack!
i instaled and it's running well.

Just a frew problems (i don't know if they have been posted before, i have searched and haven't found an answer):

1)

In members pages, for example http://www.webmastershelp.com/u-coolguy-244.html

The link to the last post the user has done doesn't work, vbulletin returns the following error
Quote:

No Thread specified. If you followed a valid link, please notify the administrator
2
When viewing a forum, under the thread titles there is a link to the thread author profile which opens in a new window. that link is like
/u-username-214.html/
instead of
/u-username-214.html
i don't know why but it still loads the page, but with path errors for images and styles.

3

in the /online.php page, when someone is viewing a forum or thread the link to that forum or thread is incorrect, the forum or thread name are missed.
for example
t--334.html

Any help with those issues will be really appreciated.
Thanks for such a great hack.
the best, it's free and unencrypted :D

morrow 04-18-2006 02:48 PM

Uninstalling again... Cannot change display modes (Hybrid / Linear...etc...). If someone is using Hybrid mode, clicking on 'show more posts below this thread' doesn't work.

Nice hack, just a bit too buggy at this time.

Bhuwan 04-18-2006 05:43 PM

I am back --will supprt every1 again. :)

Gastongr 04-18-2006 05:46 PM

Quote:

I am back --will supprt every1 again.
Hi bhuwan, nice to hear that :)
could you please check my previous post?, it's the last one of the previous page.
Thanks in advance :)
Gaston

Bhuwan 04-18-2006 05:50 PM

Quote:

Originally Posted by redlabour
Same Error like the 1.0 Version.

Every click on a Thread moves to a unkwon and non existing Thread.

Same from vbAdvanced, TopX and from Forumhome.

Deactivated again now. :(

Please be sure that the base vBulletin sites are rewritten and working...(i.e. showthread, member, forumdisplay .php).

Once you are sure thi sis okay, PLEASE PM me the hacks that are NOT working -- I will begin adding support for these hacks.

Normally we shouldn't have to add support for these hacks. Since we're tring to prevent excessive queries, we're required to cache the data, hence the reason many hacks wmay not work properly with this.

I am certainly willing to add support for these hacks, but will will need members to help us out and post which hacks they use that arent working...

Bhuwan 04-18-2006 05:51 PM

Quote:

Originally Posted by vasudeva
No, American English. Haven't touched any language or internationalization settings.




Yes, as posted:



It didn't work and in fact produced some sort of looping situation. It was not auto-generated by the helper script.

Are you still having problems? Do you have a test board setup?

Bhuwan 04-18-2006 05:53 PM

Quote:

Originally Posted by cd1986
Sorry, didn't see that part of the post 1st time round. Have you tried adding $myurl to the front of the re-written paths instead of /f/ ?

EDIT: btw, i think the product file contains two showthread.php?f=xyz&page= url replacements. Once i changed the top one to showthread.php?t=xyz&page= i could access all thread pages, whereas before i got invalid link errors.

PHP Code:

#------------------------------
    # Replace showthread.php?t=XYZ&page=
    #------------------------------
 
    
$found preg_match_all('#<a href="showthread\.php\?t=([0-9]+)&amp;page=([0-9]+)"#i'$output$matches);
 
    if(
$found) {
        
$ids = array();
        
$test = array();
        for(
$i 0$i $found$i++) {
            if(
is_numeric($matches[1][$i])) {
                
$ids[] = $matches[1][$i];
 
                
$tid =$matches[1][$i];
                
$test["$tid"]["page$i"] = $matches[2][$i];
}
        }
        for (
$i 0$i < (count($ids)); $i++) {
            
$fname urlize($GLOBALS[foruminfo][title]); 
            
$title urlize($GLOBALS[vRewrite_thread]["$ids[$i]"][title]);
            
$tid $ids[$i];
            
$page $test["$ids[$i]"]["page$i"];
     
$parentid $GLOBALS[foruminfo][forumid];
            if (empty(
$fname)) {
     
$parentid $GLOBALS[vRewrite_thread]["$ids[$i]"][ownerid];
     
$fname urlize($GLOBALS[vRewrite_forum][$parentid][title]);
 
            }
 
            
$new = (($vbulletin->options['vRewrite_showthread'] == 1) ? $fname 'f-' $fname '-' $parentid);
            if(
$vbulletin->options['vRewrite_page'] == "1") {
                
$output str_replace("<a href=\"showthread.php?t={$tid}&amp;=$page\"""<a href=\"$new/$title-page$page-t$tid{$vbulletin->options['vRewrite_extension_showthread']}\""$output);
            } else {
                
$output str_replace("<a href=\"showthread.php?t={$tid}&amp;page=$page\"""<a href=\"$new/$title-t$tid/page$page{$vbulletin->options['vRewrite_extension_showthread']}\""$output);
            }
        }
    } 


Are you using 1.5 stable? I haven't seen any problems with thread pages with 1.5 stable; perhaops you can give me the exact links you had a problem with?


All times are GMT. The time now is 05:07 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01933 seconds
  • Memory Usage 1,797KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete