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)

bollie 10-15-2006 10:33 AM

Supported ???? https://vborg.vbsupport.ru/showthread.php?t=128807

paulgrimshaw 10-15-2006 04:06 PM

Hi,
This is a great mod, but I am having trouble. when I goto my site http://www.madmash.com/forum it is getting redirected to http://madmash.com/forum.

Any idea why this is and how to fix?

Thanks,
Paul.

misterserveur 10-18-2006 03:43 PM

Hi ! thanks for this mod.

I enabled the following options (vRewrite 1.5.1 on vb 3.6.0)
- Showthread.php: Next&Prev
- External.php

But it doesn't rewrite the next/prev links, neither the links in external.php

How can I fix that ? Thanks.

StarBuG 10-20-2006 01:57 PM

Hi

I have a few problems and found a few bugs:

I have just installed the latest version 1.5.1 (new install) on vB 3.6.2.


All threads that are read with forum name rewrite on are unknown locations in WOL.

Unknown location
/chat-ecke/t-anonymes-schreiben-von-beitragen-ist-nun-moglich-885.html

I have used the vrewrite_htaccess file to generate my htaccess

There are a few other problems/bugs:

1: the search of "search-getdaily.html/search.php?searchid=XX" does only show images if you add <base href="$vboptions[bburl]/" /> to the search_results template as well ;)
2: "Latest threads on forum home" are not rewritten. Any chance this can be changed?
3: your textfile hacksNfixes.txt is missing the important hack/fix parts. It shows like:
Quote:

6. Members who have visited https://vborg.vbsupport.ru/showthread.php?t=82769
==========================
SEARCH FOR:

==========================
BELOW ADD:
==========================
I would need the instructions but can't find them :(

Any ideas how to fix these?

Ahh and one more question.
Is it possible to rewrite german umlaute like ? ? ? ? into ae oe ue ss ?

StarBuG

ps: Thanks for providing this great hack for free.

ShadowOne 10-20-2006 02:12 PM

No Thread specified. If you followed a valid link, please notify the administrator

I Keep Gettin That...

ShadowOne 10-20-2006 02:20 PM

Ahhh...NM....I Did The Generator...Great Hack!

Actually...The Member Bit Doesnt Work COrrectly...It Throws My Avatar Image Off...

Keyser Soze 10-20-2006 03:36 PM

Quote:

Originally Posted by StarBuG
Is it possible to rewrite german umlaute like ? ? ? ? into ae oe ue ss ?

Yes of course you can transform german umlauts to "ae", "ue" etc with my little hack right here.
Na klar kannst du deutsche Umlaute mit meinem kleinen Hack hier in "ae", "ue" etc umwandeln, so dass sie nicht komplett entfernt werden. :)

I am using this piece of code for my own forum.

REPLACE:
PHP Code:

function urlize($txt) {
    global 
$vbulletin;
    if (
$vbulletin->options['vrewrite_stopword_on']) {
        
$stop_words preg_split('#\s+#'$vbulletin->options['vrewrite_stopword_filter'] );
        foreach (
$stop_words AS $word) {
            
$txt preg_replace('#\s' $word '\s#i'' '$txt);
        }
    }
    
$txt unaccent($txt);
    
$txt html_entity_decode($txt);
    
$txt str_replace(' ''-'$txt);
    
$txt str_replace('_''-'$txt);
    
$txt preg_replace('#[^a-zA-Z0-9_\-]+#'''$txt);
    
$txt preg_replace('#[\-]+#''-'$txt);
    return 
strtolower($txt);


WITH:
PHP Code:

function urlize($txt) {
    global 
$vbulletin;
    if (
$vbulletin->options['vrewrite_stopword_on']) {
        
$stop_words preg_split('#\s+#'$vbulletin->options['vrewrite_stopword_filter'] );
        foreach (
$stop_words AS $word) {
            
$txt preg_replace('#\s' $word '\s#i'' '$txt);
        }
    }
    
$txt str_replace('?''ae'$txt);
    
$txt str_replace('?''oe'$txt);
    
$txt str_replace('?''ue'$txt);
    
$txt str_replace('?''ss'$txt);
    
$txt unaccent($txt);
    
$txt html_entity_decode($txt);
    
$txt str_replace(' ''-'$txt);
    
$txt str_replace('_''-'$txt);
    
$txt preg_replace('#[^a-zA-Z0-9_\-]+#'''$txt);
    
$txt preg_replace('#[\-]+#''-'$txt);
    return 
strtolower($txt);



StarBuG 10-20-2006 03:55 PM

Thanks for your help, that worked.

For everyone who wants to use it also.
You need to modify the "vRewrite - Redirect handling" plugin ;)

Keyser Soze 10-20-2006 04:06 PM

Yes, or change the XML-file directly...

Martin64 10-21-2006 10:36 PM

Lovely hack, just tried it on one board, unfortunately I had to uninstall it after a few minutes, it caused too much server load.

It's a quite busy forum though (usually +1000 online, currently nearly 3000). I'll bookmark this and come back after server upgrades :P


All times are GMT. The time now is 12:33 AM.

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.02752 seconds
  • Memory Usage 1,767KB
  • 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
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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