Previous Thread
Next Thread
Print Thread
Hop To
Joined: Jun 2006
Posts: 215
enthusiast
enthusiast
Joined: Jun 2006
Posts: 215
in showflat.tpl :

twitter and facebook's url is bound to $facebookURL .
The generated URL is "ubbthreads.php?ubb=showflat&Number=xxxxx"
which is not url-friendly.

I've enabled "Spider-friendly URLs" , so the $facebookURL should honor the parameter , and generate the url-friendly URL , such as "/ubbthreads.php/topics/xxxxx"


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.
Joined: Jun 2006
Posts: 215
enthusiast
enthusiast
Joined: Jun 2006
Posts: 215
For anyone who want url-friendly URLs , please modify :
showflat.inc.php , about line 1452 :
Code
    "facebookURL" => urlencode("{$config['FULL_URL']}/ubbthreads.php/topics/$facebookPost"),
    "tweetURL" => "{$config['FULL_URL']}/ubbthreads.php/topics/$facebookPost",

And I hope the future version can honor the "Enable Spider-friendly URLs?" parameter in "Primary Settings -> Advanced Options"


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.

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
PHP 8 bug in membermanage.tmpl
by phoenix011235 - 09/08/2026 7:47 PM
Are any of these legitmate?
by Baldeagle - 09/06/2026 1:37 PM
After server reboot
by Morgan - 09/02/2026 8:27 AM
Email Settings
by Outdoorking - 05/13/2026 2:44 AM
Who's Online Now
1 members (1 invisible), 304 guests, and 96 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260527)