Wed, Nov 14 04:22

Author Topic: BBCode Type Formatting Issues  (Read 212 times)

Offline boohooforyou

  • Gorge
  • *
  • Posts: 6
  • Country: jp
    • View Profile
    • Jigabachi
BBCode Type Formatting Issues
« on: Wed, Aug 09 19:37 »
Protocols
"「url」" forces "http://" , allows "https://", does not allow protocols (steam://)
            **additionally rewrites "steam://" as "steam//"**

example:
Code: [Select]
steam://friends/add/'.**steamacct#**.'
↓↓↓↓↓↓↓↓↓↓↓↓↓↓is modified to↓↓↓↓↓↓↓↓↓↓↓↓↓↓

Code: [Select]
[url=http://steam://friends/add/''.**steamacct#**.']


fix:
Allow for steam protocols:
      /Themes/Sources/Subs.php

Code: [Select]
if (strpos($data, \'http://\') !== 0 && strpos($data, \'https://\') !== 0 && strpos($data, \'steam://\') !==0)
$data = \'http://\' . $data;




 

Donations

Please Support Us!

By donating $10, you are eligible for reserved slot! Click here for more information!
You must be logged in on your forum account to donate!
Donate with PayPal!

Shoutbox

Maddness
May 9
sigh
DarkSasuke
Sep 7
in my pants, only chinese girls have access to it
Trigger
Sep 6
LOL
Admin
Sep 6
Where is the candy?
Trigger
Sep 6
I will throw some eggs in  ;D
dont worry trigger, i already spammed the admins lol ;D