Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
4 registered (GEN™, packlite, Thelockman, 1 invisible), 36 Guests and 20 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 02/15/08
Posts: 18
Top Posters (30 Days)
Ruben Rocha 95
Rick 85
Mark S 74
Gizmo 49
Thelockman 49
driv 35
Sirdude 32
ntdoc 28
packlite 27
AllenAyres 25
Latest Photos
bear test
Beach Barbie-Q
Sunset
Accept the challenge!
Trees
Topic Options
Rate This Topic
#217772 - 10/10/08 01:11 PM [7.3.1] How to disable deep spider-friendly URL ?
smallufo Offline
enthusiast

Registered: 06/05/06
Posts: 205
Loc: Taiwan
I like this URL (in 7.2.2)
http://www.ubbcentral.com/forums/ubbthreads.php/forums/11/1
http://www.ubbcentral.com/forums/ubbthreads.php/ubb/showflat/Number/171341/gonew/1

But in 7.3.1 , URL becomes :
http://www.ubbcentral.com/forums/ubbthreads.php/forums/11/1/General_Assistance_How_Do_I.html

and
http://www.ubbcentral.com/forums/ubbthre..._Su.html#UNREAD

Such these URL is spider-friendly in English-based forum , but my forum is Chinese , and Chinese characters are truncated to :
ubbthreads.php/forums/3/1/e_a_c_a
This is because UBBT doesn't support UTF8 URL now...

The tail "e_a_c_a" is meaningless , how to just disable this ? (I still need spider-friendly URL)

Or UBBThreads should enable UTF-8 URL ... (IE7 and FF3 and Chrome all support this )
_________________________

English is not my native language.
I try my best to express my thought precisely.
I hope you understand what I mean.
If any misunderstanding results from culture gaps , I apologize first.

Top
#217775 - 10/10/08 02:06 PM Re: [7.3.1] How to disable deep spider-friendly URL ? [Re: smallufo]
Rick Administrator Offline

*****

Registered: 06/04/06
Posts: 7998
Loc: Aberdeen, WA
Unfortunately there's no way to chop off the titles in the URL without modifying the code. You're probably going to want to upgrade to 7.4 as soon as it's available. We spent quite a bit of time addressing quite a few things with multibyte characters for 7.4 including search engine friendly urls.
_________________________
UBB.threads™ Developer
My Personal Website · StogieSmokers.com

Top
#217777 - 10/10/08 02:26 PM Re: [7.3.1] How to disable deep spider-friendly URL ? [Re: Rick]
smallufo Offline
enthusiast

Registered: 06/05/06
Posts: 205
Loc: Taiwan
I think ...
This forum , should change to UTF-8 encoding ASAP...
So that we multibyte users can test in this forum , finding problems prior to installation...

After upgrading my forum , I've found many problems regarding to multibyte characters... frown
_________________________

English is not my native language.
I try my best to express my thought precisely.
I hope you understand what I mean.
If any misunderstanding results from culture gaps , I apologize first.

Top
#217785 - 10/10/08 04:08 PM Re: [7.3.1] How to disable deep spider-friendly URL ? [Re: Rick]
smallufo Offline
enthusiast

Registered: 06/05/06
Posts: 205
Loc: Taiwan
Originally Posted By: Rick
Unfortunately there's no way to chop off the titles in the URL without modifying the code.

What if I want to chop off the tailing words , what codes should I modify (7.3.1) ?
Thank you.
_________________________

English is not my native language.
I try my best to express my thought precisely.
I hope you understand what I mean.
If any misunderstanding results from culture gaps , I apologize first.

Top
#217788 - 10/10/08 04:52 PM Re: [7.3.1] How to disable deep spider-friendly URL ? [Re: smallufo]
Rick Administrator Offline

*****

Registered: 06/04/06
Posts: 7998
Loc: Aberdeen, WA
We can't change this forum to UTF-8 because we already have way too much data in the database that's iso-8859-1. Eventually we'll need to write figure out a way to convert.

Like I said. 7.3.1 definitely has quite a few problems with multibyte characters. Gardener had posted many issues that we worked on resolving for 7.4.
_________________________
UBB.threads™ Developer
My Personal Website · StogieSmokers.com

Top
#217789 - 10/10/08 04:54 PM Re: [7.3.1] How to disable deep spider-friendly URL ? [Re: Rick]
Rick Administrator Offline

*****

Registered: 06/04/06
Posts: 7998
Loc: Aberdeen, WA
The make_ubb_url() function in libs/ubbthreads.inc.php is what handles all of the url creations.
_________________________
UBB.threads™ Developer
My Personal Website · StogieSmokers.com

Top
#217794 - 10/10/08 05:43 PM Re: [7.3.1] How to disable deep spider-friendly URL ? [Re: Rick]
smallufo Offline
enthusiast

Registered: 06/05/06
Posts: 205
Loc: Taiwan
Originally Posted By: Rick
The make_ubb_url() function in libs/ubbthreads.inc.php is what handles all of the url creations.

Thank you .
After commenting out the content of "if ($title)" (except $title = str_replace(' ', '_', trim($title));) . Everything seems works fine now.
_________________________

English is not my native language.
I try my best to express my thought precisely.
I hope you understand what I mean.
If any misunderstanding results from culture gaps , I apologize first.

Top
#217795 - 10/10/08 05:54 PM Re: [7.3.1] How to disable deep spider-friendly URL ? [Re: Rick]
smallufo Offline
enthusiast

Registered: 06/05/06
Posts: 205
Loc: Taiwan
Originally Posted By: Rick
We can't change this forum to UTF-8 because we already have way too much data in the database that's iso-8859-1.

I think it is not so hard.
My forum's topic number exceeds 1 million .
I changed my encoding from Big5 to UTF8 at topic number about 800000 , it just took a few hours.

iso-8859-1 to UTF-8 migration is almost painless , because there would be no character loss problem. Just dump the db and use sed to alter the table charset to UTF-8 and re-feed to MySQL , it should work.

Unike Big5 to UTF8 , there would be an extra iconv step to convert the character encoding.

Ubbcentral forum has about 220000 topics , it should be able to finish within one hour.
_________________________

English is not my native language.
I try my best to express my thought precisely.
I hope you understand what I mean.
If any misunderstanding results from culture gaps , I apologize first.

Top


Shout Box

Today's Birthdays
theregit
Recent Topics
7.4.2 UNREAD
by Thelockman
57 minutes 41 seconds ago
7.4.1 show/hide category bug
by Seattlebrian
Today at 11:56 AM
7.4.2 Discussion
by Rick
Today at 10:21 AM
UBBCentral now running 7.4.2
by Rick
Today at 10:21 AM
New members don't get access and are not displayed in the config panel
by Yomar
Yesterday at 03:32 AM
Forum Stats
4298 Members
33 Forums
30693 Topics
156040 Posts

Max Online: 978 @ 06/24/07 08:19 PM