Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
1 registered (WriteOn), 12 Guests and 21 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 01/08/07
Posts: 48
Top Posters (30 Days)
Ruben Rocha 179
Gizmo 112
Rick 109
Thelockman 80
driv 43
AllenAyres 35
ntdoc 28
Ian 24
Sirdude 23
ScriptKeeper 20
Latest Photos
My Home System
test photo gallery
Bernese Mountain Dogs
My Daimler
Dorado and shark
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: 203
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: 7898
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: 203
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: 203
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: 7898
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: 7898
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: 203
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: 203
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
No Birthdays
Recent Topics
Shrinking graemlins
by Djuma
Yesterday at 05:48 PM
2 problems I'm seeing now.
by DougMM
Yesterday at 04:39 PM
Which CSS Style Controls the bottom lines
by David DelMonte
Yesterday at 01:51 PM
UBBThreads vs. vBulletin -- Defections & Why So Tough to Compare?
by WebMagic
Yesterday at 12:28 PM
Font and column shifts occuring
by Bill B
11/30/08 06:21 PM
Forum Stats
4261 Members
33 Forums
30532 Topics
154962 Posts

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