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
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
1 members (Havenofsobriety), 458 guests, and 91 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)